• Doors sandbox mode..

    From Shane O'Neill@1:305/3 to All on Fri Jul 23 16:31:39 2021
    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)
  • From Digital Man@1:103/705 to Shane O'Neill on Fri Jul 23 20:52:51 2021
    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.2øF, 80.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Marisag@1:103/705 to Shane O'Neill on Fri Jul 23 21:25:32 2021
    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
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Shane O'Neill@1:305/3 to Digital Man on Sat Jul 24 13:38:12 2021
    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)
  • From Shane O'Neill@1:305/3 to Marisag on Sat Jul 24 13:42:04 2021
    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)
  • From Marisag@1:103/705 to Shane O'Neill on Sun Jul 25 12:39:56 2021
    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
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Shane O'Neill@1:305/3 to Marisag on Sun Jul 25 20:12:50 2021
    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)
  • From Tracker1@1:103/705 to Shane O'Neill on Sun Sep 5 10:51:22 2021
    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
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)