Oh, I can't help with that problem unfortunately, I haven't experienced it myselfI mean the ones that are not spawned with this mod. The ones that were setup as spawn points...
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.
Oh, I can't help with that problem unfortunately, I haven't experienced it myselfI mean the ones that are not spawned with this mod. The ones that were setup as spawn points...
Okay it worked, don't know why it didn't work for me the first time but thanks anywayadd this in above next page in each vehiclemenu, you need to change the #USER:VehicleMenu portion to link to the correct one tho:
Code:["Previous page", [11], "#USER:VehicleMenu", -5, [["expression", ""]], "1", "1"],
as an example here is what the vehicle menu could look like.
Can be done with all of the menus that have pages.Code:VehicleMenu = [ ["",true], ["A10", [2], "", -5, [["expression", format[EXECscript5,"A10.sqf"]]], "1", "1"], ["Little Bird", [3], "", -5, [["expression", format[EXECscript5,"AH64.sqf"]]], "1", "1"], ["an2", [4], "", -5, [["expression", format[EXECscript5,"an2_prop.sqf"]]], "1", "1"], ["Apache", [5], "", -5, [["expression", format[EXECscript5,"APACHE.sqf"]]], "1", "1"], ["MTVR fors", [6], "", -5, [["expression", format[EXECscript5,"MTVRf.sqf"]]], "1", "1"], ["MTVR des", [7], "", -5, [["expression", format[EXECscript5,"MTVR.sqf"]]], "1", "1"], ["ATV", [8], "", -5, [["expression", format[EXECscript5,"ATV.sqf"]]], "1", "1"], ["Bike", [9], "", -5, [["expression", format[EXECscript5,"Bike.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Next page(2)", [12], "#USER:VehicleMenu2", -5, [["expression", ""]], "1", "1"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; VehicleMenu2 = [ ["",true], ["Bus", [2], "", -5, [["expression", format[EXECscript5,"bus.sqf"]]], "1", "1"], ["C130", [3], "", -5, [["expression", format[EXECscript5,"C130.sqf"]]], "1", "1"], ["Chinook", [4], "", -5, [["expression", format[EXECscript5,"chinook.sqf"]]], "1", "1"], ["Su39", [5], "", -5, [["expression", format[EXECscript5,"F35.sqf"]]], "1", "1"], ["Boat 1", [6], "", -5, [["expression", format[EXECscript5,"FISH.sqf"]]], "1", "1"], ["Boat 2", [7], "", -5, [["expression", format[EXECscript5,"FISH2.sqf"]]], "1", "1"], ["Boat 3", [8], "", -5, [["expression", format[EXECscript5,"FISH3.sqf"]]], "1", "1"], ["Gaz", [9], "", -5, [["expression", format[EXECscript5,"Gaz.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Previous page", [11], "#USER:VehicleMenu", -5, [["expression", ""]], "1", "1"], ["Next page (3)", [12], "#USER:VehicleMenu3", -5, [["expression", ""]], "1", "1"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; VehicleMenu3 = [ ["",true], ["Hatchback", [2], "", -5, [["expression", format[EXECscript5,"Hatchback.sqf"]]], "1", "1"], ["HMMV fors", [3], "", -5, [["expression", format[EXECscript5,"HMMV.sqf"]]], "1", "1"], ["HMMV des", [4], "", -5, [["expression", format[EXECscript5,"HMMV_Fallu.sqf"]]], "1", "1"], ["KA60 Namal", [5], "", -5, [["expression", format[EXECscript5,"KA60_namalsk.sqf"]]], "1", "1"], ["Red Lada", [6], "", -5, [["expression", format[EXECscript5,"ladared.sqf"]]], "1", "1"], ["White Lada", [7], "", -5, [["expression", format[EXECscript5,"Ladawhite.sqf"]]], "1", "1"], ["Little Bird", [8], "", -5, [["expression", format[EXECscript5,"littleBird.sqf"]]], "1", "1"], ["MI17", [9], "", -5, [["expression", format[EXECscript5,"MI17civ.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Previous page (2)", [11], "#USER:VehicleMenu2", -5, [["expression", ""]], "1", "1"], ["Next page (4)", [12], "#USER:VehicleMenu4", -5, [["expression", ""]], "1", "1"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; VehicleMenu4 = [ ["",true], ["MI24", [2], "", -5, [["expression", format[EXECscript5,"MI24.sqf"]]], "1", "1"], ["Mill Offroad", [3], "", -5, [["expression", format[EXECscript5,"militrayOffroad.sqf"]]], "1", "1"], ["UH60", [4], "", -5, [["expression", format[EXECscript5,"UH60.sqf"]]], "1", "1"], ["VW Golf", [5], "", -5, [["expression", format[EXECscript5,"miniHB.sqf"]]], "1", "1"], ["Moto", [6], "", -5, [["expression", format[EXECscript5,"Moto.sqf"]]], "1", "1"], ["Moto 2", [7], "", -5, [["expression", format[EXECscript5,"Moto2.sqf"]]], "1", "1"], ["Moto 3", [8], "", -5, [["expression", format[EXECscript5,"Moto3.sqf"]]], "1", "1"], ["Moto 4", [9], "", -5, [["expression", format[EXECscript5,"Moto4.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Previous page (3)", [11], "#USER:VehicleMenu3", -5, [["expression", ""]], "1", "1"], ["Next page (5)", [12], "#USER:VehicleMenu5", -5, [["expression", ""]], "1", "1"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; ...
If you teleport vehicles, it will revert back to their old positions.I mean the ones that are not spawned with this mod. The ones that were setup as spawn points...
If you teleport vehicles, it will revert back to their old positions.
Interesting... I am not sure on what is causing it but hopefully BluePhoenix might know.I've not touched anything with vehicles menu; I just joined the server after it restarted and all vehicles went back to the same position as they were this morning (just before the mod got added)
if (!_parachuteWest) then {
if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable [""Sarge"",0] != 1)) then {
_object_position = getPosATL _object; diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", typeOf _object, _object_position select 0, _object_position select 1, _object_position select 2];
_isNotOk = true;
};
};
Read thisI have just updated to the latest version and keep getting this error in the RPT:
16:22:38 File z\addons\dayz_server\compile\server_objectUpdate.sqf, line 16
16:22:50 Error in expression < "0" && (vehicle _object getVariable [""Sarge"",0] != 1)) then {
_object_positio>
16:22:50 Error position: <Sarge"",0] != 1)) then {
_object_positio>
16:22:50 Error Missing ]
This is the line:
Code:if (!_parachuteWest) then { if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable [""Sarge"",0] != 1)) then { _object_position = getPosATL _object; diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", typeOf _object, _object_position select 0, _object_position select 1, _object_position select 2]; _isNotOk = true; }; };
From the instructions I gathered this is correct?
remove the double quotes. Might have been my bad, just copying over the code from the fsm file. so instead of ""Sarge"" use "Sarge".Code:11:54:17 File z\addons\dayz_server\compile\server_updateObject.sqf, line 23 11:54:17 Error in expression < "0" && (vehicle _object getVariable [""Sarge"",0] != 1)) then { _object_positio> 11:54:17 Error position: <Sarge"",0] != 1)) then { _object_positio> 11:54:17 Error Missing ]
I keep getting that in the logs... Here is what I have it set as...
Code:if (!_parachuteWest) then { if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable [""Sarge"",0] != 1)) then { _object_position = getPosATL _object; diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", typeOf _object, _object_position select 0, _object_position select 1, _object_position select 2]; _isNotOk = true; }; };
Am I missing something obvious?
Its fine, and good luck.yep just read it, sorry my bad... so many pages!!!
Thanks! That seems to work...
However, it isn't saving the vehicles when the server reset - They just go back to how they were before the mod was added? Any ideas?
Check if that is still happening after you applied the changes that i stated. Given that the error caused the whole script to fail, as long as it was in there, positions weren't saved. They should be from now on.
looks to me like the classical JIP (join in progress) problem. This is something that the mod needs to be tailored to and fixed from the mod author's side.
all of the heal/ repair scripts are meant to be temporary. as for going back a page press backspaceHey, I have a bug report and a suggestion, firstly with the suggestion maybe add a previous page command on like the vehicles page and weapons page? The bug is the Heal command, whenever I heal myself when I relog im back to how I was before when I was injured. Great set of tools though![]()
Why not do a Temp Heal command then and have a Perm Heal command?all of the heal/ repair scripts are meant to be temporary. as for going back a page press backspace