Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-28-2009, 04:43 PM
Asram
Fire Beetle
 
Join Date: Mar 2009
Location: Texas
Posts: 9
Default

I'm with Angelox that an account-based (rather than IP-based) minilogin would be a great boon for the minilogin users. I don't think that's the part of the design that's causing the consternation though, right?

It's the effect of federating the servers and the potential problem of duplicate account names, right?
Reply With Quote
  #2  
Old 03-28-2009, 09:28 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default Clarification

Well, I'm trying to set up the minilogin, and think I've figured out the readme file so far; but I have a question about two instructions:
Quote:
insert into login_accounts set name='username',password=md5("yourpassword"),user_ active=1;
I set the user_active field at 1, but I'm not sure just what specifically I need to put for the name and password. Are the above settings ('username' for name and md5("yourpassword") for password) literal strings to be entered into these fields, or do they represent variables? In other words, do I replace 'username' with my own username and md5("yourpassword") with my own password, or do I type these lines in as literal strings into the db? My guess is that these are variables, but "md5" just seems like a strange way to note a variable.

Also . . .
Quote:
insert into login_worldservers set account='accountname',password='yourpassword',name ='Public Name';
Same question as before. Is 'accountname' my account, or is it a literal string of characters to be entered into the db? Same question for 'Public Name'.

I appreciate any help with this.
Reply With Quote
  #3  
Old 03-28-2009, 09:34 PM
Aergad
Banned
 
Join Date: Mar 2009
Location: In a house
Posts: 150
Default

you set them to whatever you want them to be they are not variables user_active must be set to 2 or you cant login makle sure you ONLY Change yourpassword to what you want the password to be DO NOT REMOVE md5("") that is the encryption of the password and MUST Be there
Reply With Quote
  #4  
Old 03-28-2009, 09:35 PM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,292
Default

insert into login_accounts set name='username',password=md5("yourpassword"),user_ active=1;

Replace username with the name you want your account to be.
Replace yourpassword with the password you want to use, md5 is an encryption technique.
The user_active field makes sure you can login, if it is 0, it will not let you.

insert into login_worldservers set account='accountname',password='yourpassword',name ='Public Name';
Replace accountname with a account you will use in your eqemu_config.xml under <account>
Replace your password with an account password which will also be reflected in the eqemu_config.xml
The contents of name do not matter as far as I remember, this just needs to have something there.
__________________
www.eq2emu.com
EQ2Emu Co-Founder / EQ2Emu Developer
EQEMu Co-Founder / Former EQEMu Developer / GuildWars / Zek Seasons Servers
Reply With Quote
  #5  
Old 03-28-2009, 11:35 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

Thanks for the help. I see there is some conflict in the information. Is it user_active=2 (per Aergad), or user_active=1 (per the readme file)?
Reply With Quote
  #6  
Old 03-29-2009, 12:04 AM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,292
Default

Any value that is not 0 should make the user active, but in reality it should be 1.
__________________
www.eq2emu.com
EQ2Emu Co-Founder / EQ2Emu Developer
EQEMu Co-Founder / Former EQEMu Developer / GuildWars / Zek Seasons Servers
Reply With Quote
  #7  
Old 03-29-2009, 12:36 AM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Red face

Thanks again. One more clarification. You wrote:

"Replace accountname with a account you will use in your eqemu_config.xml under <account>"

Here is the contents of my eqemu_config.xml (names and password have been changed). Which piece of information are you calling the "accountname"? Is it the shortname, the username, something else?
Code:
 <?xml version="1.0">
<server>
        <world>
                <shortname>NAME</shortname>
                <longname>LONG NAME</longname>

                <!-- 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</username>
                <password>password</password>
                <db>peq</db>
        </database>
</server>
Reply With Quote
  #8  
Old 03-29-2009, 12:43 AM
Aergad
Banned
 
Join Date: Mar 2009
Location: In a house
Posts: 150
Default

it should look something like

Code:
<?xml version="1.0">
<server>
	<world>
		<shortname>name</shortname>
		<longname>Name of your server</longname>

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

		<!-- Loginserver information.  Defaults shown -->
		<loginserver>
			<host>loginserver</host>
			<port>5999</port>
			<account>accountname</account>
			<password>password</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="enable"/>

		<!-- 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="true" mimefile="mime.types" />
	</world>

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

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

	<zones>
		<defaultstatus>0</defaultstatus>

		<!-- Sets port range for world to use to auto configure zones -->
		<ports low="7000" high="7099"/>
	</zones>

	<!-- Database configuration, replaces db.ini.  Defaults shown -->
	<database>
		<host>xxx.xxx.xxx</host>
		<port>3306</port>
		<username>xxxxx</username>
		<password>xxxxxx</password>
		<db>newpeq</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>
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:13 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3