Skripta koju koristim: Meine
Detaljan opis problema: Zna li tko ovo Äitati :D
Dio skripte:
[21:50:23] [debug] Server crashed while executing SKRIPTA.amx
[21:50:23] [debug] AMX backtrace:
[21:50:23] [debug] #0 00000039 in INI_AddToBuffer (INI:file=55, name[]=@00000000 "", data[]=@01a9f738 "0000001486256967") at <unknown file>:0
[21:50:23] [debug] #1 00014f5c in ?? (... <13 arguments>) at C:pawno\include\YSI\y_ini.inc:1076
[21:50:23] [debug] #2 00000039 in public SpremiKorisnike () at <unknown file>:0
[21:50:23] [debug] Native backtrace:
[21:50:23] [debug] #0 f73c0180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[21:50:23] [debug] #1 f73b8064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[21:50:23] [debug] #2 f73b8d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[21:50:23] [debug] #3 f73bacdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[21:50:23] [debug] #4 f73bf4d5 in ?? () from plugins/crashdetect.so
[21:50:23] [debug] #5 f771ad50 in __kernel_rt_sigreturn () from linux-gate.so.1
[21:50:23] [debug] #6 f7000000 in ?? () from n÷Hn÷ĚÄ'
[21:50:23] [debug] ÄšÄ'
[21:50:23] [debug] ÃÄ'
[21:50:23] [debug] ÄšÄ'
[21:50:23] [debug] ĺÄ'
[21:50:23] [debug] Äš!Ä'
[21:50:23] [debug] ¤n÷
[21:50:23] [debug] #7 000005b5 in ?? () from n÷Hn÷ĚÄ'
[21:50:23] [debug] ÄšÄ'
[21:50:23] [debug] ÃÄ'
[21:50:23] [debug] ÄšÄ'
[21:50:23] [debug] % Ä'
[21:50:23] [debug] Äš!Ä'
[21:50:23] [debug] ¤n÷
[21:50:23] [debug] Registers:
[21:50:23] [debug] EAX: f7000000 EBX: 099f1e78 ECX: f4481a5c EDX: 01a9f7aa
[21:50:23] [debug] ESI: f3bace95 EDI: f3bace58 EBP: ff9c2cd4 ESP: ff9c2ae0
[21:50:23] [debug] EIP: f7000000 EFLAGS: 00010286
[21:50:23] [debug] Stack:
[21:50:23] [debug] ESP+00000000: 099f1e78 0000001e ff9c2b3c f5f21184
[21:50:23] [debug] ESP+00000020: f4481a5c 01a9f7aa 01a8bf28 01a9f738
[21:50:23] [debug] ESP+00000040: 008d4c04 099f1e78 00000000 f3bc1d40
[21:50:23] [debug] ESP+00000060: ff9c2bb8 00000001 099f1e78 f73e4ff4
[21:50:23] [debug] ESP+00000080: 099f1e78 ff9c2cd4 000005b5 00000000
[21:50:23] [debug] ESP+000000a0: 09736098 09735d20 f7327d87 f7418b95
[21:50:23] [debug] ESP+000000c0: 00000000 09735d38 ff9c2c78 f7327d87
[21:50:23] [debug] ESP+000000e0: 00000000 00000000 000005b5 00000000
[21:50:23] [debug] ESP+00000100: 00000000 f3ba3008 00000000 0809571b
[21:50:23] [debug] ESP+00000120: 00000000 00000000 00000000 000005b5
[21:50:23] [debug] ESP+00000140: 099f1e78 098f3648 000005b5 f73be384
[21:50:23] [debug] ESP+00000160: 65727053 6f4b696d 6e736972 f7327a5e
[21:50:23] [debug] ESP+00000180: ff9c2cd4 099f1e78 f7327b8d f73a0a14
[21:50:23] [debug] ESP+000001a0: 099f1e78 ff9c2cd4 000005b5 ff9c2cd4
[21:50:23] [debug] ESP+000001c0: 09737291 0a72d290 ff9c2ce8 080ebc05
[21:50:23] [debug] ESP+000001e0: 00000000 00000000 099f1e78 0a72d0c8
[21:50:23] [debug] ESP+00000200: 08159b76 08159cf3 ff9c2d18 080af03c
[21:50:23] [debug] ESP+00000220: 00000005 00000000 00000000 037f0f7f
[21:50:23] [debug] ESP+00000240: 09739080 08159cf3 00000006 08159d0d
[21:50:23] [debug] ESP+00000260: f76e8ef0 f76e8e84 ff9c2de8 f768d036
[21:50:23] [debug] ESP+00000280: 00010100 00001e6b 00000064 00663a53
[21:50:23] [debug] ESP+000002a0: f76e3000 f76e8e84 f76e8aa0 f7663b9b
[21:50:23] [debug] ESP+000002c0: f76e3000 f76e8f40 f76e90c0 f765433d
[21:50:23] [debug] ESP+000002e0: 00000000 00000000 00000000 00000000
[21:50:23] [debug] ESP+00000300: 00000000 00000000 00000000 00000000
[21:50:23] [debug] ESP+00000320: 00000000 00000000 00000000 00000000
[21:50:23] [debug] ESP+00000340: 00000000 00000000 00000000 00000000
[21:50:23] [debug] ESP+00000360: f75923c4 f773e000 0815065b f7592000
[21:50:23] [debug] ESP+00000380: 00000001 ff9c2ef4 ff9c2efc f772be9a
[21:50:23] [debug] ESP+000003a0: 080494b0 f7592000 00000000 00000000
[21:50:23] [debug] ESP+000003c0: 00000000 00000000 00000001 0804b4c0
[21:50:23] [debug] ESP+000003e0: 00000001 0804b4c0 00000000 0804b4e1
[21:50:23] [debug] Loaded modules:
[21:50:23] [debug] 00000000 - 00187dc3 samp03svr
[21:50:23] [debug] f771a000 - f771ae96 linux-gate.so.1
[21:50:23] [debug] f7708000 - f770a81b /lib/i386-linux-gnu/i686/cmov/libdl.so.2
[21:50:23] [debug] f76ec000 - f7706d2b /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
[21:50:23] [debug] f75f9000 - f76f2ce6 /usr/lib32/libstdc++.so.6
[21:50:23] [debug] f75b3000 - f75f7b43 /lib/i386-linux-gnu/i686/cmov/libm.so.6
[21:50:23] [debug] f7596000 - f75b23c4 /lib/i386-linux-gnu/libgcc_s.so.1
[21:50:23] [debug] f73e9000 - f759e22f /lib/i386-linux-gnu/i686/cmov/libc.so.6
[21:50:23] [debug] f771d000 - f773dd6c /lib/ld-linux.so.2
[21:50:23] [debug] f73a2000 - f73e4ac4 plugins/crashdetect.so
[21:50:23] [debug] f7322000 - f73a1bfd plugins/streamer.so
[21:50:23] [debug] f770e000 - f771509f /lib/i386-linux-gnu/i686/cmov/librt.so.1
[21:50:23] [debug] f7312000 - f732140c plugins/sscanf.so
[21:50:23] [debug] f72ac000 - f72b73ef /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2
[21:50:23] [debug] f72a5000 - f72a997b /lib/i386-linux-gnu/i686/cmov/libnss_dns.so.2
[21:50:23] [debug] f728d000 - f72a52fb /lib/i386-linux-gnu/i686/cmov/libresolv.so.2
Neke slike/video za lakse dobivanje pomoci(neobavezno):
plugini jebu kolko sam skonto
Citat: Eldin Pawno poslato Avgust 29, 2017, 22:28:53 POSLE PODNE
Kad nauÄim kineski javim ti.
Ako ne misliš pomoći ne javljaj se.
Citat: anDro_ poslato Avgust 29, 2017, 22:33:45 POSLE PODNE
plugini jebu kolko sam skonto
Ubacit cu nove plugine pa cemo vidjeti
To i mene jebe,ubacio nove pluginove i sve novo al opet javlja isti problem ahahaha
SAD OVO
11:52:00] [debug] Server crashed while executing SKRIPTA.amx
[11:52:00] [debug] AMX backtrace:
[11:52:00] [debug] #0 00000076 in ?? (... <28 arguments>) at <unknown file>:0
[11:52:00] [debug] #1 0000006f in public @yC_napuni () at <unknown file>:0
[11:52:00] [debug] #2 native CallRemoteFunction () from samp03svr
[11:52:00] [debug] #3 00022d64 in Command_Process (playerid=12, cmdtext[]=@01a8bf8c "/napuni", help=0) at C:\Users\Win7\Documents\BEXPERTRP OK\pawno\include\YSI\y_commands.inc:2499
[11:52:00] [debug] #4 00022444 in ?? (... <2 arguments>) at YSI\y_commands.inc:2297
[11:52:00] [debug] #5 00009ce4 in public OnPlayerCommandText (playerid=12, cmdtext[]=@01a8bf8c "/napuni") at YSI\y_hooks/impl.inc:929
EVO KOMANDA /NAPUNI
[pawn]YCMD:napuni(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(UlogovanProvera[playerid] == 0) return GreskaMessage(playerid, "Moras se ulogovati da bi koristio ovu komandu!");
if(PlayerInfo[playerid][pPosao] != POSAO_MEHANICAR) return SCM(playerid,-1,""BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA" "SPLAVA"Niste mehanicar!");
if(PosaoOprema[playerid] == 0) return SCM(playerid,-1,""BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA"Niste uzeli opremu za posao (/oprema)!");
if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_GRESKA," "BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA"] {0B83E6}Ne mozete to dok ste u vozilu!");
new id, cena, Float:Poz[3];
if(sscanf(params, "ui", id, cena)) return SCM(playerid, -1, "GA Pomoc | "SPLAVA"/napuni [ID/Ime] [Cijena goriva]");
if(!IsPlayerConnected(id)) return SCM(playerid, COLOR_GRESKA," "BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA"] {0B83E6}Igrac je offline!");
GetPlayerPos(id, Poz[0], Poz[1], Poz[2]);
if(!IsPlayerInRangeOfPoint(playerid, 5.0, Poz[0], Poz[1], Poz[2])) return SCM(playerid, COLOR_GRESKA," "BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA"] {0B83E6}Igrac nije blizu tebe!");
if(!IsPlayerInAnyVehicle(id)) return SCM(playerid, COLOR_GRESKA," "BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA"] {0B83E6}Igrac mora biti u vozilu!");
if(GetPlayerState(id) != PLAYER_STATE_DRIVER) SCM(playerid, COLOR_GRESKA," "BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA"] {0B83E6}Igrac mora biti vozac!");
if(cena > 3000) return SCM(playerid, COLOR_GRESKA," "BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA"] {0B83E6}Cijena goriva ne moze biti veca od 3000$!");
if(VoziloJeBicikla(GetVehicleModel(GetPlayerVehicleID(id)))) return SCM(playerid,-1,""BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA" "SPLAVA"Ne mozete sipati gorivo u biciklo!");
PonudioGorivo[id] = playerid; CenaGoriva[id] = cena;
SCMF(playerid, -1, ""BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA" "SPLAVA"Ponudili ste gorivo za vozilo igracu %s za %d$.", GetName(id), cena);
SCMF(id, -1, ""BELA"["CRVENA"G"SPLAVA"A"BELA"] "BELA" "SPLAVA"Mehanicar %s vam je ponudio gorivo za vozila za %d$ | Da prihvatite /prihvati gorivo!", GetName(playerid), cena);
return 1;
}
[/pawn]
updateuj ysi citav, to zajebava koliko vidim gore
@Arkoo
2499 linija,vidis da je do YSI to update i kompajl
YSI Updateovan ali opet izbacuje
[18:25:48] [debug] Run time error 4: "Array index out of bounds"
[18:25:48] [debug] Attempted to read/write array element at index 65535 in array of size 100
[18:25:48] [debug] AMX backtrace:
[18:25:48] [debug] #0 006513c4 in public @_yCgoto (playerid=4, params[]=@01a8bfc0 "loddu", help=0) at \SKRIPTA.pwn:48400
[18:25:48] [debug] #1 00650ddc in public @yC_goto (a=4, b[]=@01a8bfc0 "loddu", c=0, i=0) at \SKRIPTA.pwn:48390
[18:25:48] [debug] #2 native CallRemoteFunction () from samp03svr
[18:25:48] [debug] #3 00022d8c in Command_Process (playerid=4, cmdtext[]=@01a8bf8c "/goto", help=0) at \pawno\include\YSI\y_commands.inc:2499
[18:25:48] [debug] #4 0002246c in ?? (... <2 arguments>) at pawno\include\YSI\y_commands.inc:2297
[18:25:48] [debug] #5 00009ce4 in public OnPlayerCommandText (playerid=4, cmdtext[]=@01a8bf8c "/goto") at \pawno\include\YSI\y_hooks/impl.inc:929
[18:36:52] [debug] AMX backtrace:
[18:36:52] [debug] #0 005d5720 in ?? (... <3 arguments>) at SKRIPTA.pwn:42288
[18:36:52] [debug] #1 000096a0 in public OnPlayerDeath (playerid=5, killerid=65535, reason=54) at YSI\y_hooks/impl.inc:753
ih al ce ovde bit posla bog te mazo, sad updateuj impl include u folderu y_hooks i updateuj y_commands i koliko vidim nesto jebe komanda goto
Hahahha kakvih gluposti mozes da se nacitas ovde :D
Inace u YSI source edituj string za addtobuffer i sredjeno.
PS opet moram da kazem kakvi retardirani komentari postoje :D
Citat: DeitY poslato Avgust 30, 2017, 20:55:49 POSLE PODNE
Hahahha kakvih gluposti mozes da se nacitas ovde :D
Inace u YSI source edituj string za addtobuffer i sredjeno.
PS opet moram da kazem kakvi retardirani komentari postoje :D
UÄ'em u y_ini.inc i promijenim ovdje sta
new
str[12];
valstr(str, data);
INI_AddToBuffer(file, name, str);
samo povecati str[12]; na str[24]; ili...
stavi 64 i fixed.
Citat: DeitY poslato Avgust 31, 2017, 17:20:36 POSLE PODNE
stavi 64 i fixed.
Hvala, nego sad me muÄe one dvije komande /goto i /napuni kad se gotas do nekog izbaci samo warning u skripti ali kad koristis /napuni (to je za gorivo) crasha se server. Gore imate full komandu /napuni
Ja mislim da SCMF crashuje jer on inace zna srusit srv, sta vi mislite?