Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Thank you damiyo21 for all your hard work!
It works great so far!
However, upon entering the 15 digit password given by the gate I was given an "Access Denied". I double and tripled checked and for some reason it is not accepting the password. Is it possible to shorten the password?
Objects are also not saving on server restart. I hope you can find a fix for it soon!
I'm on bliss vanilla dayz Chernarus 1.7.6.1
Yep these are the current issues at hand that all of us are stuck at
Thank you damiyo21 for all your hard work!
It works great so far!
However, upon entering the 15 digit password given by the gate I was given an "Access Denied". I double and tripled checked and for some reason it is not accepting the password. Is it possible to shorten the password?
Objects are also not saving on server restart. I hope you can find a fix for it soon!
I'm on bliss vanilla dayz Chernarus 1.7.6.1
check_publishobject = {
private["_allowed","_allowedObjects","_object"];
_object = _this select 0;
_playername = _this select 1;
_allowedObjects = ["TentStorage", "Hedgehog_DZ", "Sandbag1_DZ","TrapBear","Wire_cat1"];
_allowed = false;
diag_log format ["DEBUG: Checking if Object: %1 is allowed published by %2", _object, _playername];
if ((typeOf _object) in _allowedObjects) then {
diag_log format ["DEBUG: Object: %1 published by %2 is Safe",_object, _playername];
_allowed = true;
};
_allowed
};
check_publishobject = {
private["_allowed","_allowedObjects","_object"];
_object = _this select 0;
_playername = _this select 1;
_allowedObjects = ["TentStorage", "Hedgehog_DZ", "Sandbag1_DZ","TrapBear","Wire_cat1"];
_allowed = false;
diag_log format ["DEBUG: Checking if Object: %1 is allowed published by %2", _object, _playername];
if ((typeOf _object) in _allowedObjects || (typeOf _object) in allbuildables_class) then {
diag_log format ["DEBUG: Object: %1 published by %2 is Safe",_object, _playername];
_allowed = true;
};
_allowed
};
if ((typeOf _object) in _allowedObjects || (typeOf _object) in allbuildables_class) then {
dayzPublishObj = [dayz_characterID,_object,[_dir,_location],_classname];
publicVariableServer "dayzPublishObj";
if (isServer) then {
dayzPublishObj call server_publishObj;
};
dayzPublishObj = [dayz_characterID,_object,[_dir,_location],_classname];
publicVariableServer "dayzPublishObj";
Looking into why not saving to DB...
I mightve not overlooked the 1.7.6.1 code as thorough as im testing this on Tavi 2.0 taht runs dayz 1.7.4.4 code
Code is the unique id for the object. Based on how bliss is written, I dont see away around this other than modifying the object_uid2 = { }; function in your server_functions.sqf
Then you must do the same algorithm in player_build.sqf where it factors the _uid.
thanks for the great workbut hey as i said earlier, any idea why when on my server people open the menu and it instant closes
Yeh, the code for the buildings is really long - and even when I've input it correctly a dozen times, it denies me.
Anyone closer to getting the buildings saved correctly to the DB?
check_publishobject = {
Could someone post their working pbo's for me to look at?(i'll post mine just in case) I seem to be behind in that I still can't get anything to happen. I assume it's like 1.1 and that if you have a buildable in your inventory you can look at the recipe's? I can't even seem to get that the happen. I'm running chenarus 1.7.6.1, and like I say, I'm getting nothing. I've been over the code so many times and still have no clue where I went wrong. Thanks for any help.
The reason it is not working is because you havent applied the fix above.
The object never publishes to Database because of this function in server_functions.sqf:
Code:check_publishobject = {
With the changes above, it should work after you build it and after server restart.
There are rare occasions that occur where the code will be broken forever, At this point, you must go into your database, paste the code in a filter of instance_deployables and then delete object manually.
This is especially important for keypanels.
I will get right on this, my B
if (isServer) then {
dayzPublishObj call server_publishObj;
};
After applied fix above , BaseBuilding1.2 works well for now. saved into DB and deleted from DB correctly.
some object doesn't turn into bomb.
Map:Chernarus Reality 0.39 HFB
Just added this to my Celle server on Reality (I assume it's the latest release, but I'm not sure) and everything seems to be working as far as building and saving to DB go. Will test some more and let you know if I find anything not working.