• Re: Doors and .cfg files

    From HSM@21:2/162 to Cozmo on Thu Jun 10 15:59:19 2021
    On 09 Jun 2021, Cozmo said the following...

    I'm trying to get an old door to work . It uses filename.exe
    filename.cfg in the menu command. I need to have a .cfg file for each node. How do I get Mystic to recognize which .cfg file to use based on whatever node the user has logged in on? The .cfg file won't accept the temp%1 for the directory. So I can't use the same .cfg file for all the nodes, it has to be temp1, temp2 in the .cfg file etc.

    door.exe temp%N.cfg where %N is the current node number.

    |01 Ã|06HSM|01Ä|14aka|01Ä|07Ga|08ry|01ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
    |14 ¿|01³ Mystic|14.|01BBSGameTime|14.|01com|14:|0323|01 ³|14Ú
    ³|01³ ScoobysDoo|14.|01ddns|14.|01net|14:|032023|01 ³|14³
    ³|01ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ|14³

    --- Mystic BBS v1.12 A47 2021/05/27 (Windows/32)
    * Origin: BBS GameTime - mystic.BBSGameTime.com:23 (21:2/162)
  • From Cozmo@21:3/135 to Wall E. Weasel on Thu Jun 10 17:27:12 2021
    C:\MYSTIC\NETFOSS\NF.BAT /N%N /H%H C:\DOORS\GAME\GAME.BAT %N
    The NetFoss batch file would then call GAME.BAT with the node number as parameter %1. GAME.BAT then converts that parameter as the configuration filename:
    C:
    CD \DOORS\GAME
    GAME.EXE node%1.cfg

    Last night APAM helped me out on this. Had me do exactly what you are suggesting. Worked like a charm :) I was close when I tried my batch file but was off.

    Thanks for the reply.

    --- Mystic BBS v1.12 A47 2021/04/08 (Windows/32)
    * Origin: Lunatics Unleashed BBS (21:3/135)