I'm working on patch 5517, but can't seem to figure out how exactly the structure of the packet is.
When looking at other sources it seems like something is wrong with the data I am receiving.
Like I see in ex. World Conquer Source v2 that offset 18 is a string split by ' ', that should contain some ids etc.
But if you look at my data then it doesn't correspond with that or at least I get some weird data back.
What am I doing wrong or what do I need to do? Does the item itself need some special attribute for it to work?
Edit: Figured it out, apparently offset 20 is just an unsigned 16 bit int with the amount of flowers, so the whole string thing isn't really necessary when reading.
Code:
3C 00 7E 04 00 00 00 00 04 09 8E 13 74 CA 9A 3B 04 09 8E 13 E7 03 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Like I see in ex. World Conquer Source v2 that offset 18 is a string split by ' ', that should contain some ids etc.
But if you look at my data then it doesn't correspond with that or at least I get some weird data back.
What am I doing wrong or what do I need to do? Does the item itself need some special attribute for it to work?
Edit: Figured it out, apparently offset 20 is just an unsigned 16 bit int with the amount of flowers, so the whole string thing isn't really necessary when reading.