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"> Code:
[database] |
If you are trying to connect over the local loginserver and not the public EQEmu loginserver, you need to start the loginserver. Edit server_start.sh so it looks like this:
Code:
#!/usr/bin/env bash |
i actually did that once but it continually printed this:
Code:
sh: 1: ./loginserver not found |
Oh and you should have loginserver as binary link at /home/eqemu, source /home/eqemu/server_source/Server/build/bin/loginserver
If not try this: Code:
cd /home/eqmeu |
A reason could also be that you have compiled without the loginserver. In that case:
Code:
cd /home/eqemu/server_source/Server |
i had it in a different order than what you posted, i had loginserver at the end, i copied what you just posted, and i got a whole bunch of stuff i hadn't seen yet.
i do still get the message above but there's more to it: sh: 1: ./loginserver not foundP Queryserv: UP Loginserver: UP i can't get it to stop printing |
Then you need to recompile the sourcecode and build the loginserver.
|
i started to recompile everything, it got to about 65%:
Code:
/home/eqemu/server_source/Server/loginserver/encryption.cpp: In function ‘std::__cxx11::string eqcrypt_argon2(const string&)’: |
I think you need libsodium:
libsodium-dev - Network communication, cryptography and signaturing library - headers libsodium18 - Network communication, cryptography and signaturing library Code:
apt-get install libsodium-dev libsodium18 |
So you got it working?
|
no, those headers are already installed via the install.sh script. still get those errors above. i would have told last night but i had to let my laptop dry out, because some water landed on it.
|
the problems i found were in this function:
Code:
std::string eqcrypt_argon2(const std::string &msg) Code:
std::string eqcrypt_scrypt(const std::string &msg) |
that did fix my build problem, though i'm not sure if it's a long term fix. i can get to the server select screen now, but my server isn's on it. i'm sure i just missed something i'll figure that out later.
i do appreciate the help Thalix, thank you |
i did fix the build issue, i had an issue of not being able to see my server on the select list; i figured that problem but now i get 1017 error when i click play after selecting my server. usually about a 20 second delay before it pops the error.
my eqemu server and loginserver are on the same vm on my laptop. i'm not sure if there should be a difference between using localhost vs. 127.0.0.1 i was trying all kinds of things just to get my server to show up on the list. if i did somethings wrong i would really appreciate some explanation on what i did wrong and why it has to work a certain way. EQEMU_CONFIG: Code:
<?xml version="1.0"> Code:
[database] |
i solved my problem. i had to add address and localaddress tags to config.xml
Code:
<address>local ip address</address |
All times are GMT -4. The time now is 05:54 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.