Yeah, like I said, it's just recently I started having trouble.
Basically, I started having problems when npc_type.id 999137 (#Xegony the Quenn of Air) was added into the database, as 999137 was the id of the first bot I made. Obviously, they can't have the same id, so I just changed the id of my bot to 999237 before adding his row back to the npc_types table.
Since then, as npcs have been added, I've had to manually bump the ids of my bots higher. right now, the last one was 999145, Ragrua Protector. Each update, I only have to fix a few bots.
And yeah, the botowners and inventory aren't dropped, that's not the problem. I just have to manually update the ids in those tables to match up with the id change I have to make in npc_types. So again, using my first bot as an example, when I changed his id to 999237 from 999137, I had to update all the entries with the bot.id 999137 to 999237 in the bot inventory table so that he still had his items, and in the botowner table so I could still summon him.
|