Log in

View Full Version : LAN / WAN with multiple accounts, please help


corvus
05-03-2003, 10:41 AM
Heres the scoop.

I have two computers on a home network and I have about 10 peeps outside of the network. Windows 2K on all PCs. I am trying to have all 11 PCs connect to my PC which is the host/server. If I can ever get past this *bleep bleep bleep* 'bad username and password' error problem I am sure to have twice that many peeps in no time ;)

I followed the guide (http://forums.eqemu.net/viewtopic.php?t=6904) by Devlor step by step and the server is up and running with no errors and no problems, I can also play on the server.

I set up everyone's PC the very same way but of course changed the IP addresses to my IP address which is the host.

When anyone else tries to play they get to the login screen and then after entering name and pass they get an error 'EQEmu error bad username / password' :(

I have tried every combination I can think of with the ini files. Also added the accounts using the admin tool also added the accounts with mysql and world.exe but still no good. Even tried different combos with the eqhost.txt but no good. After many long days of trying everything that is 'hinted' at on these forums and a few broken keyboards, nothing I do will get a outside peep to get pass the bad username and password.

Each PC can only play if they are a lone server. If they try to run boot5 without my host up and running it does give them a world connection failure so it is looking for my host. I just can't get pass the bad username / password :evil:

All the posts I have found is either to set up a server, lan or client for EQEmu and can't find data on having other PCs connect to a host.

How does one go about having other PCs connect to a host??? Is the error client side, host side or both?

Heres the host files...

db.ini
[Database]
host=localhost
user=myusername
password=mypassword
database=eq
compression=off

minilogin
myIPaddress myname mypassword
playerIPaddress playername playerpassword

Loginserver
[LoginServer]
loginserver=myIPaddress
loginserver2=myIPaddress
loginport=5999
loginport2=5999
worldname=myservername
worldaddress=myIPaddress
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[LoginConfig]
ServerMode=Standalone
ServerPort=5999
UplinkAddress=
UplinkPort=
UplinkAccount=
UplinkPassword=

eqhost
[Registration Servers]
{
"myIPaddress:5999"
}
[Login Servers]
{
"myIPaddress:5999"
}

What must be done for my friends to be able to log into my server and all of us play together? (without hosting on EQEmu and outside of a LAN)

Will there game use my database or do I have to update all of there databases each time I make a change to mine? example if I update the DB with a quest addon, does it have to go on everyone's PC or just the host?

Many MANY thanks in advance for any and all help :)

Pinghan
05-04-2003, 05:59 PM
As those files u posted ... u setup a LOCALHOST server...

If u want to let other ppls play ur server , u must change those
"localhost" to ur IP ,so those LAN/WAN computers able to know where is ur server ... :wink:

corvus
05-05-2003, 02:26 AM
ROFL!
:lol:

That is what happens when you try to hard to do something, always ending up over looking the small details ;)

Pinghan thanks for the anwser and not for flaming a poor old n00b, now off to change some files.

corvus
05-05-2003, 03:40 AM
Good news / bad news...

Good news, others can indeed connect to my server now with no problems. Everyone can enter and see each other.

Bad news, everyone is using my account which is the server computer! Everyone has different passwords and names so WTF?

It was funny, a couple of my friends get in and the next thing I see is one of MY characters running past me! :lol:

I do find this wierd... I thought you could not log into the same account more then once at a time and plus everyone's sql database, accounts, passwords, station names and everything else is very diferent from each others but if anyone logs in useing there name and password then they are sent into my account on the server :?

Any suggestions?

These are the files on the user's computer. Look in the first post, I did edit the file information for the server computer :)

MiniLogin
userIP username userpassword

db.ini
[Database]
host=localhost
user=username
password=userpassword
database=eq
compression=off

Loginserver
[LoginServer]
loginserver=serverIP
loginserver2=serverIP
loginport=5999
loginport2=5999
worldname=
worldaddress=serverIP
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[LoginConfig]
ServerMode=Standalone
ServerPort=5999
UplinkAddress=
UplinkPort=
UplinkAccount=
UplinkPassword=

eqhost
[Registration Servers]
{
"serverIP:5999"
}
[Login Servers]
{
"serverIP:5999"
}

Another n00b question, does 'ServerMode' always stay on 'Standalone'?

corvus
05-05-2003, 04:09 AM
Ok I must have really did something wrong here...

I just got on a 'user' computer and fired up the game, now when I got to the login screen... I just hit a bunch of random letters and numbers for the name and password, it took me right into my account on the server??????

No matter what you enter as a name and password at the login screen, the player will only go into my account on the server. Does not matter if that account name and password is there or not :?

What am I missing here?
Why do I have a sneaky feeling this has something to do with a SQL command that I don't know about? Plus I had thought that the database was on there PC? The db.ini does state 'localhost' if I change 'localhost' to anything besides localhost then the world.exe will crash.

Does not matter if there is 'other' accounts in the admin tool or not, for some strange reason the game is not picking up on the name and password thing :cry:

*wacks forhead on the computer desk*
*looks around for some whiskey*
*smacks the computer screen*
*tries very hard to cast Strike of Solusek on the server*

Help? Anyone? Please?

corvus
05-05-2003, 04:47 AM
Heard thru the 'forum grapvine' that the new fixed MiniLogin.exe was fixed to allow logging of multiple accounts but I have downloaded the fixed mini and still having the very same problem with all users being logged into my account on the server regardless of what name and password they use :(

I'm using the fixed mini and the only difference is that it takes longer to get to the selection screen. Is there something else that we need to do besides just replacing the mini with this new 'fixed' mini?

corvus
05-05-2003, 07:43 AM
Ok... just in case anyone else has this problem, there is a fix afterall ;)

On your server computer, you need to redo the MiniLoginAccounts.ini file to look something like this-

MiniLoginAccounts
11.111.111.111 bob bobpass
00.000.000.000 john johnpass

11.111.111.111 = IP of the server
00.000.000.000 = IP of the player
Bob= name of the player on the server computer
bobpass= password of teh player on the server computer
John= name of the player on the client computer
johnpass= password of the player on the client computer

So for each player that will log into your server, you have to add one line to the server's minilogin which will be there IP and name and password, then just keep adding a line for each player that wants to use your server ;)

yaryar
05-13-2003, 09:40 AM
The ips of the player, if they are using a router, would it be the ip of the router or their private ip addy?

The Omega Soldier
05-27-2003, 04:21 PM
So what code to you have to type in if you're computer is the client/host at the same time in the miniloginaccounts.ini?