running bzadmin with a rotating server

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
User avatar
a dead man
Private First Class
Private First Class
Posts: 33
Joined: Tue Jan 31, 2006 7:50 am
Location: Canberra, Australia

running bzadmin with a rotating server

Post by a dead man » Fri Apr 21, 2006 4:29 am

Anyone know the best way of running bzadmin with a rotating map server?. my server is running with a script that rotates the maps every hour and half, trouble is it has to close down bzfs to start the new map, when it does bzadmin quits, so how can i keep it going unnattended?

User avatar
Sir Lance-A-Lot
Private First Class
Private First Class
Posts: 503
Joined: Tue Jun 29, 2004 12:49 am
Location: Amongst my Computers
Contact:

Post by Sir Lance-A-Lot » Fri Apr 21, 2006 2:11 pm

Write a simple batch file to load bzadmin and enter the server, then drag it to your startup folder (assuming your on windows)

Code: Select all

@echo on
"C:/patchtoyourbzfolder/bzadmin.exe" yourcallsign@whichserver:5154

Image

User avatar
Lan
Private First Class
Private First Class
Posts: 296
Joined: Sun Jun 13, 2004 1:21 am
Contact:

Post by Lan » Fri Apr 21, 2006 11:34 pm

Well that startup folder script idea just starts bzadmin up at computer start up, so unless the computer restarts, that won't start bzadmin up again and the beginning of each new map.

The best way would just be to take that same batch file idea that Sir Lance-A-Lot said, but add it to your BZFS rotating server script.

Post Reply