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

[BUG] [Indestructible] VM Abort on Changemap #2

Open
mattbratt11 opened this issue Aug 14, 2022 · 8 comments
Open

[BUG] [Indestructible] VM Abort on Changemap #2

mattbratt11 opened this issue Aug 14, 2022 · 8 comments

Comments

@mattbratt11
Copy link

mattbratt11 commented Aug 14, 2022

Screenshot_Doom_20220814_155109
I used Indestructible 0.2.3 after Guns Bonsai 0.9.0 in load order for GZDoom 4.8.2.
The Crash happened at the start of the following map after exiting from the previous map.
Every time I use the changemap CCMD onto any map, this crash is also guaranteed.

@ToxicFrog
Copy link
Owner

What other mods do you have loaded? The error implies that it's properly finding the lives item on level start, but on the next tic it's been removed from the player's inventory. I can't reproduce it here.

@mattbratt11
Copy link
Author

What other mods do you have loaded? The error implies that it's properly finding the lives item on level start, but on the next tic it's been removed from the player's inventory. I can't reproduce it here.

I did not use any other mod but Tooltip, Guns Bonsai, and Indestructible in the load order.

@ToxicFrog
Copy link
Owner

It looks like you at least have Zabor installed as well; what else, if anything?

@mattbratt11
Copy link
Author

mattbratt11 commented Sep 1, 2022

I used 2 mods from m8f's Doctor's Bag at the very end of the load order.
And just in case, I have my load order list for ZDL posted here in text if you want to see it.

  • libtooltipmenu-0.2.1.pk3
  • GunsBonsai-0.9.1.pk3
  • Indestructible-0.2.3.pk3
  • mod-menu-v1.1.0.pk3
  • mod-compatibility-checklist-v1.0.2.pk3
  • zabor-v1.1.0.pk3

The bug still happened. And to prove it, I've uploaded both crashreport.txt and a screenshot for full proof.
Screenshot_Doom_20220831_204027
crashreport.txt
after almost a year, this bug even happened on stable GZDoom v4.10.0 and onwards.
I think it has something to do with A_Log and/or A_Print or something like that.

@mattbratt11
Copy link
Author

In case I couldn't find a PM to contact ToxicFrog, I might as well post again if that's okay.
It's been a long time since the last post, but no one replied.
Any help?

@ToxicFrog
Copy link
Owner

Sorry I lost track of this, but I also still can't figure out how to trigger it on my end, which makes fixing it kind of tricky.

The stack trace implies that it's crashing when it goes to display the "you have [n] new lives" message on level entry. Specifically, that when it does that, the item that holds the extra life counter still exists but is no longer held by the player.

I could add a check for this that gracefully self-destructs it, but this would likely just result in situations where Indestructable silently stops working instead of crashing outright, and I'd rather get to the bottom of this and fix it properly.

I'm also suspicious of the [ERROR] Mod Compatibility Checklist: PlayerSpawned: Player has no weapons message. I'd normally only expect to see that if you were playing with Universal Pistol Start or something else that empties the player's inventory on level transition. I suspect that whatever is causing that is going to turn out to be whatever's triggering this bug in Indestructable.

So, more information gathering:

  • does this still happen with the most recent versions of Indestructable and Gun Bonsai?
  • does it happen if you remove Gun Bonsai?
  • does it happen if you remove every other mod except Indestructable?
  • does it happen on every level change, or only some?
  • if the latter, can you trigger it reliably (by entering a certain level, carrying a certain weapon, using certain settings, etc) or is it seemingly random?

@mattbratt11
Copy link
Author

I've played the recent version of GZDoom (v4.11.3) using Indestructible and no other mod.
The bug still happened on every level change no matter what I did, including a regular exit as usual.
I triggered it by exiting the first map, transitioning to enter the next map, thus failing to enter it by a guaranteed crash.
Maybe it has something to do with the indestructable.ZSC file in lines 36, 52, and 64.
BTW, is there a reason you misspelled Indestructible?

@ToxicFrog
Copy link
Owner

No reason, I just blithely assumed it ended with -able like most things do. Apparently it does not! How annoying.

Anyways. I still can't reproduce this; please (a) make sure you are using the latest version of the mod and then (b) post the stack trace.

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

No branches or pull requests

2 participants