exodon Posted July 6, 2013 Report Share Posted July 6, 2013 Hey guys... I've got epoch 1.0.1.4 with base building... i modified the working 1.2 base building and epoch files with the help of the improvements 0.3 files... okay so far everything was working well... it was writing the epoch buildables and base building buildables to database... but players were able to build with basebuilding without a plot pole... after a few test runs and changes in a few files it was working now... base building was only working when theres a plot pole... but now base building objects wont be placed to database anymore... the objects u can build from epoch itself getting stored... i really need help... maybe someone can take a look to my server and mission pbo? http://www.play3.eu/dayz/dayz_server.pbo http://www.play3.eu/dayz/dayz_private_1.epoch.takistan.pbo in my database i have the epoch shema + deployables table for base building... i already checked out the rpt logs... the only thing wich may could be a point of that issue is an error that the server cant find object... but those messages were also there back when it was working where it say it is spawning and writing to hive... but now it doesnt show anything... ingame it spawns... other players can see it too... but the server doesnt do anything to write it to the database... other when i build a wooden shed or my plot pole... than it shows spawning and a write to hive line... Link to comment Share on other sites More sharing options...
Xenesis Posted July 6, 2013 Report Share Posted July 6, 2013 i got the same problem exo... it i tracked it down to the dayz_server.pbo so in one of those modifed files is the error but i cant find it... [FIXED] Migration of code into allowed pbos i guess its related that some code moved to different pbo's.... thats why kikyou2 code aint working correct anymore... but standart BaseBuild is. Link to comment Share on other sites More sharing options...
exodon Posted July 6, 2013 Author Report Share Posted July 6, 2013 well i think its the server_publishobject.sqf i will try out different codes and let you know if it is this file... do u testing my files or do u have the same issue with your own files? Link to comment Share on other sites More sharing options...
exodon Posted July 6, 2013 Author Report Share Posted July 6, 2013 found something in the scripts.log... maybe someone here who see something in the part of the log wich could be the point where it cant write or whatever causing the object not being published... (epoch plot and vault and others still stored in db... only base building not...) 06.07.2013 15:51:16: Exo (192.168.1.22:2316) 148efa2da76513caf3dce6b9f49b6b27 - #128 "#line 1 "mpmissions\__CUR_MP.takistan\dayz_code\compile\player_basebuild.sqf" private ["_locationPlayer","_location","_attachCoo" 06.07.2013 15:51:16: Exo (192.168.1.22:2316) 148efa2da76513caf3dce6b9f49b6b27 - #138 "e,_fuel,_code]; publicVariableServer "dayzPublishObj"; if (isServer) then { dayzPublishObj call server_publishObj; }; } else {" 06.07.2013 15:51:16: Exo (192.168.1.22:2316) 148efa2da76513caf3dce6b9f49b6b27 - #181 "_i) select _i - _i; _result = [_buildables,_buildable] call BIS_fnc_areEqual; if (_result) exitWith { _classname = (allbuildable" 06.07.2013 15:51:18: Exo (192.168.1.22:2316) 148efa2da76513caf3dce6b9f49b6b27 - #23 "playActionNow "Die"; }; player allowDamage true; player enableSimulation true; 0 cutText ["", "BLACK IN",3]; player addWeapon " Link to comment Share on other sites More sharing options...
exodon Posted July 6, 2013 Author Report Share Posted July 6, 2013 i started from scrap... now im at the point where i make a backup xD i got base building runing and working but i changed player_build.sqf to player_basebuild.sqf and instead i used the epoch player_build.sqf wich is on github in the sqf folder... now both system work together... now i'm free to edit the keycode system of basebuilding and when this is done i only have to try to add the check if a plot pole is inbetween 30m ^^ but for me this is optional... Link to comment Share on other sites More sharing options...
TayTayTheKiller Posted July 6, 2013 Report Share Posted July 6, 2013 I have it working fine on 1.0.1.4 i will release a clean server and mission pbo laters Also added gold10oz, gold, silver10oz, plywood, pole and burlap to the materials. Only issue is you cant remove wrecks and plot poles for now i need some help with this. Its to do with.... //Allow player to delete objects if((_isDestructable or _isWreck or (_isRemovable and ("ItemCrowbar" in _itemsPlayer))) and _hasToolbox and _isAlive) then { if (s_player_deleteBuild < 0) then { s_player_deleteBuild = player addAction [format[localize "str_actions_delete",_text], "\z\addons\dayz_code\actions\remove.sqf",_cursorTarget, 1, true, true, "", ""]; }; } else { player removeAction s_player_deleteBuild; s_player_deleteBuild = -1; }; Link to comment Share on other sites More sharing options...
exodon Posted July 6, 2013 Author Report Share Posted July 6, 2013 gimme some time guys... i got it now working with the 0.1 improvements... but this means u can build without a plot pole... both writing correctly to the database... and base building has the 4 digit key code already working too... also works fine after restart... only thing i need to add is the check if theres a plot nearby... gimme some time and then i will upload the files u need to add basebuilding :D **edit: oh well and removing wrecks works fine in mine too.... in the tutorial from base building it say to remove the whole code wich u have posted but when u do that u wont be able to remove plot poles and wrecks anymore... Try this one: //Allow player to delete objects if((_isWreck or (_isRemovable and ("ItemCrowbar" in _itemsPlayer))) and _hasToolbox and _isAlive) then { just remove the "_isDestructable or" cause this is the only thing wich should be disabled to get basebuilding to work... in the tutorial it says delete whole code cause in the original dayz code it only has the _isDestructable in it... but epoch uses this feature for plot poles and wrecks... ^^ TayTayTheKiller 1 Link to comment Share on other sites More sharing options...
TayTayTheKiller Posted July 6, 2013 Report Share Posted July 6, 2013 gimme some time guys... i got it now working with the 0.1 improvements... but this means u can build without a plot pole... both writing correctly to the database... and base building has the 4 digit key code already working too... also works fine after restart... only thing i need to add is the check if theres a plot nearby... gimme some time and then i will upload the files u need to add basebuilding :D **edit: oh well and removing wrecks works fine in mine too.... in the tutorial from base building it say to remove the whole code wich u have posted but when u do that u wont be able to remove plot poles and wrecks anymore... Try this one: //Allow player to delete objects if((_isWreck or (_isRemovable and ("ItemCrowbar" in _itemsPlayer))) and _hasToolbox and _isAlive) then { just remove the "_isDestructable or" cause this is the only thing wich should be disabled to get basebuilding to work... in the tutorial it says delete whole code cause in the original dayz code it only has the _isDestructable in it... but epoch uses this feature for plot poles and wrecks... ^^ Tried that still removes the option to remove objects. Also the remove wreck and plot pole options flicks on and off. got mine working with plot poles needed will be releasing it in next half hour just removing all my other stuff out of the mission and server pbos then a quick test. Edit.>>> Ah maybe not i edited the line a bit different then that lol. i will give this a go in a sec. Cheers Link to comment Share on other sites More sharing options...
Xenesis Posted July 6, 2013 Report Share Posted July 6, 2013 nice hope it will work propertly i tried lots of stuff... if the basebuildstuff is working then all epoch related remove/build/lock/unlock stuff dont work.... if i get everything else working the its not saved to databse and stuff disapears.... so i hope ull manage to get it working and could share ur "knowlege" Link to comment Share on other sites More sharing options...
TayTayTheKiller Posted July 6, 2013 Report Share Posted July 6, 2013 Tried that still removes the option to remove objects. Also the remove wreck and plot pole options flicks on and off. got mine working with plot poles needed will be releasing it in next half hour just removing all my other stuff out of the mission and server pbos then a quick test. Edit.>>> Ah maybe not i edited the line a bit different then that lol. i will give this a go in a sec. Cheers Nope using this line still breaks the remove object action from showing (no way for the admin override option to work is the biggest issue) Also remove wrecks/plot poles option is bugged and flicks on and off. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now