intfiction.org

The Interactive Fiction Community Forum
It is currently Tue Jan 15, 2019 9:57 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Tue Nov 27, 2018 4:49 pm 
Offline
User avatar

Joined: Thu Aug 22, 2013 2:48 pm
Posts: 123
Spike, in addition to trying to get the bug tracked down and fixed (which is great), I would do the following if I were you:

When the game starts, make sure to silently convert the minimum integer into a string.

This way, if the player uses an interpreter that is susceptible to the crash, they will find out about it immediately. It prevents the unfortunate situation where a player has completed a large portion of the game, only to have it crash and potentially leave them with save files that cannot be used with another interpreter, or even later versions of the same interpreter.

_________________
Dialog. Tethered.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Nov 27, 2018 6:08 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5880
Glulx save files should be portable across interpreters these days. ("These days" meaning, well, always as far as I know.)


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Nov 27, 2018 6:14 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5880
Also, I don't generally recommend adjusting a game file to account for interpreter bugs. You fix the bug.

We haven't diagnosed this crash yet. We don't know if it's consistent. It might not happen at the start of a game, or in the context of silently converting an integer. We don't even know if it has anything to do with printing.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Nov 28, 2018 12:24 am 
Offline
User avatar

Joined: Thu Aug 22, 2013 2:48 pm
Posts: 123
zarf wrote:
Also, I don't generally recommend adjusting a game file to account for interpreter bugs. You fix the bug.


Hence “in addition to”. Surely there's no harm in doing both.

But I should emphasize, perhaps, that my particular suggestion doesn't involve hiding the bug. The idea is to (potentially) expose the bug earlier in the game, so that more people will realize, in time, that they ought to upgrade their interpreter.

Good thing about save-file compatibility! I had not realized that it was practically universal for glulx.

_________________
Dialog. Tethered.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 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