• Magicka Menu System

    From apam@21:1/125 to All on Wednesday, April 12, 2017 23:43:00
    Hi

    I just pushed the new menu system into master on github. It pretty much just replicates the old menu system, but in a configurable way.

    If you've been trying out my magickapi script and want to update there's a few things you'll need to do after running updatebbs.sh

    1. copy the default menus:

    cp -r src/MagickaBBS/menus_default menus

    2. Edit the bbs.ini file in the config directory, in the main section add this:

    Root Menu = main

    in the paths section add this:

    Menu Path = /home/pi/MagickaBBS/menus

    obviously you will want to change the username to your username.

    doors.ini no longer needs keys for doors to be defined as the hotkey is defined in the doors.mnu instead.

    I will do a new script later, but I have a dentist appointment soon.

    Andrew
    --- MagickaBBS v0.6alpha (Linux/x86_64)
    * Origin: Cauldron BBS - Magicka Test BBS (21:1/125)
  • From Dumas Walker@21:1/175 to apam on Thursday, April 13, 2017 18:58:00

    cp -r src/MagickaBBS/menus_default menus

    Ran the update a bit ago. This is the only post-update command I had trouble with. I figured out to substitute my home dir in place of "src".

    After I ran the update, I logged on and read a message from a user. Then I went back to the main menu and tried to (g)oodbye. The prompt changed to gray-white and the menu did not redisplay, but the board also did not log off.
    I tried a capital G also, but all it kept giving me was the menu prompt. I finally disconnected.

    I tried it again and got the same result. :)

    Mike
    --- SBBSecho 2.12-Linux
    * Origin: CCO BBS - capcity2.synchro.net - 1-502-875-8938 (21:1/175)
  • From apam@21:1/125 to Dumas Walker on Friday, April 14, 2017 01:13:00
    Dumas Walker said....


    cp -r src/MagickaBBS/menus_default menus

    Ran the update a bit ago. This is the only post-update command I had trouble with. I figured out to substitute my home dir in place of "src".

    After I ran the update, I logged on and read a message from a user. Then I went back to the main menu and tried to (g)oodbye. The prompt changed to gray-white and the menu did not redisplay, but the board also did not log
    off.
    I tried a capital G also, but all it kept giving me was the menu prompt. I finally disconnected.

    I tried it again and got the same result. :)

    Ah yes, I forgot sorry, you also need to copy the ansi file "logoff.ans" from src/MagickaBBS/ansis_default to ansis.

    At the grey prompt, the menu is setup to accept "Y" and "N" for are you sure you want to log off.

    Andrew
    --- MagickaBBS v0.6alpha (Linux/x86_64)
    * Origin: Cauldron BBS - Magicka Test BBS (21:1/125)
  • From Dumas Walker@21:1/175 to apam on Friday, April 14, 2017 17:56:00
    Ah yes, I forgot sorry, you also need to copy the ansi file
    "logoff.ans" from src/MagickaBBS/ansis_default to ansis.
    At the grey prompt, the menu is setup to accept "Y" and "N" for are you sure you want to log off.

    Yep, that did the trick. :) Thanks!

    Mike


    ... Gone crazy, be back later, please leave message.
    --- MultiMail/IBMPcDos v0.43
    --- SBBSecho 2.12-Linux
    * Origin: CCO BBS - capcity2.synchro.net - 1-502-875-8938 (21:1/175)