[minimod][v0.7.2] Gearbox - weapon/inventory handling

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by m8f »

mamaluigisbagel wrote:Do you have freeze player & enemies on? I noticed once I turned freezing off entirely, the item wheel worked.
Aha! It was a bug, indeed.

v0.5.1 - bugfix release. Changelog since v0.5.0:

- wheel: fixed wrong hands length;
- general: fixed using inventory items when player is frozen.
User avatar
mamaluigisbagel
Posts: 521
Joined: Wed Jul 09, 2014 7:25 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by mamaluigisbagel »

I'm sorry to report that I had another VM abort, I believe. Got this playing with Q4LFMDE. (Quake 4 Lightning Fast Mod Doom Edition)
You do not have the required permissions to view the files attached to this post.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by m8f »

Can you please try dev build and let me know if it still happens?
User avatar
mamaluigisbagel
Posts: 521
Joined: Wed Jul 09, 2014 7:25 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by mamaluigisbagel »

I didn't think to try the dev build, but so far the dev build runs fine. My mistake. Will post if it happens again, though.
User avatar
mamaluigisbagel
Posts: 521
Joined: Wed Jul 09, 2014 7:25 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by mamaluigisbagel »

just got another VM Abort using the dev build while playing Hellrider v0.9c. Its the same situation as before: I fire at an enemy, and the game crashes with this.
You do not have the required permissions to view the files attached to this post.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by m8f »

It's very unfortunate that the top of the error got cut off, crucial information was there. What I can gather is Mikk- Critical Shots is in call trace, but with so little information I cannot tell if it's a bug in Critical Shots or not. Also I see Corruption Cards loaded, which adds another level of uncertainty to this error.

It would be great if you could catch this again and post the top of the call trace. Also, can you please tell what the enemy was, and what Corruption Cards were active?
User avatar
mamaluigisbagel
Posts: 521
Joined: Wed Jul 09, 2014 7:25 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by mamaluigisbagel »

if I remember right, the line that cut off was the one that said it was a VM Abort, but I could be wrong. I'll try to catch it again. Maybe I'll DM you next time if I need to instead of double posting. I don't feel comfortable double posting so much :P

I wish there was a way to export the log into a text file or something, because these crashes are often VERY long.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by m8f »

Add this to GZDoom command line parameters:

Code: Select all

+logfile log.txt
User avatar
mamaluigisbagel
Posts: 521
Joined: Wed Jul 09, 2014 7:25 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by mamaluigisbagel »

I'll use that if I get any long errors again.

It took long enough, but I finally got that crash again. No Corruption Cards this time.
Spoiler:
It sounds like it could be the Intelligent Supplies mod, but I'm not a modder :P
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by m8f »

The error makes no sense to me, honestly. What I can see, is that you fired a gun (Q4Machinegun, but it doesn't really matter) and stunned an enemy. Stunning is provided by Mikk-'s Critical Shots. Then, for some reason, giving a monster "csh_JustStunned" (Critical Shots helper class) inventory item mysteriously fails. The error happens on the line where all objects are checked to be not NULL beforehand, so from my point of view, this error just cannot happen here! But somehow it happens. I tried to see if Intelligent Supplies interferes with giving a monster inventory item. However, I cannot see how it can cause an error.

Maybe Zhs2 has some ideas? I don't say that the error is caused by Intelligent Supplies (I see no evidence of that), just maybe Zhs2's experience will help here.

By the way, I'm almost sure Gearbox has nothing to do with this error. Gearbox VM abort handler - Zabor - would pop up at any VM abort, it just provides additional debug information.
User avatar
mamaluigisbagel
Posts: 521
Joined: Wed Jul 09, 2014 7:25 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by mamaluigisbagel »

Ah gotcha. For some reason, I figured the opposite where Zabor meant it was Gearbox related. I'll mess around removing mods one at a time and see if I can figure it out myself.

btw I might as well ask this. I don't know if this would go with Gearbox or Gizmos, but I liked the keybinds in WeaponMenu that would mark a weapon that you could then press another key to swap to. I guess its kind of a very specific situational keybind, but it was nice to have for mods like HXRTC Project. Any chance it'll get added to one of the two? I don't mind going without it since I can just freeze time with Gearbox, but I also like to play without time freezing and that's where that keybind would come in handy. The "fire marked weapon" key was also pretty useful, but I'd imagine really buggy.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by m8f »

These Weapon Menu keybinds - kind of planned for the next version. Not sure if I can implement "fire marked weapon" in a robust way.

Edit - by the way - what was the monster that causes the abort when shot?
User avatar
mamaluigisbagel
Posts: 521
Joined: Wed Jul 09, 2014 7:25 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by mamaluigisbagel »

If I remember right, it was the mod's replacement for the Pinky Demon (the Quake 4 Mutant, in that case)
User avatar
Lippeth
Posts: 293
Joined: Wed Apr 24, 2013 1:41 am
Location: Lost Angeles

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by Lippeth »

I seem to have stumbled onto a minor issue with fireballs in Hexen. If Freeze is selected, fireballs that spawn in a level will continue to spawn when frozen, though they do freeze once they're spawned, so that when the menu is deselected they all continue at once.

I captured a video, but keep in mind that I removed the circle graphic while experimenting with other things and use a 1.2 pixel ratio for text and menus, so it looks a little warped, but nothing else has been altered.
Image

I love the newest update by the way!
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v0.5.1] Gearbox - weapon/inventory handling

Post by m8f »

Fireballs seem to be spawned by map scripts, and I cannot freeze those.

Edit: I've been told that it's actually possible to suspend map scripts, but I think it's better not to mess with them to avoid possible bugs.

Return to “Gameplay Mods”