johnucc1 Posted August 5, 2014 Report Share Posted August 5, 2014 So i have the Maps folder in my dayz epoch (overpoch for me) PBO and edited the init/Serverfunctions.sqf here is my serverfunctions.sqf server_logUnlockLockEvent = { private["_player", "_obj", "_objectID", "_objectUID", "_statusText", "_status"]; _player = _this select 0; _obj = _this select 1; _status = _this select 2; if (!isNull(_obj)) then { _objectID = _obj getVariable["ObjectID", "0"]; _objectUID = _obj getVariable["ObjectUID", "0"]; _statusText = "UNLOCKED"; if (_status) then { [_obj, "gear"] call server_updateObject; _statusText = "LOCKED"; }; diag_log format["SAFE %5: ID:%1 UID:%2 BY %3(%4)", _objectID, _objectUID, (name _player), (getPlayerUID _player), _statusText]; }; }; execVM "\z\addons\dayz_server\Maps\mapedit.sqf"; As you can see the execVM map edit doesent seem to work.. the directory of my overpoch PBO is Downloads\DayZ_Epoch_Server_1.0.5.1_Release\DayZ_Epoch_Server_1.0.5.1_Release (1)\@DayZ_Overpoch_Server\addons\dayz_server (this is for my private server ATM which i boot from my home PC just for testing) my RPT file doesent explain as to why the server isnt pulling it (no mention of the PBO or anything) Mission file im trying to insert http://pastebin.com/vH77UY7E Edit- Uploaded my PBO https://www.dropbox.com/s/dab985fecpl28hf/dayz_server.pbo Edit number 2- Uploaded my INIT https://www.dropbox.com/s/jbtp9dvem0r3gvd/init.sqf Current used scripts/mods= Overpoch, epoch admin tools Link to comment Share on other sites More sharing options...
0 KrisiS Posted August 5, 2014 Report Share Posted August 5, 2014 Try adding this to the end of your init.sqf which is located in the root folder of your mission file. [] ExecVM "Maps\mapedit.sqf"; Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 5, 2014 Author Report Share Posted August 5, 2014 isnt that what this is? "execVM "\z\addons\dayz_server\Maps\mapedit.sqf";" in my server functions folder? Link to comment Share on other sites More sharing options...
0 KrisiS Posted August 5, 2014 Report Share Posted August 5, 2014 Try this in the serverfunctions.sqf AFTER: server_maintainArea = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_maintainArea.sqf"; ADD: call compile preProcessFileLineNumbers "\z\addons\dayz_server\Maps\mapedit.sqf"; Link to comment Share on other sites More sharing options...
0 KrisiS Posted August 5, 2014 Report Share Posted August 5, 2014 Maps folder should be in the root folder of your dayz_server.pbo Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 5, 2014 Author Report Share Posted August 5, 2014 Krisi, when i put server_functions.sqf part in Code is here to show waituntil {!isnil "bis_fnc_init"}; BIS_MPF_remoteExecutionServer = { if ((_this select 1) select 2 == "JIPrequest") then { [nil,(_this select 1) select 0,"loc",rJIPEXEC,[any,any,"per","execVM","ca\Modules\Functions\init.sqf"]] call RE; }; }; BIS_Effects_Burn = {}; server_playerLogin = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerLogin.sqf"; server_playerSetup = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerSetup.sqf"; server_onPlayerDisconnect = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_onPlayerDisconnect.sqf"; server_updateObject = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_updateObject.sqf"; server_playerDied = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerDied.sqf"; server_publishObj = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_publishObject.sqf"; server_deleteObj = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_deleteObj.sqf"; server_swapObject = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_swapObject.sqf"; server_publishVeh = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_publishVehicle.sqf"; server_publishVeh2 = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_publishVehicle2.sqf"; server_publishVeh3 = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_publishVehicle3.sqf"; server_tradeObj = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_tradeObject.sqf"; server_traders = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_traders.sqf"; server_playerSync = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerSync.sqf"; server_spawnCrashSite = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_spawnCrashSite.sqf"; server_spawnEvents = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_spawnEvent.sqf"; //server_weather = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_weather.sqf"; fnc_plyrHit = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fnc_plyrHit.sqf"; server_deaths = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerDeaths.sqf"; server_maintainArea = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_maintainArea.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\Maps\mapedit.sqf"; /* PVS/PVC - Skaronator */ server_sendToClient = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_sendToClient.sqf"; //onPlayerConnected {[_uid,_name] call server_onPlayerConnect;}; onPlayerDisconnected {[_uid,_name] call server_onPlayerDisconnect;}; Server still doesen't load it in, and still no error messages. Link to comment Share on other sites More sharing options...
0 KrisiS Posted August 5, 2014 Report Share Posted August 5, 2014 Do you have the 'Maps' folder in the root of your dayz_server.pbo ? Here is a snippet from my put server_functions.sqf: //server_weather = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_weather.sqf"; fnc_plyrHit = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fnc_plyrHit.sqf"; server_deaths = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerDeaths.sqf"; server_maintainArea = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_maintainArea.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\maps\balota.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\maps\neaf.sqf"; Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 6, 2014 Author Report Share Posted August 6, 2014 I will show a picture of where it is http://imgur.com/Z14JP5n (imgur) Link to comment Share on other sites More sharing options...
0 KrisiS Posted August 6, 2014 Report Share Posted August 6, 2014 That looks ok I think. Here is a pic of my dayz_server.pbo http://imgur.com/UF5AH21 I am not sure why it is not working for you my friend, you will have to wait for someone else to come up with the solution. Sorry I couldn't help you more :) Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 6, 2014 Author Report Share Posted August 6, 2014 what would i need to post so you could help me? the entire server_functions? Link to comment Share on other sites More sharing options...
0 KrisiS Posted August 6, 2014 Report Share Posted August 6, 2014 I really don't know any further than that mate, hopefully someone else will come along soon to help you. Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 6, 2014 Author Report Share Posted August 6, 2014 Right, thanks buddy. bit miffed it isnt working tbh :( Link to comment Share on other sites More sharing options...
0 Darihon Posted August 6, 2014 Report Share Posted August 6, 2014 No errors in your RPT file? Did you make your own mapedit? If yes, upload it, so we can take a look at the code. Link to comment Share on other sites More sharing options...
0 insertcoins Posted August 6, 2014 Report Share Posted August 6, 2014 call compile preProcessFileLineNumbers "\z\addons\dayz_server\maps\neaf.sqf"; place that at the bottom of your server_functions Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 6, 2014 Author Report Share Posted August 6, 2014 http://pastebin.com/vH77UY7E Here you go Dari. also insert, i've got that line in Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 6, 2014 Author Report Share Posted August 6, 2014 Also insertcoins, someone else posted that earlier in the post, didnt change anything. Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 6, 2014 Author Report Share Posted August 6, 2014 Just did a test with someone elses mapedit which is confirmed working, didnt get initialized either. Link to comment Share on other sites More sharing options...
0 stonXer Posted August 6, 2014 Report Share Posted August 6, 2014 call it from inside your mission init.sqf, right above the server_monitor in the "if (isServer) then {" section if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_24.Napf\dynamic_vehicle.sqf"; _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_24.Napf\mission.sqf"; _nil = [] execVM "\z\addons\dayz_server\xxxx\xxxxx.sqf"; <------------------ your line here _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf"; }; Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 6, 2014 Author Report Share Posted August 6, 2014 will try again in a second. Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 6, 2014 Author Report Share Posted August 6, 2014 Got a error message this time 20:31:37 Warning Message: Script z\addons\dayz_server\maps\North_Cave.sqf not found But as you can see, location is right http://imgur.com/UM5puFh Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 6, 2014 Author Report Share Posted August 6, 2014 Double post. better make the most of it Added PBO and INIT to dropbox. Link to comment Share on other sites More sharing options...
0 stonXer Posted August 6, 2014 Report Share Posted August 6, 2014 The line your calling has the \ infront of the z ? \z\addons\dayz_server\maps\North_Cave.sqf Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 6, 2014 Author Report Share Posted August 6, 2014 well it isnt in the root directory of the entire folder, its located inside a PBO so the \z\ is to tell it that its on that drive. Link to comment Share on other sites More sharing options...
0 stonXer Posted August 7, 2014 Report Share Posted August 7, 2014 rpt log? Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 7, 2014 Author Report Share Posted August 7, 2014 It was on the front page, posted the error i was getting. Link to comment Share on other sites More sharing options...
0 johnucc1 Posted August 8, 2014 Author Report Share Posted August 8, 2014 Still havent managed to get this working. Link to comment Share on other sites More sharing options...
Question
johnucc1
So i have the Maps folder in my dayz epoch (overpoch for me) PBO and edited the init/Serverfunctions.sqf
here is my serverfunctions.sqf
As you can see the execVM map edit doesent seem to work..
the directory of my overpoch PBO is
(this is for my private server ATM which i boot from my home PC just for testing)
my RPT file doesent explain as to why the server isnt pulling it (no mention of the PBO or anything)
Mission file im trying to insert http://pastebin.com/vH77UY7E
Edit- Uploaded my PBO https://www.dropbox.com/s/dab985fecpl28hf/dayz_server.pbo
Edit number 2- Uploaded my INIT https://www.dropbox.com/s/jbtp9dvem0r3gvd/init.sqf
Current used scripts/mods= Overpoch, epoch admin tools
Link to comment
Share on other sites
28 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now