EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=617)
-   -   Problems w/ Login.exe on network.... (https://www.eqemulator.org/forums/showthread.php?t=1317)

morpheus014 04-20-2002 09:18 AM

Problems w/ Login.exe on network....
 
First of all I just want to make it clear that i do understand that Login.exe is an unsupported release and im not demanding help for this.... Ok with that out of the way here is my problem:

I have just gotten a new PC and setup the emu on it, but I want to make my old PC into a server for my entire network to use (3 PC's total) I set up the EMU and MySql on the old pc and everything seems to work fine on that. I set up my account excatly as teh readme in login.exe said to.... but when i try and log in on my new pc it gives me a bad username/password error. My files look as follows:

OLD PC (SERVER):

DB.Ini-
# READ LOGINREADME.TXT!

[Database]
host=localhost
user=(USERNAME)
password=(PASSWORD)
database=eq
timestamp=4-9-2002 1640
----------------------------------------
loginserver.ini
### --- This file tells world.exe what loginserver to connect to.
### --- do not add an account and password unless a EQEmu Dev member has created an account for you.
### --- adding an account and password only grants the server a green name and is not needed.

# READ README.TXT

[LoginServer]
loginserver=localhost
worldname=Rolsec So
locked=false
account=
password=
worldaddress=localhost
loginport=5999
------------------------------------
Boot5zones.win9x.bat
REM: ****Read this first!!!****

REM: This file requires your real IP in the place of 127.0.0.1 when you are connecting
REM: To a EQEmu Loginserver.

REM: When you are using minilogin, leave all IP entrys as 127.0.0.1 and if you still get errors try
REM: Using localhost as the IP instead of 127.0.0.1

REM: zone9x.exe is for use with Windows 98 and ME only.
REM: If you are running Windows NT/2000 or XP use ZoneNT.exe

REM:--------------Start-----------------------


@echo off
start zone9x . 127.0.0.1 7995 127.0.0.1
start zone9x . 127.0.0.1 7996 127.0.0.1
start zone9x . 127.0.0.1 7997 127.0.0.1
start zone9x . 127.0.0.1 7998 127.0.0.1
start zone9x . 127.0.0.1 7999 127.0.0.1
exit
cls


REM:---------------END------------------------
---------------------------------------------------------------------------
NEW PC:
db.ini
# READ LOGINREADME.TXT!

[Database]
host=192.168.1.3
user=(USERNAME)
password=(PASSWORD)
database=eq
timestamp=4-9-2002 1640
------------------------------------
Loginserver.ini
### --- This file tells world.exe what loginserver to connect to.
### --- do not add an account and password unless a EQEmu Dev member has created an account for you.
### --- adding an account and password only grants the server a green name and is not needed.

# READ README.TXT

[LoginServer]
loginserver=192.168.1.3
worldname=Rolsec So
locked=false
account=
password=
worldaddress=192.168.1.3
loginport=5999


Not sure what the problem is with this that it is giving me a bad username/pass error. I also get an error in the World.exe on the Server pc that says:
WORLD.EXE:
Loginserver.ini read
Using database 'eq' at localhost
Loading items... done
Loading guild ranks... done
World Server listening on port: 9000
Connected to loginserver : 127.0.0.1:5999
Login server responded with fatal error. Disableing reconnect.
Error message 'Ghost Kick'

LOGINSERVER.exe:
Using database 'eq' at localhost
----------------------------------------
EqEmu loginserver v1.0
----------------------------------------
Timestamp: 4-9-2002 1640
Login listening on port 5999
New LWorld connection from 127.0.0.1:1059
Removing ghostAcct LWorld from ip: 127.0.0.1:1059

ANY help on this will be greatly greatly appreciated! :P

Lurker_005 04-20-2002 12:34 PM

Just to be clear, you want to run mysql and the EQM on your old computer, and connect to it with your other 2 computers.

My advice, first get minilogin running on the old computer using 127.0.0.1 ip addresses (you won't be able to connect to it with the other computers, just get it running without errors) Then change the 127.0.0.1 to that computes Lan IP 192.168.1.x in loginserver.ini and the FIRST IP in boot2zones

start zone9x . 192.168.1.x 7995 127.0.0.1 ect...

Make sure that runs without errors, and you can connect 1 computer to it. Then try to get the public login running.

I am not sure why you posted config files for the new and old computers, but you only need to run the Emu on your old computer.

morpheus014 04-20-2002 01:48 PM

Just posted configs to be safe-- I got the new version a few hours ago and got everything set up with the new V0.9 world data DB -- public login works ok until i try and get my World.exe to connect to it. I still get a ghost kick,-- not sure why this is happening but the public login is giving me a new err file thing. It is as follows, when run on old PC (its ip is 192.168.1.3 for the record) :
EQEMU Public Login v1.01P:
Using database 'eq' at localhost
=======================
EQEmu Login v1.01P
http://www.eqemu.net
=======================
Server mode: Standalone
Login server listening on port: 5999
New TCP connection: 192.168.1.3:1359
Attempted login denied (Reason: AccountID is not equal to 1, following public login restrictions).
Dropping connection 0.0.0.0:0

World.exe:
LoginServer.ini read
Using database 'eq' at localhot
Loading Items.... done
Loading guild ranks... done
World Server Listening on port : 5999
Connected to LoginServer: 192.168.1.3:5999
Login server responded with FatalError. Disabling Reconnect.
Error message: 'Ghost kick'
LoginServer connection lost: 192.168.1.3:5999

Again thank you all for the help and patience on this-- it is a pain in the butt working out these problems :P

Lurker_005 04-20-2002 03:39 PM

From the loginreadme:

Note: If you have trouble with the id, you can do the same as the logins to set the id, do this like so:
update login_worldservers set id='1' where account='accountname';

If the id is NOT equal to 1, you will be unable to use the world server on the login server.

Lurker_005 04-20-2002 09:40 PM

I checked this out some, an empty login and pass in loginserver.ini causes this (which is how you posted yours)

These should be what you created when going through the loginreadme

sady 04-21-2002 08:43 AM

I got the same message when i did not have the login account in my db.sql, Know what i mean? add the accounts to your database. try it thaats what happen to me. i hope this helps

Lurker_005 04-21-2002 09:16 AM

See http://forums.eqemu.net/showthread.p...;threadid=1471 for some relief on seting up publiclogin (the 12 account login server)

morpheus014 04-22-2002 06:27 AM

Ok I will read over that page and see if I can get this worked out. Im not sure why I get the error in publiclogin.exe -- it does it right as I start the program, not when i try and log in. Anyway thank you all for the help on this, and I hope it helps out others who have this problem.

morpheus014 04-22-2002 01:53 PM

Ok, I got my server running without errors on my old pc (the server) but no matter what I do i get a EQemu: Badusername/password error every time i try and log in on the new pc(client). Ive tryed reauthing the account and everything, using the update function-- nothing seems to work. Any help working out this new problem would be great!

Lurker_005 04-22-2002 03:55 PM

You are creating a seperate login for your client computer? and using your client computers IP address?

morpheus014 04-23-2002 06:23 AM

I created a seprate login for my client PC, and put it into LoginServer.ini. I still get "EQEMU: Bad username/pasword" error when I try to log into the emu on th client, and im using the host PC's ip for the loginserver.ini.... No clue what is causing this. Ive tried reauthing the account and it isnt helping-- again, thank you all for the help on this, i really appreciate it.


All times are GMT -4. The time now is 01:17 PM.

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