I have been investigating why my server is freezing and laggy, since we noticed that server 1 was laggy, and server 2 was totaly lag free, how could this happen?
Since its only one of the servers we figured the problem would not be the internett, but the server.
Im using TFS rev 844 from the 0.2 series.
But I found out why this is happening, I get an error message:
In this case we got Shitler who sells an item for 40000gp. In-game, he DOES get the money, even though this error says it dosn't, so thats not the problem, the problem is:
When this error message happens, my CPU on my computer goes straight UP, and freeze the server, (only for 0.1 - 0.5 sec) But as my server is getting popular, theese freezes happens all the time. And its innoying.
Any suggestions for how to fix this?
I'll try to remake the NPC, hopefully it will go better then.
Since its only one of the servers we figured the problem would not be the internett, but the server.
Im using TFS rev 844 from the 0.2 series.
But I found out why this is happening, I get an error message:
Code:
[09/06/2008 03:54:54] Lua Script Error: [Npc interface]
[09/06/2008 03:54:54] data/npc/scripts/loot.lua:onCreatureSay
[09/06/2008 03:54:55] data/global.lua:451: Could not add money to Shitler(40000gp)
When this error message happens, my CPU on my computer goes straight UP, and freeze the server, (only for 0.1 - 0.5 sec) But as my server is getting popular, theese freezes happens all the time. And its innoying.
Any suggestions for how to fix this?
I'll try to remake the NPC, hopefully it will go better then.