- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
temple13
Hey guys,
I'm trying to add a custom NPC, when I execute the sql file it says that everything it's correct.
But when I open the NPC table, the ID of the new NPC is not there, and if I try to execute it again it gives me the error that the ID its already in use:
[Err] 1062 - Duplicate entry '20701' for key 'PRIMARY' [Err] INSERT INTO npc VALUES ('20701', '25286', 'Venus', '1', 'Buffer', '1', 'Monster.zaken', '15.00', '20.00', '60', 'female', 'L2Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '28', '132', '', '0', '0', '0', 'LAST_HIT'); [Msg] Finished - UnsuccessfullyAnd if I try to spawn it, it says that the ID is incorrect.
I tried to add it manually, but when I close table and open it again, it dissapear.
Someone know why this happens?
Thanks,
Regards
EDIT: I executed a 'teleport' table and it works correctly, so what's wrong with 'npc' table?
5 answers to this question
Recommended Posts