EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development: Custom Code (https://www.eqemulator.org/forums/forumdisplay.php?f=665)
-   -   A simple batch-menu for choosing what to play (https://www.eqemulator.org/forums/showthread.php?t=26001)

Angelox 08-23-2008 08:11 AM

A simple batch-menu for choosing what to play
 
This works for WindowsXP (98 is a little different)
You could copy paste these files, change the IPs and names to what you have. You also need to make the eqhosts(1-4).txt files;
Code:

@ECHO off
cls
@ECHO.
@ECHO.
ECHO Please choose which EQEMU account you want to use
:start
@ECHO.
ECHO [1] EqEmu Login
ECHO [2] Blackwater Login
ECHO [3] Play Eq Live
ECHO [4] Marysol Login
@ECHO.
set choice=
set /p choice=Type the number for your choice
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto EqEmu
if '%choice%'=='2' goto Blackwater
if '%choice%'=='3' goto Live
if '%choice%'=='4' goto Marysol
ECHO "%choice%" is not valid please try again
ECHO.
goto start
REM You only need one directory for EqEmu play (Mini-Login or Public)

REM EqEmu.Net Login Server
:EqEmu
copy /Y D:\Progra~1\Sony\EverQuest\eqhost1.txt D:\Progra~1\Sony\EverQuest\eqhost.txt > null
ECHO Ready for Live EqEmu server...
sleep 3
"D:\Program Files\Sony\EverQuest\preq.bat" > null
goto end

REM My Linux Mini-Login server
:Blackwater
copy /Y D:\Progra~1\Sony\EverQuest\eqhost2.txt D:\Progra~1\Sony\EverQuest\eqhost.txt > null
ECHO Ready for Blackwater server...
sleep 3
"D:\Program Files\Sony\EverQuest\preq.bat" > null
goto end

REM Notice I have EQ Live in a separate directory
REM Don't fool with the eqhosts file here
REM If you can't get in the LIVE game, run the patcher (Everquest.exe)
:Live
ECHO Ready for Live Everquest servers...
D:
cd\Progra~1\Sony\EQ_Live\
eqgame.exe patchme
goto end

REM My Windows Mini-Login server
:Marysol
copy /Y D:\Progra~1\Sony\EverQuest\eqhost4.txt D:\Progra~1\Sony\EverQuest\eqhost.txt > null
ECHO Ready for Marysol server...
sleep 3
"D:\Program Files\Sony\EverQuest\preq.bat" > null
goto end

:end

Each eqhost file, points to whatever EqeMu server (You need your LIVE Everquest to be in a separate directory).

eqhost1.txt points to eqemulator.net;
Code:

[LoginServer]
Host=eqemulator.net:5998

and the rest to any LAN PC that has a server you want to play on - here's one;
eqhost2.txt;
Code:

[LoginServer]
Host=blackwater.dynip.com:5999



All times are GMT -4. The time now is 10:32 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.