• Doors sandbox mode..

    From Shane O'Neill@VERT to All on Friday, July 23, 2021 16:31:39
    I got my infocom games working for the most part with DOORWAY under
    synchronet so that is a step forward for me.

    Now I want to setup a sandbox type environment for each infocom game so when a user saves the game they are playing the data is stored in their own user folder. So the next time they play they can load that saved game and not someone else's.

    The way I did this under Mystic was with a big batch file that read in some
    BBS variables passed along in the games menu command. The batch file then created a game folder for that user number and copied the game there so when they saved it was saved in their sandbox game folder. the folder would stay in place so next time they logged on if it saw the folder already there it knew not to create it and copy the game but instead play the game from there and also their data from the saved game was there too, so they could recover a game.

    My whole Mystic setup is based on Maskreet's door.bat "A how-to on getting DOSBox to work with Mystic BBS". How ever recreating this file for
    Synchronet is a complete fail for me so far. I am seeing no way that I can find to first off pass along some of the user variables from the BBS to the
    bat file like I did in mystic.

    So big question, can anyone point me in a direction to accomplish this in Synchronet? I want the users to be able to save their game data and be able
    to load their saved games down the road like I can with Mystic.

    Thanks and hope this makes some sense.

    --- Mystic BBS v1.12 A46 2020/03/02 (Windows/32)
    * Origin: 8-Bit Boyz BBS! -=[ bbs.8bitboyz.com port:6502 ]=- (1:305/3)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Shane O'Neill on Friday, July 23, 2021 20:52:51
    Re: Doors sandbox mode..
    By: Shane O'Neill to All on Fri Jul 23 2021 04:31 pm

    So big question, can anyone point me in a direction to accomplish this in Synchronet? I want the users to be able to save their game data and be able to load their saved games down the road like I can with Mystic.

    Thanks and hope this makes some sense.

    The obvious way to pass data from Synchronet to a batch file is via command-line parameters:
    https://wiki.synchro.net/config:cmdline

    There's also environment variables set by Synchronet before executing external programs which could be used in a batch file:
    https://wiki.synchro.net/config:env#automatic
    --
    digital man

    Synchronet/BBS Terminology Definition #84:
    TTY = Teletype (dumb terminal)
    Norco, CA WX: 70.2F, 80.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Marisag@VERT/MYMAC to Shane O'Neill on Friday, July 23, 2021 21:25:32
    Re: Doors sandbox mode..
    By: Shane O'Neill to All on Fri Jul 23 2021 04:31 pm

    My frotz engine does that. What infocom engine are you using?

    Marisa

    ---
    Synchronet Sent from the Classic Mac BBS
  • From Shane O'Neill@VERT to Digital Man on Saturday, July 24, 2021 13:38:12
    On 23 Jul 2021, Digital Man said the following...

    The obvious way to pass data from Synchronet to a batch file is via command-line parameters:
    https://wiki.synchro.net/config:cmdline

    After many hours of trying the data started to pass through the Command-Line Parameters. Dunno really what changed but it started working.

    There's also environment variables set by Synchronet before executing external programs which could be used in a batch file: https://wiki.synchro.net/config:env#automatic

    I also tried this the the variables I was testing did not all show data, I
    will revisit this for future projects but for now command-line passing of
    data is working for my task.

    Thanks for the links!!

    --- Mystic BBS v1.12 A46 2020/03/02 (Windows/32)
    * Origin: 8-Bit Boyz BBS! -=[ bbs.8bitboyz.com port:6502 ]=- (1:305/3)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Shane O'Neill@VERT to Marisag on Saturday, July 24, 2021 13:42:04
    On 23 Jul 2021, Marisag said the following...

    My frotz engine does that. What infocom engine are you using?

    The infocom engines I am not sure the exact versions off the top of my head
    but I do know they are early.

    Funny you mention Frotz, last night I tried to get my frotz engine to work
    and it would display the game just fine on the BBS Host side but on the user side it showed nothing. I tried it using the latest NetFoss, no luck. Tried
    it using DoorWay, no luck. Even tried it with out NetFoss and DoorWay as the infocom .com files work with out them but not Frotz.

    Could I ask you, what commands/syntax should I be using to execute Frotz to show on the Caller side?

    Thanks!
    --- Mystic BBS v1.12 A46 2020/03/02 (Windows/32)
    * Origin: 8-Bit Boyz BBS! -=[ bbs.8bitboyz.com port:6502 ]=- (1:305/3)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Marisag@VERT/MYMAC to Shane O'Neill on Sunday, July 25, 2021 12:39:56
    Re: Re: Doors sandbox mode..
    By: Shane O'Neill to Marisag on Sat Jul 24 2021 01:42 pm

    Could I ask you, what commands/syntax should I be using to execute Frotz to show on the Caller side?

    Email me at fstltna@yahoo.com and I can send you the screenshot of one of my infocom games...

    Marisa

    ---
    Synchronet Sent from the Classic Mac BBS
  • From Shane O'Neill@VERT to Marisag on Sunday, July 25, 2021 20:12:50
    On 25 Jul 2021, Marisag said the following...

    Email me at fstltna@yahoo.com and I can send you the screenshot of one
    of my infocom games...

    Thank, and done! ;)

    --- Mystic BBS v1.12 A46 2020/03/02 (Windows/32)
    * Origin: 8-Bit Boyz BBS! -=[ bbs.8bitboyz.com port:6502 ]=- (1:305/3)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Tracker1@VERT/TRN to Shane O'Neill on Sunday, September 05, 2021 10:51:22
    On 7/23/2021 3:31 PM, Shane O'Neill wrote:
    I got my infocom games working for the most part with DOORWAY under synchronet so that is a step forward for me.

    Now I want to setup a sandbox type environment for each infocom game so when a
    user saves the game they are playing the data is stored in their own user folder. So the next time they play they can load that saved game and not someone else's.

    LOL, I guess disregard my previous message... I'm guessing this is
    already answered and working for you by the time I get through more
    recent messages.
    --
    Michael J. Ryan - tracker1@roughneckbbs.com

    ---
    Synchronet Roughneck BBS - roughneckbbs.com