EOSERV Forum > Client Editing > EMF Read/write functions in VB.NET
Topic is locked.
Page: << 1 >>
EMF Read/write functions in VB.NET
Author Message
Post #44155 EMF Read/write functions in VB.NET

I know there are a lot of people that have tried or are coding an application for editing EMF-files. I was wondering if anyone could provide me with the functions of reading/writing to the EMF file format in VB.NET, aswell as an up-to-date list of the EMF format itself.

---
"If you're going through hell, keep going."
15 years, 49 weeks ago
Post #44157 Re: EMF Read/write functions in VB.NET

I made a map editor ages ago in VB and the saving just would not have it.


Addison wrote the loading part for me but I do not have the source anymore due to not being able to save.

---
I am an alien and not crazy!
15 years, 49 weeks ago
Post #44164 Re: EMF Read/write functions in VB.NET

Concerning my question about an up-to-date list of the EMF format data:
I'm trying to find out the unknown map type values.
Does Rena's map editor read the values she hasn't given a name yet?
It just came to my mind that maybe one of the two unknown map type values could be 'restricted'. Like on the jail map, where you can't trade and talk on the global channel.
I loaded map 76 (jail) to see if Rena's editor would tell me that the map type was one of the unknown values, but no luck. I thought that maybe, because 'Normal' is set as default map type, the program doesn't read unknown values yet and it could possibly be a 'restricted' type if it exists.

0x1F Map Type
(0) Normal/Non-PVP
(1) ?? // Restricted?
(2) ?? // Restricted?
(3) PVP (PK Zone)
---
"If you're going through hell, keep going."
15 years, 49 weeks ago
Post #44414 Re: EMF Read/write functions in VB.NET

if u wanted a person not be able to trade while they are on a certain map u could code it into eoserv in the map.cpp section of the trunk u are using.

15 years, 49 weeks ago
Post #44415 Re: EMF Read/write functions in VB.NET
Ducci posted: (18th Jul 2010 09:34 pm)

Concerning my question about an up-to-date list of the EMF format data:
I'm trying to find out the unknown map type values.
Does Rena's map editor read the values she hasn't given a name yet?
It just came to my mind that maybe one of the two unknown map type values could be 'restricted'. Like on the jail map, where you can't trade and talk on the global channel.
I loaded map 76 (jail) to see if Rena's editor would tell me that the map type was one of the unknown values, but no luck. I thought that maybe, because 'Normal' is set as default map type, the program doesn't read unknown values yet and it could possibly be a 'restricted' typeif it exists.

0x1F Map Type
(0) Normal/Non-PVP
(1) ?? // Restricted?
(2) ?? // Restricted?
(3) PVP (PK Zone)

Bullshit. Map that doesn't allow trading etc (aka jail map) is sent in welcome packet.
15 years, 49 weeks ago
Post #44417 Re: EMF Read/write functions in VB.NET

ill beg to differ because i added this in already and i did it in map.cpp. map.cpp is used for anything that has to deal with maps such as map effects and such. As u recall there was a section in the eoserv part of the forums that dealt with effects and sordie had mentioned map effects like to make it rain and this was done in the map.cpp file

15 years, 49 weeks ago
Post #44451 Re: EMF Read/write functions in VB.NET
kenobi13 posted: (21st Jul 2010 06:48 am)

Ducci posted: (18th Jul 2010 09:34 pm)

Concerning my question about an up-to-date list of the EMF format data:
I'm trying to find out the unknown map type values.
Does Rena's map editor read the values she hasn't given a name yet?
It just came to my mind that maybe one of the two unknown map type values could be 'restricted'. Like on the jail map, where you can't trade and talk on the global channel.
I loaded map 76 (jail) to see if Rena's editor would tell me that the map type was one of the unknown values, but no luck. I thought that maybe, because 'Normal' is set as default map type, the program doesn't read unknown values yet and it could possibly be a 'restricted'typeif it exists.

0x1F Map Type
(0) Normal/Non-PVP
(1) ?? // Restricted?
(2) ?? // Restricted?
(3) PVP (PK Zone)

Bullshit. Map that doesn't allow trading etc (aka jail map) is sent in welcome packet.


It's not bullshit, it's not correct.
Thank you for clearing that up in such a nice way. You're an example to the community.
I wasn't saying that I knew what the unknown map types are, I said that I thought it could be one of them.

---
"If you're going through hell, keep going."
15 years, 48 weeks ago
Post #44452 Re: EMF Read/write functions in VB.NET

The two restricted types are most likely test settings that Vult-r may have used at some point, they do not effect the game client in any way that is at least apparent. Believe it or not, Vult does test some things before he adds them into EO. Vult did mention to me that he had planned adding weather and day/night to EO at one point. Most likely, weather would use one of the unused map effect values. As far as Jail goes, the emf contains no known data of jail. This is set in the config.ini for EOServ.

One shouldn't assume everything with a value has a purpose in the game. If you don't believe that look at the 50 some bytes that is the .esf file. Tons there that are both unknown and unused. If you want to use one of the map's unused values to delegate no trading or some other restriction feel free to do so, there is no sign of any known purpose for those values at this point.

15 years, 48 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > Client Editing > EMF Read/write functions in VB.NET