Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADDONS] Fatal error on multiple add-ons #12

Open
x3003 opened this issue Jul 10, 2021 · 21 comments
Open

[ADDONS] Fatal error on multiple add-ons #12

x3003 opened this issue Jul 10, 2021 · 21 comments

Comments

@x3003
Copy link

x3003 commented Jul 10, 2021

I just unpacked the 3.1 package, started the launcher and selected all add-ons to test, but a few wouldn't start
I got these errors:

mw

beh

Eff

melee

vampire

@x3003 x3003 changed the title Fatal error when selecting more weapons Fatal error on multiple add-ons Jul 10, 2021
@Tormentor667
Copy link
Collaborator

Did you load the addons single-wise?

@x3003
Copy link
Author

x3003 commented Jul 10, 2021

I loaded them from within the launcher.

@Tormentor667
Copy link
Collaborator

Single or multiple?

@mgrinzPlayer
Copy link
Contributor

@x3003 some add-ons are not compatible with each other, e.g. grenades_only & movement

@x3003
Copy link
Author

x3003 commented Jul 10, 2021

Multiple

@Tormentor667
Copy link
Collaborator

@x3003 some add-ons are not compatible with each other, e.g. grenades_only & movement

That was to be expected, we should have tried it before the release...

@mgrinzPlayer
Copy link
Contributor

I tried it on 23 May:

Is "Grenades Only" compatible with "Movement". I tried
-file addons\movement.pk3 addons\grenades_only.pk3 only "Grenades Only" works
-file addons\grenades_only.pk3 addons\movement.pk3 only "Movement" works

I'm doing something wrong?

@Tormentor667
Copy link
Collaborator

Tormentor667 commented Jul 10, 2021

I think some combinations works, others don't. Whats bad is that M2H doesn't work at all.

That has been fixed by me today, and have posted it on BoA-Addons discord channel as well in case people wants to have it fixed somehow --Ozy81

@x3003
Copy link
Author

x3003 commented Jul 10, 2021

Yes, some combos works and others don't.

@Ozymandias81
Copy link
Contributor

Well then I suggest to state that mods must be loaded only once, not together so we don't have to track which works or not, what do you think @Tormentor667 @Username-N00b-is-not-available @mgrinzPlayer ?

@x3003
Copy link
Author

x3003 commented Jul 10, 2021

Well vampire & behaviour won't work. And melee & more weapons don't like each other either. And melee & behaviour.

@mgrinzPlayer
Copy link
Contributor

mgrinzPlayer commented Jul 10, 2021

Test every add-on combination (excluding simple add-ons like "8bitmusic", "lowres_models"):

Those pairs:

behaviour vs disable_hints 🟡
behaviour vs efficiency 🟡
behaviour vs grenades_only 🟡
behaviour vs instagib 🟡
behaviour vs m2hb 🟡
behaviour vs melee 🔴
behaviour vs more_weapons 🟡
behaviour vs movement 🟡
behaviour vs score 🟡
behaviour vs vampire 🔴

disable_hints vs efficiency 🟡
disable_hints vs grenades_only 🟢
disable_hints vs instagib 🟡
disable_hints vs m2hb 🟡
disable_hints vs melee 🟡
disable_hints vs more_weapons 🟡
disable_hints vs movement 🟡
disable_hints vs score 🟡
disable_hints vs vampire 🟡

efficiency vs grenades_only 🟡
efficiency vs instagib 🟡
efficiency vs m2hb 🟡
efficiency vs melee 🟡
efficiency vs more_weapons 🟡
efficiency vs movement 🟡
efficiency vs score 🟡
efficiency vs vampire 🟡

grenades_only vs instagib 🟡
grenades_only vs m2hb 🟡
grenades_only vs melee 🟡
grenades_only vs more_weapons 🟡
grenades_only vs movement 🔴
grenades_only vs score 🟡
grenades_only vs vampire 🟡

instagib vs m2hb 🟡
instagib vs melee 🟡
instagib vs more_weapons 🟡
instagib vs movement 🟡
instagib vs score 🟡
instagib vs vampire 🟡

m2hb vs melee 🟡
m2hb vs more_weapons 🟡
m2hb vs movement 🟡
m2hb vs score 🟡
m2hb vs vampire 🟡

melee vs more_weapons 🔴
melee vs movement 🟡
melee vs score 🟡
melee vs vampire 🟡

more_weapons vs movement 🟡
more_weapons vs score 🟡
more_weapons vs vampire 🟡

movement vs score 🟡
movement vs vampire 🟡

score vs vampire 🟡

Mark working add-on pairs with green 🟢, not working with red 🔴.
not tested 🟡. I marked few working and not working.

Then update addon.info with DOESNOTLIKE line based on above informations,

e.g. for behaviour it would be:
doesnotlike = melee.boa;vampire;....

Then I could block some add-ons combinations in "select multiple addons" window.

@Tormentor667
Copy link
Collaborator

This is a very good solution, we need to incorporate that!

@Ozymandias81
Copy link
Contributor

And what about then when someone will come with new ones? I don't find it user friendly, best solution is to stitch with one addon per campaign.

@mgrinzPlayer
Copy link
Contributor

mgrinzPlayer commented Jul 12, 2021

Question:

From what I see inside boa-addons\source\movement\mapinfo.txt

gameinfo
{
	PlayerClasses = "MovementBoAPlayer"
	AddEventHandlers = "MovementHandler"
}

And inside boa-addons\source\grenades_only\mapinfo.txt

gameinfo
{
	PlayerClasses = "GrenadierBoAPlayer"
	AddEventHandlers = "GrenadierHandler"
}

They do not work with each other because there are two different player classes: MovementBoAPlayer and GrenadierBoAPlayer.
Can we detect "multiaddon incompatibility" by looking into mapinfo.txt, zscript.txt?
If yes, I can add few extra checks to be sure there are no more than one add-on with PlayerClasses inside mapinfo.txt in the "launch with" list.

I can add even more checks, if you can find some.

@Tormentor667
Copy link
Collaborator

I'd point @AFADoomer , @Username-N00b-is-not-available and @Talon1024 to this.

@Ozymandias81 Ozymandias81 changed the title Fatal error on multiple add-ons [Addons] Fatal error on multiple add-ons Jul 16, 2021
@Tormentor667
Copy link
Collaborator

Push'd

@mgrinzPlayer
Copy link
Contributor

mgrinzPlayer commented Sep 22, 2021

Nobody answered my question above or suggested other checks. I can add "add-on collision detection" based on information gathered from mapinfo.txt, zscript.txt.

i.e. if there is add-on with altered PlayerClasses (mapinfo.txt gameinfo section), you can not add any other add-on with with altered PlayerClasses.

@Tormentor667
Copy link
Collaborator

This sounds like a pretty good idea. The problem for me is, that I am not deep enough into the code of the addons and code in BoA in general to answer that question. I am sure @Username-N00b-is-not-available @AFADoomer @Talon1024 can help here more.

@Tormentor667
Copy link
Collaborator

As nothing is happening here, what about adding a note to the launcher @mgrinzPlayer that says "Combining various different addons might result in a crash, play at your own risk but feel free to report it at https://github.com/Realm667/WolfenDoom/issues" or something like that?

@Tormentor667 Tormentor667 changed the title [Addons] Fatal error on multiple add-ons [ADDONS] Fatal error on multiple add-ons Feb 5, 2022
@Username-N00b-is-not-available Username-N00b-is-not-available transferred this issue from Realm667/WolfenDoom Apr 22, 2023
@Username-N00b-is-not-available
Copy link
Collaborator

I have transferred the addon-specific issues we currently have to the addon repository.

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

No branches or pull requests

5 participants