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());