• Galactic Dynasty deploy question

    From Nodoka Hanamura@21:2/106 to All on Fri Jan 3 18:54:22 2020
    Okay,

    So I've set up the network side of things regarding getting the BBS ready to deploy Galactic Dynasty and For Honor. However, in GD's readme it asks me to
    do the following:

    Linux is similar to Windows, except requires STDIO redirection.

    Use dorinfo1.def as your drop file, or door.sys.You will need to write a shell script that first changes the working directory then calls Galactic Dynasty with the -D switch for the drop file.




    How do I go about doing that? I'm relatively new to linux and I'm only
    starting to get more proficient with the terminal and bash, so I'm a wee bit lost.

    Born too late to experience the scene.
    Born just in time to see it come back.
    Nodoka Hanamura - NeoCincinnati BBS SYSOP - neocinci.bbs.io

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/32)
    * Origin: NeoCincinnati BBS - neocinci.bbs.io:23 (21:2/106)
  • From Al@21:4/106 to Nodoka Hanamura on Fri Jan 3 16:50:42 2020
    Born too late to experience the scene.
    Born just in time to see it come back.
    Nodoka Hanamura - NeoCincinnati BBS SYSOP - neocinci.bbs.io

    I'm running Magicka but here's a look at my fhnr_l21.sh that runs For
    Honour in the league 21 game here..

    #!/bin/bash

    NODE=$1

    cd /home/alan/MagickaBBS/doors/fhnr_fsx
    ./ForHonour -D /home/alan/MagickaBBS/node${NODE}/door.sys
    ./ForHonour maintenance

    The only magic bit there is the ${NODE} bit. When the door is run from
    the BBS the node number we are running on is the first command line
    parameter. I put that node number in an environment variable with the
    NODE=$1 above, then use that parameter to get the right directory to look
    in with ${NODE}.

    Ttyl :-),
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From Nodoka Hanamura@21:2/106 to Al on Sat Jan 4 06:25:40 2020
    On 03 Jan 2020, Al said the following...
    I'm running Magicka but here's a look at my fhnr_l21.sh that runs For Honour in the league 21 game here..

    #!/bin/bash

    NODE=$1

    cd /home/alan/MagickaBBS/doors/fhnr_fsx
    ./ForHonour -D /home/alan/MagickaBBS/node${NODE}/door.sys
    ./ForHonour maintenance

    The only magic bit there is the ${NODE} bit. When the door is run from
    the BBS the node number we are running on is the first command line parameter. I put that node number in an environment variable with the NODE=$1 above, then use that parameter to get the right directory to look in with ${NODE}.

    Question is, will Mystic detect that {NODE] EVAR and run properly? I want to make sure all my ducks are in a row before I start doing things in a bash script.

    Born too late to experience the scene.
    Born just in time to see it come back.
    Nodoka Hanamura - NeoCincinnati BBS SYSOP - neocinci.bbs.io

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/32)
    * Origin: NeoCincinnati BBS - neocinci.bbs.io:23 (21:2/106)
  • From Bugz@21:4/110 to Nodoka Hanamura on Sat Jan 4 13:25:38 2020
    Nodoka Hanamura wrote to Al <=-

    On 03 Jan 2020, Al said the following...
    I'm running Magicka but here's a look at my fhnr_l21.sh that runs For Honour in the league 21 game here..

    #!/bin/bash

    NODE=$1

    Question is, will Mystic detect that {NODE] EVAR and run properly? I
    want to make sure all my ducks are in a row before I start doing things
    in a bash script.

    When you create the menu entry command in mystic, make sure you set it
    like this:

    Command (DD) Exec external program
    Data ./fhnr_l21.sh %3

    See: http://wiki.mysticbbs.com/doku.php?id=menu_commands#external_doors

    The %3 becomes the node number, which mystic passes onto the script
    which becomes $1.

    Take care,

    bugz

    ... This is *NOT* my tagline!
    ___ MultiMail/Linux v0.49

    --- Mystic BBS/QWK v1.12 A43 2019/03/02 (Linux/64)
    * Origin: BZ&BZ BBS (21:4/110)
  • From Nodoka Hanamura@21:2/106 to Bugz on Sat Jan 4 16:19:36 2020
    On 04 Jan 2020, Bugz said the following...
    When you create the menu entry command in mystic, make sure you set it like this:

    Command (DD) Exec external program
    Data ./fhnr_l21.sh %3

    See: http://wiki.mysticbbs.com/doku.php?id=menu_commands#external_doors

    The %3 becomes the node number, which mystic passes onto the script
    which becomes $1.

    Thanks for the info, much appreciated!

    I'll be getting on it tonight.

    Born too late to experience the scene.
    Born just in time to see it come back.
    Nodoka Hanamura - NeoCincinnati BBS SYSOP - neocinci.bbs.io

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/32)
    * Origin: NeoCincinnati BBS - neocinci.bbs.io:23 (21:2/106)