Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::MiniLogin

Support::MiniLogin Support forum for problems with the official MiniLogin release.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2006, 02:00 AM
klinzhai
Sarnak
 
Join Date: Jan 2006
Posts: 78
Default OK, banged my head against this long enough...

Followed the instructions for db setup (including the minilogin stuff) at:

http://www.eqemulator.net/wiki/wikka...kka=MySQLSetup

My eqemu_config.xml looks like this (copy/paste, so it's exact):

<?xml version="1.0">
<server>
<world>
<shortname>Korancia2</shortname>
<longname>Matt's Korancia Server</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address>wendy</address>
<!--localaddress>192.168.1.101</localaddress -->

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>127.0.0.1</host>
<port>5998</port>
<account>eq</account>
<password>klinzhai</password>
</loginserver>

<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->

<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults

are shown -->
<tcp ip="localhost" port="9000" telnet="disable"/>

<!-- 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. Defaults are shown -->
<http port="9080" enabled="false" mimefile="mime.types" />
</world>

<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>channels.eqemulator.net</host>
<port>7778</port>
</chatserver>

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>channels.eqemulator.net</host>
<port>7779</port>
</mailserver>

<zones>
<defaultstatus>20</defaultstatus>

<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7100"/>
</zones>
<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>eq</username>
<password>klinzhai</password>
<db>eqemudata</db>
</database>

<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</launcher>

<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>



My minilogin LoginServer.ini looks like:

### --- 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
loginport=5999
worldname=Korancia2
worldaddress=192.168.1.101
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=minilogin
ServerPort=5999



Yet every time I try to start world.exe, it just pops up the error:

[Debug] [WORLD__LS_ERR] Could not connect to login server: TCPConnection::Connect(): connect() failed. Error: 10061

If anyone has any ideas, I can be reached on Yahoo messenger as solinear.
Reply With Quote
  #2  
Old 04-22-2006, 02:50 AM
klinzhai
Sarnak
 
Join Date: Jan 2006
Posts: 78
Default

Just an FYI. When I connect to the minilogin server from a client, it says "904344 New client from ip: 127.0.0.1 port: 4884"

At least something is working...
Reply With Quote
  #3  
Old 04-22-2006, 03:43 AM
klinzhai
Sarnak
 
Join Date: Jan 2006
Posts: 78
Default

Went and hunted down Cavedude's installer, seems to be working, only I'm not seeming to be able to login from my EQ client. I'm sure that it's something stupid (more PEBCAK) like I haven't added in the user/password for the client.

Edit: Yep, went into the db and inserted the record with a password (Yay for MysqlCC!!) and everything and *bam*! I got in. Now all I have to do is figure out how to get my server onto the server list

Last edited by klinzhai; 04-22-2006 at 11:49 AM..
Reply With Quote
  #4  
Old 04-22-2006, 03:49 AM
Kirgothi
Sarnak
 
Join Date: Apr 2006
Posts: 59
Default

I am having the same problem as you. Where are you stuck at? The "Logging into the server. Please wait..." screen? Or the server selection screen.

Cavedude told me that his installer takes care of adding a default user/passcode for you. I think it's mini/mini, but I am not positive.

Kir
Reply With Quote
  #5  
Old 04-22-2006, 04:02 AM
klinzhai
Sarnak
 
Join Date: Jan 2006
Posts: 78
Default

I'm at the server screen.

His installer does not install default user/password into the account table (if you go get MysqlCC from the good MySQL folks, you can view the table and there's nothing in it). Just right-click on the account table, select "Open Table > Return all rows" and it will actually return you all the data in the table. If there isn't anything in there, right-click again in the open area where it appears that the data is and select "Insert record". Now you can go through and set all those wonderful settings that you'll need so that you can create new users. As soon as you click on the "name" field, it will autocreate a new master key (the "id" field for the table... never change this, it's only important for the db itself and it autoincrements) for the record.
Reply With Quote
  #6  
Old 04-22-2006, 04:24 AM
Kirgothi
Sarnak
 
Join Date: Apr 2006
Posts: 59
Default

I am trying to use access to open the table, but I can't seem to find anything to open. What are you using to look at the database?
Reply With Quote
  #7  
Old 04-22-2006, 04:29 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Installer Pack 3.5 is out and should work for you.
Reply With Quote
  #8  
Old 04-22-2006, 04:40 AM
klinzhai
Sarnak
 
Join Date: Jan 2006
Posts: 78
Default

You can find MysqlCC here:

http://downloads.mysql.com/archives....ysqlcc&v=0.9.2

It's a control center. If you load it on your db server (like probably most of us do), your settings should be:

Name: (doesn't matter, I just put down 'localhost')
Host Name: localhost
User Name: root (unless you want to use your EQ user)
Password: (your password )

You can actually do all the database admin type stuff through this... it's a lot easier than trying to do it through the command line version. However, you can't run really large (20+MB) .sql files in it, you have to do those through the command line version (*sniff*). I create all my users in that, since it's easier to just insert record and give it a name, password, status, ip, etc...

P.S.: Cavedude. I used 3.5 it does work way better than everything else, but for some odd reason it did not create an entry into the account table for a user.

Last edited by klinzhai; 04-22-2006 at 12:43 PM..
Reply With Quote
  #9  
Old 04-22-2006, 05:06 AM
Kirgothi
Sarnak
 
Join Date: Apr 2006
Posts: 59
Default

Um ok, completely lost here. I have actually had a class on SQL and Oracle, but this all seems totally different than any of that. We were able to use Access to look at any of our databases.

I downloaded the control center. I entered the information you mentioned. How do I like do anything in here? How do you find the tables? They don't seem to be listed anywhere. When I try to connect to the database it just says:
ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)

Last edited by Kirgothi; 04-22-2006 at 01:08 PM..
Reply With Quote
  #10  
Old 04-22-2006, 05:22 AM
Kirgothi
Sarnak
 
Join Date: Apr 2006
Posts: 59
Default

Ok, now I am trying to add the account using the command line method. I am trying to follow the incredibly cryptic guide here:
http://www.eqemulator.net/wiki/wikka...MiniLoginSetup

I am trying to just open a command prompt and typing in the code:
INSERT INTO account(name, STATUS, minilogin_ip) VALUES('mini',250,'127.0.0.1');

In the first set of parenthensis, do I type in "name", "STATUS", "minilogin_ip" as it says in the guide? Or am I supposed to substitute some other value? What is 250 for? I thought it was for GM or admin level access. Where do you find that information?

It just replies by telling me that INSERT is not a recognized command.
Reply With Quote
  #11  
Old 04-22-2006, 05:25 AM
klinzhai
Sarnak
 
Join Date: Jan 2006
Posts: 78
Default

It's not going to look like Access, you can probably use Access to edit your database and tables if you like. I'm just used to doing more db design type stuff, where having the database view is more easy for me to do stuff with.

It's possible that one of the problems that you're having is one of the problems that I was having... my password for the eq user (inside MySQL) was not set the same as what the 3.5 installer set it for by default (user: eq - password: eq). I changed that in the database and it worked fine.

That being said, the connection error could be that you're entering the wrong password for root. Or it's possible that you need the odbc driver (I always forget that I have it installed).

If you want to use Access, it's not that different and you should be able to view the data in the tables easier than with MySQLCC
Reply With Quote
  #12  
Old 04-22-2006, 05:27 AM
Maus
Fire Beetle
 
Join Date: Apr 2006
Posts: 8
Default

No such luck, cavedude. :(
Reply With Quote
  #13  
Old 04-22-2006, 05:34 AM
Kirgothi
Sarnak
 
Join Date: Apr 2006
Posts: 59
Default

Ok, now I am connected to the server in mysqlcc. I have an emusp3 and an eq database. They look pretty similar. Which one do I want to use to insert into the account table?

How does one do this insert?
Reply With Quote
  #14  
Old 04-22-2006, 05:42 AM
klinzhai
Sarnak
 
Join Date: Jan 2006
Posts: 78
Default

Oh the beauties... they're possibly both the same thing, you probably just installed again, so it created another db. Check and see which one was created most recently (look at the tables and see which ones were created more recently) and that's probably the more recent of the two.

That being said, I tried out 'mini' and 'mini' and while they aren't in the db, they do still seem to work. Maybe this is a minilogin feature that I didn't know about.

Either way though, if you want anyone else to be able to connect to your game, you'll need to be able to add more users.

BTW, I've reinstalled about 3 times and I think that my problem is related to whatever is causing my one command session to eventually switch over to saying "0: sleeping". If I can figure out what's going on with that, I think it will start working (redownloaded 3.5 about a 1/2 hour ago and reinstalled and it just kind of keeps doing the same thing).
Reply With Quote
  #15  
Old 04-22-2006, 05:50 AM
Kirgothi
Sarnak
 
Join Date: Apr 2006
Posts: 59
Default

ok, but how do you actually insert a record? I can open the table now and I see an "insert record" button, but when I click it, it just turns gray. Is there room on that wall for me to bang my head on it too? Together we can probably knock it down.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

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


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3