Pomoc hitno

Započeo Kajsije ^, Jun 09, 2023, 16:47:06 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Problem(error/warning): Radila mi je komanda do skoro, mislim da nista nisam ni menjao od kako radi ali sad kad sam testirao, vrati mi samo BK:RP | Freezali ste igraca  . i crashuje server. Testirao sam par drugih komandi, rade.
Deo skripte:
[pawn]CMD:freeze(playerid, params[]){

   if( PlayerInfo[ playerid ][ xAdmin ] < 1 ) return SCM( playerid, SERVER_BOJA, "{b30000}BK:RP | {ff3333}Niste u mogucnosti koristiti ovu komandu." );
   new id, razlog;
   if( PlayerInfo[id][xAdmin] > PlayerInfo[playerid][xAdmin]) return SCM(playerid, SERVER_BOJA, "BK:RP | {ff3333}Igrac je veci Admin Level od Vas.");
   if( id == IPI ) return SCM( playerid, SERVER_BOJA, "{b30000}BK:RP | {FFFFFF}Igrac trenutno nije na serveru.");
   if(sscanf(params, "is", id, razlog))return SendClientMessage(playerid, SERVER_BOJA, "{b30000}| KORISCENJE | {FFFFFF}/freeze [ID] [Razlog]");
     TogglePlayerControllable(id, 0);
   va_SCM(id, SERVER_BOJA, "BK:RP | {FFFFFF}%s %s Vas je freezao | Razlog: %s.", Arank(playerid), GetName(playerid), razlog);
   va_SCM(playerid, SERVER_BOJA, "BK:RP | {FFFFFF}Freezovali ste igraca %s.", GetName(id));
   print("Ucitano");

     return 1;
}[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
[pawn][16:39:24] Ucitano
[16:39:24] [debug] Server crashed while executing bkrp.amx
[16:39:24] [debug] AMX backtrace:
[16:39:24] [debug] #0 00000074 in ?? (... <29 arguments>) at <unknown file>:0
[16:39:24] [debug] #1 013df934 in public cmd_freeze () at D:\be - Copy\gamemodes\bkrp.pwn:5313
[16:39:24] [debug] #2 native CallLocalFunction () from samp-server.exe
[16:39:24] [debug] #3 0001d62c in ?? (... <2 arguments>) at D:\be - Copy\pawno\include\zcmd.inc:108
[16:39:24] [debug] #4 0000e750 in public OnPlayerCommandText (playerid=0, cmdtext[]=@013dba18 "/freeze 0 test") at D:\be - Copy\pawno\include\YSI\y_hooks/impl.inc:946
[16:39:25] [debug] Native backtrace:
[16:39:26] [debug] #0 72cc7e3f in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #1 72cc09c7 in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #2 72cc631a in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #3 72a33484 in ?? () from plugins\streamer.DLL
[16:39:26] [debug] #4 004746be in ?? () from samp-server.exe
[16:39:26] [debug] #5 004010b6 in ?? () from samp-server.exe
[16:39:26] [debug] #6 72cc62ca in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #7 72cc8b28 in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #8 72cc09c7 in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #9 72cc631a in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #10 72a33484 in ?? () from plugins\streamer.DLL
[16:39:26] [debug] #11 0046dd10 in ?? () from samp-server.exe
[16:39:26] [debug] #12 00452270 in ?? () from samp-server.exe
[16:39:26] [debug] #13 7719d119 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:39:26] [debug] #14 7540149b in ?? () from C:\Windows\System32\KERNELBASE.dll
[16:39:26] [debug] #15 0049eef9 in ?? () from samp-server.exe
[16:39:26] [debug] #16 0045ad2a in ?? () from samp-server.exe
[16:39:26] [debug] #17 7719dd4f in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:39:26] [debug] #18 7719dd4f in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:39:26] [debug] #19 7719dbdc in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:39:26] [debug] #20 0044ea22 in ?? () from samp-server.exe
[16:39:26] [debug] #21 0049104c in ?? () from samp-server.exe
[16:39:26] [debug] #22 0049125c in ?? () from samp-server.exe
[16:39:26] [debug] #23 0048d4db in ?? () from samp-server.exe
[16:39:26] [debug] #24 0049b4a1 in ?? () from samp-server.exe
[16:39:26] [debug] #25 0049b4b1 in ?? () from samp-server.exe[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem): //

Citat: Kajsije ^ poslato Jun 09, 2023, 16:47:06 POSLE PODNE
Problem(error/warning): Radila mi je komanda do skoro, mislim da nista nisam ni menjao od kako radi ali sad kad sam testirao, vrati mi samo BK:RP | Freezali ste igraca  . i crashuje server. Testirao sam par drugih komandi, rade.
Deo skripte:
[pawn]CMD:freeze(playerid, params[]){

   if( PlayerInfo[ playerid ][ xAdmin ] < 1 ) return SCM( playerid, SERVER_BOJA, "{b30000}BK:RP | {ff3333}Niste u mogucnosti koristiti ovu komandu." );
   new id, razlog;
   if( PlayerInfo[id][xAdmin] > PlayerInfo[playerid][xAdmin]) return SCM(playerid, SERVER_BOJA, "BK:RP | {ff3333}Igrac je veci Admin Level od Vas.");
   if( id == IPI ) return SCM( playerid, SERVER_BOJA, "{b30000}BK:RP | {FFFFFF}Igrac trenutno nije na serveru.");
   if(sscanf(params, "is", id, razlog))return SendClientMessage(playerid, SERVER_BOJA, "{b30000}| KORISCENJE | {FFFFFF}/freeze [ID] [Razlog]");
     TogglePlayerControllable(id, 0);
   va_SCM(id, SERVER_BOJA, "BK:RP | {FFFFFF}%s %s Vas je freezao | Razlog: %s.", Arank(playerid), GetName(playerid), razlog);
   va_SCM(playerid, SERVER_BOJA, "BK:RP | {FFFFFF}Freezovali ste igraca %s.", GetName(id));
   print("Ucitano");

     return 1;
}[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
[pawn][16:39:24] Ucitano
[16:39:24] [debug] Server crashed while executing bkrp.amx
[16:39:24] [debug] AMX backtrace:
[16:39:24] [debug] #0 00000074 in ?? (... <29 arguments>) at <unknown file>:0
[16:39:24] [debug] #1 013df934 in public cmd_freeze () at D:\be - Copy\gamemodes\bkrp.pwn:5313
[16:39:24] [debug] #2 native CallLocalFunction () from samp-server.exe
[16:39:24] [debug] #3 0001d62c in ?? (... <2 arguments>) at D:\be - Copy\pawno\include\zcmd.inc:108
[16:39:24] [debug] #4 0000e750 in public OnPlayerCommandText (playerid=0, cmdtext[]=@013dba18 "/freeze 0 test") at D:\be - Copy\pawno\include\YSI\y_hooks/impl.inc:946
[16:39:25] [debug] Native backtrace:
[16:39:26] [debug] #0 72cc7e3f in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #1 72cc09c7 in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #2 72cc631a in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #3 72a33484 in ?? () from plugins\streamer.DLL
[16:39:26] [debug] #4 004746be in ?? () from samp-server.exe
[16:39:26] [debug] #5 004010b6 in ?? () from samp-server.exe
[16:39:26] [debug] #6 72cc62ca in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #7 72cc8b28 in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #8 72cc09c7 in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #9 72cc631a in ?? () from plugins\crashdetect.DLL
[16:39:26] [debug] #10 72a33484 in ?? () from plugins\streamer.DLL
[16:39:26] [debug] #11 0046dd10 in ?? () from samp-server.exe
[16:39:26] [debug] #12 00452270 in ?? () from samp-server.exe
[16:39:26] [debug] #13 7719d119 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:39:26] [debug] #14 7540149b in ?? () from C:\Windows\System32\KERNELBASE.dll
[16:39:26] [debug] #15 0049eef9 in ?? () from samp-server.exe
[16:39:26] [debug] #16 0045ad2a in ?? () from samp-server.exe
[16:39:26] [debug] #17 7719dd4f in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:39:26] [debug] #18 7719dd4f in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:39:26] [debug] #19 7719dbdc in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[16:39:26] [debug] #20 0044ea22 in ?? () from samp-server.exe
[16:39:26] [debug] #21 0049104c in ?? () from samp-server.exe
[16:39:26] [debug] #22 0049125c in ?? () from samp-server.exe
[16:39:26] [debug] #23 0048d4db in ?? () from samp-server.exe
[16:39:26] [debug] #24 0049b4a1 in ?? () from samp-server.exe
[16:39:26] [debug] #25 0049b4b1 in ?? () from samp-server.exe[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem): //
Šta je na liniji 5313?

new razlog[30];
if(sscanf(params, "is[29]", id, razlog))return SendClientMessage(playerid, SERVER_BOJA, "{b30000}| KORISCENJE | {FFFFFF}/freeze [ID] [Razlog]");

Citat: Goku ^ poslato Jun 09, 2023, 23:56:02 POSLE PODNE
new razlog[30];
if(sscanf(params, "is[29]", id, razlog))return SendClientMessage(playerid, SERVER_BOJA, "{b30000}| KORISCENJE | {FFFFFF}/freeze [ID] [Razlog]");
zahvaljujem Vam se gospodine iz sveg srca, jel treba jos nesto da napisem da bih se zahvalio? Pisite na discord kao za ovo sad.

Citat: Kajsije ^ poslato Jun 09, 2023, 23:57:15 POSLE PODNE
zahvaljujem Vam se gospodine iz sveg srca, jel treba jos nesto da napisem da bih se zahvalio? Pisite na discord kao za ovo sad.
Nema na cemu newbie tu sam da pomognem.

Citat: Goku ^ poslato Jun 10, 2023, 00:03:05 PRE PODNE
Nema na cemu newbie tu sam da pomognem.
Hvala Senior, jako sam zahvalan sto sirite svoje znanje sa ljudima koji tek pocinju.

Citat: Kajsije ^ poslato Jun 10, 2023, 00:05:09 PRE PODNE
Hvala Senior, jako sam zahvalan sto sirite svoje znanje sa ljudima koji tek pocinju.
De rien, mon fils, je suis la pour taider.

Citat: Goku ^ poslato Jun 10, 2023, 00:09:20 PRE PODNE
De rien, mon fils, je suis la pour taider.
Merci, monsieur, je suis très reconnaissant, je vais vous faire sauter la bite


Citat: Kajsije ^ poslato Jun 10, 2023, 00:46:44 PRE PODNE
Merci, monsieur, je suis très reconnaissant, je vais vous faire sauter la bite
je te baise dans la bouche