Thread: Ambermoon
View Single Post
Old 01 April 2009, 08:38   #174
st-th
Bad Taste Development
st-th's Avatar
 
Join Date: Jul 2008
Location: Bonn / Germany
Age: 46
Posts: 48
It may sound funny, but all those corrupted text files are not the real problem. Sure, they are the most obvious "in your face" bugs, crashing the game to boot, but they can be properly fixed eventually. I have some ideas about it and when they work out, it will actually be rather trivial.

However, the real problem are code bugs. To give you an idea, here are a few small ones I've fixed:

- Calling graphics.library's VideoControl() function with a messed-up pointer argument. This affects every system running OS 3.0 or newer and could result in sprite display errors during and after the game.

- Testing the result of dos.library's Open() function with a wrong conditional branch with the result that every failure to open a file is treated as success followed by subsequent accesses to an illegal file handle.

- A major logic bug in handling a status flag which could result in messing up internal structures.

- Not restoring pr_WindowPtr to its original value under certain circumstances which will crash the system the moment dos.library wants to display a requester.

And the list goes on and on... The game opens libraries and uses them without checking for open failure. It has memory leaks under certain circumstances. It even has classic buffer overrun bugs (try inputting all words from the game's dictionary at a riddlemouth).

Seriously, the code is actually quite bad. Every time you look at it you find more bugs. My "to do" list has over 3 dozen things to fix so far. As I said, it will take some time before thinking about releasing anything is even an option.
st-th is offline  
 
Page generated in 0.08054 seconds with 9 queries