astruyk / Ares

An arma3 mod that adds some extra functionality to Zeus
51 stars 11 forks source link

Save/Load: Places items at 0,0,0; Does not copy items properly. #139

Closed Vernei closed 10 years ago

Vernei commented 10 years ago

Howdy folks. First off this is an absolutely amazing mod and I can't thank you guys enough for creating this wonderful addition to Zeus and Arma. It has already made major improvements in the gameplay of my ZGM missions.

My issue is as follows: I love the Save/Load feature as it allows me to pre-build bases and really helps with immersion. I currently have a ZGM mission on the newly released Bornholm map. When I export the mission and then host it on my computer as a multiplayer mission, the Save/Load features work fine. However, when I upload it to my clan's server, some strange things happen.

First, when I use the "Paste at a new location" function, Ares places the features intact at 0,0,0. On Bornholm, this location is a pretty steep cliff that slopes into the sea, and that often creates issues with item collision, creating a pretty big mess in some instances.

Second, and likely related, the Copy to Clipboard feature doesn't work properly. When I attempt to use it on the Bornholm map, Ares doesn't grab the objects and replaces what should be quite a large amount of clipboard text with some strange things about game logic and an invisible helipad. The following is an example of what Ares allows me to copy when I am attempting to copy a simple hasty mortar position with around 25 features:

[["Logic",[0.6875,0.6875,-0.0339097],0,1,0],["Logic",[0.6875,0.6875,-0.0339097],0,1,0],["Logic",[0.6875,0.6875,-0.0339097],0,1,0],["Land_HelipadEmpty_F",[0.6875,2.0625,-17.7462],0.000757662,1,0],["Logic",[9,9,9],0,1,0],["Logic",[21,21,-17.6455],0,1,0],[0,0,0],[1]]

The actual mortar position (which I originally made in VR) is the following:

[["B_Mortar_01_F",[4386.03,4439.95,5.75852],359.947,1,0],["B_Mortar_01_F",[4389.97,4437.53,5.75852],359.946,1,0],["Land_BagFence_Round_F",[4389.93,4436.98,5.42061],0,1,0],["Land_BagFence_Round_F",[4390.01,4439.65,5.42061],179.65,1,0],["Land_BagFence_Round_F",[4385.05,4436.84,5.42061],121.357,1,0],["Land_BagFence_Round_F",[4387.29,4435.38,5.42061],301.007,1,0],["Land_BagFence_Round_F",[4385,4439.9,5.42061],50.9324,1,0],["B_Mortar_01_F",[4386.19,4435.42,5.75852],359.96,1,0],["Land_BagFence_Round_F",[4387.13,4441.51,5.42061],231.282,1,0],["Land_BagFence_Round_F",[4391.37,4438.25,5.42061],270.265,1,0],["Land_BagFence_Round_F",[4385.38,4434.94,5.42061],31.6216,1,0],["Land_BagFence_Round_F",[4385.23,4441.84,5.42061],141.547,1,0],["Land_Razorwire_F",[4383.15,4443.64,5.75507],318.594,1,0],["Land_Razorwire_F",[4380.27,4437.78,5.75507],269.325,1,0],["Land_Razorwire_F",[4383.32,4432.08,5.75507],36.5227,1,0],["Land_Razorwire_F",[4392.82,4444,5.75507],36.5227,1,0],["Land_Razorwire_F",[4393.08,4432.09,5.75507],318.594,1,0],["Land_Razorwire_F",[4396.12,4438.17,5.75507],269.325,1,0],["Land_Razorwire_F",[4387.66,4449.43,5.75507],359.657,1,0],["Land_Razorwire_F",[4388.3,4425.69,5.75507],359.657,1,0],[4387.56,4438.32,5],[1]]

Thanks for looking into this guys, I hope I've provided enough information for you to properly investigate.

-Vernei Strategic Outcomes soclan.co.uk

astruyk commented 10 years ago

It does look like those two issues are related - the data that you copied from bronholm looks like it thinks the module was placed at [0,0,0](which is the same thing you're seeing when you placed the new items down).

I haven't had time to investigate yet, but some people have reported similar issues when they have Ares running on the dedicated server as well as their clients. Does your server happen to be running Ares as well?

Vernei commented 10 years ago

Hey Astruyk, thanks for getting back to me.

Yes, the server is running the @ares mod.

Also, through playtesting, I have discovered that when I use the "Paste at New Position" feature in Zeus, it pastes the items at 0,0,0. However, when I press "M" and place the items using the map screen, they paste exactly where I put them. The same thing goes for when I use the copy to clipboard command from the map screen. It works just fine on the map screen, but not on the 3D editor/Zeus interface.

I hope that helps.

astruyk commented 10 years ago

Fixed in c8935f142556d725347cf2f971ec18153833116f