• Doors sandbox mode..

    From Shane O'Neill@1:305/3 to All on Fri Jul 23 16:31:38 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 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 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)