Messing around with the database, just trying to see how things work. I'm trying to create a new item and place it in a characters inventory, but it doesn't seem to be working, and I'm not sure if I'm doing it right.
I opened up the item_template table and added a new entry. It's a copy of one of the worn shortbow except with a different 'entry' number and name. I set that to 24000, because that's higher than anything else in the table.
Next I looked in the character_inventory table for any items with 'item_template' set yo 2504 (the entry # of the regular worn bow). Only one did, because only one of my characters had a shortbow on them. I changed the item_template to 24000 and started the game back up.
The character still has the standard bow. The DB continues to list the item_template as 24000 untill the bow is moved to a different container or uneuiped/equiped, then it changes the item_template back to 2504.
Is there something else I should be doing?


Reply With Quote![[Mangos]Editing inventory](http://ragezone.com/hyper728.png)


