Skip to content

Arsenal - Fix Bad Vehicle Type error for backpack#11388

Open
m1kesk wants to merge 2 commits into
acemod:masterfrom
m1kesk:fix/backpack-class-missing
Open

Arsenal - Fix Bad Vehicle Type error for backpack#11388
m1kesk wants to merge 2 commits into
acemod:masterfrom
m1kesk:fix/backpack-class-missing

Conversation

@m1kesk
Copy link
Copy Markdown

@m1kesk m1kesk commented May 22, 2026

When merged this pull request will:

  • Will check if backpack class exist before is set to setLoadout array, preventing Bad Vehicle Type error

@m1kesk m1kesk changed the title fix: check if backpack class exist before setting to loadout array Arsenal - fix Bad Vehicle class error for backpack May 22, 2026
@m1kesk m1kesk changed the title Arsenal - fix Bad Vehicle class error for backpack Arsenal - fix Bad Vehicle Type error for backpack May 22, 2026
@m1kesk m1kesk changed the title Arsenal - fix Bad Vehicle Type error for backpack Arsenal - Fix Bad Vehicle Type error for backpack May 22, 2026
Comment thread addons/arsenal/functions/fnc_onSelChangedLeft.sqf Outdated
Co-authored-by: Drofseh <Drofseh@users.noreply.github.com>
@PabstMirror PabstMirror added this to the 3.21.1 milestone May 22, 2026
@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label May 22, 2026
Copy link
Copy Markdown
Contributor

@johnb432 johnb432 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused. When is this a problem? If there's a backpack that doesn't exist, then it shouldn't even appear in the arsenal - if it does, we might be able to address it at the root.

@PabstMirror
Copy link
Copy Markdown
Contributor

the ace arsenal from main menu will try to load last loadout and throws that error often with changing modsets
https://github.com/acemod/ACE3/blob/master/addons/arsenal/missions/Arsenal.VR/initPlayerLocal.sqf#L6-L11

I think that might be the root problem, otherwise I'm not sure how bad backpacks are getting into the list data

@PabstMirror PabstMirror modified the milestones: 3.21.1, Ongoing May 30, 2026
@johnb432
Copy link
Copy Markdown
Contributor

the ace arsenal from main menu will try to load last loadout and throws that error often with changing modsets https://github.com/acemod/ACE3/blob/master/addons/arsenal/missions/Arsenal.VR/initPlayerLocal.sqf#L6-L11

I think that might be the root problem, otherwise I'm not sure how bad backpacks are getting into the list data

If it's only that, we can easily address there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug-fix Release Notes: **FIXED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants