:idea: Zone Points: How do they actually work?
This requires a bit of background. I am working on puting together a server that only uses part of the original EQ world. If you spend much time in the IRC chat during the evenings, you have probably head me bitching about it and asking for advice so often that you have me on ignore. The problem I have been struggling with is that the zone points do not change where they point based upon the target_zone column in the zone_points table. The target zones are hard-wired into the zonepoints themselves.
This error is caused by the way that zoneing packets are produced, and it wasn't until tonite that I looked up their handling in the source. The zonepoint passes the ID of the target zone to the world server which promptly looks up and points out the appropriate zone name. The ID information is held in the entries of the zonepoints_raw table in the form of a BLOB. While I have not completely decifered the blob, I can say with certianty what bytes hold the target zone number.
The last 8 bits (1 byte, 2 hex digits).
So for all of you who are interested in making GFay zone to ECommons instead of BB, you just have to change the last two bytes. Make sure to convert the zone id number to hex (the windows calculator works well for this) and make sure that you fix up all the appropriate entries in the database.
Since I got started on this: Does anyone really care what the rest of the blob format of the raw points is? Basically I'm asking if I whether should keep fiddling with it to find out more, or is that information utterly moot.
- Daemonsleyr - Daemon's World -
|