please help me.
Forum
CS2D General Exception_Stack_Overflowplease help me.
Fail
EngiN33R has written
If he were trying to run an endless loop he'd get a stack overflow in console as a Lua error. He must have done something extraordinary to get a C stack error.
extraordinary?
I only create my new map
Mark Crimson has written
extraordinary?
I only create my new map
I only create my new map
To much explosions maybe ?
Maybe it was cs2d bug?
What the hell with it?
Maybe i shall update opengl or directix?
please help
edited 2×, last 05.01.12 10:23:52 am
I don't know why you get this error.
and extract it on desktop with foldername: CS2D 2
DannyDeth has written
If it is EXCEPTION_STACK_OVERFLOW it is an exception thrown by BMax when a stack is... well, obviously, overflowing. This is not a Lua error, guys.
hmm odd because I have gotten one from lua
I don't have a clue what's wrong when it happens directly after starting the exe file.
It might be Lua or a strange map if it happens later.
Dude, look, I will explain to you exactly the difference between your error and this error.
In a programming language, in order to pass values from one function to another, it has to keep a stack. A stack overflow is when you put too much data onto the stack, for instance if I have a recursive function such as this:
1
2
3
2
3
int spamzor(){ 	return spamzor(); }
Now, in Lua, this can be caused by passing large tables, as you said. However, a stack overflow in Lua will NOT cause the screen to go black and crash CS2D because of the amazing guys who made it. Next, the error wouldn't be EXCEPTION_STACK_OVERFLOW, because these little windows pop up when BMax encounters a situation it cannot fix. The reason the screen goes black is because of BMax's drawing functions needing the data passed to them on the stack, when the stack has been FUBAR'd.
Hopefully that will clear the problem in your mind a bit. ( BTW! I don't mean this as an insult, don't take it in the wrong context! )
edited 2×, last 05.01.12 01:26:49 pm
this is NOT the topic of this thread though. there's someone having a problem. please focus on solving the problem.