PDA

View Full Version : Minilogin not distinguishing between accounts and ultra wierd in game error.


endra
07-27-2007, 12:58 PM
Okay before I get told. I've been searching google and these forums for about two and a half or three hours. I actually have a mess of problems with minilogin. So I'll list them and if you can answer any one of them please do. Again I searched If I didn't do it right I apologize. But here they are.

Playing on a lan with a router But its local only

First all my info.

DB Account entries
id 16 name dekronoth minilogin ip 192.168.1.102
id 17 name rykel minilogin ip 192.168.1.101

loginserver.ini
### --- This file tells world.exe what loginserver to connect to.
### --- Leave the account and password field BLANK.

### --- Public Login is un-supported as is LAN playing. We reccomend using the EQEmu.net Loginserver ALWAYS.

### --- NOTE: Starting 6-1-2002, you can no longer use the word "Server" in worldname.
### --- NOTE2: the word "Server" is added to each server automaticly.

# READ README.TXT

[LoginServer]
loginserver=192.168.1.102
# loginserver2=192.168.1.102
loginport=5999
# loginport2=5999
worldname=Chronicles of Dekronoth
worldaddress=192.168.1.102
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=StandAlone
ServerPort=5999

eqemu_config.xml
<?xml version="1.0">
<server>
<world>
<shortname>whatever</shortname>
<longname>Chronicles of Dekronoth</longname>

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

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

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>452t43</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>127.0.0.1</host>
<port>3306</port>
<username>root</username>
<password>n07 my p4ss</password>
<db>peq</db>
</database>
</server>

Errors.
1.I cant login on the local machine until the remote machine is in the game or logged in to loginserver havent tested which yet
2.Both minilogin IP's are different yet when I do login after she does it takes me to her account, I can even log in as her character while she is in the world and play with duplicate characters. But if I quit and login it takes me to my account.
3.In game error was while we were logged into seperate accounts the remote machine zoned and when it loaded the other player was my character. My account is flagged as admin. Once that happened she zoned back out the way she came and was in a debug room with four walls and it was very small, still my character, had her log off. I was in the game still but I had the commands that were set for her status as if Id switched accounts but I was still my character.

ksmith08
07-27-2007, 01:11 PM
<address>192.168.1.102</address>
<!-- <localaddress>127.0.0.1</localaddress> -->

Try removing the <!-- --> (comment) from the local address. You basically have it set up identical to mine except for that.

I think it should be:

<address>192.168.1.102</address>
<localaddress>127.0.0.1</localaddress>

endra
07-27-2007, 05:23 PM
No dice. Still cant log in without the remote account being logged in.

John Adams
07-27-2007, 06:04 PM
Try this guide? This is what got me going.

http://www.eqemulator.net/wiki/wikka.php?wakka=MiniLoginConfig

Sakrateri
07-27-2007, 07:28 PM
<!-- Only specify these two if you really think you need to. -->
<address>192.168.1.102</address>
<!-- <localaddress>127.0.0.1</localaddress> -->


i usually use the server ip for both these with no probs

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

like that , not sure if that will help
.

endra
07-29-2007, 05:54 PM
I had to change the eqhosts.txt address to my network address instead of the local one. Stopped all the problems. Thanks for trying guys. :)

Damilis
07-30-2007, 12:00 AM
I had to change the eqhosts.txt address to my network address instead of the local one. Stopped all the problems. Thanks for trying guys. :)

I know you got it working but since you are switching all your localhosts & 127.0.0.1 to your net IP (192.168.1.102) then i suggest changing:


<database>
<host>127.0.0.1</host>
<port>3306</port>


to

<database>
<host>192.168.1.102</host>
<port>3306</port>


also.

Just an idea. Computers like consistancy ;)

endra
07-30-2007, 02:50 AM
I knew that already. I actually set that for that reason, and so I could run world.exe on a remote machine.

wayneg
08-29-2007, 12:01 PM
I've spent alot of time looking, and trying to figure this out.
I'll post the logs if I can't work it out.

My world server can't find minilogin account and think I've got everything setup correctly.
I see login server run, i see the world server start up, I see the zones load, I see world server connect to login server. I start the EQ client, I see it connect to login server, I see the server select screen, I select it and then see the can't find mini login.

Playing on a lan with a router But its local only
Running EQEmu, Minilogin, and EQ Client all on same machine.
Looking for someone who has this configuration, and could help.

What do the following files look like:
Login Server.ini
eqemu_config.xml
DB Account entries

please help, thanks

wayneg
08-29-2007, 03:11 PM
my configuration

LoginServer.ini

### --- This file tells world.exe what loginserver to connect to.
### --- Leave the account and password field BLANK.

### --- Public Login is un-supported as is LAN playing. We reccomend using the EQEmu.net Loginserver ALWAYS.

### --- NOTE: Starting 6-1-2002, you can no longer use the word "Server" in worldname.
### --- NOTE2: the word "Server" is added to each server automaticly.

# READ README.TXT

[LoginServer]
loginserver=127.0.0.1
##loginserver2=localhost
loginport=5999
##loginport2=5999
worldname=WaynesWorld
worldaddress=127.0.0.1
locked=false
#account=
#password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=Minilogin
ServerPort=5999


eqemu_config.xml

<?xml version="1.0">
<server>
<world>
<shortname>Bertoxxulous</shortname>
<longname>WaynesWorld</longname>

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

<!-- Loginserver information. -->
<loginserver>
<host>127.0.0.1</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>127.0.0.1</host>
<port>3306</port>
<username>root</username>
<password>secret</password>
<db>peq</db>
</database>
</server>


Start.bat

@echo off
start minilogin.exe Echo Please wait for Minilogin to fully boot up. pause
start world.exe
cls
Echo Wait for World to finish loading... Press Entr when done.
pause
start eqlaunch.exe zone
exit


eqhost

[LoginServer]
Host=192.168.1.103:5999

--- My Sql Database ---

select * from account;

"id","name","charname","sharedplat","password","status","lsaccount_id","gmspeed","revoked","minilogin_ip","hideme","rulesflag"
1,"wayneg","",0,"eqemu",250,1,0,0,"127.0.0.1",0,0

SELECT * FROM `variables` v where varname='LoginType';

"varname","value","information","ts"
"LoginType","Minilogin","Set this to Minilogin to login using a minilogin server :)","2007-08-27 02:20:09"

wayneg
08-29-2007, 04:25 PM
Log file

---------------------------------------------
[08.29. - 21:21:44] Starting Log: logs/eqemu_debug_world_5900.log
[08.29. - 21:21:44] [WORLD__INIT] Loading server configuration..
[08.29. - 21:21:44] [WORLD__INIT] Log settings loaded from log.ini
[08.29. - 21:21:44] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[08.29. - 21:21:44] [WORLD__INIT] Connecting to MySQL...
[08.29. - 21:21:44] [WORLD__INIT] Starting HTTP world service...
[08.29. - 21:21:44] [WORLD__HTTP] Loaded mime types from mime.types
[08.29. - 21:21:44] [WORLD__INIT] Loading variables..
[08.29. - 21:21:44] [WORLD__INIT] Loading zones..
[08.29. - 21:21:44] [WORLD__INIT] Clearing groups..
[08.29. - 21:21:44] [WORLD__INIT] Clearing temporary merchant lists..
[08.29. - 21:21:44] [WORLD__INIT] Loading items..
[08.29. - 21:21:47] [WORLD__INIT] Loading guilds..
[08.29. - 21:21:47] [RULES__CHANGE] Loading rule set 'default' (2)
[08.29. - 21:21:47] [WORLD__INIT] Loaded default rule set 'default'
[08.29. - 21:21:47] [WORLD__INIT] Loading EQ time of day..
[08.29. - 21:21:47] [WORLD__INIT_ERR] Unable to load eqtime.cfg
[08.29. - 21:21:47] [WORLD__INIT] Loading launcher list..
[08.29. - 21:21:47] [WORLD__INIT] Reboot zone modes ON
[08.29. - 21:21:47] [WORLD__INIT] Deleted 0 stale player corpses from database
[08.29. - 21:21:47] [WORLD__INIT] Deleted 0 stale player backups from database
[08.29. - 21:21:47] [WORLD__INIT] Zone (TCP) listener started.
[08.29. - 21:21:47] [WORLD__INIT] Client (UDP) listener started.
[08.29. - 21:21:47] [NET__IDENTIFY] Registered patch 6.2
[08.29. - 21:21:47] [NET__IDENTIFY] Registered patch Titanium
[08.29. - 21:21:47] [NET__IDENTIFY] Registered patch Anniversary
[08.29. - 21:21:47] [NET__IDENTIFY] Registered patch Live
[08.29. - 21:21:47] [WORLD__LS] Connecting to login server...
[08.29. - 21:21:47] [WORLD__LS] Setting World to MiniLogin Server type
[08.29. - 21:21:47] [WORLD__LS] Connected to Loginserver: 127.0.0.1:5999
[08.29. - 21:21:55] [WORLD__ZONE] New TCP connection from 127.0.0.1:3930
[08.29. - 21:21:55] [WORLD__CONSOLE] New launcher from 127.0.0.1:3930
[08.29. - 21:21:55] [WORLD__LAUNCH] Adding pending launcher 1
[08.29. - 21:21:55] [WORLD__LAUNCH] Launcher Identified itself as 'zone'. Loading zone list.
[08.29. - 21:21:55] [WORLD__LAUNCH] Removing pending launcher 1. Adding zone to active list.
[08.29. - 21:22:00] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (1 starts)
[08.29. - 21:22:13] [WORLD__ZONE] New TCP connection from 127.0.0.1:3939
[08.29. - 21:22:13] [WORLD__CONSOLE] New zoneserver #1 from 127.0.0.1:3939
[08.29. - 21:22:13] [WORLD__ZONE] [1] Zone started with name dynamic_01 by launcher zone
[08.29. - 21:22:13] [WORLD__ZONE] [1] Auto zone port configuration. Telling zone to use port 7000
[08.29. - 21:22:20] [WORLD__LAUNCH] zone: dynamic_02 reported state STARTED (1 starts)
[08.29. - 21:22:20] [WORLD__ZONE] New TCP connection from 127.0.0.1:3941
[08.29. - 21:22:20] [WORLD__CONSOLE] New zoneserver #2 from 127.0.0.1:3941
[08.29. - 21:22:20] [WORLD__ZONE] [2] Zone started with name dynamic_02 by launcher zone
[08.29. - 21:22:20] [WORLD__ZONE] [2] Auto zone port configuration. Telling zone to use port 7001
[08.29. - 21:22:24] [WORLD__LAUNCH] zone: dynamic_03 reported state STARTED (1 starts)
[08.29. - 21:22:24] [WORLD__ZONE] New TCP connection from 127.0.0.1:3943
[08.29. - 21:22:24] [WORLD__CONSOLE] New zoneserver #3 from 127.0.0.1:3943
[08.29. - 21:22:24] [WORLD__ZONE] [3] Zone started with name dynamic_03 by launcher zone
[08.29. - 21:22:24] [WORLD__ZONE] [3] Auto zone port configuration. Telling zone to use port 7002
[08.29. - 21:22:28] [WORLD__LAUNCH] zone: dynamic_04 reported state STARTED (1 starts)
[08.29. - 21:22:28] [WORLD__ZONE] New TCP connection from 127.0.0.1:3946
[08.29. - 21:22:28] [WORLD__CONSOLE] New zoneserver #4 from 127.0.0.1:3946
[08.29. - 21:22:28] [WORLD__ZONE] [4] Zone started with name dynamic_04 by launcher zone
[08.29. - 21:22:28] [WORLD__ZONE] [4] Auto zone port configuration. Telling zone to use port 7003
[08.29. - 21:22:32] [WORLD__LAUNCH] zone: dynamic_05 reported state STARTED (1 starts)
[08.29. - 21:22:32] [WORLD__ZONE] New TCP connection from 127.0.0.1:3948
[08.29. - 21:22:32] [WORLD__CONSOLE] New zoneserver #5 from 127.0.0.1:3948
[08.29. - 21:22:32] [WORLD__ZONE] [5] Zone started with name dynamic_05 by launcher zone
[08.29. - 21:22:32] [WORLD__ZONE] [5] Auto zone port configuration. Telling zone to use port 7004
[08.29. - 21:22:36] [WORLD__LAUNCH] zone: dynamic_06 reported state STARTED (1 starts)
[08.29. - 21:22:36] [WORLD__ZONE] New TCP connection from 127.0.0.1:3951
[08.29. - 21:22:36] [WORLD__CONSOLE] New zoneserver #6 from 127.0.0.1:3951
[08.29. - 21:22:36] [WORLD__ZONE] [6] Zone started with name dynamic_06 by launcher zone
[08.29. - 21:22:36] [WORLD__ZONE] [6] Auto zone port configuration. Telling zone to use port 7005
[08.29. - 21:23:49] [WORLD__CLIENT] New connection from 127.0.0.1:3957
[08.29. - 21:23:50] [NET__IDENT_TRACE] 127.0.0.1:3957: First opcode 0x4dd0 did not match expected 0x2792
[08.29. - 21:23:50] [NET__IDENT_TRACE] 127.0.0.1:3957: Tried patch 6.2_world, and it did not match.
[08.29. - 21:23:50] [NET__IDENT_TRACE] 127.0.0.1:3957: First opcode 0x4dd0 did not match expected 0x2ec9
[08.29. - 21:23:50] [NET__IDENT_TRACE] 127.0.0.1:3957: Tried patch 6.2_zone, and it did not match.
[08.29. - 21:23:50] [NET__IDENT_TRACE] 127.0.0.1:3957: First opcode matched 0x4dd0 and length matched 464
[08.29. - 21:23:50] [NET__IDENTIFY] Identified stream 127.0.0.1:3957 with signature Titanium_world
[08.29. - 21:23:50] [WORLD__CLIENT] New client from 127.0.0.1:3957
[08.29. - 21:23:50] [WORLD__CLIENT_ERR] : ID is 0. Is this server connected to minilogin?
[08.29. - 21:23:50] [WORLD__CLIENT_ERR] : Could not find a minilogin account, verify ip address logging into minilogin is the same that is in your account table.

Dargon
08-29-2007, 05:16 PM
I have heard of issues when using 127.0.0.1 as the ip address for minilogin. Try changing it to the lan address.

wayneg
08-29-2007, 07:10 PM
Got it working, will post configuration. Thanks to the other posters here I got it going. Runs too fast got to get the amd thing slowed down.

8)