[0.8.0_beta-152-g5b6aa372e] Shadow Warrior Bugs

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49192
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.8.0_beta-152-g5b6aa372e] Shadow Warrior Bugs

Post by Graf Zahl »

Whyt did you do to trigger this?
User avatar
Xtyfe
Posts: 1490
Joined: Fri Dec 14, 2007 6:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [0.8.0_beta-152-g5b6aa372e] Shadow Warrior Bugs

Post by Xtyfe »

That is a really good question, but I don't exactly have an answer. From my perspective, I simply started playing Twin Dragon and Wanton Destruction in Raze and these things just started happening consistently.
I don't know if it's my play environment, the choices I made during play, my inputs from my mouse and keyboard. What's weirder for me is the fact that I somehow made it stop today while I was trying to get it to trigger for a saved game. I don't know how I made that happen either.

The duct tape holding the build engine together seems to be peeling off a bit for me :D
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49192
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.8.0_beta-152-g5b6aa372e] Shadow Warrior Bugs

Post by Graf Zahl »

Xtyfe wrote: The duct tape holding the build engine together seems to be peeling off a bit for me :D
That's why "Raze" isn't called "Build"... :twisted:
Guest

Re: [0.8.0_beta-152-g5b6aa372e] Shadow Warrior Bugs

Post by Guest »

Bugs being solved by a fresh install sounds familiar.
@Xtyfe can you tell me a specific spot and steps leading to repeated triggers? Assuming I have a bugged install I will try to reproduce it.

And I think I might have a bugged install because In Twin Dragons first map doors are opening and closing multiple times after being opened for the first time. I'm not 100% sure but I don't remember that happening in v0.7. On a different note I tried a user map recently which had a repeating gong sound. I assumed a map error but now I wonder if it's related to this report.
In the mean time here's a save from the TD map1 gong room with the suspicious doors: https://filebin.net/hl5ml2t8qom24gxl
markanini
Posts: 210
Joined: Sat Jan 18, 2020 6:10 am

Re: [0.8.0_beta-152-g5b6aa372e] Shadow Warrior Bugs

Post by markanini »

Forgot to log in...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49192
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.8.0_beta-152-g5b6aa372e] Shadow Warrior Bugs

Post by Graf Zahl »

That's the same effect from the other savegame for the first map of the original game.
From looking at the code I have a suspicion - the door movement code uses the old interpolation coordinates inappropriately - but that stuff got refactored recently so this may have some side effects.

It's perfectly reproducable if you save while the door is open. Once the game is reloaded it starts to get mad.
Will be a bit tricky to fix because the change is rather extensive.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49192
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.8.0_beta-152-g5b6aa372e] Shadow Warrior Bugs

Post by Graf Zahl »

Fixed the door bug so this can be closed now.
User avatar
Xtyfe
Posts: 1490
Joined: Fri Dec 14, 2007 6:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [0.8.0_beta-152-g5b6aa372e] Shadow Warrior Bugs

Post by Xtyfe »

Graf Zahl wrote:That's the same effect from the other savegame for the first map of the original game.
From looking at the code I have a suspicion - the door movement code uses the old interpolation coordinates inappropriately - but that stuff got refactored recently so this may have some side effects.

It's perfectly reproducable if you save while the door is open. Once the game is reloaded it starts to get mad.
Will be a bit tricky to fix because the change is rather extensive.
Was it really that simple to break? Of course it was! This is build I guess. :roll:
Glad it wasn't too complicated to track down.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49192
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.8.0_beta-152-g5b6aa372e] Shadow Warrior Bugs

Post by Graf Zahl »

This wasn't Build, this was just some unexpected use of interpolation variables.
The ultimate cause of the error was that the old variable was written out to a save game while the new one wasn't, because none of the other games needed it.

Return to “Closed Bugs [Raze]”