noxsicarius / Epoch-Admin-Tools

An admin menu for the AmrA2 DayZ mod. Lead Developer: NoxSicarius
GNU General Public License v3.0
30 stars 48 forks source link

Include File mpmissions__cur_mp.Chernarus\admintools\dialog.hpp not found. #327

Open StyxieP opened 6 years ago

StyxieP commented 6 years ago

I don't know how to fix this, i've followed all the steps and it wont let me connect to the server as once i do the following "Include File mpmissions__cur_mp.Chernarus\admintools\dialog.hpp not found." error comes up.

I had only two issues when getting the admin tools in my server they were step 17 and 18, step 17 "Open init/server_functions.sqf and replace this:

if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {

...with this:

// Epoch Admin Tools
if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle) && (vehicle _x getVariable ["MalSar",0] !=1)) then {

The first "if" wasnt in the file it was asking me to edit and so I couldn't replace it with anything.

For step 18 "Now open your compile/server_updateObject.sqf and place this:

// Epoch Admin Tools if (_object getVariable "MalSar" == 1) exitWith {}; ...immediately above this:

if (!_parachuteWest and !(locked _object)) then {"

The second "if" wasnt present and so I couldnt place the first "if" above it.

Pls help

noxsicarius commented 6 years ago

If this is for 1.0.6.x please use the test branch of this repo. A user has updated the tool to properly work with the newer version of the game. This sounds it is your current issue. That if has moved from that file into a new file, which is outlined and properly listed as number 20 in the test branch. If it works as expected for you, please let me know so I can push it into the main branch. I didn't want to move everything in until I had a lot of test data.e