
                   Tradewars on Multi Node Systems
                   -------------------------------
                         By Brad Reddekopp
                       Virtual Instanity BBS
                     604-842-6634/604-842-6731


I saw some messages in the TriBBS support conference about troubles
with Tradewars on multinode BBSs, and David Kelsheimer asked me to let
him know if we got it figured out.  Well, we have it running smoothly
here.  So...

Here's how we've got Tradewars running on two nodes on TriBBS v5.0
under Desqview here at Virtual Insanity BBS.  Ken Penner, co-sysop
here, figured out the important bits.

We've done nothing special with the set up other than these two
batchfiles.  NOTE:  FOYER.EXE and PROECHO.EXE must be somewhere in
your path.  Also note that no more than one node must be in Tradewars
at once.  That's why you need Foyer and ProEcho.

The problem with running Tradewars on more than one node is that the
game looks for the drop file in the path.  We wondered if it would
find it in the main Tradewars directory before it found it in the
path.  It did, and that was the solution to the problem.

Here's our batchfile for node 1:

TW2002.BAT
====================================================================
cd c:\tribbs\doors\tradewar
foyer 1
if errorlevel 2 goto in_use
copy \tribbs\door.sys
tw2002 %1 %2 %3 %4 %5 %6 -door
foyer 1
goto end
:in_use
proecho 1 "Trade Wars 2002 is in use on another node."
:end
cd c:\tribbs
board
====================================================================

...and here's our batchfile for node 2:


TW2002.BAT
====================================================================
cd c:\tribbs\doors\tradewar
foyer 2
if errorlevel 2 goto in_use
copy \tribbs2\door.sys
tw2002 %1 %2 %3 %4 %5 %6 -door
foyer 2
goto end
:in_use
proecho 2 "Trade Wars 2002 is in use on another node."
:end
cd c:\tribbs2
board
====================================================================

Notice that the "1"s in node 1's batch file are replaced by "2"s in
node 2's batch file (except of course in the 5th line).

It's not revolutionary, but it works here.  :]

Brad Reddekopp
Virtual Insanity BBS
604-842-6634 V32bis
604-842-6731 V32bis

-- Ken and I can also be reached through the appropriate WME
conferences.

