Pomoc oko VSC

Započeo Alexaa, April 25, 2022, 20:59:26 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Neko da pomogne, hocu da napravi build za pawno u vsc i izadje mi ovaj error da li neko zna kako mogu da ga resim?
Deo skripte: [pawn][/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]Missing expression after unary operator '-'.
At line:1 char:126
+ & 'C:\Users\Ja\Desktop\TG by #Jack/pawno/pawncc.exe' 'c:\Users\Ja\Desktop\TG by #Jack\gamemodes\tG.pwn' -Dgamemodes -;+ -(+ - <<<< d3
    + CategoryInfo          : ParserError: (-:String) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator[/pawn]

Ima par stvari na koje treba da se pazi, jedno je verzija compilera, drugo je verzija windowsa (tacnije CMD ili PowerShell). Da ne smaram posto ni sam tacno neznam, ne secam se zadni put kad sam to cackao.
Evo ti ovo, modifikovana verzija neznam ni sam sta sam cinjeo i zasto posto je proslo par godina od toga.

[pawn]
{
    "version": "2.0.0",
    "tasks": [
      {
        "label": "build-normal",
        "type": "shell",
        "command": "${workspaceRoot}/pawno/pawncc.exe",
        "args": ["${file}", "-D${relativeFileDirname}", "-d3"],
        //"args": ["main.pwn", "-Dgamemodes", "-d3"],
        "group": {
          "kind": "build",
          "isDefault": true
        },
        "isBackground": false,
        "presentation": {
          "reveal": "always",
          "panel": "dedicated",
          "revealProblems": "onProblem",
          "focus": true,
          "clear": true
        },
        "problemMatcher":
        {
          "base": "$pawncc",
          "fileLocation": [ "autoDetect", "${fileDirname}"]
        }
      }
    ]
  }
[/pawn]
Napomenucu, ovo je za windows 10 i 3.10.10 pawn compiler (ako imas bilo koji community trebalo bi da radi)

Ubacio sam ovo sto si mi poslao,ali sad imam ove errore koje na primer u pawnu nisam imao uopste ne znam ni kako ih ovde imam

[pawn]Pawn compiler 3.10.4                    Copyright (c) 1997-2006, ITB CompuPhase

C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(964) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(1001) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2131) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2135) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2139) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2214) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2220) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2224) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2245) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2267) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2348) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2380) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2383) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2416) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2441) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2443) : warning 225: unreachable code
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2472) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2479) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2596) : warning 218: old style prototypes used with optional semicolumns
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2635) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2694) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2816) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2884) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2938) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2958) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(2980) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3084) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3085) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3099) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3190) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3203) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3236) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3267) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3315) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3316) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3330) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3357) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(3784) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(4139) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(4164) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(4192) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(4213) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(4232) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(4402) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(4415) : error 036: empty statement
C:\Users\Ja\Desktop\TG by #Jack\pawno\include\weapon-config.inc(4425) : error 036: empty statement

Compilation aborted.


26 Errors.
The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command & 'C:\Users\Ja\Desktop\TG by #Jack/pawno/pawncc.exe' 'c:\Users\Ja\Desktop\TG by #Jack\gamemodes\tG.pwn' -Dgamemodes -d3" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.[/pawn]

Brate ja sam cackao nesta jucer.Rename sam ovo powershell - Task u build-normal - Task.Nakon toga sve je normalno radilo