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:
|
thumbs up
|
There still seems to be the issue of joining a class to a scripted player object then being unable to be un-joined, which makes me hesitant to use the functionality as much as I'd like to as it results in more memory usage.
For example: PHP Code:
I did notice there was some new information within /stats too. For example: Quote:
|
6 script machines - maximum number of objects calling another object in a chain
258 static objects - TStaticVars 503 global variables - needs no explanation 94 destroyed objects - objects which were destroyed but other objects are still linking to it 1 event object - objects with a name which were destroyed (having event catchers which will be reapplied when the object is recreated) These variables were previously only available to me but they can show when there is a problem (too many global variables or so). |
Quote:
|
Quote:
Quote:
|
Quote:
|
Quote:
|
All times are GMT +2. The time now is 07:13 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.