astruyk / Ares

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

Fire Artillery - Repeatable Crash #129

Closed TheOtherTaylor closed 10 years ago

TheOtherTaylor commented 10 years ago

Using the Fire artillery module, sometimes it will create a yellow "empty" box with a question mark below the ground near your artillery target. If you click this box it crashes the game.

Steps to repeat (witnessed on dedicated server): -Place manned mortar tube -Place artillery target (~150m away) -Place fire artillery module on mortar, command him to fire (shell type and # did not seem to matter) -Look for yellow item to appear below ground near the target. -Click it

RPT File:

Mods: C:\Users\TheOtherTaylor\Documents\Arma 3\@ares Distribution: 0 Version 1.34.128075 Fault time: 2014/11/06 22:58:10 Fault address: 00849BFE 01:00448BFE C:\Program Files (x86)\Steam\SteamApps\common\Arma 3\arma3.exe file: JTF2_Patrol_Ops_NATO (__CUR_MP) world: Altis Prev. code bytes: 24 44 F3 0F 10 05 60 01 8C 01 F3 0F 11 44 24 48 Fault code bytes: F7 46 54 00 09 00 00 57 75 72 68 E4 D3 91 01 8B

Registers: EAX:0255F6F4 EBX:6E5F4100 ECX:6E30EB00 EDX:0255F6F4 ESI:00000000 EDI:6E30EB00 CS:EIP:0023:00849BFE SS:ESP:002B:0255F5F4 EBP:6E30EB00 DS:002B ES:002B FS:0053 GS:002B Flags:00010216 \=======================================================

(Ignore escape character before line of '=')

astruyk commented 10 years ago

If you get that to happen again, can you drop a 'copy to clipboard' module from the save/load dialog closeby and then paste the text in here? That should tell me the name of the class of the [?] that appears.

astruyk commented 10 years ago

Nevermind I was able to repro using the following steps: 1) Start a dedicated server and spawn in some artillery units on the server (I had CSAT units) 2) Connect with a zeus client running Ares 3) Drop a 'artillery target' near the units 4) Drop a 'fire artillery' module on the artillery piece 5) Notice that the unit doesn't actually fire at the location. 6) Run a script to add all vehicles and allUnits objects to the curator object 7) Notice that below the Ares artillery module the [?](yellow box) appears for the ArtilleryTargetW object 8) Click on the yellow box 9) Crash

[["ArtilleryTargetW",[17845.7,12663.8,35.7747],1.60099,1,0],["Ares_Module_Behaviour_Create_Artillery_Target",[17845.7,12663.8,35.7747],359.982,1,0],[17817.7,12671.2,36.2093],[1]]

It looks like the ArtilleryTargetW is what's causing the issue. I think it's a combination of two things:

astruyk commented 10 years ago

Reported here http://feedback.arma3.com/view.php?id=21589

TheOtherTaylor commented 10 years ago

I did a little more playing with this last night (but fell asleep before I posed), it appears you can drag select the 'fire artillery' object and delete it without crashing. I'm not sure if this is 100% repeatable, but I did pull it off at least once.