OK I had a lot of trouble finding information on how to set up a league in Barron Realms / mystic so if its ok I'd like to post here what I did and if anybody has any feedback on how I set this up I'd appreciate it!
This set up is using the latest Mystic version on Rasberry Pi. I'm using QEMU and a MS-DOS 6.1.1 image for my Doors.
My Door setup was done with the help of Darryl Perry at Cyberia.darktech.org:
http://cyberia.darktech.org:8080/articles/qemu-howto.html
The League is a FidoNet Type league
(League 777).
For the Echomail Addresses & Hub I pretty much followed MysticGuy's tutorial. The only difference is in the Echomail Nodes setup:
Use FileBox: Any
\FileBox: /mystic/files/xn_out/
My BBS.CFG file in Barron Realms:
David Smith <--Sysop Name
Daves BBS <--BBS Name
777:777/21 <--Node Number (this particular league uses the zone) d:\echomail\in <-- inbound; the MS-DOS equivalent to /mystic/echomail/in d:\files\xn_out <--outbound; MS-DOS equivalent to /mystic/files/xn_out
777 <--League Number
NONE <-- Your Front End Mailer
My doors.sh script changes to launch BRE (see the link above for a sample of this script):
## Barren Realms Elete
BRE)
rm -f /mystic/text/brnews.*
rm -f /mystic/text/brscores.*
rm -f /mystic/text/ybnews.*
echo "@echo off" > ${gobat}
echo "C:" >> ${gobat}
echo "CD \DOORS\BRE" >> ${gobat}
echo "@echo Launching Barron Realms..." >>${gobat}
echo "BRE INBOUND" >> ${gobat}
echo "BRE" >> ${gobat}
echo "BRE OUTBOUND" >> ${gobat}
echo "DEL INUSE.FLG" >> ${gobat}
echo "COPY /y BRNEWS.* d:\TEXT" >> ${gobat}
echo "COPY /y BRSCORES.* d:\TEXT" >> ${gobat}
echo "COPY /y YBNEWS.* d:\TEXT" >> ${gobat}
echo "MOVE /Y C:\DOORS\BRE\OUTBOUND\*.* D:\FILES\XN_OUT" >>${gobat}
;;
NOTE: I had some issues trying to use files directly from /mystic from within qemu so I do all the main processing on the MS-DOS image, ie C:. Also, even though the BBS.CFG file is pointing to D:\FILES\XN_OUT, BRE still put stuff
in the C:\DOORS\BRE\OUTBOUND folder, so I had to manually move them.
Finally, I had to set up a Maintenance script (looks a lot like the doors.sh script :) ), which runs hourly:
maint.sh
--------
#!/bin/sh
## The linux path for the run.bat file
cd /mystic
echo "Polling 777:777/777" >>/mystic/logs/server_events.log
fidopoll 777:777/777
gobat=/mystic/run.bat
portnum=`expr 20209}`
echo "@echo off" > ${gobat}
echo "@echo Running Door Maintenace..." >>${gobat}
echo "C:" >> ${gobat}
echo "CD \DOORS\BRE" >>${gobat}
echo "BRE INBOUND" >>${gobat}
echo "BRE RECON" >>${gobat}
echo "BRE REQUESTS" >>${gobat}
echo "BRE SCORES" >>${gobat}
echo "BRE BBSINFO" >>${gobat}
echo "BRE LASTPACKET" >>${gobat}
echo "BRE OUTBOUND" >>${gobat}
echo "MOVE /Y C:\DOORS\BRE\OUTBOUND\*.* D:\FILES\XN_OUT" >>${gobat}
echo "@echo Shutting Down..." >>${gobat}
echo "C:\FDAPM\BIN\FDAPM flush" >> ${gobat}
echo "C:\FDAPM\BIN\FDAPM POWEROFF" >> ${gobat}
## The batch file must be in dos format, or it will not run properly.
todos ${gobat}
### door command qemu-system-i386 -localtime -hda
/mystic/doors/qemu/msdos.disk -boot c -display none -m 256 -serial telnet::${portnum},server,nowait,nodelay -hdb fat:rw:/mystic > /dev/null 2>&1
&
echo "Running Door Maintenance..." >>/mystic/logs/server_events.log qemu-system-x86_64 -localtime -hda /mystic/doors/qemu/msdos.disk -boot c -m
768 -hdb fat:rw:/mystic
### Inform the user that it will take several seconds before the game
### loads up.
clear
echo
echo "Loading door... please be patient...."
echo
sleep 3
### socat is used to communicate with the VM's serial modem.
socat -,raw,echo=0 TCP:localhost:${portnum}
if [ -f ${gobat} ]; then
rm -rf ${gobat}
fi
echo "out of qemu shell">>/mystic/logs/server_events.log
sleep 3
fidopoll 777:777/777
echo "Done polling 777:777/777" >>/mystic/logs/server_events.log
echo "Please wait..."
sleep 3
exit 0
I think thats it! :)
BTW the league just did a reset so if anybody wants to get in let me know and I'll get you in touch with the coordinator. :)
Dave
/**Dave's BBS
telnet://davesbbs.com
* @version 2.0 fsxNet: 21:1/140
* GatorNet: 57:57/38
**/
--- Mystic BBS v1.12 A31 (Raspberry Pi)
* Origin: Daves BBS (21:1/140)