16-12-2006, 03:42 AM
I deleted the npc I made from the database and then the server loaded up... so I guess its something with the npcs table... but I didnt change anything so I dont know whats up.
EDIT:: Yeah im positive now. I got on made 1 NPC. I logged off and closed the server... I then tried to start the server back up and the error is there.
Also something else I found weird... I named the NPC... "NPC" and it says the name field is 20 bytes... I wouldnt think anything of this... but I got to characters table and the name there is test and it says 4 bytes.... so is it not saving the names of npc right or something?
EDIT2::
Well found the error... ran the source and debugged..
Highlights that in LoadNPCs. Some reason it isnt loading it right... im not the best understand the code for MySQL but I will mess around with it... if anyone knows why the FKey isnt loading or setting right let me know,.
EDIT:: Yeah im positive now. I got on made 1 NPC. I logged off and closed the server... I then tried to start the server back up and the error is there.
Also something else I found weird... I named the NPC... "NPC" and it says the name field is 20 bytes... I wouldnt think anything of this... but I got to characters table and the name there is test and it says 4 bytes.... so is it not saving the names of npc right or something?
EDIT2::
Well found the error... ran the source and debugged..
Code:
.FKey = CLng(RS("FKey"))
Highlights that in LoadNPCs. Some reason it isnt loading it right... im not the best understand the code for MySQL but I will mess around with it... if anyone knows why the FKey isnt loading or setting right let me know,.