PDA

View Full Version : How to NOT login using eqemu??


shocker1322
03-28-2004, 06:08 AM
Ok, I have never posted here before because most of the common problems have been covered. This however is not mentioned anywhere I can find. I am using the MW055 alpha 02 database. I have it set up to run on my local machine using the minilogin.exe, and I am using zone.exe that I complied with Perl enabled. In my accounts table I DO NOT have eqemu inserted. I do not want to ever use that name/pw. I have inserted this:(1,'neko','','',0,'fish',250,NULL,0,0)
In my miniloginaccount.ini I have only the following.10.1.4.33 neko fish
There is a space after the pw, just incase you were wondering. Now nowhere in any of my files (I did a text search) did I find a reference to 'eqemu' as a name/pw for a login. I even checked my Everquest folder. Now when I try to login to my server, I get (of course) a 1017 error. For some reason, the server thinks I am using the name 'eqemu' as a login, though I do not have it written anywhere. Now I know you guys like all the code and outputs, so here you go.

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 recommend using the eqemulator.net Loginserver ALWAYS.

### --- NOTE: You can NOT use the word "Server" in worldname.
### --- NOTE2: the word "Server" is added to each server automatically.

# READ README.TXT
[LoginServer]
loginserver=localhost
loginport=5999
worldname=shocker happy fun
worldaddress=10.1.4.33
locked=false

[WorldServer]
Defaultstatus=0
Unavailzone=

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

db.ini# READ README.TXT!

[Database]
host=localhost
user=shocker
password=eq
database=eq
compression=off


### --- This file tells world.exe what computer mySQL is on. Host should
### --- be left "localhost" unless mysql is on a differant computer than world.exe.

Output from Minilogin.exeLoginServer.ini read.
MiniLoginAccounts.ini read.
Server mode: Standalone
Login server listening on port:5999

Output from World.exe[Status] CURRENT_WORLD_VERSION:EQEMu 0.5.5-DR1
[Status] Loading variables..
[Status] Loading zones..
[Status] Loading items..
[Status] EMuShareMem loaded
[Status] Loading items from database: count=28715, max id=69304
[Status] ./LoginServer.ini read.
[Status] Loading guild ranks..
[Status] Loading ./addon.ini..
[Status] Loading EQ time of day..
[Error] Could not load EQTime file ./eqtime.cfg
[Error] Unable to load ./eqtime.cfg
[Status] Reboot zone modes ON
[Status] Deleted 0 stale player corpses from database
[Status] Deleted 0 stale player backups from database
Assassinating people that whine about horses...done
TCP listening on: 10.1.4.33:9000
World server listening on: 10.1.4.33:9000
Connected to LoginServer: localhost:5999
15031 New TCP connection: 127.0.0.1:1550
New zoneserver: #1 127.0.0.1:1550
Zoneserver SetConnectInfo: 127.0.0.1:1550: localhost:7999
15109 New TCP connection: 127.0.0.1:1551
New zoneserver: #2 127.0.0.1:1551
Zoneserver SetConnectInfo: 127.0.0.1:1551: localhost:7996
15203 New TCP connection: 127.0.0.1:1552
15203 New TCP connection: 127.0.0.1:1553
New zoneserver: #3 127.0.0.1:1553
New zoneserver: #4 127.0.0.1:1552
Zoneserver SetConnectInfo: 127.0.0.1:1552: localhost:7998
Zoneserver SetConnectInfo: 127.0.0.1:1553: localhost:7997
15250 New TCP connection: 127.0.0.1:1554
New zoneserver: #5 127.0.0.1:1554
Zoneserver SetConnectInfo: 127.0.0.1:1554: localhost:7995
38156 New client from ip: 10.1.4.33 port: 1558
10.1.4.33: Wrong name/pass: name='eqemu'
Removing client from ip:10.1.4.33 port:1558

Output from Zone.exe[Status] CURRENT_ZONE_VERSION: EQEMu 0.5.5-DR1
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] EMuShareMem loaded
[Status] Loading npcs
[Status] Loading NPCTypes from database...
[Status] Loading npc faction lists
[Status] Loading NPC Faction Lists from database...
[Status] Loading loot tables
[Status] Loading Loot tables from database...
[Status] Loading doors
[Status] Loading Doors from database...
[Status] FileLoadSPDat() Loading spells from ./spells_us.txt
[Status] FileLoadSPDat() spells loaded: 5021
[Status] Loading guilds
[Status] Loading factions
[Status] Loading corpse timers
[Status] Loading what ever is left
[Status] Loading commands
[Status] command_init(): Warning: Command 'help' defaulting to access level 0!
[Status] command_init(): Warning: Command 'version' defaulting to access level 0
!
[Status] command_init(): Warning: Command 'serversidename' defaulting to access
level 0!
[Status] command_init(): Warning: Command 'loc' defaulting to access level 0!
[Status] command_init(): Warning: Command 'flag' defaulting to access level 0!
[Status] command_init(): Warning: Command 'si' defaulting to access level 0!
[Status] 159 commands loaded
[Status] Loading embedded perl
[Status] Loading perlemb plugins.
[Status] Entering sleep mode
Connected to worldserver: localhost:9000

Just to clarify, I can get this to work if I insert 'eqemu' into my accounts table. But when other people on my LAN try to connect, they use the same account, so we have access to the same characters and if someone trys to load a character someone is already playing, it crashes the game. As you can see, I do not have the login 'eqemu' referenced anywhere. The only thing I can think of is that somewhere in the .exe's it is coded in as the only login to use. (My world.exe and MiniLogin.exe were precompiled, but I compiled zone.exe) Any clarification of how this is logging in would be greatly appreciated. The way I understand it, minilogin takes the accounts referenced in miniloginaccount.ini and uses them based on IP. But this is not the case for me. Hope someone knows the inner workings of this program, thanks!

Jezebell
03-28-2004, 06:18 AM
the eqemu username/password is in the code in the source.

Scorpious2k
03-28-2004, 06:31 AM
Try changing this

10.1.4.33 neko fish

to this

127.0.0.1 neko fish

shocker1322
03-28-2004, 06:41 AM
Scorpious, that did not work, still returned "10.1.4.33: Wrong name/pass: name='eqemu'"

Jezebell, what file would it be incoded in? Minilogin, Zone, or World. Thanks for helping, reading source code for zone now.

shocker1322
03-28-2004, 06:57 AM
Reading the source from World and Zone, I am pretty sure the problem is in the Minilogin. World just processes the information and Zone really has nothing to do with it. Next problem, does anyone know were I can find the source code for the minilogin.exe??

ndnet
03-28-2004, 08:52 AM
The source is not (and supposedly never will be) available for minilogin. You should perhaps add a new line to the end of your MiniLoginAccounts.ini, something like:

127.0.0.1 neko fish(space)(return)
(newline)

I have similar problems if my minilogin is only one line. In fact, as of testing moments ago, minilogin would not match my un/pw with one-line ini file, but simply adding a newline got it working for me.
This help?

Edit:

What you're looking for in minilogin is this output:

LoginServer.ini read.
MiniLoginAccounts.ini read.
Server mode: Standalone
Login server listening on port:5999
Matched 127.0.0.1 to 'neko'

samandhi
03-29-2004, 08:55 AM
Try this (though it is a bit out of the way):
ipaddress eqemu eqemu
ipaddress neko fish
After making this miniloginaccounts.ini THEN try inserting both accounts into your DB and see if you can login..

BTW @ndnet The source is not (and supposedly never will be) available for minilogin. You should perhaps add a new line to the end of your MiniLoginAccounts.ini, something like:

127.0.0.1 neko fish(space)(return)
(newline)

I have similar problems if my minilogin is only one line. In fact, as of testing moments ago, minilogin would not match my un/pw with one-line ini file, but simply adding a newline got it working for me.
This help? I am not sure why this worked for you, as this NORMALLY will cause the very problem he is having... because it will try and read that newline character as part of the file, and it doesnt know how to read it...