PDA

View Full Version : Batch file for your players


riki64
12-13-2007, 11:34 AM
Hope this is in the right area...

Here is a batch file i wrote to help facilitate the switching of your server and back to blizzard's for your users.


TITLE=World of Warcraft Server Switch Routine
REM ################################################## ###################
REM ##### #####
REM ##### THIS FILE FACILITATES THE CHANGE OF THE REALMSLIST.WTF #####
REM ##### IN THE WOW DIRECTORY FROM ORIGIANL WOW TO A PRIVATE #####
REM ##### SERVER WOW. #####
REM ##### #####
REM ##### FEEL FREE TO CHANGE INFO BELOW TO FIT YOUR SERVER INFO #####
REM ##### #####
REM ################################################## ###################

@ECHO OFF
CLS
ECHO -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
ECHO World of Warcraft Server Switch Utility
ECHO Created by Richard Scorpio - 12.12.07 2007
ECHO -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
IF NOT EXIST "WOW.EXE" GOTO WRONG_DIRECTORY

:MENU_CHOICE
ECHO.
ECHO Select an option from below
ECHO.
ECHO 1. Switch to Interlachen's Private Server (Thats me)
ECHO.
ECHO 2. Switch back to Blizzard's Server
ECHO.
ECHO 3. Quit (I don't want to do anything yet - changed my mind)
ECHO.
SET /p l= Enter Option:
IF %l% == * GOTO MENU_CHOICE
IF %l% == 1 GOTO PRIVATE_SERVER_OPTION
IF %l% == 2 GOTO BLIZZARD_SERVER_OPTION
IF %l% == 3 GOTO QUIT_OPTION
GOTO ERROR


:BLIZZARD_SERVER_OPTION
REM USING THE FOLLOWING FOR USA
REM -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
REM set realmlist us.logon.worldofwarcraft.com
REM patchlist us.version.worldfwarcraft.com
REM -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
ECHO set realmlist us.logon.worldofwarcraft.com > REALMLIST.WTF
ECHO patchlist us.version.worldfwarcraft.com >> REALMLIST.WTF
ECHO REALMLIST.WTF Changed Successfully
PAUSE
GOTO QUIT_SUCCESSFUL

:QUIT_OPTION
ECHO.
ECHO NO CHANGES MADE
ECHO.
PAUSE
GOTO EXIT

:ERROR
ECHO THIS IS AN ERROR
PAUSE
GOTO QUIT_FAILURE


:PRIVATE_SERVER_OPTION
REM ##### PUT YOUR SERVER STUFF HERE FOR YOUR USERS #####
ECHO set realmlist tauren.shacknet.nu > REALMLIST.WTF
ECHO REALMLIST.WTF Was successfully converted for Interlachen' Server
PAUSE
GOTO QUIT_SUCCESSFUL

:QUIT_SUCCESSFUL
ECHO.
ECHO.
ECHO Thank you for visiting my server.
ECHO.
ECHO Have fun and good luck!!!
ECHO.
PAUSE
GOTO EXIT

:WRONG_DIRECTORY
ECHO.
ECHO *** ERROR ***
ECHO WOW.EXE does not exist!!
ECHO MOVE THIS FILE TO THE WOW DIR, THEN RUN IT AGAIN.
PAUSE
GOTO EXIT

:EXIT


Edit everything in red.
Users can make it easier by saving a copy to their desktop then right before loading wow, click this and choose the server.

I'm currently writting a larger program so users can enter their favorite servers and log into them by just clicking on a button to change thier realmlist

Let me know if you find this useful



Enjoy
Riki

ps
you could edit this for a 4th line and make it so you can switch as well :-)

Terrorblade
12-13-2007, 01:06 PM
u know a better program would be the wow blaze /corrupted wow launcher and wrong section post in Tutorials

Falcnor
12-13-2007, 02:29 PM
Moved to Tutorials

riki64
12-13-2007, 09:53 PM
thank you, wasn't sure.

cruiser101
01-02-2008, 08:27 PM
thanks. good job

deathdude
01-03-2008, 08:35 AM
why not use the WoWScape launcher? it switched your realmlist for you. you cant add WoWGasm to it though (well you can but you have to edit the configuration file found right where you installed the launcher (wow folder) you can download it here http://wowscape.net/wsl/wsl-4.3.zip

i hate the witch that owns that server though but its still a good launcher

riki64
01-05-2008, 02:29 AM
thank you :-)
I wanted something quick and easy