EpochModTeam / DayZ-Epoch

Experimental DayZ Mod for Arma 2
http://epochmodteam.github.io/DayZ-Epoch
226 stars 399 forks source link

Having trouble with #include w/ the newest master branch #1579

Closed vmartsynovskyy closed 10 years ago

vmartsynovskyy commented 10 years ago

My Epoch test server runs perfectly on 1.0.5.1 but when I try to run the newest master branch I run into some problems with #include.

I get the error: Include file z\addons\dayz_code\system\REsec.sqf not found. from my server, then the server closes itself.

If I comment out the #include "\z\addons\dayz_code\system\REsec.sqf" line in my mission folder, I get the same error but with #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf", which is also in the mission folder. When I comment both of them out I get errors from other #includes, which all say that they haven't been found.

I'm using PBO Manager to pack my dayz_code.pbo, and it's worked before although I'm not 100% on how reliable it is.

Here are some more things I've tried:

Here's what I've narrowed it down to:

Here is my startup .bat file: @echo off start "arma2" /min "arma2oaserver.exe" -port=2302 "-config=cfgdayzepoch\server.cfg" "-cfg=cfgdayzepoch\basic.cfg" "-profiles=cfgdayzepoch" -name=cfgdayzepoch "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"

vmartsynovskyy commented 10 years ago

Fixed it! Had to rename $PBOPREFIX$ to $PREFIX$