Jump to content

New Character Data Blob


Guest megosh

Recommended Posts

I've been messing around with things on the 320 branch and found something interesting. I do completely understand that it is not supported at this point in time.

I'm wondering if anyone knows what exactly was changed in the character data blob. I don't see any documented changes throughout the updates but I will admit there are still a few pages to look at.

Thanks in advance

- Megosh

Link to comment
Share on other sites

Ok... I've done a bit of work on it and from what I can see, this patch changed things: http://github.com/mangos/mangos/commit/68a2ec132119cf1021231249e7f0a53932aef06b

I'm no expert in php but from what i gathered here: http://wiki.udbforums.org/index.php/Character_data I assumed all I needed to do was add two variables after index: PLAYER_FIELD_MOD_HEALING_DONE_POS.

With that basic knowledge and no experience what so ever in Index Substrings, I attempted to add it with the following php page... http://pastebin.ca/1560254

I used info gathered from the UDB wiki page and misc SQL help pages I googled.

Unfortunatly this didn't work... So I'm back at square one, with no idea really where to go. My next idea was to make a c++ function to save the new data blob by calling all the functions in the current data blob... Not really something that could be thrown together in 5 mins, but it's worth a shot.

Before I end up going on this endless spree of trial and error, does anyone know a better solution?

Link to comment
Share on other sites

If i had a clue what you're actually trying to do, or why you need PHP for it...

In case you want to port your character DB to 320, maybe have a look at how it's done in 7988_07_characters_characters.sql for the 310 merge.

If that's too complicated, you'll have to wait until 320 gets merged to master and SQL updates for the then supported client build is provided (3.2.2 is still PTR...probably not the final build yet).

Link to comment
Share on other sites

I used info gathered from the UDB wiki page

The data blob changes faster than we can keep that page updated. Assume that it's not 100% correct.

If you're looking for general info on the blob, the wiki is fine. However if you need specifics (what each value means, for example) then your only good source of info is the mangos source code.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use