I tried to follow the tutor post at <a href="http://robotsdontbleed.com/wacko/wakka.php?wakka=AddingNewItems&v=13ey" target="_blank">http://robotsdontbleed.com/wacko/wakka.php...tems&v=13ey</a>
But when I get to this line #define ITEMS_QUANTITY 128 <---Remember this from above? It doesn't exsist in the items.h anymore. If you touch the #define MAX_ITEMS 512 line, even if the other lines match in number
#define MAX_RANDITEMS 512 // MUST BE CAREFUL
#define MAX_SKILLITEMS 512 // must be >= num skill-changing items; best to leave this = max_items
You get a crash to desktop when trying to save the game and that save file gets corrupted. This will happen even if you reinit or not.
Is the tutorial outdated and if so what is the new method of adding items?
I was working with build 12 not the post 12. But I would need the info on add items to both.
But when I get to this line #define ITEMS_QUANTITY 128 <---Remember this from above? It doesn't exsist in the items.h anymore. If you touch the #define MAX_ITEMS 512 line, even if the other lines match in number
#define MAX_RANDITEMS 512 // MUST BE CAREFUL
#define MAX_SKILLITEMS 512 // must be >= num skill-changing items; best to leave this = max_items
You get a crash to desktop when trying to save the game and that save file gets corrupted. This will happen even if you reinit or not.
Is the tutorial outdated and if so what is the new method of adding items?
I was working with build 12 not the post 12. But I would need the info on add items to both.