Log in

View Full Version : Changes


bushman77
01-22-2014, 02:56 PM
Im an old eqemu'r coming back and was wanting to host a server on ubuntu 12.04. I see there are many changes and it would seem the old guides are a bit dated??
nm went therough the guide again seen what i was missing

demonstar55
01-22-2014, 03:32 PM
Bushman! Well, the project is now hosted on GitHub, the build system is now based on cmake and is a lot better than the old makefiles that sucked :P (http://www.eqemulator.net/wiki/wikka.php?wakka=CMake)

There are now two quest systems, perl and lua, both are used by PEQ's quest system. (so you probably want to enable both of them)

PEQ's DB is now dumped daily and you can find more info here http://www.peqtgc.com/phpBB3/viewtopic.php?f=2&t=14037

The dependencies haven't really changed, just need lua and boost now I think (in addition to the previous depends) The GCC version also got changed to min version 4.6, which Ubuntu 12.04 uses, so you should be good.

bushman77
01-22-2014, 06:57 PM
what are each of thesae, lua and boost, and also how does one go abouts setting up cmake for each??

demonstar55
01-26-2014, 02:49 PM
http://bpaste.net/show/172372/ Those are the notes I took last time I did a clean install on a debian system. Meant to write an up-to-date guide but I'm lazy ...

nannite
01-29-2014, 09:07 PM
Thanks demonstar55 I've been trying to piece together how to get my server up and running and this will probably do the trick. :)

bushman77
02-02-2014, 10:31 AM
Nice it has all the links to the builds too

bushman77
02-02-2014, 10:34 AM
Not sure how long thepastebin will last for so made sure this was immortalized within the bounds of this site


depends:
mysql-client
mysql-server
libmysqlclient-dev
subversion
git
libio-stringy-perl
libperl-dev
build-essentials
cmake
lua5.1
liblua5.1-0-dev
libboost-dev
pwgen (for generating the key in the xml config file)

CREATE USER 'eqemu'@'localhost' IDENTIFIED BY 'some_password';
CREATE DATABASE eqemu;
GRANT ALL PRIVILEGES ON eqemu.* TO 'eqemu'@'localhost';

mkdir -p build/db server
cd ~/build
git clone https://github.com/EQEmu/Server.git EQEmuServer
svn checkout http://projecteqquests.googlecode.com/svn/trunk/ projecteqquests-read-only
svn checkout http://eqemu-maps.googlecode.com/svn/trunk/ eqemu-maps-read-only
cd EQEmuServer
mkdir Build
cd Build
cmake -G "Unix Makefiles" -i ..
cd ~/server
mkdir logs export import shared
ln -s ../build/EQEmuServer/Build/Bin/* .
cp ../build/EQEmuServer/utils/defaults/eqemu_config.xml.full eqemu_config.xml
ln -s ../build/EQEmuServer/utils/defaults/mime.types .
ln -s ../build/EQEmuServer/utils/defaults/templates/ .
ln -s ../build/EQEmuServer/utils/defaults/updated_templates/ .
touch log.ini
ln -s ../build/quests/quests/ .
ln -s ../build/maps/ ./Maps
ln -s ../build/EQEmuServer/utils/patches/* .
ln -s ../build/EQEmuServer/utils/scripts/* .
ln -s ../build/EQEmuServer/utils/defaults/*.pl .
ln -s quests/plugins/ .
ln -s quests/lua_modules/ .
tar xvf peqbeta_<date>.tar.gz -C build/db
ln -s ../build/db/eqtime.cfg .

source user_tables_<date>.sql;
source peqbeta_<date>.sql;
source source_views.sql;

source drop_system.sql;
source peqbeta_<date>.sql;

vintage51
02-11-2014, 06:52 PM
Hello Bushman77/Demonstar55

Thanks for sharing. Do you have any word of wisdom on setting up Bots on your server.

Thanks