ElDubya Posted July 28, 2015 Report Share Posted July 28, 2015 You have definitely stuffed something up somewhere. At the 1:05 mark in your video where you have snapped the cinder wall to the upgraded cinder wall, you leant left and the wall swung right. When you lean left, it's supposed to swing left :) Alos, to cancel building just press escape. No need to shoot or run away :) Link to comment Share on other sites More sharing options...
McToots Posted July 28, 2015 Report Share Posted July 28, 2015 Its just my keybindings, Q lean left, E stand up, alt switch between 1st and 3rd person. Edit: sometimes when snapping (even without BV) objects rotate 180 degrees or 90 degrees one way or another. Its pretty damn random and fun when setting up doors. Link to comment Share on other sites More sharing options...
hamthejam Posted July 28, 2015 Report Share Posted July 28, 2015 Have you tried this : _object setVariable["memDir",_dir,true]; /*#########################REMOVED FOR INDESTRUCTIBLE ITEMS######################### if (DZE_GodModeBase) then { _object addEventHandler ["HandleDamage", {false}]; } else { _object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}]; }; ##################################################################################*/ Yeah, no success. Is this how yours is setup? Link to comment Share on other sites More sharing options...
ElDubya Posted July 28, 2015 Report Share Posted July 28, 2015 _object setVariable["memDir",_dir,true]; //#########################INDESTRUCTIBLE ITEMS######################### if ((typeOf _object) in indestructible) then { _object addEventHandler ["HandleDamage", {false}]; _object enableSimulation false; } else { _object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}]; }; //###################################################################### if ((typeOf _object) in dayz_allowedObjects) then { //#########################REMOVED FOR INDESTRUCTIBLE ITEMS######################### // if (DZE_GodModeBase) then { // _object addEventHandler ["HandleDamage", {false}]; // } else { // _object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}]; // }; //################################################################################## // Test disabling simulation server side on buildables only. _object enableSimulation false; // used for inplace upgrades && lock/unlock of safe _object setVariable ["OEMPos", _pos, true]; }; Try it there. I don't use the indestructible bases script, I just had a look at it and figured it could go there. I am no coder but by the looks you could even delete the commented out section and replace it with the top portion? _object setVariable["memDir",_dir,true]; if ((typeOf _object) in indestructible) then { _object addEventHandler ["HandleDamage", {false}]; _object enableSimulation false; } else { _object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}]; }; if ((typeOf _object) in dayz_allowedObjects) then { // Test disabling simulation server side on buildables only. _object enableSimulation false; // used for inplace upgrades && lock/unlock of safe _object setVariable ["OEMPos", _pos, true]; }; Give it a try man, what have you got to lose? :) Link to comment Share on other sites More sharing options...
nathan9117 Posted August 1, 2015 Report Share Posted August 1, 2015 (edited) Hi everyone I am having an issue where plot poles seem to be moving around. I have installed Vector Building and Snap Pro as well as Zupa Plot Management and that seems to be working fine at the moment. I can place A plot pole and a few random buildables but on restart the plot pole seemed to have magicly gone so I checked my RPT and to my surprise it hasnt gone but it has moved location. The RPT error is in the spoiler below. 19:47:26 "HIVE: Starting" 19:47:26 "HIVE: trying to get objects" 19:47:26 "HIVE: found 25 objects" 19:47:26 "HIVE: Commence Object Streaming..." 19:47:26 Error in expression <"OBJ","349","Plastic_Pole_EP1_DZ","11",[any,any,[[0.419,-0.908,0],[0,0,1]]],[["7> 19:47:26 Error position: <any,any,[[0.419,-0.908,0],[0,0,1]]],[["7> 19:47:26 Error Undefined variable in expression: any 19:47:26 "HIVE: got 1 Epoch Objects and 24 Vehicles" 19:47:32 "MOVED OBJ: "349" of class Plastic_Pole_EP1_DZ to pos: [4528.72,10092.9,0]" 19:47:32 Error in expression <ts) then { _object setVariable["memDir",_dir,true]; if (DZE_GodModeBase) then { > 19:47:32 Error position: <_dir,true]; if (DZE_GodModeBase) then { > 19:47:32 Error Undefined variable in expression: _dir 19:47:32 File z\addons\dayz_server\system\server_monitor.sqf, line 253 19:47:32 Error in expression <neCargoGlobal _object; _object setdir _dir; if(_vecExists)then{ _object setVec> 19:47:32 Error position: <_dir; if(_vecExists)then{ _object setVec> 19:47:32 Error Undefined variable in expression: _dir 19:47:32 File z\addons\dayz_server\system\server_monitor.sqf, line 238 Any help would be hugely appreciated ! Edit: Fixed by re installing all scripts to a new server.pbo and mission.pbo I think something was corrupted because I copied a new server_monitor in and still had the issues. Edited August 6, 2015 by nathan9117 Link to comment Share on other sites More sharing options...
Bloodline-Clan Posted August 4, 2015 Report Share Posted August 4, 2015 have a snap replaced it with that one server did not start with it it did... no clue.. Link to comment Share on other sites More sharing options...
hamthejam Posted August 5, 2015 Report Share Posted August 5, 2015 Hello, I have installed https://github.com/strikerforce/SnapPro-BuildVectors with Bug: The items that have been placed with Vector and Snap doesn't align properly (tested with Metal floors and cinder walls/doors) The items placed with only snap build pro were aligned properly tho. Any explications for this? Link to comment Share on other sites More sharing options...
McToots Posted August 5, 2015 Report Share Posted August 5, 2015 You aint the only one with that issue. Link to comment Share on other sites More sharing options...
hamthejam Posted August 5, 2015 Report Share Posted August 5, 2015 Seems to work when you choose the side to snap but not when you only choose "Auto" snap Link to comment Share on other sites More sharing options...
nathan9117 Posted August 6, 2015 Report Share Posted August 6, 2015 I have installed the Snap Pro + Vector Version and whenever I pg up or pg down the object rotates either left or right as well as moving up and down. If i turn snap on, the objects still rotate, but in the same direction going up or down, and at a smaller degree. Anyone had this problem? Nevermind, I found my error. Hi there I am having this exact same error what was your problem and how did you fix it thanks ? Link to comment Share on other sites More sharing options...
chi Posted August 6, 2015 Report Share Posted August 6, 2015 Hi there I am having this exact same error what was your problem and how did you fix it thanks ? https://www.dropbox.com/s/ez4ni2ac734dlc1/dayz_spaceInterrupt.sqf?dl=0 https://www.dropbox.com/s/fw1tn8ysugrlqtn/player_build.sqf?dl=0 I can't remember what it was. But pretty sure it was something to do with the merging of one of these files with one I already had. Take a look and compare them to yours. Also, make sure you are not calling either of them from your compiles or from another script. Link to comment Share on other sites More sharing options...
nathan9117 Posted August 6, 2015 Report Share Posted August 6, 2015 Hi there I am having this exact same error what was your problem and how did you fix it thanks ? For anyone having this problem I have managed to fix it thanks to chi for sending me some files to compare. Simply check your player_build.sqf for this like _object setDir (getDir _object); if you have it remove it and it will fix the issue above :) chi 1 Link to comment Share on other sites More sharing options...
Anonymouse Posted August 16, 2015 Report Share Posted August 16, 2015 Hello everyone, I have tried to install Snap building Pro with Vectors onto my server, Snap Building Pro Works 100% fine for me. But the problem I am having is that Vectors will work during the restart session 100% fine until the server restarts and comes back then ever thing what was on an angle will be reset to default before the vectors. I have checked the data base and it seems like they are getting saved to the database and I have triple checked the Server_monitor.sqf BEFORE AFTER Is their anything I missed, or is it clear as day to why it is not working!! Link to comment Share on other sites More sharing options...
Nekuan Posted September 9, 2015 Report Share Posted September 9, 2015 Can anyone tell me what changes need to be done to make PlotManagement work with this? the upgrade/downgrade.sqf changes are easily done but vector building changes the 3rd file required for regular building so much I just can't figure out how to do it so players can only upgrade/downgrade on other peoples plotpoles but not build themself Link to comment Share on other sites More sharing options...
Antichrist Posted September 9, 2015 Report Share Posted September 9, 2015 ...Check your player_build_publish.sqf and post both isntances of this PVDZE_obj_Publish = Link to comment Share on other sites More sharing options...
bFe Posted September 19, 2015 Report Share Posted September 19, 2015 (edited) Error in expression <rue;DZE_memForBack = DZE_memForBack + (DZE_curDegree * -1);};case "Pitch Back> Error position: <DZE_curDegree * -1);};case "Pitch Back> Error Undefined variable in expression: dze_curdegreeFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\build_vectors.sqf, line 88Error in expression <; _upX = 0; _upY = 0; _upZ = 1; if (_aroundX != 0) then { _dirY = cos _arou> Error position: <_aroundX != 0) then { _dirY = cos _arou> Error Undefined variable in expression: _aroundxFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\fnc_SetPitchBankYaw.sqf, line 14Error in expression <if(DZE_updateVec) then{[_objectHelper,[DZE_memForBack,DZE_memLeftRight,DZE_memD> Error position: <DZE_memForBack,DZE_memLeftRight,DZE_memD> Error Undefined variable in expression: dze_memforbackFile mpmissions\__CUR_MP.namalsk\custom\snap_pro\player_build.sqf, line 329Error in expression <DZE_updateVec = true;DZE_memForBack = DZE_memForBack + DZE_curDegree;};case > Error position: <DZE_memForBack + DZE_curDegree;};case > Error Undefined variable in expression: dze_memforbackFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\build_vectors.sqf, line 94Error in expression <; _upX = 0; _upY = 0; _upZ = 1; if (_aroundX != 0) then { _dirY = cos _arou> Error position: <_aroundX != 0) then { _dirY = cos _arou> Error Undefined variable in expression: _aroundxFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\fnc_SetPitchBankYaw.sqf, line 14Error in expression <if(DZE_updateVec) then{[_objectHelper,[DZE_memForBack,DZE_memLeftRight,DZE_memD> Error position: <DZE_memForBack,DZE_memLeftRight,DZE_memD> Error Undefined variable in expression: dze_memforbackFile mpmissions\__CUR_MP.namalsk\custom\snap_pro\player_build.sqf, line 329Error in expression <;DZE_memLeftRight = DZE_memLeftRight + DZE_curDegree;};case "Reset":{vectorA> Error position: <DZE_curDegree;};case "Reset":{vectorA> Error Undefined variable in expression: dze_curdegreeFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\build_vectors.sqf, line 106Error in expression <; _upX = 0; _upY = 0; _upZ = 1; if (_aroundX != 0) then { _dirY = cos _arou> Error position: <_aroundX != 0) then { _dirY = cos _arou> Error Undefined variable in expression: _aroundxFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\fnc_SetPitchBankYaw.sqf, line 14Error in expression <if(DZE_updateVec) then{[_objectHelper,[DZE_memForBack,DZE_memLeftRight,DZE_memD> Error position: <DZE_memForBack,DZE_memLeftRight,DZE_memD> Error Undefined variable in expression: dze_memforbackFile mpmissions\__CUR_MP.namalsk\custom\snap_pro\player_build.sqf, line 329Error in expression < then {s_player_toggleDegrees=[];{if(DZE_curDegree == _x) then{degreeActions> Error position: <DZE_curDegree == _x) then{degreeActions> Error Undefined variable in expression: dze_curdegreeFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\build_vectors.sqf, line 52Error in expression < then {s_player_toggleDegrees=[];{if(DZE_curDegree == _x) then{degreeActions> Error position: <DZE_curDegree == _x) then{degreeActions> Error Undefined variable in expression: dze_curdegreeFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\build_vectors.sqf, line 52Error in expression < then {s_player_toggleDegrees=[];{if(DZE_curDegree == _x) then{degreeActions> Error position: <DZE_curDegree == _x) then{degreeActions> Error Undefined variable in expression: dze_curdegreeFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\build_vectors.sqf, line 52Error in expression < then {s_player_toggleDegrees=[];{if(DZE_curDegree == _x) then{degreeActions> Error position: <DZE_curDegree == _x) then{degreeActions> Error Undefined variable in expression: dze_curdegreeFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\build_vectors.sqf, line 52Error in expression < then {s_player_toggleDegrees=[];{if(DZE_curDegree == _x) then{degreeActions> Error position: <DZE_curDegree == _x) then{degreeActions> Error Undefined variable in expression: dze_curdegreeFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\build_vectors.sqf, line 52Error in expression < then {s_player_toggleDegrees=[];{if(DZE_curDegree == _x) then{degreeActions> Error position: <DZE_curDegree == _x) then{degreeActions> Error Undefined variable in expression: dze_curdegreeFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\build_vectors.sqf, line 52Error in expression < then {s_player_toggleDegrees=[];{if(DZE_curDegree == _x) then{degreeActions> Error position: <DZE_curDegree == _x) then{degreeActions> Error Undefined variable in expression: dze_curdegreeFile mpmissions\__CUR_MP.namalsk\custom\BuildVectors\build_vectors.sqf, line 52 Worked fine until I switched over to Namalsk, any idea on what will fix it?The snapping works and the Vector menu pops up but when I click on any of the options nothing happens and what I posted above appears in my client.rptWhen I try to expand the Degrees menu there are no options there either, I dont remember if thats normal or not.EDIT: Fixed. the DZE_ part in the init had an "s" missing. Edited September 19, 2015 by bFe Link to comment Share on other sites More sharing options...
Anonymouse Posted September 20, 2015 Report Share Posted September 20, 2015 Check your player_build_publish.sqf and post both isntances of this PVDZE_obj_Publish =Thanks man, I got it working Just Fine Now, Idk how hahah But I did, Thanks Tho :) HomeOwner and bFe 2 Link to comment Share on other sites More sharing options...
Hux Posted September 27, 2015 Report Share Posted September 27, 2015 Has anyone fixed the issue when trying to upgrade an upside down block garage door?It flips back right side up when upgrading.I see others in this thread have reported this but I see no solution...I know about using already locked wood garage doors but how to do it with cinderblock garage? Thank you. Link to comment Share on other sites More sharing options...
KamikazeXeX Posted September 27, 2015 Report Share Posted September 27, 2015 Has anyone fixed the issue when trying to upgrade an upside down block garage door?It flips back right side up when upgrading.I see others in this thread have reported this but I see no solution...I know about using already locked wood garage doors but how to do it with cinderblock garage? Thank you.Sounds like you haven't updated your player_upgrade,sqf i.e its not getting and then re-setting the vector after upgrade Link to comment Share on other sites More sharing options...
Hux Posted September 28, 2015 Report Share Posted September 28, 2015 I didn't realise I needed this... Thank you. Link to comment Share on other sites More sharing options...
KamikazeXeX Posted September 28, 2015 Report Share Posted September 28, 2015 I didn't realise I needed this... Thank you.You do indeed , I made the very same mistake when this was first released, glad I could help Link to comment Share on other sites More sharing options...
Hux Posted September 30, 2015 Report Share Posted September 30, 2015 Sounds like you haven't updated your player_upgrade,sqf i.e its not getting and then re-setting the vector after upgradeI can't figure out how to update the player_upgrade,sqfIs it just the one file or do I need the http://epochmod.com/forum/index.php?/topic/14447-how-toupdate-snap-build-pro-w-admin-fast-build-upgrade-and-extra-rc-building-system/?I wasn't able to update using that link because it requires PFL.Do I need PFL or can I update without it? Link to comment Share on other sites More sharing options...
Infinity Posted October 5, 2015 Report Share Posted October 5, 2015 I have the build vectors installed but after every server restart, the vector positions reset and everything is placed horizontal again... I have checked the installation instructions several times now and it's exactly how it's supposed to be according to the guide ... what should I be looking at? Link to comment Share on other sites More sharing options...
KamikazeXeX Posted October 6, 2015 Report Share Posted October 6, 2015 I can't figure out how to update the player_upgrade,sqfIs it just the one file or do I need the http://epochmod.com/forum/index.php?/topic/14447-how-toupdate-snap-build-pro-w-admin-fast-build-upgrade-and-extra-rc-building-system/?I wasn't able to update using that link because it requires PFL.Do I need PFL or can I update without it?I believe off the top of my head this is what you need to do, all of this should be in player_upgrade.sqf (untested) I should really push out a version of that script without P4LFind this // Get direction _dir = getDir _obj; Add this below it //Get Vector _vector = [(vectorDir _obj),(vectorUp _obj)]; Find this // Set direction _object setDir _dir; Add this below it // Set vector _object setVectorDirAndUp _vector; Lastly find this PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,player]; publicVariableServer "PVDZE_obj_Swap"; And replace with PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location,_vector],_classname,_obj,player]; publicVariableServer "PVDZE_obj_Swap";Should be good from there :) any issues give me a PM Link to comment Share on other sites More sharing options...
Hux Posted October 6, 2015 Report Share Posted October 6, 2015 I believe off the top of my head this is what you need to do, all of this should be in player_upgrade.sqf (untested) I should really push out a version of that script without P4LFind this // Get direction _dir = getDir _obj; Add this below it //Get Vector _vector = [(vectorDir _obj),(vectorUp _obj)]; Find this // Set direction _object setDir _dir; Add this below it // Set vector _object setVectorDirAndUp _vector; Lastly find this PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,player]; publicVariableServer "PVDZE_obj_Swap"; And replace with PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location,_vector],_classname,_obj,player]; publicVariableServer "PVDZE_obj_Swap";Should be good from there :) any issues give me a PMThank you...I'll test it & let you know how it goes... 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