![]() |
Debug error on console - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Debug error on console (/Thread-Debug-error-on-console) |
Debug error on console - Jhobean - 01-09-2020 11:06 AM Our server just crash 2 consecutive days with this debug: Where I can find the value of 3044? THX! We have this error: Code: 19:35:DEBUG:__ thread (3044) __ | # | _____________ function _____________ | __ ticks passed from previous function start __ It continue to | 2220 | and this 19:35:CRITICAL:(Tooltips.scp,4)"Stack Overflow" (0x757ab42f), in CCharPlayer::WriteVal() RE: Debug error on console - Coruja - 01-13-2020 04:34 PM Are you using something that can cause some conflict with internal functions inside combat triggers like @HitTry, @Hit, @GetHit, etc? because this line Code: CScriptObj::OnTriggerRun | +15 and this line Code: CCharPlayer::WriteVal() So this error is being caused by script, probably something wrong inside some combat trigger RE: Debug error on console - Jhobean - 01-16-2020 05:13 AM Yes we using lot of @HitTry, @Hit, @GetHit, with our custom weapon system. You gave us a BIG hints! THX But how you know all these debug code? There is some documentation for all these code? Thx. RE: Debug error on console - Coruja - 01-16-2020 09:03 AM These lines are just printing the name/order of the internal functions being called from C++ source code You can find all these functions on the source code, like this function here Code: 19:35:DEBUG:>> 3044 | 13 | CScriptObj::OnTriggerRun | +15 So if you know that the error is thrown after this function or know if sphere is stuck on this same function for many ticks, it means the problem is here on this function. And "OnTriggerRun" is the internal function to read triggers from scripts, but reading other lines of the console exception you can see that some skills and combat functions are also called, so probably it's something related script triggers called on combat (@HitTry, @Hit, @GetHit, etc) |