Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::MiniLogin

Support::MiniLogin Support forum for problems with the official MiniLogin release.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-22-2006, 03:34 PM
JrFaust
Sarnak
 
Join Date: Aug 2005
Location: Overthere
Posts: 82
Default Different accounts same IP non-simultaneous

I tried to setup two different accounts on one IP. One I want to be my god account and the other a normal account. But so far when I login to my server it defaults to the first account it finds with my IP address.

I assume that this is due to minilogin authenticating via an IP address rather than by account. Is there away around this? Does the LS server do the same?

Thank you for your time.
Reply With Quote
  #2  
Old 08-22-2006, 07:40 PM
mattmeck
Guest
 
Posts: n/a
Default

Minilogin uses IP to attatch accounts too, you can use any user / pass and it will give the same account.

The public login server uses account names / passes to attatch account.
Reply With Quote
  #3  
Old 08-23-2006, 01:33 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default A flash from the past

Here's a solution for you - you only need to edit and change the account names and ip to what ever yours is.
I also posted these at my web page for download.
The first is a batch file (prestart.bat);
Code:
@ECHO off
cls
@ECHO.
@ECHO.
ECHO Please choose which EQEMU account you want to use
:start
ECHO.
ECHO 1. Altec (GM Account)
ECHO 2. Aguadilla
ECHO 3. Angelox
set choice=
set /p choice=Type the number to print text.
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto altec
if '%choice%'=='2' goto aguadilla
if '%choice%'=='3' goto angelox
ECHO "%choice%" is not valid please try again
ECHO.
goto start

:altec
C:\mysql\bin\mysql.exe -u root < C:\eqemu\account1.sql
ECHO Account set to Altec
sleep 3
c:\eqemu\start.bat
goto end

:aguadilla
C:\mysql\bin\mysql.exe -u root < C:\eqemu\account2.sql
ECHO Account set to Aguadilla
sleep 3
c:\eqemu\start.bat
goto end

:angelox
C:\mysql\bin\mysql.exe -u root < C:\eqemu\account3.sql
ECHO Account set to Angelox
sleep 3
c:\eqemu\start.bat
goto end

:end
next three are sql files;

account1.sql
Code:
# sets altec
use peq;
update account set minilogin_ip="192.168.2.102" where name="Altec";
update account set minilogin_ip="192.168.2.000" where name="Aguadilla";
update account set minilogin_ip="192.168.2.000" where name="Angelox";
account2.sql
Code:
# sets aguadilla
use peq;
update account set minilogin_ip="192.168.2.000" where name="Altec";
update account set minilogin_ip="192.168.2.102" where name="Aguadilla";
update account set minilogin_ip="192.168.2.000" where name="Angelox";
account3.sql
Code:
# sets angelox
use peq;
update account set minilogin_ip="192.168.2.000" where name="Altec";
update account set minilogin_ip="192.168.2.000" where name="Aguadilla";
update account set minilogin_ip="192.168.2.102" where name="Angelox";
As you can see, my client machine is 192.168.2.102 (you change this to what ever your client machine ip is.
Take all these files and place them in your eqemu directory - I already tried them out, and, am using. Works fine.
Reply With Quote
  #4  
Old 08-23-2006, 08:28 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

I've been thinking about this, and the way I have it, it starts the server everytime you run it - maybe you might want to leave your server running while you change accounts.
In that case just REM out all the "c:\eqemu\start.bat" lines.

Last edited by Angelox; 08-23-2006 at 04:28 PM.. Reason: typo
Reply With Quote
  #5  
Old 08-23-2006, 12:40 PM
JrFaust
Sarnak
 
Join Date: Aug 2005
Location: Overthere
Posts: 82
Default

Thanks Angelox that's a really cool set up I'll try that.
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 12:37 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3