Home News Features Games Authoring Community Forums About Contact
   

May 18, 2013, 11:37:27 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Bug concerning "Out Of Order"  (Read 2081 times)
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« on: January 24, 2010, 06:54:35 AM »

Hi,

I have found another bug in the engine that makes it impossible to finish "Out Of Order".

When you punch Thrid (near the end of the game), the corresponding sound is not found and the game crashes. I have tested this on 64 and 32 bit Linux and with wine and the Windows version of the 2.0 engine. If someone wants to test it, I can send him the savegame. I tried to attach it here, but there where too many restrictions for filesize and format.

The problem is, we don't know for sure if this is a bug in the game or in the engine. I can't test this with an old version of the engine (the one that is shipped with OOO), because it can't load the 2.0 savegame and I don't want to play through the whole game again. I think that someone should have noticed if the game is not finishable, though. Does anybody still have some pre-2.0 OOO-savegames and can test this?

Regards, BigMc
« Last Edit: January 24, 2010, 06:56:33 AM by BigMc » Logged
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Online Online

Gender: Male
Posts: 1161



WWW
« Reply #1 on: January 24, 2010, 07:08:36 AM »

Please mail me the savegame. I want to look into this.
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Online Online

Gender: Male
Posts: 1161



WWW
« Reply #2 on: January 24, 2010, 07:48:11 AM »

The sound doesn't crash SLUDGE on my MacBook, and my Windows computer plays it fine, too.

I do remember having heard about this happening before, on the 1.x engine that comes with the game (it's an old one, where the engine still uses FMOD, so it's not even BASS-related), but I don't remember the details. Searching the Hungry Software site finds posts where people have that problem. At least one of those mention running through Wine, but that doesn't mean that this is necessarily a Linux-only error.

That particular sound uses some unusual sample format (it's the frequency IIRC) that can't be played under some circumstances. If those circumstances depend on hardware or if it's something to do with Linux or a combination of both, I don't know.

I think the solution should be to not treat those errors as fatal and simply let the game continue to run (ignoring the offending sound), but give a warning so that game developers know what's going on if it happens to them so that they can fix it. A box labeled "Non-fatal error" or something. Should I add the fix, or are you already working on it?
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #3 on: January 24, 2010, 07:50:43 AM »

Go ahead, I don't even know where and how to fix it.
Logged
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Online Online

Gender: Male
Posts: 1161



WWW
« Reply #4 on: January 24, 2010, 07:52:07 AM »

I know just where it comes from, so it should be an easy fix.
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Online Online

Gender: Male
Posts: 1161



WWW
« Reply #5 on: January 24, 2010, 07:55:01 AM »

Just to make sure I'm not barking up the wrong tree, the error message you got (saved in fatal.txt) was "I can't load a sound resource I've been told to play. Sorry.", right?
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Online Online

Gender: Male
Posts: 1161



WWW
« Reply #6 on: January 24, 2010, 08:11:51 AM »

The fix is now in SVN. Let me know if it works.
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #7 on: January 24, 2010, 08:54:01 AM »

The message I got before was

Code:
SLUDGE v2.0 BETA fatal error!
There's an error with this SLUDGE game! If you're designing this game, please turn on verbose error messages in the project manager and recompile. If not, please contact the author saying where and how this problem occured.

I can't load a sound resource I've been told to play. Sorry.

Now it still crashes, but with this message:

Code:
SLUDGE v2.0 BETA non-fatal indigestion report
I can't load a sound resource I've been told to play. Sorry.
WARNING: child-process was ended by signal 11

Where I translated the last line from german.

EDIT: I looked it up and signal 11 should mean there's a segmentation fault.
« Last Edit: January 24, 2010, 09:00:07 AM by BigMc » Logged
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Online Online

Gender: Male
Posts: 1161



WWW
« Reply #8 on: January 24, 2010, 09:03:35 AM »

Ah. That means that I was on the right track, but the fix wasn't quite that easy. More checks need to be added.
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Online Online

Gender: Male
Posts: 1161



WWW
« Reply #9 on: January 24, 2010, 10:02:02 AM »

Now it should work. I've tested it by trying to play a text file as a sound, and got the warning but then things seemed to be ok anyway.
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #10 on: January 24, 2010, 10:09:33 AM »

Yeah, it works! I even get two sounds: One electric crizzling and then Hurfords slamming against the wall. Do you hear something more?
Logged
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Online Online

Gender: Male
Posts: 1161



WWW
« Reply #11 on: January 24, 2010, 10:20:21 AM »

Haha! Die, bugs, die!

There is a punching sound first, that's apparently the trouble-maker.
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #12 on: January 24, 2010, 10:24:10 AM »

A punching sound? That's unrealistic there anyway. Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
 
Unauthorised reproduction of anything on this website is not allowed without our written consent.
Materials on this site are the property of their respective owners. Copyright © Adventure Developers. All rights reserved.