PDA

View Full Version : Question about the character select screen


kavren
12-12-2008, 02:23 PM
I have made characters on my local intranet server and also have made different accounts. Sometimes I will log in under a different account and see the characters I made with a previous account.

Also, It seems I can log in with an account that has been bound to a different I.P inside the Accounts table in MYSql.

I was wondering, how do accounts and characters interact with each other and how are they are bound to each other? Mostly I am wondering this because my server is kinda wonkey.

Rocker8956
12-13-2008, 11:46 AM
If you are using a minilogin server, I can think of a few possible causes.
This occurs because minilogin does not care what account name or password you enter. The accounts are authenticated by the IP address of your computer.

Possible causes
1. Your using dynamic IPs and the IP address of your computer changed to match a different or old account in your database.
2. Somewhere in your server config is a loopback address (127.0.0.1). I did this once I got the same result you are getting though I can't remember where the loopback was entered.
3. The account table has the IP address of your router for one of the accounts.

A bunch of other reasons probably exist but these are the ones I could think of off the top of my head.

The characters are tied to an account by the account ID. If you look in the database at one of your characters there will be an account id field. That account id is matched to the account id in the accounts table.

kavren
12-13-2008, 06:40 PM
These are my eqemu_config.xml and loginserver.ini files. I've replaced my IP address and DB and DB passwords. Does this give a clue to anything?

<?xml version="1.0">
<server>
<world>
<shortname>minilogin</shortname>
<longname>My Minilogin</longname>

<!-- Only specify these two if you really think you need to. -->
<address>x.x.x.x</address>
<localaddress>127.0.0.1</localaddress>

<!-- Loginserver information. -->
<loginserver>
<host>x.x.x.x</host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>some long random string</key>

<!-- Enable and set the port for the HTTP service. -->
<http port="9080" enabled="true" mimefile="mime.types" />
</world>

<!-- Database configuration, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3306</port>
<username>____</username>
<password>____</password>
<db>____</db>
</database>
</server>


loginserver.ini

###Your current configuration is as follows:

loginserver.ini:
[LoginServer]
loginserver=x.x.x.x
loginport=5999
worldname=My Minilogin
worldaddress=x.x.x.x
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=
[ChatChannelServer]

worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=Minilogin
ServerPort=5999