open.mp forum
[Pawn] what's wrong? - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] what's wrong? (/showthread.php?tid=1457)



what's wrong? - vandiesel45 - 2020-12-25

Hi,



I HAVE THIS ERRORS in console:



AFTER UPDATE SSCANF.



(with 2.8.2 all is normal).



Code:
[03:05:54] [debug] Long callback execution detected (hang or performance issue)

[03:05:54] [debug] AMX backtrace:

[03:05:54] [debug] #0 00138000 in public SaveServerStuff (SN=2) at D:\Users\Cristi\Desktop\mm\GAMEMODE - [MY WORK]\gamemodes\[color=#c10300][b]xyz.pwn:16029[/b][/color]

[03:05:54] [debug] #1 00096044 in public FIXES_OnGameModeExit ()? at D:\Users\Cristi\Desktop\mm\GAMEMODE - [MY WORK]\gamemodes\xyz.pwn:5642

[03:05:54] [debug] #2 00004a04 in public OnGameModeExit () at D:\Users\Cristi\Desktop\mm\GAMEMODE - [MY WORK]\pawno\include\fixes.inc:6782







this is the code and line:

Code:
new str[300], File: ABC = fopen("Server/property.cfg", io_write);

? ? ? ? for (new i = 0; i < sizeof(HouseInfo); i)

? ? ? ? {

? ? ? ? ? ? [color=#c10300][b]format(str, sizeof(str), "%.1f,%.1f,%.1f,%.1f,%.1f,%.1f,%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%.1f,%.1f,%d,%d,%.1f,%.1f,%.1f,%.1f,%d,%d,%d,%d,%s,%d\n",[/b][/color]

HouseInfo[i][hEntx],

HouseInfo[i][hEnty],

HouseInfo[i][hEntz],

HouseInfo[i][hExitx],

HouseInfo[i][hExity],

HouseInfo[i][hExitz],

HouseInfo[i][hOwner],

HouseInfo[i][hDrink],

HouseInfo[i][hValue],

HouseInfo[i][hHeal],

HouseInfo[i][hArmour],

HouseInfo[i][hInterior],

HouseInfo[i][hLock],

HouseInfo[i][hOwned],

HouseInfo[i][hTV],

HouseInfo[i][hRent],

HouseInfo[i][hDrugs],

HouseInfo[i][hTakings],

HouseInfo[i][hGun],

HouseInfo[i][hMats],

HouseInfo[i][hLevel],

HouseInfo[i][hEntrancea],

HouseInfo[i][hExita],

HouseInfo[i][hPickup],

HouseInfo[i][hVehModel],

HouseInfo[i][hVehX],

HouseInfo[i][hVehY],

HouseInfo[i][hVehZ],

HouseInfo[i][hVehA],

HouseInfo[i][hVehCol1],

HouseInfo[i][hVehCol2],

HouseInfo[i][hVehLock],

HouseInfo[i][hVehFuel],

HouseInfo[i][hVehLicense],

HouseInfo[i][hVehStatus]);

fwrite(ABC, str);

? ? ? ? }

? ? ? ? fclose(ABC);



RE: what's wrong? - Trysha - 2020-12-25

Try to update version of crashdetect


RE: what's wrong? - Afisiado - 2020-12-25

Add long_call_time 0 in your server.cfg