Yea, this leaks like crazy.
I got a black screen from a few minutes of play.
Fix yo leaks
edit
crappy save/load system... can't save full backpack + inventory and absolutely massive codes... if you used another one, you could easily cut the size of codes in half.
So yea, if you have like 10 stacks of potions and type save, nothing'll pop up because of thread crash
Half the time you don't pop up with your gear and it says that you can't hold double of the same item (on load).
Half the time when you buy an item, even with an inventory, it'll pop up with the can't hold double of the same items error. Fix your equipment stuff =P.
Can load multiple times, thus duping items and farming gold
Can load multiple times with reset to lumber, thus maxing out everybody's abilities
Loading sometimes makes abilities not show up (can't buy any abilities)
And again, I must stress the masses of leaks
Also, it continues to make ability shrines on load/repick... someone repicked every class and then loaded up their character and got like 300 lumber and got a few abilities from cleric, warrior, etc... >.>. Remove the current ability shrine before making a new one.
edit
suggestions, move to Encoder
->
http://www.hiveworkshop.com/forums/...ickstart-guide-saving-loading-encoder-196496/
That way you have smaller save/load codes and what not. That framework in tut will also fix ur -load problem.
You should reset the codes due to all of the bugs, but first fix all of these bugs =).
And good hero design, aye ; P