Sampctl - Pomoc

Započeo noddy_, April 30, 2022, 13:13:30 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Kada hocu da compileam mod preko sampctl-a izbaci mi ovaj error u pitanju je open.rp mod od Zandera.Kada dodam mapandreas.inc pojavi error u konzoli
Deo skripte: [pawn]//[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]failed to compile package entry: exit status 0xc0000005[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem)://
SPEED HACK (C++) https://github.com/nouddy/samp-speed-hack
Reliant GameMode (open.mp) https://github.com/nouddy/reliant-omp
SA:MP Landing Page https://github.com/nouddy/samp-landing-page


Kolko drama ima u 7 grama


Citat: // xunder poslato April 30, 2022, 21:25:20 POSLE PODNE
Posalji pawn.json, includeove i sampctl p build --verbose output

Includeovi najnoviji

verbose output :

[pawn]

INFO: failed to open repo as git repository: repository does not exist
INFO: ZanderOperator/open.RP read package from directory C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master
INFO: ZanderOperator/open.RP building dependency tree and ensuring cached copies
INFO: |- ZanderOperator/open.RP is parent
INFO: |- iterating 16 dependencies of ZanderOperator/open.RP
INFO: |-|- github.com/pawn-lang/samp-stdlib ensured
INFO: |-|- iterating 1 dependencies of sampctl/samp-stdlib
INFO: |-|-|- github.com/pawn-lang/pawn-stdlib ensured
INFO: |-|-|- iterating 0 dependencies of sampctl/pawn-stdlib
INFO: |-|- github.com/Zeex/samp-plugin-crashdetect:v4.19.4 ensured
INFO: |-|- ignoring platform mismatch linux
INFO: |-|- added target path for resource includes: C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\samp-plugin-crashdetect-ff05b5
INFO: |-|- github.com/Zeex/samp-plugin-crashdetect:v4.19.4 is a plugin
INFO: |-|- iterating 0 dependencies of Zeex/samp-plugin-crashdetect
INFO: |-|- github.com/pBlueG/SA-MP-MySQL ensured
INFO: |-|- ignoring platform mismatch linux
INFO: |-|- added target path for resource includes: C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\SA-MP-MySQL-74cb22
INFO: |-|- github.com/pBlueG/SA-MP-MySQL is a plugin
INFO: |-|- iterating 0 dependencies of pBlueG/SA-MP-MySQL
INFO: |-|- github.com/Y-Less/sscanf ensured
INFO: |-|- ignoring platform mismatch linux
INFO: |-|- added target path for resource includes: C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\sscanf-019253
INFO: |-|- github.com/Y-Less/sscanf is a plugin
INFO: |-|- iterating 0 dependencies of Y-Less/sscanf
INFO: |-|- github.com/samp-incognito/samp-streamer-plugin ensured
INFO: |-|- ignoring platform mismatch linux
INFO: |-|- added target path for resource includes: C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\samp-streamer-plugin-7c00b9   
INFO: |-|- github.com/samp-incognito/samp-streamer-plugin is a plugin
INFO: |-|- iterating 0 dependencies of samp-incognito/samp-streamer-plugin
INFO: |-|- github.com/lassir/bcrypt-samp ensured
INFO: |-|- ignoring platform mismatch linux
INFO: |-|- github.com/lassir/bcrypt-samp is a plugin
INFO: |-|- iterating 0 dependencies of lassir/bcrypt-samp
INFO: |-|- github.com/Southclaws/pawn-chrono ensured
INFO: |-|- ignoring platform mismatch linux
INFO: |-|- github.com/Southclaws/pawn-chrono is a plugin
INFO: |-|- iterating 1 dependencies of Southclaws/pawn-chrono:1.1.0
INFO: |-|- already visited github.com/Southclaws/samp-stdlib
INFO: |-|- github.com/Southclaws/progress2 ensured
INFO: |-|- iterating 3 dependencies of Southclaws/progress2
INFO: |-|- already visited github.com/Southclaws/samp-stdlib
INFO: |-|-|- github.com/Southclaws/samp-logger ensured
INFO: |-|-|- iterating 2 dependencies of Southclaws/samp-logger
INFO: |-|-|- already visited github.com/pawn-lang/samp-stdlib
INFO: |-|-|- already visited github.com/Zeex/samp-plugin-crashdetect:v4.20
INFO: |-|-|- github.com/pawn-lang/YSI-Includes ensured
INFO: |-|-|- iterating 5 dependencies of pawn-lang/YSI-Includes
INFO: |-|-|-|- github.com/oscar-broman/md-sort ensured
INFO: |-|-|-|- iterating 1 dependencies of oscar-broman/md-sort
INFO: |-|-|-|- already visited github.com/sampctl/samp-stdlib
INFO: |-|-|- already visited github.com/sampctl/samp-stdlib
INFO: |-|-|-|- github.com/Y-Less/code-parse.inc ensured
INFO: |-|-|-|- iterating 0 dependencies of Y-Less/code-parse.inc
INFO: |-|-|-|- github.com/Y-Less/indirection ensured
INFO: |-|-|-|- iterating 2 dependencies of Y-Less/indirection
INFO: |-|-|-|- already visited github.com/sampctl/samp-stdlib
INFO: |-|-|-|-|- github.com/Zeex/amx_assembly ensured
INFO: |-|-|-|-|- iterating 0 dependencies of Zeex/amx_assembly
INFO: |-|-|- already visited github.com/Zeex/amx_assembly
INFO: |-|- github.com/pawn-lang/sa-mp-fixes ensured
INFO: |-|- iterating 1 dependencies of /
INFO: |-|- already visited github.com/sampctl/samp-stdlib
INFO: |-|- github.com/Southclaws/OnPlayerSlowUpdate ensured
INFO: |-|- iterating 2 dependencies of Southclaws/OnPlayerSlowUpdate
INFO: |-|- already visited github.com/sampctl/samp-stdlib
INFO: |-|- already visited github.com/pawn-lang/YSI-Includes
INFO: |-|- github.com/philip1337/samp-plugin-mapandreas ensured
INFO: |-|- ignoring platform mismatch linux
INFO: |-|- added target path for resource includes: C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\samp-plugin-mapandreas-adecb9
INFO: |-|- github.com/philip1337/samp-plugin-mapandreas is a plugin
INFO: |-|- iterating 0 dependencies of philip1337/samp-plugin-mapandreas
INFO: |-|- github.com/RIDE-2DAY/vSync ensured
INFO: |-|- iterating 3 dependencies of /
INFO: |-|- already visited github.com/Southclaws/samp-stdlib
INFO: |-|- already visited github.com/Zeex/amx_assembly
INFO: |-|- already visited github.com/Misiur/YSI-Includes
INFO: |-|- github.com/MySekwel/New-SA-MP-callbacks ensured
INFO: |-|- iterating 1 dependencies of MySekwel/New-SA-MP-callbacks
INFO: |-|- already visited github.com/sampctl/samp-stdlib
INFO: |-|- github.com/kristoisberg/samp-map-zones ensured
INFO: |-|- iterating 1 dependencies of kristoisberg/samp-map-zones
INFO: |-|- already visited github.com/sampctl/samp-stdlib
INFO: |-|- github.com/roesanne26/fSelection ensured
INFO: |-|- iterating 1 dependencies of roesanne26/fSelection
INFO: |-|- already visited github.com/sampctl/samp-stdlib
INFO: |- already visited github.com/pawn-lang/[email protected]
INFO: ZanderOperator/open.RP flattened dependencies to 22 leaves
WARN: No build config called: output using default
INFO: Checking for cached package pawn-v3.10.10-windows.zip in C:\Users\Hp\AppData\Roaming\sampctl
INFO: Using cached package pawn-v3.10.10-windows.zip
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\samp-stdlib
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\pawn-stdlib
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\bcrypt-samp\pawn
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\pawn-chrono
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\progress2
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\samp-logger
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\YSI-Includes
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\md-sort
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\code-parse.inc
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\indirection
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\amx_assembly
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\sa-mp-fixes
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\OnPlayerSlowUpdate
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\vSync
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\New-SA-MP-callbacks
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\samp-map-zones
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\fSelection
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\samp-plugin-crashdetect-ff05b5
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\SA-MP-MySQL-74cb22
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\sscanf-019253
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\samp-streamer-plugin-7c00b9
INFO: using include path C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\samp-plugin-mapandreas-adecb9
INFO: running pre-build commands
INFO: building ZanderOperator/open.RP with 3.10.10
INFO: executing compiler in C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\gamemodes as [LD_LIBRARY_PATH=C:\Users\Hp\AppData\Roaming\sampctl\pawn\3.10.10
DYLD_LIBRARY_PATH=C:\Users\Hp\AppData\Roaming\sampctl\pawn\3.10.10] [C:\Users\Hp\AppData\Roaming\sampctl\pawn\3.10.10\pawncc.exe C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\gamemodes\main.pwn -DC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\gamemodes -oC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\gamemodes\main.amx -d3 -;+ -(+ -\+ -Z+ -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\samp-stdlib -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\pawn-stdlib -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\bcrypt-samp\pawn -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\pawn-chrono -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\progress2 -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\samp-logger -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\YSI-Includes -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\md-sort -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\code-parse.inc -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\indirection -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\amx_assembly -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\sa-mp-fixes -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\OnPlayerSlowUpdate -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\vSync -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\New-SA-MP-callbacks -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\samp-map-zones -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\fSelection -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\samp-plugin-crashdetect-ff05b5 -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\SA-MP-MySQL-74cb22 -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\sscanf-019253 -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\samp-streamer-plugin-7c00b9 -iC:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\dependencies\.resources\samp-plugin-mapandreas-adecb9]
C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\gamemodes\main.pwn:99 (fatal) cannot read from file: "BustAim"
INFO: running post-build commands
Build encountered fatal error
PS C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master>

[/pawn]

pawn.json

[pawn]

{
   "user": "ZanderOperator",
   "repo": "open.RP",
   "entry": "gamemodes/main.pwn",
   "output": "gamemodes/main.amx",
   "dependencies": [
      "pawn-lang/samp-stdlib",
      "Zeex/samp-plugin-crashdetect:v4.19.4",
      "pBlueG/SA-MP-MySQL",
      "Y-Less/sscanf",
      "samp-incognito/samp-streamer-plugin",
      "lassir/bcrypt-samp",
      "Southclaws/pawn-chrono",
      "Southclaws/progress2",
      "pawn-lang/sa-mp-fixes",
      "Southclaws/OnPlayerSlowUpdate",
      "philip1337/samp-plugin-mapandreas",
      "RIDE-2DAY/vSync",
      "MySekwel/New-SA-MP-callbacks",
      "kristoisberg/samp-map-zones",
      "roesanne26/fSelection",
      "pawn-lang/[email protected]"
   ],
   "local": true,
   "runtime": {
      "version": "0.3.DL",
      "mode": "server",
      "echo": "loading server.cfg generated by sampctl - do not edit this file manually, edit pawn.json instead!",
      "filterscripts": [
         "ls_elevator",
         "ls_beachside",
         "ServerMaps"         
      ],
      "plugins": [
         "TPoker"
      ],
      "rcon_password": "0000",
      "port": 7777,
      "hostname": "SA-MP Server",
      "maxplayers": 50,
      "language": "",
      "stream_distance": 300,
      "extra": {"useartwork": "1"}
   },
   "runtimes": [
      {
         "name": "dev",
         "rcon_password": "0000",
         "port": 7777,
         "hostname": "[open.RP] - OpenSourced RolePlay",
         "maxplayers": 10,
         "language": "English",
         "mapname": "Los Santos",
         "weburl": "open.mp",
         "announce": false,
         "lanmode": true,
         "query": false,
         "rcon": false,
         "logqueries": false,
         "maxnpc": 0,
         "stream_rate": 1000,
         "stream_distance": 300,
         "onfoot_rate": 80,
         "incar_rate": 80,
         "weapon_rate": 40,
         "logtimeformat": "[%d-%b-%Y %X]",
         "messageholelimit": 10000,
         "ackslimit": 3000,
         "lagcompmode": 1,
         "db_logging": false,
         "db_log_queries": false,
         "cookielogging": false
      }
   ],
   "builds": [
      {
         "name": "dev",
         "args": [
            "-;+",
            "-(+",
            "-Z+",
            "-S32768",
            "-d3"
         ],
         "includes": [
            "legacy/",
            "gamemodes/modules",
            "gamemodes/modules/Admin",
            "gamemodes/modules/Arrays",
            "gamemodes/modules/Char",
            "gamemodes/modules/Player",
            "gamemodes/modules/Preincludes",
            "gamemodes/modules/Server",
            "gamemodes/modules/Systems",
            "gamemodes/modules/time"
         ],
         "compiler": {}
      },
      {
         "name": "live",
         "args": [
            "-;+",
            "-(+",
            "-Z+",
            "-O2",
            "-S8192",
            "-d3"
         ],
         "includes": [
            "legacy/"
         ],
         "constants": {
            "BUILD_MINIMAL": ""
         },
         "compiler": {}
      },
      {
         "name": "pre",
         "args": [
            "-;+",
            "-(+",
            "-Z+",
            "-S8192",
            "-l",
            "-d3"
         ],
         "includes": [
            "legacy/"
         ],
         "compiler": {}
      }
   ]
}

[/pawn]
SPEED HACK (C++) https://github.com/nouddy/samp-speed-hack
Reliant GameMode (open.mp) https://github.com/nouddy/reliant-omp
SA:MP Landing Page https://github.com/nouddy/samp-landing-page


Kolko drama ima u 7 grama

Neznam zasto ti ne vraca error-e nego genericki 0xc0000005. Da li je problem u pawn compajleru ili u sampctl neznam ali vidim main.pwn:99 (fatal) cannot read from file: "BustAim". Da li je relativni ili globalni include takodje neznam, ali posto nije u pawn.json predpostavljam da je relativni path (modul kako vi to zovete)


[pawn]C:\Users\Hp\Downloads\Znaci kurcina\open.RP-master\gamemodes\main.pwn:128 (fatal) cannot read from file: "mapandreas"
Build encountered fatal error[/pawn]

Kada dodam mapandreas opet izadje onaj package entry
SPEED HACK (C++) https://github.com/nouddy/samp-speed-hack
Reliant GameMode (open.mp) https://github.com/nouddy/reliant-omp
SA:MP Landing Page https://github.com/nouddy/samp-landing-page


Kolko drama ima u 7 grama

Posto koristis open.rp mod, ima legacy folder, u njega ubaci mapandreas.inc
Ako ne bude htelo da load plugin iskreno neznam kako bi mogao da ga forsiras preko sampctl...

Imam isti problem sa exit status 0xc0000005 i jos nisam uspeo da ga rešim

Citat: Alexaa poslato Maj 01, 2022, 17:44:00 POSLE PODNE
Imam isti problem sa exit status 0xc0000005 i jos nisam uspeo da ga rešim
Neces ni uspeti posto je to genericki error na windows-u, a u vecini slucajeva je za Access Violation (to jest pristup memoriji koja nije deo programa ili jednostavno ne postoji).
Za one koji nisu shvatili problem je u sampctl ili pawn compajleru. Koje je od to dvoje neznam ali pre ce biti u pawn compajleru.

Citat: Deleted User poslato Maj 01, 2022, 17:58:42 POSLE PODNE
Neces ni uspeti posto je to genericki error na windows-u, a u vecini slucajeva je za Access Violation (to jest pristup memoriji koja nije deo programa ili jednostavno ne postoji).
Za one koji nisu shvatili problem je u sampctl ili pawn compajleru. Koje je od to dvoje neznam ali pre ce biti u pawn compajleru.

Okej, ali može li se rešiti kako

Citat: Alexaa poslato Maj 01, 2022, 20:11:18 POSLE PODNE
Okej, ali može li se rešiti kako
Jedino realno sto mozes je pokusati da update ili downgrade compajler verziju, pored toga sve sto kazem je sviranje kurcu. Otvorio sam i sam pawn compiler source pa sam na pola mesta gledao kao tele u sarena vrata zato sto mi nista nije bilo jasno ni kako ni zasto.

EDIT: Mozes pokusati izbaciti sampctl (jeste kontra produktivno ali nekad i cekic kao alat iz kamenog doba resava stvar)
Poslednja Izmena: Maj 01, 2022, 22:04:24 POSLE PODNE od Deleted User