Page MenuHomeFeedback Tracker

JonBonsTAW
User

Projects

User does not belong to any projects.

User Details

User Since
Jul 8 2014, 2:37 AM (317 w, 5 d)

Recent Activity

May 10 2016

JonBonsTAW added a comment to T84279: Calling BIS_fnc_inTrigger resizes the input position array from 3 to 2..

A temporary fix for this is to make a copy of the array when setting tPos2.

Example: tPos = [0,0,0]; tPos2 = +tPos; tPos resize 2;

In the above example tPos is [0,0] and tPos2 is [0,0,0] which is what I expected from the examples above.

This behavior also happens with any engine commands that modify an array by reference.

May 10 2016, 12:02 PM · Arma 3
JonBonsTAW added a comment to T84279: Calling BIS_fnc_inTrigger resizes the input position array from 3 to 2..

This appears to be because the BIS_fnc_inTrigger function utilizes the resize command which seems to be modifying all references to the array instead of making a copy and changing just that one variable.

If I execute this code: tPos = [0,0,0]; tPos2 = tPos; tPos resize 2;

I would expect tPos to equal [0,0] but I do not expect tPos2 to equal [0,0] as well.

May 10 2016, 12:02 PM · Arma 3
JonBonsTAW edited Steps To Reproduce on T84279: Calling BIS_fnc_inTrigger resizes the input position array from 3 to 2..
May 10 2016, 12:02 PM · Arma 3
JonBonsTAW edited Steps To Reproduce on T80381: Server Side Scripting (server.cfg) - Add diag_log to commands available..
May 10 2016, 9:51 AM · Arma 3
JonBonsTAW edited Steps To Reproduce on T80337: Major memory leak with setVelocity command..
May 10 2016, 9:50 AM · Arma 3
JonBonsTAW added a comment to T79340: Dedicated server crashes [PRIMARY REPORT].

JonBonsTAW_server_130stable_goldbroom_crash.tar.7z

Crashed ~40-50 min into one of weekly sessions.
Ran mission again and it crashed around the same time.

May 10 2016, 9:17 AM · Arma 3
JonBonsTAW added a comment to T76131: AI vision not being affected by enviromental changes / obstacles / vegetation.

I was able to reproduce the issue in the fog; created test mission with enemy CSAT Rifleman AI with a skill level of .36 and ran around to the right until I was near the first small bush and then fired some shots to get him looking in my direction and then walked around a bit while cycling back and forth behind the bush while walking torwards and he somehow detects me @ ~95m but from then on forward he is able to spot me after loosing cover for up to 150-200m or possibly more.

Uploading reproducible mission file as: 17772_testAISpottingThroughFog.Altis.zip

Reproduction steps video: http://youtu.be/aTTcpUE46co

When testing make sure to enable the AI detection script in the scroll menu.

May 10 2016, 7:52 AM · Arma 3
JonBonsTAW added a comment to T76131: AI vision not being affected by enviromental changes / obstacles / vegetation.

I just created another reproducible mission where the AI are able to see through the closed wooden windows of a building in Kavala (I've not tested other buildings yet)

Uploading reproducible mission file as: 17772_testAISpottingThroughWindows.Altis.zip

Reproduction steps video: http://youtu.be/qSOJcxfw9YM

May 10 2016, 7:52 AM · Arma 3