Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2008, 08:11 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default 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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:39 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3