intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Dec 15, 2018 7:48 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Oct 19, 2018 2:41 pm 
Offline

Joined: Thu Jun 28, 2018 4:13 am
Posts: 24
I was playing through part of the game I'm working on, and every time I try to take a particular thing I trigger a fatal glulxe error. It says that the memory stack is exhausted and I get this - "Glulxe fatal error: Stack overflow in function call". It was functioning just fine before, and it happens regardless of what I've done in the game before this point. Could someone tell me what I may have done to cause this and how I might fix it?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 2:43 pm 
Offline

Joined: Tue Jan 22, 2008 5:55 am
Posts: 1416
Location: The Netherlands
There are other people here who are probably much more capable of helping you, but the first thing that comes to my mind is that your game goes into an infinite loop. Are you perhaps making a check in the code triggered by this action that calls itself and hence keeps repeating?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 3:23 pm 
Offline

Joined: Thu Jun 28, 2018 4:13 am
Posts: 24
I don't think so? I'm looking through my code, and I'm not seeing how something like that could've happened. And the only new code I've written for this particular thing since it was working fine was a line in a scene change moving it nowhere later in the game. And performing that action on other things in the game doesn't cause any problems. It's just taking the rooster.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 3:28 pm 
Offline

Joined: Thu Jun 28, 2018 4:13 am
Posts: 24
Or playing the rooster.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 3:31 pm 
Offline

Joined: Tue Jan 22, 2008 5:55 am
Posts: 1416
Location: The Netherlands
Harkness wrote:
And the only new code I've written for this particular thing since it was working fine was a line in a scene change moving it nowhere later in the game.

Does the game work well if you remove this last change? If so, it must be caused by it, however innocuous it seems. Perhaps you can post it, with some surrounding code?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 3:49 pm 
Offline

Joined: Thu Jun 28, 2018 4:13 am
Posts: 24
Okay, I got it. It was looping. I turned on the actions listing, and there was something happening that I didn't realize was happening.
Oops. Thank you. :)


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 19, 2018 4:09 pm 
Offline

Joined: Tue Jan 22, 2008 5:55 am
Posts: 1416
Location: The Netherlands
Glad to have been of assistance. If only in a minimal way. ;-)


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group