View Single Post
  #1  
Old 01-24-2003, 09:51 AM
Pneu
Sarnak
 
Join Date: May 2002
Posts: 65
Default Improved boot5zones

I have changed my boot5zones.bat file with some subtle changes that I think some of you may appreciate, so i'm posting it here

Code:
@echo off
start Minilogin
start zone . localhost 7995 localhost
start zone . localhost 7996 localhost
World
cls
exit
Including start Minilogin launches the login as a seperate task (in it's own window) thus saving you having to click a seperate shortcut.

I reduced the zones down to 2 which when developing a server is all you need - more than this is only needed when you have multiple players or persistent zones.

I included World in the batch file but did not launch it with start, this launches the world application in the same window as the batch file, thus preventing it from becomming a redundant memory hole.

I reversed the order of cls and exit, which enables the script to close without error, although this is only relevent if you use 'start world' or do not launch world automatically.

Hope that's helpful to someone

Pneu
__________________
Girls CAN play computer games, they just think of the screen as a mans head...
Reply With Quote