Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 04-09-2018, 10:14 PM
GRUMPY
Discordant
 
Join Date: Oct 2016
Posts: 445
Default Private Login Config Samples [OUTDATED]

This thread is for total newbies, who are having difficulty with their private login configuration.
This is assuming you have already installed the login server files. This is only regarding the edit
of config files for the login.

These are ONLY samples. You would have to edit the text in yellow to reflect on your server
configuration, if you plan on copying and pasting this to use. These samples are for a local
server only. (Your EQ server and game client are on the same computer) If you are using
a LAN server, you would need to edit the IP's to be setup for that.

First, the main config file, eqemu_config.json (Found in your main server folder)
Note: The loginserver accountname and password, as well as the longname and shortname
has to match what you have in the login tables in the database. that accountname and
password is NOT the one you use for your client. It's what the world and loginserver use
to connect to each other. It's not necessarily needed, but it's my preference.
If you choose not to have it in place, you will see a message "Server bla bla attempted to
login, ...bla bla..but unregistered servers are allowed"

CAUTION : If you edit anything, other than the yellow text references in these files .....you're on your own :P

Code:
{
     "server" : {
          "chatserver" : {
               "host" : "127.0.0.1",
               "port" : "7778"
          },
          "database" : {
               "db" : "peq",
               "host" : "127.0.0.1",
               "password" : "password",
               "port" : "3306",
               "username" : "user"
          },
          "directories" : {
               "logs" : "logs/",
               "lua_modules" : "lua_modules/",
               "maps" : "maps/",
               "patches" : "./",
               "plugins" : "plugins/",
               "quests" : "quests/",
               "shared_memory" : "shared/"
          },
          "mailserver" : {
               "host" : "127.0.0.1",
               "port" : "7778"
          },
          "qsdatabase" : {
               "db" : "peq",
               "host" : "127.0.0.1",
               "password" : "password",
               "port" : "3306",
               "username" : "user"
          },
          "world" : {
               "address" : "127.0.0.1",
               "http" : {
                    "enabled" : "false",
                    "mimefile" : "mime.types",
                    "port" : "9080"
               },
               "key" : "some1random2string3of4characters5here",
               "localaddress" : "127.0.0.1",
               "loginserver" : {
                    "account" : "accountname",
                    "host" : "127.0.0.1",
                    "password" : "password",
                    "port" : "5998"
               },
               "longname" : "PEQ Server",
               "shortname" : "peqserver",
               "tcp" : {
                    "ip" : "127.0.0.1",
                    "port" : "9000",
                    "telnet" : "disable"
               }
          },
          "zones" : {
               "defaultstatus" : "0",
               "ports" : {
                    "high" : "7500",
                    "low" : "7100"
               }
          }
     }
}
Second, the login.ini file : (also found in your main server folder)

Code:
[database]
host = 127.0.0.1
port = 3306
db = peq
user = user
password = password
subsystem = MySQL

[options]
unregistered_allowed = TRUE
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = 127.0.0.
auto_create_accounts = TRUE

[security]
plugin = EQEmuAuthCrypto
mode = 5

[Titanium]
port = 5998
opcodes = login_opcodes.conf

[SoD]
port = 5999
opcodes = login_opcodes_sod.conf

[schema]
account_table = tblLoginServerAccounts
world_registration_table = tblWorldServerRegistration
world_admin_registration_table = tblServerAdminRegistration
world_server_type_table = tblServerListType
Third, you need to edit the eqhost.txt file in your Everquest client. That "5998"
would need to be changed to 5999 for game clients SoD and up. DO NOT change
these numbers in the server config files.

Code:
[LoginServer]

Host=127.0.0.1:5998
  #2  
Old 04-09-2018, 10:33 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Thanks for that GRUMPY!


People always want to change that port number in the client or config files to something that won't work.

The reason port 5999 is used for SoD+ is that the SoF and SoD clients both use the same initial opcodes to login.

So, to identify them properly, a new port was added for SoD and newer clients have just been added to that.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
  #3  
Old 04-09-2018, 10:41 PM
GRUMPY
Discordant
 
Join Date: Oct 2016
Posts: 445
Default

Quote:
Originally Posted by Uleat View Post
Thanks for that GRUMPY!


People always want to change that port number in the client or config files to something that won't work.
You're welcome. People always want to fix, what's not broken, haha
Closed Thread

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