Ban

Započeo Sef, Mart 11, 2018, 00:05:53 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Sef

*

Problem(error/warning): Ovako kada pokusam nekog ban kresuje se server i crashdetect izbaci dole
Dio skripte:
//

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
[22:06:35] [debug] Server crashed while executing nscript.amx
[22:06:35] [debug] AMX backtrace:
[22:06:35] [debug] #0 native fwrite () from samp03svr
[22:06:35] [debug] #1 00426ebc in public @_yCban (playerid=0, params[]=@028a0ff0 "2 0 multiacc", help=0) at C:\Users\user\OneDrive\Radna površina\Nova\gamemodes\nscript. pwn:57484
[22:06:35] [debug] #2 00425988 in public @yC_ban (a=0, b[]=@028a0ff0 "2 0 multiacc", c=0, i=0) at C:\Users\user\OneDrive\Radna površina\Nova\gamemodes\nscript.pwn:57448
[22:06:35] [debug] #3 native CallRemoteFunction () from samp03svr
[22:06:35] [debug] #4 000252e4 in Command_Process (playerid=0, cmdtext[]=@028a0fa8 "/ban", help=0) at C:\Users\user\OneDrive\Radna površina\Nova\pawno\include\YSI\y_commands.inc:2499
[22:06:35] [debug] #5 000249c4 in ?? (... <2 arguments>) at C:\Users\user\OneDrive\Radna površina\Nova\pawno\include\YSI\y_commands.inc:2297
[22:06:35] [debug] #6 0000c9fc in public OnPlayerCommandText (playerid=0, cmdtext[]=@028a0fa8 "/ban") at C:\Users\user\OneDrive\Radna površina\Nova\pawno\include\YSI\y_hooks/impl.inc:946
[22:06:35] [debug] Native backtrace:
[22:06:35] [debug] #0 f7411e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[22:06:35] [debug] #1 f740abcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[22:06:35] [debug] #2 f740bdbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[22:06:35] [debug] #3 f740c226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[22:06:35] [debug] #4 f7411adc in ?? () from plugins/crashdetect.so
[22:06:35] [debug] #5 f7764d50 in __kernel_rt_sigreturn () from linux-gate.so.1
[22:06:35] [debug] #6 f7764d70 in __kernel_vsyscall () from linux-gate.so.1
[22:06:35] [debug] #7 f7463367 in gsignal () from /lib32/libc.so.6
[22:06:35] [debug] #8 f7464a23 in abort () from /lib32/libc.so.6
[22:06:35] [debug] #9 f745c697 in ?? () from /lib32/libc.so.6
[22:06:35] [debug] #10 f745c747 in ?? () from /lib32/libc.so.6
[22:06:35] [debug] #11 0809b99c in ?? () from ./samp03svr
[22:06:35] [debug] #12 0809bdff in ?? () from ./samp03svr
[22:06:35] [debug] #13 080950e4 in ?? () from ./samp03svr
[22:06:35] [debug] #14 f740d94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[22:06:35] [debug] #15 f74108f8 in ?? () from plugins/crashdetect.so
[22:06:35] [debug] #16 f7414916 in amx_Exec () from plugins/crashdetect.so
[22:06:35] [debug] #17 f740cbe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[22:06:35] [debug] #18 f7410659 in ?? () from plugins/crashdetect.so
[22:06:35] [debug] #19 f7359406 in ?? () from plugins/streamer.so
[22:06:35] [debug] #20 080df897 in ?? () from ./samp03svr
[22:06:35] [debug] #21 080950e4 in ?? () from ./samp03svr
[22:06:35] [debug] #22 f740d94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[22:06:35] [debug] #23 f74108f8 in ?? () from plugins/crashdetect.so
[22:06:35] [debug] #24 f7414916 in amx_Exec () from plugins/crashdetect.so
[22:06:35] [debug] #25 f740cbe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[22:06:35] [debug] #26 f7410659 in ?? () from plugins/crashdetect.so
[22:06:35] [debug] #27 f7359406 in ?? () from plugins/streamer.so
[22:06:35] [debug] #28 080a5632 in ?? () from ./samp03svr
[22:06:35] [debug] #29 080b1751 in ?? () from ./samp03svr
[22:06:35] [debug] #30 08071d38 in ?? () from ./samp03svr
[22:06:35] [debug] #31 08071e32 in ?? () from ./samp03svr
[22:06:35] [debug] #32 0807bc50 in ?? () from ./samp03svr
[22:06:35] [debug] #33 080aed3d in ?? () from ./samp03svr
[22:06:35] [debug] #34 080aef02 in ?? () from ./samp03svr
[22:06:35] [debug] #35 080aa13a in ?? () from ./samp03svr
[22:06:35] [debug] #36 f744ea63 in __libc_start_main () from /lib32/libc.so.6

Slika/video ingame problema(obavezno ako je ingame problem)://
Life Quotes:
"Successful people do what unsuccessful people are not willing to do. Don't wish it were easier; wish you were better."

“To learn something new, you need to try new things and not be afraid to be wrong.”

de cmd /ban i updejtaj ysi
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci


Update ChrashDetect stara verzija koliko ja znam  :)
]

Citat: Scripter|LuKKaKu poslato Mart 11, 2018, 15:29:47 POSLE PODNE
Update ChrashDetect stara verzija koliko ja znam  :)
Ici ces na hladjenje, korisnik iznad tebe je isto napisao, ne skupljaj postove dzabe.
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci

Sef

*

Updateovao sam plugine i ysi i ispali su mi ovi random errori moze help?
C:\Users\User\OneDrive\Radna površina\Nova\pawno\include\YSI\..\YSI_Visual\..\YSI_Data\y_foreach/iterators.inc(523) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\User\OneDrive\Radna površina\Nova\pawno\include\YSI\..\YSI_Visual\..\YSI_Data\y_foreach/iterators.inc(523) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\User\OneDrive\Radna površina\Nova\pawno\include\YSI\..\YSI_Visual\..\YSI_Data\y_foreach/iterators.inc(523) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\User\OneDrive\Radna površina\Nova\pawno\include\YSI\..\YSI_Visual\y_commands/impl.inc(179) : error 025: function heading differs from prototype
C:\Users\User\OneDrive\Radna površina\Nova\pawno\include\YSI\..\YSI_Visual\y_commands/impl.inc(180) : error 025: function heading differs from prototype
C:\Users\User\OneDrive\Radna površina\Nova\pawno\include\fuckcleo.inc(55) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\User\OneDrive\Radna površina\Nova\pawno\include\fuckcleo.inc(107) : error 017: undefined symbol "OnVehicleDamageStatusUpdate"
C:\Users\User\OneDrive\Radna površina\Nova\pawno\include\fuckcleo.inc(107) : error 010: invalid function or declaration
C:\Users\User\OneDrive\Radna površina\Nova\pawno\include\GetVehicleColor.inc(118) : warning 201: redefinition of constant/macro (symbol "DestroyVehicle")
C:\Users\User\OneDrive\Radna površina\Nova\gamemodes\novascript.pwn(14227) : warning 217: loose indentation
C:\Users\User\OneDrive\Radna površina\Nova\gamemodes\novascript.pwn(39701) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
C:\Users\User\OneDrive\Radna površina\Nova\gamemodes\novascript.pwn(79087) : error 025: function heading differs from prototype
C:\Users\User\OneDrive\Radna površina\Nova\gamemodes\novascript.pwn(79087) : error 025: function heading differs from prototype
C:\Users\User\OneDrive\Radna površina\Nova\gamemodes\novascript.pwn(79101) : error 025: function heading differs from prototype
Life Quotes:
"Successful people do what unsuccessful people are not willing to do. Don't wish it were easier; wish you were better."

“To learn something new, you need to try new things and not be afraid to be wrong.”

local variable "X" shadows a variable at a preceding level
negdje u kodu imas definisano
new Float:X;

pokusaj da zamijenis sa
new Float:X1;
i trebalo bi da rijesi problem.
Uradi isto i sa Y i Z.

function heading differs from prototype
Kod novog YSI-a ne treba ti OnPlayerCommandPerformed vec OnPlayerCommandReceived to je jedan od mogucnosti da ti izbaci taj warning
u ovom postu imas detaljno objasnjeno zbog cega se to desava i kako da rijesis:  KLIKNI ME
opet posalji nam dijelove koda gdje ti izbacuje te warninge pa da vidimo do cega je.

local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
kod starog YSI-a radili smo ovo
foreach (Player, i)
a na novom trebao bi ovako
foreach (new i : Player)


Ispravite me ako sam negdje pogrijesio.

Sef

*

Citat: Tagić poslato Mart 12, 2018, 00:41:36 PRE PODNE
local variable "X" shadows a variable at a preceding level
negdje u kodu imas definisano
new Float:X;

pokusaj da zamijenis sa
new Float:X1;
i trebalo bi da rijesi problem.
Uradi isto i sa Y i Z.

function heading differs from prototype
Kod novog YSI-a ne treba ti OnPlayerCommandPerformed vec OnPlayerCommandReceived to je jedan od mogucnosti da ti izbaci taj warning
u ovom postu imas detaljno objasnjeno zbog cega se to desava i kako da rijesis:  KLIKNI ME
opet posalji nam dijelove koda gdje ti izbacuje te warninge pa da vidimo do cega je.

local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
kod starog YSI-a radili smo ovo
foreach (Player, i)
a na novom trebao bi ovako
foreach (new i : Player)


Ispravite me ako sam negdje pogrijesio.
Probao sam sve ovo i isti errori ponovo...
Life Quotes:
"Successful people do what unsuccessful people are not willing to do. Don't wish it were easier; wish you were better."

“To learn something new, you need to try new things and not be afraid to be wrong.”