View Single Post
  #4  
Old 08-05-2017, 03:23 PM
The_Beast's Avatar
The_Beast
Discordant
 
Join Date: May 2016
Location: Under a rock
Posts: 290
Default

Assuming that BOTH your database and server are on that remote host, look at these edits in RED (both config files)
I am also going to assume you have the tbl login tables in your database and you've set a user/pass in the tblworldregistration table ?
Code:
/home/eqemu/server # cat eqemu_config.xml
<?xml version="1.0">
<server>
        <world>
                <shortname>AAA Test Server</shortname>
                <longname>AAA Test Server</longname>


                <loginserver1>
                        <legacy>1</legacy>
                        <host>login.eqemulator.net</host>
                        <port>5998</port>
                        <account></account>
                        <password></password>
                </loginserver1>


                <address>136.243.xxx.xxx</address>
                <!-- <localaddress>127.0.0.1</localaddress> (leave this commented out) -->
                
                <loginserver2>
                        <host>136.243.xxx.xxx</host>
                        <port>5998</port>
                        <account>Admin</account>
                        <password>Password</password>
                </loginserver2>



                <tcp ip="136.243.xxx.xxx" port="9001"/>
                <telnet ip="136.243.xxx.xxx" port="9000" enabled="true"/>

                <key>mykey</key>

                <http port="9080" enabled="true" mimefile="mime.types" />
        </world>

        <chatserver>
                <host>136.243.xxx.xxx</host>
                <port>7500</port>
        </chatserver>

        <mailserver>
                <host>136.243.xxx.xxx</host>
                <port>7500</port>
        </mailserver>

        <zones>
        <defaultstatus>0</defaultstatus>

        <ports low="7000" high="7400"/>
        </zones>

        <database>
           <host>127.0.0.1</host>
           <port>3306</port>
           <username>eqone_sys</username>
           <password>mydbpassword</password>
           <db>eqone</db>
        </database>

        <qsdatabase>
           <host>127.0.0.1</host>
           <port>3306</port>
           <username>eqone_sys</username>
           <password>mydbpassword</password>
           <db>eqone</db>
        </qsdatabase>

        <webinterface>
                <port>9081</port>
        </webinterface>

        <launcher>
        </launcher>

        <files>
        </files>
        <directories>
        </directories>
</server>
Login.ini
Code:
cat login.ini
[database]
host = 127.0.0.1
port = 3306
db = eqone
user = eqone_sys
password = mydbpassword
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 = 136.243.xxx.  (Leave the last set of numbers out, but keep the period)
auto_create_accounts = FALSE

[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
Reply With Quote