Server Crash

Započeo Rada03
21. Avg. 2021.
884
pregleda
3
postova
Rada03
2
Street Runner
21. Avg. 2021.
Problem(error/warning): Server crashuje cime se ulogiram na akaunt to jest cim napisem sifru i enter i pise ono Dobrodosli i sve to ali server se odma ugasi i ne ucita karaktera

Deo skripte:
//modules/admin/logs

stock LogConnects(string[])
{
new
    entry,
month,
day,
year;
getdate(year, month, day);
format(entry, sizeof(entry), "\n[%02d/%02d/%d] %s", day, month, year, string);
new File:hFile;
hFile = fopen("/logfiles/connects.txt", io_append);
fclose(hFile);
}

// modules/player/saveload

LogConnects(log);

format(log, 128, "UPDATE `accounts` SET `online` = '1' WHERE `sqlid` = '%d'", PlayerInfo[ playerid ][ pSQLID ]);
mysql_tquery(1, log, "");


Debug iz server_log:

[21/08/2021 18:09:16] Server crashed while executing coarp.amx
[21/08/2021 18:09:16] AMX backtrace:
[21/08/2021 18:09:16] #0 native fwrite () from samp-server.exe
[21/08/2021 18:09:16] #1 0048a24c in LogConnects (string[]=@03e16b44 "Santino_Gotti(192.168.8.104) se uspjesno konektirao na server.") at modules/Admin/Logs.pwn:488
[21/08/2021 18:09:16] #2 0088a564 in public CheckPlayerLoginInput (playerid=0, ccinc=1) at modules/Player/SaveLoad.pwn:575
[21/08/2021 18:09:16] Native backtrace:
[21/08/2021 18:09:16] #0 76eefee5 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[21/08/2021 18:09:16] #1 0049f478 in ?? () from samp-server.exe
[21/08/2021 18:09:16] #2 0040531e in ?? () from samp-server.exe
Taylor Script
4
Made Man
21. Avg. 2021.
jel ti postoji folder logfiles
Rada03
2
Street Runner
21. Avg. 2021.
Hvala na odgovoru burazeru
Sve sam fixao nekako ne znam ni ja kako

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha