RHS Feedback - AFRF | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0004712 | AFRF | [All Projects] General | public | 2018-10-28 03:00 | 2018-10-28 14:49 |
Reporter | jaj22 | ||||
Assigned To | reyhard | ||||
Priority | none | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | 0.4.9 | |||
Is it a wish/request? | No | ||||
RHS version | |||||
Arma 3 version | 1.84 | ||||
Did you used any other mod when the error occurred? | No | ||||
Which mods? | |||||
Summary | 0004712: rhs_gripod.sqf assumes player always has primary weapon, can hang UI on opening arsenal | ||||
Description | rhs_gripod.sqf installs handlers on the InventoryClosed and arsenalOpened events which throw script errors on line 31 when the player has no primary weapon. In the case of the arsenalOpened event, the Arma 3 UI will hang entirely, requiring a forced restart. I'm not sure what these event handlers are for other than removing themselves, but they should at least be checking whether the player has a primary weapon. I haven't checked whether other scripts have a similar problem. rhs_gripod.sqf exists in both AFRF and USAF in rhs_c_weapons.pbo. | ||||
Steps To Reproduce | To get a (harmless?) script error: 1. Equip weapon with grip pod. 2. Drop it on the floor from inventory. 3. Close inventory. To get a UI lock: 1. In Eden Editor, create mission with "survivor" player (from independent faction) and arsenal with grip pod weapon inside. Enable respawn on death position. 2. Start mission as multiplayer. 3. Open arsenal, equip your grip pod weapon. Close arsenal. 4. Manually respawn. You should respawn with no weapons. 5. Now attempt to open arsenal. It should hang the UI on the arsenal loading screen. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-10-28 03:00 | jaj22 | New Issue | |||
2018-10-28 09:08 | reyhard | Note Added: 0008728 | |||
2018-10-28 09:08 | reyhard | Assigned To | => reyhard | ||
2018-10-28 09:08 | reyhard | Status | new => feedback | ||
2018-10-28 14:48 | jaj22 | Note Added: 0008733 | |||
2018-10-28 14:48 | jaj22 | Status | feedback => new | ||
2018-10-28 14:49 | reyhard | Status | new => resolved | ||
2018-10-28 14:49 | reyhard | Fixed in Version | => 0.4.9 | ||
2018-10-28 14:49 | reyhard | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|