[Pomoc] script

Započeo 𝓜 4 𝓽 𝓽 𝓗 𝓮 𝓦, Maj 25, 2019, 09:27:59 PRE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Problem(error/warning): Na modu imam par warninga ali je do sad radilo kako treba, odjednom kada otvorim samp-server nece da radi..
Deo skripte: [ pawn ]
C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn(165) : warning 213: tag mismatch
C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn(19989) : warning 216: nested comment
C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn(95394) : warning 235: public function lacks forward declaration (symbol "TextDrawDizajn")
C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn(95568) : warning 203: symbol is never used: "PlayerEffect"
C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn(95568) : warning 203: symbol is never used: "RandomGrudvanje"
C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn(95568) : warning 203: symbol is never used: "SnowObject1"
C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn(95568) : warning 203: symbol is never used: "SnowObject2"
C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn(95568) : warning 203: symbol is never used: "SnowObjects"
[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
[ code ][09:20:47] [debug] Run time error 4: "Array index out of bounds"
[09:20:47] [debug]  Accessing element at index 100 past array upper bound 99
[09:20:47] [debug] AMX backtrace:
[09:20:47] [debug] #0 00171aa0 in public LoadSAAports () at C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn:24689
[09:20:47] [debug] #1 002561a0 in LoadScriptfiles () at C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn:35844
[09:20:47] [debug] #2 0025ed74 in public CB_OnGameModeInit () at C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn:36560
[09:20:47] [debug] #3 0001f65c in public zcmd_OnGameModeInit () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\newsamp.inc:444
[09:20:47] [debug] #4 native CallLocalFunction () from samp-server.exe
[09:20:47] [debug] #5 0001d50c in ?? () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\zcmd.inc:68
[09:20:47] [debug] #6 0000d888 in public ScriptInit_OnGameModeInit () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\y_hooks/impl.inc:498
[09:20:47] [debug] #7 000071bc in public SSCANF_OnGameModeInit () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\internal\..\y_scriptinit.inc:171
[09:20:47] [debug] #8 00000868 in public OnGameModeInit () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\sscanf2.inc:174
[09:20:47] Midwest Online Gaming Community
[09:20:47] Mod se ucitava - Loading...
[09:20:47] Mod ucitan - Loaded.
[09:20:47] Midwest by Matthew UCITAN / LOADED!!
[09:20:47] Number of vehicle models: 0
[09:20:55] [debug] Server received interrupt signal
[09:20:55] [debug] Native backtrace:
[09:20:55] [debug] #0 779507ec in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[09:20:55] [debug] #1 758adbdf in ?? () from C:\Windows\System32\KERNELBASE.dll
[09:20:55] [debug] #2 0048d53c in ?? () from samp-server.exe
[09:20:55] [debug] #3 0049b4a1 in ?? () from samp-server.exe
[09:20:55] [debug] #4 0049b4b1 in ?? () from samp-server.exe
[09:20:55] --- Server Shutting Down.
[09:20:59] [debug] Server received interrupt signal while executing MW-script.amx
[09:21:00] [debug] AMX backtrace:
[09:21:00] [debug] #0 native fopen () from samp-server.exe
[09:21:00] [debug] #1 0001bad8 in INI_WriteBuffer (INI:file=0) at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\y_ini.inc:1451
[09:21:00] [debug] #2 00018624 in INI_Close (INI:file=0) at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\y_ini.inc:747
[09:21:00] [debug] #3 002094ec in public SaveProperty (id=204) at C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn:32794
[09:21:00] [debug] #4 002604b8 in ?? () at C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn:36676
[09:21:00] [debug] #5 0000d978 in public ScriptInit_OnGameModeExit () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\y_hooks/impl.inc:531
[09:21:00] [debug] #6 000072a0 in public OnGameModeExit () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\internal\..\y_scriptinit.inc:269
[09:21:00] [debug] Native backtrace:
[09:21:00] [debug] #0 7795057c in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[09:21:00] [debug] #1 0019fab0 in ?? ()
[09:21:00] [debug] #2 00498bfe in ?? () from samp-server.exe
[09:21:00] [debug] #3 004010b6 in ?? () from samp-server.exe
[09:21:00] [debug] Server received interrupt signal while executing MW-script.amx
[09:21:00] [debug] AMX backtrace:
[09:21:00] [debug] #0 native fseek () from samp-server.exe
[09:21:00] [debug] #1 0001bb18 in INI_WriteBuffer (INI:file=0) at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\y_ini.inc:1453
[09:21:00] [debug] #2 00018624 in INI_Close (INI:file=0) at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\y_ini.inc:747
[09:21:00] [debug] #3 002094ec in public SaveProperty (id=219) at C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn:32794
[09:21:00] [debug] #4 002604b8 in ?? () at C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn:36676
[09:21:00] [debug] #5 0000d978 in public ScriptInit_OnGameModeExit () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\y_hooks/impl.inc:531
[09:21:00] [debug] #6 000072a0 in public OnGameModeExit () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\internal\..\y_scriptinit.inc:269
[09:21:00] [debug] Native backtrace:
[09:21:00] [debug] #0 779509fc in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[09:21:00] [debug] #1 023349c2 in ?? ()
[09:21:00] [debug] #2 7790b508 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[09:21:00] [debug] #3 77926457 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[09:21:00] [debug] #4 7795071c in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[09:21:02] [debug] Server received interrupt signal while executing MW-script.amx
[09:21:02] [debug] AMX backtrace:
[09:21:02] [debug] Run time error 4: "Array index out of bounds"
[09:21:02] [debug] #0 00000000 in public OnGameModeExit (... <3 arguments>)
[09:21:02] [debug]  Accessing element at index 41987940 past array upper bound 63
[09:21:02] [debug] AMX backtrace:
[09:21:02] [debug] #0 00018f44 in INI_AddToBuffer (INI:file=0, name[]=@0257fc1c "Drug5", data[]=@0280af7c "0") at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\y_ini.inc:982
[09:21:02] [debug] #1 000199f0 in INI_WriteInt (INI:file=0, name[]=@0257fc1c "Drug5", data=0) at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\y_ini.inc:1076
[09:21:02] [debug] #2 0020868c in public SaveProperty (id=385) at C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn:32765
[09:21:02] [debug] #3 002604b8 in ?? () at C:\Users\Username\Desktop\SERVER\MW-script\gamemodes\MW-script.pwn:36676
[09:21:02] [debug] #4 0000d978 in public ScriptInit_OnGameModeExit () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\y_hooks/impl.inc:531
[09:21:02] [debug] #5 000072a0 in public OnGameModeExit () at C:\Users\Username\Desktop\SERVER\MW-script\pawno\include\YSI\internal\..\y_scriptinit.inc:269
[09:21:02] 
------------------------------------------------------------------
[09:21:02]  Iskljucivanje mape,labela i pickupa by United Gaming by Leon
[09:21:02] -------------------------------------------------------------------

[09:21:02] 

[09:21:02]  ===============================

[09:21:02]      sscanf plugin unloaded.    

[09:21:02]  ===============================

[09:21:02] 

*** Streamer Plugin v2.8.2 by Incognito unloaded ***[ /code ]

Slika/video ingame problema(obavezno ako je ingame problem): //
Pascal doctorated.
Pawn learning.

Pa fixaj waringe ponekad i oni mogu zajebavati, sve to sto pise symbol is never used primer trazis u skripti PlayerEffect i samo ga obrisi i tako za svaki waring na kom imas never used

Update sve plugine i proveri da li u modu imas main()
• Website: www.vasic.dev
Web Development & Cyber Security

Citat: Vasic poslato Maj 25, 2019, 11:41:29 PRE PODNE
Update sve plugine i proveri da li u modu imas main()
  ᴢᴀᴊᴇá´...ɴɪá´,,á´‡ :                          
- ᴇʟɪᴛᴇᴢ ɢᴀᴍɪɴɢ
- ʙᴀʟᴋᴀɴá´,,ᴏᴍᴍᴜɴɪᴛʏ
- ʟᴏsá´›á´,,ɪᴛʏ
- Ò"ᴜʀɪᴏᴜs ʀᴏʟᴇᴘʟᴀʏ

          Ò"á´€á´,,ᴇʙᴏᴏᴋ : ʜᴛᴛᴘs://á ́¡á ́¡á ́¡.ò"á´€á´,,ᴇʙᴏᴏᴋ.á´,,ᴏᴍ/ʜᴀᴢᴀʀá´....ᴇɢ.𝟷