Y_CMD -> PAWN.CMD cudnovat error [RERNA]

Započeo {Makenzi}, Februar 21, 2019, 09:28:16 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Pa ovako, znaci prebacivao sam YCMD u PawnCMD milion puta (...ali ovo je prvi put u skill rerna modu), znam treba izbrisem onaj YCMD callback za commandperformed/received i jesam, ali kada idem CTRL + H (replace) YCMD: u CMD: i maknem help (nmvz to iako ne maknem bi trebalo sve da radi al opet baca errore), kao kad ne zatvoris bracket ono baci milion errora na random mestia al ne baca u inc fajlu nego u MODU, koristim YSI 5 #357 i AMX #37
Dio skripte:
[pawn]C:\Users\nmnec\Desktop\Mod\pawno\include\sscanf2.inc(149) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\sscanf2.inc(193) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\sscanf2.inc(236) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\sscanf2.inc(342) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\sscanf2.inc(402) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\morphinc.inc(3) : warning 219: local variable "x1" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\morphinc.inc(3) : warning 219: local variable "y1" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\morphinc.inc(3) : warning 219: local variable "z1" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_debug_impl.inc(651) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_amx_impl.inc(404) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_amx_impl.inc(452) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_amx_impl.inc(589) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(612) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(825) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(868) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(886) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_utils_impl.inc(1533) : warning 219: local variable "f" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\..\..\YSI_Core\y_core\..\..\amx\dynamic_call.inc(59) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\..\..\YSI_Core\y_core\..\..\amx\codescan.inc(212) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_malloc\y_malloc_funcs.inc(117) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_malloc\y_malloc_funcs.inc(729) : warning 219: local variable "p" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_malloc\y_malloc_funcs.inc(810) : warning 219: local variable "p" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(291) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(554) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(600) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(655) : warning 219: local variable "ph" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Storage\y_ini\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc(1086) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\Pawn.CMD(1) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Coding\y_timers\..\..\YSI_Data\y_foreach\y_foreach_impl.inc(271) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\YSI_Coding\y_timers\y_timers_impl.inc(250) : warning 219: local variable "result" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(2535) : warning 219: local variable "b" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(2553) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(2624) : warning 219: local variable "v" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3861) : warning 219: local variable "engine" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3861) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3861) : warning 219: local variable "alarm" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3861) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3861) : warning 219: local variable "bonnet" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3861) : warning 219: local variable "boot" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3861) : warning 219: local variable "objective" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3871) : warning 219: local variable "b" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3873) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3912) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3939) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3941) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(3963) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4359) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4372) : warning 219: local variable "g" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4373) : warning 219: local variable "w" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4404) : warning 219: local variable "b" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4436) : warning 219: local variable "p" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4446) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4446) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4496) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4506) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4528) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4642) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4674) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4705) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4726) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4919) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4923) : warning 219: local variable "engine" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4923) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4923) : warning 219: local variable "alarm" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4923) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4923) : warning 219: local variable "bonnet" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4923) : warning 219: local variable "boot" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4923) : warning 219: local variable "objective" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4936) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4942) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4961) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4973) : warning 219: local variable "engine" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4973) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4973) : warning 219: local variable "alarm" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4973) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4973) : warning 219: local variable "bonnet" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4973) : warning 219: local variable "boot" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4973) : warning 219: local variable "objective" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4973) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(4985) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(5015) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(5019) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(5901) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(5909) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(5924) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(5940) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(5956) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(5980) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(5998) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(6119) : warning 219: local variable "h" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(6119) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(6553) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(6562) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(6573) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(6581) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8898) : error 021: symbol already defined: "gepek"
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8900) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8902) : error 021: symbol already defined: "engine"
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8903) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8906) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8909) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8911) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8914) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8916) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8919) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8923) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8924) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8930) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(8935) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9210) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9882) : error 020: invalid symbol name ""
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9885) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9886) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9889) : error 021: symbol already defined: "GetPlayerName"
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9890) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9892) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9894) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9895) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9896) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9897) : error 010: invalid function or declaration
C:\Users\nmnec\Desktop\Mod\gamemodes\nk.pwn(9898) : error 010: invalid function or declaration

Compilation aborted.

Pawn compiler 3.10.8           Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
[Finished in 3.0s with exit code 1]
[cmd: ['pawncc.exe', 'C:\\Users\\nmnec\\Desktop\\Mod\\gamemodes\\nk.pwn', '-oC:\\Users\\nmnec\\Desktop\\Mod\\gamemodes/nk', '-;+', '-(+', '-d3']]
[dir: C:\Users\nmnec\Desktop\Mod\pawno]
[path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\nmnec\AppData\Local\Microsoft\WindowsApps;][/pawn]
E sada ja SA mod radim TRECI put ispocetka zbog ovoga jer kada sam editao ga isao sam sve odjednom i nisam znao zbog cega baca a i iskreno ne vidim razlog zasto da baci error kad iz YCMD:  promenim u CMD: ???
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike
Znaci obicno kad prebacujem baci samo onaj dosadni error function heading differ from prototype al sam sam makao callback za !success i received tkd ne vidim razlog zasto baca ove errore ???

Evo build system:
[pawn]{
    "file_regex": "(.*?)\\(([0-9]*)[- 0-9]*\\)",
    "selector": "source.pwn",
    "cmd": [
        "pawncc.exe",
        "$file",
        "-o$file_path/$file_base_name",
        "-;+",
        "-(+",
        "-d3"
    ],
    "working_dir": "C:/Users/nmnec/Desktop/Mod/pawno"
}[/pawn]
EDIT: Nemojte mi dzaba traziti linije na kojim baca errore jer su random tipa na if(PlayerInfo blabla...
I ponavljao sam isti proces 7 puta tkd nisam nista pogresio 100%
Poslednja Izmena: Februar 23, 2019, 12:06:38 POSLE PODNE od Bašovski

Ok, ovo uopste nije bilo do moda, otvorio sam include folder sa namerom da otvorim .inc fajl i iznad .inc fajl-a sam video Pawn.CMD bez .inc ekstenzije i njega sam makao i onda je fino includealo pravi fajl ovo bio neki .exe dafuq, inace prebacivao sam mod sa pc-a na pc pa vrv se nes sjebalo haha