PDA

View Full Version : [HELP] NPC crash


Arshen
16.07.2007, 19:06
well i found some topics on pp about this issue, but couldn't find a specific solution for it.
The NPC server crashes randomly between 3-4 hours.
This is the log of the last npc error report.

7/15/2007 23:42:xx.xx6, server socket pending write > 8192 KB, Close!
07/15/2007 23:42:xx.xx3, --- call stack ---
07/15/2007 23:42:xx.xx3, [0] void IOThread_common(void *arglist)
07/15/2007 23:42:xx.xx3, [1] void CIOObject::TimerDispatch(bool bRootLoop)
07/15/2007 23:42:xx.xx3, [2] void CNPC::TimerExpired(int id)
07/15/2007 23:42:xx.xx3, [3] inline void AddExecutable(MemoryObject *Matrix, Native Func, CExecutionArgument* Arg)
07/15/2007 23:42:xx.xx3, [4] add exec - func call
07/15/2007 23:42:xx.xx3, [5] ASYNCHRONOUS_SERIALIZE_IMPL1(CNPC, AsyncTimerExpired, int, id)
07/15/2007 23:42:xx.xx3, [6] npc_timer_expired_2
07/15/2007 23:42:xx.xx3, [7] BOOL CDesirePQ::SendNoDesireEvent()
07/15/2007 23:42:xx.xx3, [8] int CNPC::HandleEvent(CNPCEvent* pEvent)
07/15/2007 23:42:xx.xx3, [9] int InterlockedHandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter)
07/15/2007 23:42:xx.xx3, [10] virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter)
07/15/2007 23:42:xx.xx3, [11] virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter, CAIProperty* pProp)
07/15/2007 23:42:xx.xx3, [12] virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter, CAIProperty* pProp)
07/15/2007 23:42:xx.xx3, [13] virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter, CAIProperty* pProp)
07/15/2007 23:42:xx.xx3, [14] virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter, CAIProperty* pProp)
07/15/2007 23:42:xx.xx3, [15] int CScriptEngine::RunNPCScript(CNPCEvent* pNPCEvent, CNPCEventHandler *pHandler, CScriptBinCode *pCode, CAIParameter *pParam, CAIProperty *pProp)
07/15/2007 23:42:xx.xx3, [16] CScriptAccessible::Invoke()
07/15/2007 23:42:xx.xx3, [17] void CNPC::AddMoveAroundDesire(int time, float value)
07/15/2007 23:42:xx.xx3, [18] void CNPC::StopMove()
07/15/2007 23:42:xx.xx8, [19] void NPCServer::Send(const char* pszFormat, ...)
07/15/2007 23:42:xx.xx8, [20] void CSocket::SendV(const char* format, va_list va)
07/15/2007 23:42:xx.xx8, [21] ASYNCHRONOUS_SERIALIZE_IMPL_FAST(CSocket, AsyncSend, CIOBuffer*, pBuffer)
07/15/2007 23:42:xx.xx8, server socket close 199f8(5808f6e4) error(0)
07/15/2007 23:42:xx.xx8, --- call stack ---
07/15/2007 23:42:xx.xx8, [0] void IOThread_common(void *arglist)
07/15/2007 23:42:xx.xx8, [1] void CIOObject::TimerDispatch(bool bRootLoop)
07/15/2007 23:42:xx.xx8, [2] void CNPC::TimerExpired(int id)
07/15/2007 23:42:xx.xx8, [3] inline void AddExecutable(MemoryObject *Matrix, Native Func, CExecutionArgument* Arg)
07/15/2007 23:42:xx.xx8, [4] add exec - func call
07/15/2007 23:42:xx.xx8, [5] ASYNCHRONOUS_SERIALIZE_IMPL1(CNPC, AsyncTimerExpired, int, id)
07/15/2007 23:42:xx.xx8, [6] npc_timer_expired_2
07/15/2007 23:42:xx.xx8, [7] BOOL CDesirePQ::SendNoDesireEvent()
07/15/2007 23:42:xx.xx8, [8] int CNPC::HandleEvent(CNPCEvent* pEvent)
07/15/2007 23:42:xx.xx8, [9] int InterlockedHandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter)
07/15/2007 23:42:xx.xx8, [10] virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter)
07/15/2007 23:42:xx.xx8, [11] virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter, CAIProperty* pProp)
07/15/2007 23:42:xx.xx8, [12] virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter, CAIProperty* pProp)
07/15/2007 23:42:xx.xx8, [13] virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter, CAIProperty* pProp)
07/15/2007 23:42:xx.xx8, [14] virtual int HandleEvent(ScriptEvent* pEvent, CAIParameter* pParameter, CAIProperty* pProp)
07/15/2007 23:42:xx.xx8, [15] int CScriptEngine::RunNPCScript(CNPCEvent* pNPCEvent, CNPCEventHandler *pHandler, CScriptBinCode *pCode, CAIParameter *pParam, CAIProperty *pProp)
07/15/2007 23:42:xx.xx8, [16] CScriptAccessible::Invoke()
07/15/2007 23:42:xx.xx8, [17] void CNPC::AddMoveAroundDesire(int time, float value)
07/15/2007 23:42:xx.xx8, [18] void CNPC::StopMove()
07/15/2007 23:42:xx.xx8, [19] void NPCServer::Send(const char* pszFormat, ...)
07/15/2007 23:42:xx.xx8, [20] void CSocket::SendV(const char* format, va_list va)
07/15/2007 23:42:xx.xx8, [21] ASYNCHRONOUS_SERIALIZE_IMPL_FAST(CSocket, AsyncSend, CIOBuffer*, pBuffer)
07/15/2007 23:42:xx.xx8, [22] void CIOSocket::Close()
07/15/2007 23:42:xx.xx8, [23] void CServerSocket::OnClose()

Exception occured. Flush Flush!!!


I would really appreciate if someone could reply to this msg.. i tried to get some help before aswell, but noone replied.

Arshen
16.07.2007, 19:13
Oh and while the npc serv is up, i get this:

07/15/2007 20:54:xx.xx6, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[mag_barons_triggerbox]
07/15/2007 20:54:xx.xx6, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[conq_barons_triggerbox]
07/15/2007 20:54:xx.xx6, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[lords_barons_triggerbox]
07/15/2007 20:54:xx.xx6, [.\NPC.cpp][6513] Invalid Despawn() called count[2], npc[sav_barons_triggerbox]
07/15/2007 20:54:xx.xx1, [.\NPC.cpp][6513] Invalid Despawn() called count[3], npc[lords_barons_triggerbox]
07/15/2007 20:54:xx.xx1, [.\NPC.cpp][6513] Invalid Despawn() called count[3], npc[mag_barons_triggerbox]
07/15/2007 20:54:xx.xx1, [.\NPC.cpp][6513] Invalid Despawn() called count[3], npc[sav_barons_triggerbox]
07/15/2007 20:54:xx.xx1, [.\NPC.cpp][6513] Invalid Despawn() called count[3], npc[conq_barons_triggerbox]

steph69412
16.07.2007, 19:43
dont realy know about the crash, but, the trigger box's are for the 4 sepulchers area, so maby check the AI for them