Crashing when throwing barrels

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
dademargot
Posts: 23
Joined: Mon Mar 11, 2019 11:05 am

Crashing when throwing barrels

Post by dademargot »

Hi guys,

I am not sure what the vm execution error means but it was working fine till a couple of weeks ago. All I did was change few video settings and voilà now I can't throw barrels anymore or picking up the power ups that transform you into a baron of hell or a revenant without crashing the game every single time. I am running project brutality 3.0 with gzdoom 3.7.2.

Any help?

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49194
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Crashing when throwing barrels

Post by Graf Zahl »

Please post your code. It's a scripting error that wasn't detected in older versions but to point you to a fix we need to see what you did.
dademargot
Posts: 23
Joined: Mon Mar 11, 2019 11:05 am

Re: Crashing when throwing barrels

Post by dademargot »

I am sorry I don't know how to do that .. can you tell me how to post my code?
User avatar
Apeirogon
Posts: 1606
Joined: Mon Jun 12, 2017 12:57 am

Re: Crashing when throwing barrels

Post by Apeirogon »

Know error for PB.
Barrel was made as usable actors, and some specific monsters, which after pressing use o it give to player weapon "barrel/zombieman/etc.man thrower", which, obviously, throw barrel/etc.man after being used for attack.
After throwing weapons take itself from the player inventory, and then in next state try to a_lower() self, which lead to gzdoom BSOD.
Note that this is become crash after PB step on the zscript rails. In decorate it was ok, AFAIK.
dademargot
Posts: 23
Joined: Mon Mar 11, 2019 11:05 am

Re: Crashing when throwing barrels

Post by dademargot »

strange thing is that I could throw barrels no problem (toxic or fire) until a couple of weeks ago, also demonic morph rune were working, now it crashes every single time
User avatar
Apeirogon
Posts: 1606
Joined: Mon Jun 12, 2017 12:57 am

Re: Crashing when throwing barrels

Post by Apeirogon »

"Used" picked barrel and barrel picked by punching it by bare hands is two different weapons.
dademargot
Posts: 23
Joined: Mon Mar 11, 2019 11:05 am

Re: Crashing when throwing barrels

Post by dademargot »

During berserk I pick up a barrel, hold in my hand, throw it in the air at distant enemies, upon impact the game crashes, not sure if that's what you meant but this is what I am experiencing right now
User avatar
Apeirogon
Posts: 1606
Joined: Mon Jun 12, 2017 12:57 am

Re: Crashing when throwing barrels

Post by Apeirogon »

Try this one, choose fists, give to self berserk, summon explosive barrel and punch it with fist. You pick it.
Press fire key and doom guy throw barrel without any crash.
dademargot
Posts: 23
Joined: Mon Mar 11, 2019 11:05 am

Re: Crashing when throwing barrels

Post by dademargot »

Whit fists it works, it's "use" that triggers the crash

Return to “Technical Issues”