ole1986 / vscode-arma-dev

Arma Dev for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ole1986.arma-dev
7 stars 6 forks source link

A proper PREFIX (x\your_addonname) is required #4

Closed Bortfive closed 5 years ago

Bortfive commented 5 years ago

i am getting this A proper PREFIX (x\your_addonname) is required for life_server\addons\life_server(editado) and i have a $PBOPREFIX$ in the folder life_server with "prefix=life_server" i Try to put only life_server on $pboprefix$.

Thanks for all <3

ole1986 commented 5 years ago

Begin the path name with an "x\" So the $PBOPREFIX$ should contain:

x\your_extension

Bortfive commented 5 years ago

OK, its working now, Thanks.

And now, why when i put Arma 3 : Run server

[11:33:18.562][Info] Running Arma3Server: -autoInit "-profiles=C:\Users\Bortfive\AppData\Local\Arma 3\ArmaDevServer" "-config=C:\Users\Bortfive\AppData\Local\Arma 3\ArmaDevServer\server.cfg" -serverMod=c:\Users\Bortfive\Documents\Github\ProyectoX\build\@LifeServer [11:33:18.594][Error] Failed to run Arma3Server

I run the server without ur extension, Where i can edit to use the Togle Live code? In Github? https://i.imgur.com/PGzIDK0.png Inside the workspace? I try to edit and recompile on arma 3 and didn't obtain any result

ole1986 commented 5 years ago

it looks like the path for serverMod=c:\Users\Bortfive\Documents\Github\ProyectoX\build@LifeServer is missing a "\".

Can you try to change the "buildPath" from "build/" to "build" only and retry?

For "Code Live" please read the section Toggle Code Live carefully. Usually you can (re)run your scripts from the debug console in-game using execVM "x\youraddon\yourfile.sqf" (as long it is allowed through your mission file config)

IMPORTANT NOTE: Whenever you run "Code Live" your source will be linked to your Arma3 game directory. So it becomes available as "x\your_game_addon" in the ARma3 folder. If you remove filed inside the "Arma3\x\your_game_addon", it will also be removed from your workspace folder. Delete with caution!

Bortfive commented 5 years ago

I change build/ to Build and don't work neither, but don't worry. Thanks, U can close this <3