27.04.2015, 09:18
Bad coding
makesure what y did in the ysi file that make it crashes
![Tongue](images/smilies/razz.gif)
I'm not going to release R13 as officialy because there still some problems with vehicles*, but I'll post here a build for linux & windows. Check back after 2 hours, I will edit my post.
*Get/Set vehicle respawn tick doesn't work, but everything are OK now. That's just a minor bug, but that's bug too. |
[sampgdk:warning] Index mismatch for OnServerMessage (-10071 != -10046) [sampgdk:warning] Index mismatch for OnPlayerLeaveGangZone (-10095 != -10031) [sampgdk:warning] Index mismatch for OnDialogPerformed (-10056 != -10002) |
[04.05.2015 14:15:05] [debug] Server crashed while executing imperial.amx [04.05.2015 14:15:05] [debug] AMX backtrace: [04.05.2015 14:15:05] [debug] #0 native strcat () from samp-server.exe [04.05.2015 14:15:05] [debug] #1 001bd980 in public OnServerMessage () from imperial.amx [04.05.2015 14:15:05] [debug] #2 0003d6c0 in public zcmd_OnGameModeInit () from imperial.amx [04.05.2015 14:15:05] [debug] #3 native CallLocalFunction () from samp-server.exe [04.05.2015 14:15:05] [debug] #4 001befd0 in public SSCANF_OnGameModeInit () from imperial.amx [04.05.2015 14:15:05] [debug] #5 00035c34 in public ppb_OnGameModeInit () from imperial.amx [04.05.2015 14:15:05] [debug] #6 00034ccc in public OPVD_OnGameModeInit () from imperial.amx [04.05.2015 14:15:05] [debug] #7 native CallLocalFunction () from samp-server.exe [04.05.2015 14:15:05] [debug] #8 0002ee60 in public Fade_OnGameModeInit () from imperial.amx [04.05.2015 14:15:05] [debug] #9 native CallLocalFunction () from samp-server.exe [04.05.2015 14:15:05] [debug] #10 000230dc in public Audio_OnGameModeInit () from imperial.amx [04.05.2015 14:15:05] [debug] #11 native CallLocalFunction () from samp-server.exe [04.05.2015 14:15:05] [debug] #12 001c1ad8 in public Iter_OnGameModeInit () from imperial.amx [04.05.2015 14:15:05] [debug] #13 native CallLocalFunction () from samp-server.exe [04.05.2015 14:15:05] [debug] #14 001c22d0 in public ScriptInit_OnGameModeInit () from imperial.amx [04.05.2015 14:15:05] [debug] #15 0000082c in public OnGameModeInit () from imperial.amx [04.05.2015 14:15:05] [debug] Native backtrace: [04.05.2015 14:15:05] [debug] #0 004063ee in ?? () from samp-server.exe [04.05.2015 14:15:05] [debug] #1 62f962ca in ?? () from plugins\crashdetect.DLL [04.05.2015 14:15:05] [debug] #2 62f98b28 in ?? () from plugins\crashdetect.DLL [04.05.2015 14:15:05] [debug] #3 62f909c7 in ?? () from plugins\crashdetect.DLL [04.05.2015 14:15:05] [debug] #4 62f9631a in ?? () from plugins\crashdetect.DLL [04.05.2015 14:15:05] [debug] #5 634351a7 in ?? () from plugins\streamer.DLL [04.05.2015 14:15:05] [debug] #6 026b27f0 in ?? () from plugins\YSF.DLL [04.05.2015 14:15:05] [debug] #7 026b6b81 in ?? () from plugins\YSF.DLL [04.05.2015 14:15:05] [debug] #8 026bbf7e in ?? () from plugins\YSF.DLL [04.05.2015 14:15:05] [debug] #9 62b417bc in ?? () from plugins\audio.DLL
#define strcpy(%0,%1) strcat((%0[0] = EOS, %0), %1)
public OnServerMessage(const msg[])
{
new string[128];
//format(string, sizeof(string), "%s", msg);
strcpy(string, msg);
if (!strcmp(string, "BAD RCON ATTEMPT BY: ", false, 21))
{
strdel(string, 0, 21);
RconFail(string);
}
return 1;
}