YeTi
-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by YeTi
-
-
I have installed P4L, plot and door manager along withe the P4L version of virtual garage. I have got most
of it working but have ran into a issue with saving plot and door friends to the items in the db.
I am pretty sure it has something to do with the code in server_updateObject.sqf.
_object_inventory = {
private["_inventory","_previous","_key"];_isNormal = true;if (typeOf (_object) == "Plastic_Pole_EP1_DZ") then{_isNormal = false;_inventory = _object getVariable ["plotfriends", []]; //We're replacing the inventory with UIDs for this item};if (typeOf (_object)in DZE_DoorsLocked) then{_isNormal = false;_inventory = _object getVariable ["doorfriends", []]; //We're replacing the inventory with UIDs for this item};if ((typeOf _object) in DZE_Garage) then {_isNormal = false;if (isNil "_garagelist") then {_garagelist = _object getVariable ["StoredVehicles",[]];};if (_objectID == "0") then {_key = format["CHILD:309:%1:%2:",_uid,_garagelist];} else {_key = format["CHILD:303:%1:%2:",_objectID,_garagelist];};_key call server_hiveWrite;};if(_isNormal)then {_inventory = [getWeaponCargo _object,getMagazineCargo _object,getBackpackCargo _object];_previous = str(_object getVariable["lastInventory",[]]);if (str(_inventory) != _previous) then {_object setVariable["lastInventory",_inventory];if (_objectID == "0") then {_key = format["CHILD:309:%1:%2:",_uid,_inventory];} else {_key = format["CHILD:303:%1:%2:",_objectID,_inventory];};//diag_log ("HIVE: WRITE: "+ str(_key));_key call server_hiveWrite;};};};Not sure if this is correct could someone review it and let me know if there is and error?
Thanks
-
to fix packing from any distance add this to the pack.sqf in the tools folder.
------------replace at line 16
if(_typeOfCursorTarget == "CSJ_GyroC" ) then {
----with
if(_typeOfCursorTarget == "CSJ_GyroC" && (player distance cursorTarget <10)) then {
-------------at line 43 replace
if(_typeOfCursorTarget == "TT650_Civ") then {
----with
if(_typeOfCursorTarget == "TT650_Civ" && (player distance cursorTarget <10)) then {
----------at line 69
if(_typeOfCursorTarget == "Old_bike_TK_CIV_EP1") then {
----with
if(_typeOfCursorTarget == "Old_bike_TK_CIV_EP1" && (player distance cursorTarget <10)) then {
-
is it possible to get plot pole 4 life to install with this?
-
found the issue with missing missions.
open all the mission.sqf's and remove
the " \ " from in front.
so from this
execVM "\mission\crates\box1.sqf";
to this
execVM "mission\crates\box1.sqf";
you have to do this on all files.
be perpared for alot of battleye kicks. check all boxes sqf's and add marker1 etc. to script.txt or set script filters to 1
-
Thanks you fixed the errors works perfect
-
I figured out that this error only happens when you get the vehicle from the garage
16:15:18 "HIVE: WRITE: "CHILD:388:50396973530373:""16:15:18 "CUSTOM: Selected "341""16:15:19 Error in expression <)];};_countr = _countr + 1;} forEach _objWpnTypes;_objWpnTypes = (_invent>16:15:19 Error position: <_objWpnTypes;_objWpnTypes = (_invent>16:15:19 Error Undefined variable in expression: _objwpntypes16:15:19 File z\addons\dayz_server\compile\garage\server_spawnVehicle.sqf, line 129I have been testing it for a while. The vehicle's do spawn and same for the key. -
I looked though and re-installed it again. still happens
and gets worst when more people are on the server
-
Hey GZA I get this in my rpt log when I try to remove a vehicle from the garage, the vehicle does come out but it spawns in the middle of the map, any ideas?
15:10:00 "HIVE: WRITE: "CHILD:388:71001774973095470:""15:10:00 "CUSTOM: Selected "350""15:10:00 Error in expression <)];};_countr = _countr + 1;} forEach _objWpnTypes;_objWpnTypes = (_invent>15:10:00 Error position: <_objWpnTypes;_objWpnTypes = (_invent>15:10:00 Error Undefined variable in expression: _objwpntypes15:10:00 File z\addons\dayz_server\compile\garage\server_spawnVehicle.sqf, line 129I too get this error can anyone help on this?
-
I have it working but got 2 problems
1st is No Enrty 'mpmission\__Cur_MP.Napf descripiton.ext/Vehicle_store_list/controls/vehicleList.soundSelect
2nd is when putting the vehicle in the garage the cost is not taking away from the player.
with no errors rpt client or server side
I know what the problems is with the number 2 issue its coded for SC 3.0 I'm using 2.0 trying to figure out how to recode it for 2.0
UPDATED
Issue 2 Solved still getting the 1 issue still not sure whats up with this one.
SOLVED ALL ISSUES
What did you do for this?
-
i dont get the error on the test server but when i load it in the main i get this
server_hiveReadWriteLa>21:11:50 Error Undefined variable in expression: _resultarray21:11:50 File z\addons\dayz_server\init\server_functions.sqf, line 18021:11:50 Error in expression <ey call server_hiveReadWrite;if (count _primary > 0) then {if ((_primary selec>21:11:50 Error position: <_primary > 0) then {if ((_primary selec>21:11:50 Error Undefined variable in expression: _primary21:11:50 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 4221:12:08 Error in expression <teWest && !(locked _object)) then {if (_objectID == "0" && _uid == "0") then{>any ideas?
P4l, Plot Management, Door Management and Virtual Garage problems, need help
in Server Install
Posted
Thanks that worked. I have been stuck on this fora bit.