Jump to content

[Release] Build Vectors - Rotate objects in Dayz Epoch (v2.34 P4L & non-P4L)


striker

Recommended Posts

Please, can someone tell me how to prevent the Vectors from resetting after restart? I have this: https://github.com/strikerforce/SnapPro-BuildVectors installed, and whenever I use the Vectors, it resets to horizontal position after a server restart. I have it EXACTLY installed as described, I've gone over it countless times and tried many 'fixes' / read the entire thread three times and still, nothing.

EDIT: nvm, fixed it

Edited by Infinity
Link to comment
Share on other sites

Okay, that's not it.

KamikazeXeX, I decided to have a look at the code hoping I would find something, but it's pretty flawless. I tried rewriting the Set vector part 4 different ways using more variables and separating the set obj vectors but still no luck. Maybe it's something to do with the lack of the P4L mod? It's such a simple piece of code, I don't see how it's not working lol.

Link to comment
Share on other sites

So I found this:

"As I have lately discovered you cannot use setDir command on the same object neither before nor after setVectorDirAndUp command, because it would cancel the command. And why would you want to anyway? setVectorDirAndUp alone should be sufficient for any orientation."

http://killzonekid.com/arma-scripting-tutorials-attachto-and-setvectordirandup/

And yet the code:

            // Set direction
            _object setDir _dir;
            _object setVariable["memDir",_dir,true];
            
            // Set vector
            _object setVectorDirAndUp _vector;

So not sure why it is working for other people and not for us?

By the way this didn't fix the problem for me. Hux you might want to try it and see if it works for you?

Backup current file before you edit!

In your player_upgrade.sqf find: (custom/buildvectors/action/)

_object setDir _dir;

and delete it. If that doesn't work, try deleting both

            _object setDir _dir;
     &     _object setVariable["memDir",_dir,true];

Let me know.

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Hey guys its been a long time since i installed thin on my server and i guess since the last update this will now work by me just uploading my old server files, I followed this install here https://github.com/strikerforce/DayzBuildVectors but when i go ingame and i get something to build it just shows Epoch build, No snap pro or other options.... can some one throw me a bone? Thanks

 

Also in my init file inside my mpmissions i do not see DZE_BuildOnRoads

Link to comment
Share on other sites

Sorry its such a late reply, to all of those having the issue with objects resetting their orientation can I take a peep at your server + mission files to compare with mine and see what the issue is, I've not done much work involving the build system on my A2 servers for such a long time I barely remember what I have on there lol, feel free to give me a PM and i'll get back to you all ASAP

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Hello i have a problem

Serwer dont loading objects from db
 

2015/12/01, 18:03:12 Error in expression <og format["FOUND %1 OBJECTS", str(count _objectArray)];
_totalvehicles = 0;
{
>
2015/12/01, 18:03:12   Error position: <_objectArray)];


_totalvehicles = 0;
{
>
2015/12/01, 18:03:12   Error Undefined variable in expression: _objectarray
2015/12/01, 18:03:12 File z\addons\dayz_server\system\server_monitor.sqf, line 60

 

My serwer_monitor.sqf

http://pastebin.com/SaNBLNnz

Link to comment
Share on other sites

  • 2 weeks later...

Have an issue. I installed this which i have P4L installed as well. snap pro works but I can not rotate or use the vector portion of the mod. I went over the coding a few times and see no issue in the install and no errors in the RPT. any suggestions?

Fixed it. placed the compiles lines in the wrong section.

Link to comment
Share on other sites

This is what is happening:

I put down a plot pole, then I try to build:

12.jpg

I have installed the P4L 2.5. Before I installed Vector, I made sure that P4L was working and it is. The only way I can build is to turn on admin powers. 

Even with Admin powers when I try to upgrade, I get this:

11.jpg

As you can see it can not make up its mind. lol   Need help. btw no RPT errors.

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

I have an Linux root server on this run my dayz epoch server and an teamspeak server and my homepage

This is my Problem

 when player build something with vector building after a server restart the server dont load objects from database

 

and i get this error in my dump log

21:00:41 "infiSTAR.de - AntiHack FULLY LOADED"
21:00:42 "HIVE: Starting"
21:00:42 "HIVE: Local Time set to [2012,6,6,17,0]"
21:00:42 "LOAD OBJECTS"
21:00:42 Error in expression <25233],[[-0.965753,0.0290141,0.257834],[,[[["ItemHatchet_DZE","ItemKnife","ItemM>
21:00:42   Error position: <,[[["ItemHatchet_DZE","ItemKnife","ItemM>
21:00:42   Error Invalid number in expression
21:00:42 Error in expression <25233],[[-0.965753,0.0290141,0.257834],[,[[["ItemHatchet_DZE","ItemKnife","ItemM>
21:00:42   Error position: <,[[["ItemHatchet_DZE","ItemKnife","ItemM>
21:00:42   Error Invalid number in expression
21:00:42 "Res3tting B!S effects..."
21:00:42 "FOUND  OBJECTS"
21:00:42 "HIVE: Spawning # of Vehicles: 20"
21:00:42 "HIVE: Spawning # of Debris: 0"
21:00:42 "HIVE: Spawning # of Ammo Boxes: 10"
21:00:42 "HIVE: Spawning # of Veins: 50"
21:00:42 Error in expression <og format["FOUND %1 OBJECTS", str(count _objectArray)];


_totalvehicles = 0;
{
>
21:00:42   Error position: <_objectArray)];


_totalvehicles = 0;
{
>
21:00:42   Error Undefined variable in expression: _objectarray
21:00:42 File z\addons\dayz_server\system\server_monitor.sqf, line 61
21:00:42 "EPOCH EVENTS INIT"
21:00:42 "RUNNING EVENT: crash_spawner on [2012,6,6,17,0]"

 

 

This is my server_monitor.sqf

http://pastebin.com/PkwbB724

Pls i Need Help with this issue

i want to do a Donation for help with this issue

Link to comment
Share on other sites

Guys I have having a strange issue i've never had before, my walls are rotating randomly not on the angle they are chosen on, and it is an odd angle, not 45, it makes it so crooked, ifyou dont mind have any ideas?

for example, if i press e or q to rotatate, when it comes fully back around, it is not straight, it is angle'd...

and my snap is in the middle of my vector options on my action menu - example

VECTOR 

SNAP:OFF

VECTOR

Link to comment
Share on other sites

  • 2 weeks later...
On 30/01/2016 at 5:33 PM, dy3rx said:

Guys I have having a strange issue i've never had before, my walls are rotating randomly not on the angle they are chosen on, and it is an odd angle, not 45, it makes it so crooked, ifyou dont mind have any ideas?

for example, if i press e or q to rotatate, when it comes fully back around, it is not straight, it is angle'd...

and my snap is in the middle of my vector options on my action menu - example

VECTOR 

SNAP:OFF

VECTOR

This. Also suffering this issue, anyone had any ideas?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...