View Single Post
  #1  
Old 06-28-2012, 03:37 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Exclamation NPCServer: shows callstack on error

The npcserver has been updated on all machines (need to be manually restarted):
- shows a small callstack (max 5 entries) when an endless loop has been detected or the callstack has been overrun (endless recursion)
- new script function getCallStackInfo() which returns a string which contains basically the same information: the call stack and script line numbers; this is basically a simpler version of the getCallStack() things; you can use this to easily show who has called your script functions:
PHP Code:
echo("I am " getCallStackInfo()); 
Reply With Quote