Jump to content
  • 0

Long callback execution detected (hang or performance issue)


Question

Posted

Salut, cand pornesc serverul primesc aceste erori in loguri, aveti idee cum le pot rezolva?

[13:19:29] [debug] Long callback execution detected (hang or performance issue)
[13:19:29] [debug] AMX backtrace:
[13:19:29] [debug] #0 0002c7b8 in public AMX_OnScriptInit () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\pawno\include\YSI\y_hooks/impl.inc:323
[13:19:29] [debug] #1 0002aa88 in public Debug_OnScriptInit () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\pawno\include\YSI\y_amx.inc:246
[13:19:29] [debug] #2 00013868 in public YVers_OnScriptInit () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\pawno\include\YSI\y_debug.inc:390
[13:19:29] [debug] #3 00012e70 in public ScriptInit_OnScriptInit () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\pawno\include\YSI\internal\y_version.inc:249
[13:19:29] [debug] #4 00012b38 in public PZone_OnGameModeInit () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\pawno\include\YSI\internal\..\y_scriptinit.inc:171
[13:19:29] [debug] #5 native CallLocalFunction () in samp03svr
[13:19:29] [debug] #6 00006b2c in public OnGameModeInit () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\pawno\include\playerzone.inc:429

7 answers to this question

Recommended Posts

  • 1
Posted

Poti pune long_call_time 0 in server.cfg ca sa dezactivezi aia. Nu prea ai ce optimiza la YSI doar eventual sa folosesti ultima versiune si poate sa nu folosesti debug mode cand rulezi scriptul pe host(adica sa nu compilezi cu -d3)

  • 0
Posted
10 hours ago, Banditul said:

Poti pune long_call_time 0 in server.cfg ca sa dezactivezi aia. Nu prea ai ce optimiza la YSI doar eventual sa folosesti ultima versiune si poate sa nu folosesti debug mode cand rulezi scriptul pe host(adica sa nu compilezi cu -d3)

Chiar daca am pus asta, tot mai apar aceste 2 mesaje.

[22:45:26] [debug] Long callback execution detected (hang or performance issue)
[22:45:26] [debug] AMX backtrace:

[22:45:26] [debug] #0 00449c30 in public CloseCells ()

[22:45:26] [debug] #1 0044aa3c in public SyncUp ()

  • 0
Posted (edited)
29 minutes ago, Banditul said:

Ok....In scurta descriere de la crashdetect daca pui acea setare in server.cfg ar trebui sa dezactiveze aceste verificari si trimiterea mesajelor in log. In orice caz iti spune ca functia CloseCells are probleme de performanta

https://github.com/Zeex/samp-plugin-crashdetect#configuration

Ce probleme de performanta sunt la functia asta? 😂😂

function CloseCells() {
    new Float: Pos[3];
    for(new i = 0; i < 12; i++) {
        GetDynamicObjectPos(JailGate[i], Pos[0], Pos[1], Pos[2]);
        MoveDynamicObject(JailGate[i], Pos[0], Pos[1], 1770.986938, 2);
    }
    return true;
}

Daca pun o versiune mai veche de crashdetect exista posibilitatea sa nu mai apara acele mesaje? Momentan folosesc cea mai noua versiune.

Edited by TheGodfather

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.