Quote:
Originally Posted by Derision
You should declare it like char link[100]; (replacing 100 with whatever the maximum size of a link is).
|
My concern is that the link's length depends on the name of the item, since it is appended on the end, just before the terminating character 0x12. However, an item name should be a max of 64, so we could just set the length to 1+6+39+64+1 = 111.
I'll go ahead and compile the changes & see what happens.
Edit: we could use a string, like was done before, but it would be so much more of a pita to get it back to a predictable char.