View Single Post
  #1  
Old 10-21-2017, 02:51 PM
Jokerpatch
Fire Beetle
 
Join Date: Nov 2008
Location: Overthere
Posts: 9
Default cannot connect to local vm

i recently started playing on eqemu again. i decided it would be cool to learn how games like this actually work and set up my own private server and start playing around with modifying the game.

- i created a virtual machine with ubuntu server and virtual box
- i downloaded the install.sh on github using this url: https://raw.githubusercontent.com/EQ...ler/install.sh which by the way may be wrong, i had to use raw.github.com for wget.
- i ran the installer, everything went fine, took about half an hour or so, i was at work so didn't watch the clock. though the first try took almost 6 hours so i remade the vm and started again.
- i went through the changes to eqemu_config, login.ini and eqhost to account for my IP which i made static so it wouldn't change on me after closing the vm.

at this point i tried to login, no connection so i went rummaging through the source code and from the looks of it i think the world exec starts up everything including the login server, still no connection.

i tried running eqlaunch after that, still nothing.

i notice the server_start/stop/luanch, i checked out parameters i tried running server_launch but i got sh: 1: ./loginserver not found not sure if i'm supposed to run that after world or eqlaunch.

i would like to know what exactly i need to do to get this running, i'm rather frustrated with it at the moment. i am looking for the steps to go through to start the server whenever i run my vm.

i've looked around at different sources cannot find anything really useful. i have a feeling its my config file as well because there are several different setups out there tat i've noticed.

here is my eqemu_config.xml
Code:
<?xml version="1.0">
<server>
        <world>
                <shortname>Coco</shortname>
                <longname>Colossal Server</longname>

                <address>192.168.0.3</address>

                <loginserver1>
                        <host>login.eqemulator.net</host>
                        <port>5998</port>
                        <account></account>
                        <password></password>
                </loginserver1>
                <loginserver2>
                        <host>192.168.0.3</host>
                        <port>5998</port>
                        <account></account>
                        <password></password>
                </loginserver2>


                <tcp ip="127.0.0.1" port="9001"/>
                <telnet ip="0.0.0.0" port="9000" enabled="true"/>

                <key>T7F9umXJkJpZE9Z36YB6wMX1FDj0xWX</key>

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

        <chatserver>
                <host></host>
                <port>7500</port>
        </chatserver>

        <mailserver>
                <host></host>
                <port>7500</port>
        </mailserver>

        <zones>
        <defaultstatus>0</defaultstatus>

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

        <database>
           <host>localhost</host>
           <port>3306</port>
           <username>eq</username>
           <password>emu</password>
           <db>eqemu</db>
        </database>

        <qsdatabase>
           <host>localhost</host>
           <port>3306</port>
           <username>eq</username>
           <password>emu</password>
           <db>eqemu</db>
        </qsdatabase>

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

        <launcher>
        </launcher>

        <files>
        </files>
        <directories>
        </directories>
</server>
this is my login.ini
Code:
[database]
host = localhost
port = 3306
db = eqemu
user = eq
password = emu
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 = 192.168.0.3
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 = loginserver_server_accounts
world_registration_table = loginserver_world_server_registration
world_admin_registration_table = loginserver_server_admin_registration
world_server_type_table = loginserver_server_list_type
Reply With Quote