Some Pro scripter plz solve this bug
#1

Hello my dear friends
I want you all to Please help me to solve this bug!
because after some time it cause all players to crash!
Please help me thanks!

[02:00:16] [debug] Server crashed while executing new.amx
[02:00:16] [debug] AMX backtrace:
[02:00:16] [debug] #0 native fread () [00405770] from samp-server.exe
[02:00:16] [debug] #1 00084b6c in ?? () from new.amx
[02:00:16] [debug] #2 0002033c in public Streamer_OnGameModeInit () from new.amx
[02:00:16] [debug] #3 native CallLocalFunction () [00472ef0] from samp-server.exe
[02:00:16] [debug] #4 0001750c in public Itter_OnGameModeInit () from new.amx
[02:00:16] [debug] #5 native CallLocalFunction () [00472ef0] from samp-server.exe
[02:00:16] [debug] #6 00016228 in public SSCANF_OnGameModeInit () from new.amx
[02:00:16] [debug] #7 native CallLocalFunction () [00472ef0] from samp-server.exe
[02:00:16] [debug] #8 00010154 in ?? () from new.amx
[02:00:16] [debug] #9 00004e80 in public ScriptInit_OnGameModeInit () from new.amx
[02:00:16] [debug] #10 000002b8 in public OnGameModeInit () from new.amx
[02:00:16] [debug] Native backtrace:
[02:00:16] [debug] #0 7795f592 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[02:00:16] [debug] #1 004940b0 in ?? () from E:\Setups\Sampz\samp-server.exe
[02:00:16] [debug] #2 004946e0 in ?? () from E:\Setups\Sampz\samp-server.exe
[02:00:16] [debug] #3 00404f14 in ?? () from E:\Setups\Sampz\samp-server.exe
Reply
#2

Download nativechecker, I think some of your plugins are out of date. Specifically your streamer seems to be out of date, but I could be wrong.
Reply
#3

I tried that.. but didn't find any error for now
But it crash after some time.
Reply
#4

Can you show me the callback OnGameModeInit from "name.pwn" file?
note:
Код:
CallLocalFunction crashes the server if it's passing an empty string.
by SA:MP wiki.
CallLocalFunction is used to call a function from your own pawn file (name.pwn) only. you may have left it empty like this:
pawn Код:
CallLocalFunction(" ", "s", "text");
doesn't matter w/e is in, it does matter if there's a parameter string is empty / null.
Reply
#5

PHP код:
LoadSettings();
    
PrintConfiguration();
    
LoadIllegalWeaps();
    
LoadForbiddenNicks();
    
LoadBadNickParts();
    
LoadBadWords();
    
LoadTeleports();
    
LTimer SetTimer("PlayerCheker",1000,true);
    foreach(
Playeri)
    
OnPlayerConnect(i); 
I only call this in Gamemodint
Reply
#6

I think so you are trying to fread() from a file that doesn't exist
Reply
#7

Show me how did you call it Bilal, i mean show me the ongamemodeinit callback.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)