Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ error message

Status
Not open for further replies.

barbatruuk

Technical User
Jun 25, 2003
3
NL
Hi there,

I get an error message in a game (Severance: Blade of Darkness) when I try to play the game.
It happens as soon as I touch a key on the keyboard.
When I'm using the mouse everything is ok.

here is the error:


I'm using Windows XP Pro

system: AMD XP 1800+, Connect 3D Radeon 9500, 512mb RAM.
drivers: DirectX 9, Catalyst 3.5

What does the error mean and what can I do to fix it?
 
It is a bug.

Inform the developers/company that make the game and pray that they'll fix it.




Nerdy signatures are as lame as the inconsistent stardates of STTNG.
 
Thank you for the reply PerFnurt.

Are you really sure it's a bug and that it can't be fixed by changing settings (for example)?

Is this caused by the configuration of my system or something else?

Thanks again!
 
Even though I never seen the game myself am I 100% certin it is a bug, since it is an assertion failure.

Assertions are stuff developers put in their code to detect logical errors (aka bugs) of their code.

Hence a failed assertion = A detected bug.

Of course developers could put in assertions erroneously ie failing on what is actually a valid situation (but that should have some proper error handling instead) or assertions on stuff they don't control (like assert on on that a certain file must exist), but in that case the assertion itself is the bug.

Any way you look at it: A failed assertion = A bug.


Nerdy signatures are as lame as the inconsistent stardates of STTNG.
 
That's doubtful. Even if you could, that wouldn't be a C++ problem. The only way people on a C++ forum could help you is if you had the source code to your game (preferably in C++).
 
chipperMDW: Oh, its C++ alright. (File: C:\code\Entities\BipedEntity.cpp Line: 3808)

:)


Nerdy signatures are as lame as the inconsistent stardates of STTNG.
 
Thanks again for the replies :)

The game I'm talking about is Severance: Blade of Darkness.
It was made by RebelAct Studios.
The sad thing is, although the game is fantastic, it didn't sell very well. So RebelAct Studios is no more and they can't help us.
The only thing that can help us is the source code and the big problem is they still haven't released the source code to the public :-(
 
Typically, a C++ programmer will place assert statements in programs to test for certain conditions.

If the test returns True,
execution continues uninterupted.
else if the test returns False,
info about the error is displayed and terminate is called.

Before deployment, the programmer should add a
#define NDEBUG
statement to the program.. This will cause all assert statements to be ignored. Note that the programmer should employ try-catch blocks to process and handle exceptions that may happen during program execution. The logic in the handler will decide if the error is minor such that it is logged for further investigation, or that the error is FATAL such that the error is logged, and terminate is called.

What should you do? ... Contact the author of the program, and request that they fix it!

Good Luck,

Norm
 
PerFnurt,

My "That's doubtful and not a C++ problem" post was in response to barbatruuk's question about changing system configuration, not your description of assert.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top