Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to Mystic BBS <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
nathanael culver | Shane O'Neill | Re: Save game per user for Infocom type games as doors |
April 24, 2019 10:05 PM * |
|||
SO> Is there a SIMPLE way to make mystic/netfoss save a users game as a SO> unique file or in a unique folder for each user so they don't over write My system runs on a Raspberry Pi, so a bit different, but maybe it'll give you some ideas. I keep all the infocom .DAT files in doors/infocom, and have a general save folder at doors/infocom/save. I have a script which creates a unique folder from the user's ID number, then inside that user's folder a directory with the game name. So if the user has user ID 27: doors/infocom/save/27/zork1 doors/infocom/save/27/enchanter and so on. Here's my menu command for Zork 1: (DD) Exec external program \mystic\doors\infocom\infocom "%#" "zork1" and my bash script: #!/bin/bash trap '' 2 homedir=/mystic/doors/infocom savedir=$homedir/save/$1/$2 ; $1 = user's ID, $2 = game code ("zork1" game=$homedir/$2.dat mkdir -p $savedir cd $savedir frotz -w 80 -l 1 -r 2 -x $game exit --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32) * Origin: *HUMONGOUS* BBS (jenandcal.familyds.org:2323) (3:712/886) |
||||||
|
Previous Message | Next Message | Back to Mystic BBS <-- <--- | Return to Home Page |
Execution Time: 0.0791 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |