EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=617)
-   -   MiniLoginAccounts.ini Problems (https://www.eqemulator.org/forums/showthread.php?t=11235)

MacLeod 01-07-2004 10:08 AM

MiniLoginAccounts.ini Problems
 
Well, I spent a ridiculous amount of time trying to get this up and running yesterday trying various combinations and I got it mostly working by going through these forums forever. Unfortunately, I have come across an error that seems fairly common.

The problem deals with MiniLogin, I know it isn't supported so if you are feeling the need to yell at me about how it isn't supported, please don't bother. I am only asking to see if anyone has come across this same problem while trying to setup something similar to what I am trying to setup.

I have scoured these forums and I can't figure out how to fix this. Basically, I want to have multiple users on a LAN behind a firewall/proxy be able to log in with different accounts (1 account per IP, this is possible in theory). I can get it working fine where everyone logs into the same account, but I would like to be able to have a single account for each person.

The problem lies with MiniLoginAccounts.ini. I can not figure out the formatting of this file. Here is what I have.

MiniLoginAccounts.ini
Code:

10.22.101.121 notyou ****
10.22.101.2 eqemu ***********

When I start MiniLogin.exe, I get the following message.
Code:

LoginServer.ini read.
Error in MiniLoginConfig.ini on line #1: Invalid format, should be 'IP username password'
MiniLoginAccounts.ini read.
Server mode: Standalone
Login server listening on port:5999

This exact formatting works perfectly fine in earlier versions of MiniLogin.exe but then these versions don't work with EQEMU.

I have tried putting the same data into MiniLoginAccounts.ini except with a space at the end of the first line. I don't get an error but then only the first account I have listed in the MiniLoginAccounts.ini works. The other one gets the infamous 1017 error when I try to login. If I put the 'notyou' login first, I can use the 'notyou' account on the 10.22.101.2 computer to log in without a problem, but then I can't log in with the 'eqemu' account on the 10.22.101.121 computer. And if I put the 'eqemu' login first, I can log in with the 'eqemu' account on the 10.22.101.121 computer but not 'notyou' account on the 10.22.101.2 computer. So obviously, the whitespace just causes it to stop reading the file thinking it is at the end of the file. Because of this, only the first account in the file ever gets read in.

My question therefore is, What is the correct formatting for the MiniLoginAccounts.ini file?






Below is the requested information with regard to the 1017 error:

5) If you are having 1017 errors, please provide the following information:
a) What OS (Operating System, IE: Windows 95) you are using: Windows XP Pro
b) What you are connecting to (Minilogin, Publiclogin, Logging/Hosting into eqlogin.eqemu.net): MiniLogin
c) What EMU Version (IE: 0.3.7) you are using: 0.5.3-DR2
d) Paste the text out of these files:

db.ini (mask out PASSWORD please)
Code:

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

loginserver.ini
Code:

[LoginServer]
loginserver=10.22.101.121
loginport=5999
worldname=MacLeod's EverQuest
worldaddress=10.22.101.121
locked=false

[WorldServer]
Defaultstatus=0
Unavailzone=

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

boot5zones.bat
Code:

@echo off

if NOT exist spells_us.txt goto NOSPELL

start zone . 127.0.0.1 7995 127.0.0.1
start zone . 127.0.0.1 7996 127.0.0.1
start zone . 127.0.0.1 7997 127.0.0.1
start zone . 127.0.0.1 7998 127.0.0.1
start zone . 127.0.0.1 7999 127.0.0.1
exit
cls

:NOSPELL
echo You did not copy the spells_en.txt from your everquest directory to this one.  Please do so or zones will crash on startup.
PAUSE

eqhost.txt (in your eq directory)
Code:

[Registration Servers]
{
"10.22.101.121:5999"
}
[Login Servers]
{
"10.22.101.121:5999"
}

e) Load up world.exe, and Boot5zones.bat and copy/paste them in the post.

World.exe executed
Code:

[Status] CURRENT_WORLD_VERSION:EQEMu 0.5.3-DR2
[Status] Loading variables..
[Status] Loading zones..
[Status] Loading items..
[Status] EMuShareMem loaded
[Status] Loading items from database: count=26679, max id=68199
[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.22.101.121:9000
World server listening on: 10.22.101.121:9000
Connected to LoginServer: 10.22.101.121:5999

Boot5zones.bat executed (This file executes too quickly, and disappears to let the zones load up. I have pasted one of the zones executed instead)
Code:

[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 loot tables
[Status] Loading doors
[Status] Loading Doors from database...
[Status] FileLoadSPDat() Loading spells from spells_us.txt
[Status] FileLoadSPDat() spells loaded: 4578
[Status] Loading guilds
[Status] Loading factions
[Status] Loading corpse timers
[Status] Loading what ever is left
[Status] Loading commands
[Status] 149 commands loaded
[Status] Entering sleep mode
Connected to worldserver: 127.0.0.1:9000

Thanks for any help you can give.

mew972 01-07-2004 10:14 AM

My miniloginaccount.ini looks like this:

Code:

localhost eqemu eqemu
192.168.1.100 eqemu eqemu
127.0.0.1 eqemu eqemu
localhost admin admin
192.168.1.100 admin admin
127.0.0.1 admin admin

and it works just fine. a little laggy (running everything on a amd duron 899 MHz w/ 256 MB ram

MacLeod 01-07-2004 10:25 AM

Are you using the latest version of MiniLogin.exe?

Also, what version of eqemu do you use?

rmm99 01-07-2004 10:29 AM

Quote:

I have tried putting the same data into MiniLoginAccounts.ini except with a space at the end of the first line. I don't get an error but then only the first account I have listed in the MiniLoginAccounts.ini works.
You read the sticky...
http://www.eqemulator.net/forums/viewtopic.php?t=11268
...regarding the spaces at the end of every line? That works for me.

rmm99 01-07-2004 10:30 AM

Future reference - searching by the filename worked well.

MacLeod 01-07-2004 12:01 PM

Well, I did see this topic actually. The problem was that it wanted more than 2 people in the file. I put an extra one into the db and the MiniLoginAccounts.ini file and it loaded up all the users without a problem. Now just trying to figure out why the 2nd computer can't log into the world, when it could before I edited this file like this. I may have an idea but I'm taking a break for a while, been messing around with this for too much time. Thanks for the help btw, both of you got me on the right track (more users and the spaces).

Chicomalo 01-07-2004 01:12 PM

I have had that kind of problem as well, I try so many combination is not even crazy. I dont even know what to do with it. LOL!

It even makes it hard for me cause I get errors adding my friends IP addresses since I am using my to make a Loginserver for online.

http://www.eqemulator.net/forums/viewtopic.php?t=12218

But yea, if you figure how to work it let me know I check so many places and I have saved all those pages in a folder. So, I got them all in case I run into something different I will know what I got and dont hehe.

Good luck with that my friend and if I figure something out I will post it here as well.

MacLeod 01-07-2004 03:14 PM

Someone else mentioned this in another thread but it wasn't applicable to me yet, this time it was.

You have to edit the Boot5zones.bat so they point to your ip, NOT localhost or 127.0.0.1. It is a little confusing because it says in the boot5zones.bat that you need to change to one of those if you are using minilogin, but this is only if you are going to be the only person connecting.

So, instead of this:
Code:

@echo off

if NOT exist spells_us.txt goto NOSPELL

start zone . 127.0.0.1 7995 127.0.0.1
start zone . 127.0.0.1 7996 127.0.0.1
start zone . 127.0.0.1 7997 127.0.0.1
start zone . 127.0.0.1 7998 127.0.0.1
start zone . 127.0.0.1 7999 127.0.0.1
exit
cls

:NOSPELL
echo You did not copy the spells_en.txt from your everquest directory to this one.  Please do so or zones will crash on startup.
PAUSE

Do this (except put your IP instead of 10.22.101.121):
Code:

@echo off

if NOT exist spells_us.txt goto NOSPELL

start zone . 10.22.101.121 7995 10.22.101.121
start zone . 10.22.101.121 7996 10.22.101.121
start zone . 10.22.101.121 7997 10.22.101.121
start zone . 10.22.101.121 7998 10.22.101.121
start zone . 10.22.101.121 7999 10.22.101.121
exit
cls

:NOSPELL
echo You did not copy the spells_en.txt from your everquest directory to this one.  Please do so or zones will crash on startup.
PAUSE


Chicomalo 01-07-2004 03:51 PM

Yea my situation is kind of like that but different. I have to set up my url there and the ip that peoples will be login in to. So pretty much my internal and external. I am still messing around trying to figure out what is going wrong in this here.

thezombie 01-29-2004 03:44 AM

Fix for invalid format on all lines
 
Just found the fix for a properly formatted file giving errors on all lines ... I can only give the example for XP, but here's the principle: at the end of each line in a text file, you'll normally have a line feed and a carriage return. Two characters make up an ENTER in a text file. I know some different computers and programs may reverse the order of them, or omit one or the other. So I tried Save As in Notepad and went through the different types. The one that got my 6 line MiniLoginAccounts.ini working was, in Windows XP, Unicode Text Document. It'll still be readable by notepad and is still a text file :) And no, I don't really know what Unicode is ... I know as much as I posted here :) Hope this helps, I imagine this must be a common problem.

The Zombie

Chicomalo 01-31-2004 07:27 AM

Hey did you figure out how to get off that 1017 Error? Cause I can't and I am runing the same

Windows XP Pro
MiniLogin
EMU 0.5.3-DR2

Maybe you can tell me what you did to fix this problem. :wink:

wize_one 01-31-2004 08:37 AM

make sure there is a blank space after the password on each entry

Chicomalo 01-31-2004 09:22 AM

Hehehe, thanks I got it done before I even check here. Is easy to forget to do that. But the big problem was that I was using the wrong MiniLogin the old one and now I got the lastest one and it works find. Thanks Wize_one.


All times are GMT -4. The time now is 12:59 PM.

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