Hey all, I realy need help! I quited my server with 60 ppl only cuz i had a error 3x a day. No1 could login and it printed out "Null" now i used a tutorial to make it show the error and i had it when i was coding something. It happend after i did ::npcreset but it also can happen when killing or hitting a npc.
It shows this error all the time, in a loop.
When i went on notepad ++ to line 2722 in Npchandler.java i saw this code :
Code:
if (npcs[i].npcType == 50) {
temp.questone = 5;
temp.sM("You killed the boss!");
temp.toX = 3077;
temp.toY = 3499;
temp.updateText();
temp.plrText = "I defeated the monster!!";
temp.plrTextUpdateRequired = true;
temp.updateRequired = true;
}
its a code i maded for a quest but on my old server with 60 people online i didnt had that Npc or quest and it still crashed. So i dont know it.
Please help me out! If i release this server once on this forum i will give you credits!
Thank you,
YouriDudock