15.11.2018, 15:20
So i did post a thread where i was asking for help on my samp server freezing. I got a few responses and some of them told me to get crashdetector. I did get it and now my server is still freezing and crash detector is giving me these messages:
[17:07:06] [debug] Server received interrupt signal while executing script.amx
[17:07:06] [debug] AMX backtrace:
[17:07:06] [debug] #0 native fclose () in samp-server.exe
[17:07:06] [debug] #1 000305e0 in ?? () in script.amx
[17:07:06] [debug] #2 0034d608 in public @yT_180000_SaveUpdate () in script.amx
[17:07:06] [debug] Native backtrace:
[17:07:06] [debug] #0 776bf66c in ?? () in C:\WINDOWS\SYSTEM32\ntdll.dll
[17:07:06] [debug] #1 0049f892 in ?? () in samp-server.exe
[17:07:06] [debug] #2 00499361 in ?? () in samp-server.exe
[17:07:06] [debug] #3 004056cd in ?? () in samp-server.exe
[17:07:06] [debug] #4 7282dc92 in ?? () in plugins\crashdetect.dll
[17:07:06] [debug] #5 72835318 in ?? () in plugins\crashdetect.dll
[17:07:06] [debug] #6 728297cc in ?? () in plugins\crashdetect.dll
[17:07:06] [debug] #7 7282dcf4 in ?? () in plugins\crashdetect.dll
[17:07:06] [debug] #8 717712de in ?? () in plugins\profiler.dll
[17:07:06] [debug] #9 7176bb3a in ?? () in plugins\profiler.dll
[17:07:06] [debug] #10 00482a68 in ?? () in samp-server.exe
[17:07:06] [debug] #11 004912ba in ?? () in samp-server.exe
And here's the SaveUpdate Timer that i do have on my script.
Timer:SaveUpdate[180000]()
{
foreach(Player, i)
{
if(GetPVarInt(i, "TempName") != 1 && gPlayerLogged[i])
{
PlayerInfo[i][pInt] = GetPlayerInterior(i);
PlayerInfo[i][pVW] = GetPlayerVirtualWorld(i);
GetPlayerIp(i, PlayerInfo[i][pIP], 32);
GetPlayerPos(i, PlayerInfo[i][pPos_x], PlayerInfo[i][pPos_y], PlayerInfo[i][pPos_z]);
GetPlayerFacingAngle(i, PlayerInfo[i][pPos_r]);
OnPlayerStatsUpdate(i);
}
}
SaveFactions();
SaveFactionsHQ();
SaveHouses();
SaveBiz();
SaveGates();
SaveGarages();
}
Is there any issues with this timer or is there any issues with a certain include / plugin that does make my server freeze.
[17:07:06] [debug] Server received interrupt signal while executing script.amx
[17:07:06] [debug] AMX backtrace:
[17:07:06] [debug] #0 native fclose () in samp-server.exe
[17:07:06] [debug] #1 000305e0 in ?? () in script.amx
[17:07:06] [debug] #2 0034d608 in public @yT_180000_SaveUpdate () in script.amx
[17:07:06] [debug] Native backtrace:
[17:07:06] [debug] #0 776bf66c in ?? () in C:\WINDOWS\SYSTEM32\ntdll.dll
[17:07:06] [debug] #1 0049f892 in ?? () in samp-server.exe
[17:07:06] [debug] #2 00499361 in ?? () in samp-server.exe
[17:07:06] [debug] #3 004056cd in ?? () in samp-server.exe
[17:07:06] [debug] #4 7282dc92 in ?? () in plugins\crashdetect.dll
[17:07:06] [debug] #5 72835318 in ?? () in plugins\crashdetect.dll
[17:07:06] [debug] #6 728297cc in ?? () in plugins\crashdetect.dll
[17:07:06] [debug] #7 7282dcf4 in ?? () in plugins\crashdetect.dll
[17:07:06] [debug] #8 717712de in ?? () in plugins\profiler.dll
[17:07:06] [debug] #9 7176bb3a in ?? () in plugins\profiler.dll
[17:07:06] [debug] #10 00482a68 in ?? () in samp-server.exe
[17:07:06] [debug] #11 004912ba in ?? () in samp-server.exe
And here's the SaveUpdate Timer that i do have on my script.
Timer:SaveUpdate[180000]()
{
foreach(Player, i)
{
if(GetPVarInt(i, "TempName") != 1 && gPlayerLogged[i])
{
PlayerInfo[i][pInt] = GetPlayerInterior(i);
PlayerInfo[i][pVW] = GetPlayerVirtualWorld(i);
GetPlayerIp(i, PlayerInfo[i][pIP], 32);
GetPlayerPos(i, PlayerInfo[i][pPos_x], PlayerInfo[i][pPos_y], PlayerInfo[i][pPos_z]);
GetPlayerFacingAngle(i, PlayerInfo[i][pPos_r]);
OnPlayerStatsUpdate(i);
}
}
SaveFactions();
SaveFactionsHQ();
SaveHouses();
SaveBiz();
SaveGates();
SaveGarages();
}
Is there any issues with this timer or is there any issues with a certain include / plugin that does make my server freeze.