You all know that bug, you're crafting happily and then BAM! the server goes down.
You relogin, and you see that your precious items are gone!
Well, Nunelor asked me if I could try to fix that.
My knowledge of C++/SQL is almost zero, but hey, I could always try
So I searched the code to see if I could find the part that loads & saves the containers.
I found nothing usefull really, or I just didn't recognize the code, but I did found this line related to the loading of containers.
So I showed it to Nunelor and he pointed out that the line was trying to load container objects from a non-existant column in the database table.
Nunelor showed me how to correct this typo in the code and I rebuilt my server.
I tested it and the items within containers are now loaded correctly upon server startup, that means that items you put in a forge/oven before a server shutdown/crash will be saved now and restored after server reboot. I put the fix in a bugtracker entry right
here. That means that on the next server rebuild, this fix will be in hopefully.
Let's all thank Nunelor;)
edit:
Fixed, server updated and restarted.
--Acraig