Project 1999

Go Back   Project 1999 > Green Community > Green Server Chat

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 11-19-2021, 03:35 AM
Dolalin Dolalin is offline
Planar Protector

Dolalin's Avatar

Join Date: Oct 2009
Location: UK
Posts: 2,565
Default

Quote:
Originally Posted by azxten [You must be logged in to view images. Log in or Register.]
Lol you found it. My Splitpaw test server uses that.
  #2  
Old 11-20-2021, 02:33 PM
azxten azxten is offline
Fire Giant

azxten's Avatar

Join Date: May 2010
Posts: 757
Default

Where is the peq database these days? http://peqtgc.com/ is down
  #3  
Old 11-20-2021, 04:38 PM
Dolalin Dolalin is offline
Planar Protector

Dolalin's Avatar

Join Date: Oct 2009
Location: UK
Posts: 2,565
Default

Those seem to have moved here:

http://db.projecteq.net/

I updated the steps on my git archive with the new file paths, let me know if it still works properly.
Last edited by Dolalin; 11-20-2021 at 05:07 PM..
  #4  
Old 11-20-2021, 08:39 PM
azxten azxten is offline
Fire Giant

azxten's Avatar

Join Date: May 2010
Posts: 757
Default

Thanks, worked well

Quote:
From Ubuntu 20 VM:

# Install necessary packages

sudo apt update
sudo apt install openssh-server docker docker.io docker-compose wget git
sudo systemctl start sshd
sudo systemctl start docker
sudo systemctl start containerd
sudo systemctl enable ssh
sudo systemctl enable docker
sudo systemctl enable containerd

# Setup directories and clone git repo

mkdir eqemu
sudo mkdir -p /home/eqemu/shared; sudo chown -R doc. /home/eqemu
git clone https://github.com/dbsanfte/eqemu-server-docker.git
mv eqemu-server-docker/conf/* /home/eqemu/

# Download PEQ database, EQEmu .sql files, and extract/move into place

wget http://db.projecteq.net/latest -O /home/doc/eqemu/peq_dump.zip
wget https://raw.githubusercontent.com/EQ...gin_schema.sql -O /home/doc/eqemu/login_schema.sql
unzip eqemu/peq_dump.zip -d eqemu; mv eqemu/login_schema.sql eqemu/peq-dump/

# Start mariadb docker instance mapping port 3306 on VM to 3306 on Docker instance, volume mount /home/doc/eqemu to /var/lib/mysql to retain database through instance restarts, set database login credentials

docker run --detach --name eqemu-mariadb --restart always -p 3306:3306 -v /home/doc/eqemu:/var/lib/mysql --env MARIADB_USER=eqemu-user --env MARIADB_PASSWORD=P99Channeling --env MARIADB_ROOT_PASSWORD=P99Channeling mariadb:latest

# Initalize mariadb database with .sql files

mysql -h 127.0.0.1 -uroot -pP99Channeling -e "create database peq;"; mysql -h 127.0.0.1 -uroot -pP99Channeling peq < /home/doc/eqemu/peq-dump/create_tables_content.sql; mysql -h 127.0.0.1 -uroot -pP99Channeling peq < /home/doc/eqemu/peq-dump/create_tables_player.sql; mysql -h 127.0.0.1 -uroot -pP99Channeling peq < /home/doc/eqemu/peq-dump/login_schema.sql

# Customize /home/eqemu/.conf files

cd /home/eqemu/; ls

# Edit these files as needed, set zone=X to number of zone servers, set MySQL password in eqemu_config.json, edit "CHANGEME" lines, set loginserver to 127.0.0.1 for localhost login server

docker-compose up -d --scale zone=1

# After docker-compose up finishes, monitor logs for finish of database update script
# while true; do docker logs eqemu_world_1 | tail -n 20; sleep 10; clear; done
# Ctrl+C to stop

docker logs eqemu_world_1

# Once database update script finishes

docker-compose down; docker-compose up -d --scale zone=10

# Your EQEmu / PEQ server is ready to login
# Login accounts are stored in login_accounts table, created upon login attempt to local loginserver
# Login server sends client to world server sends client to zone server, check your client can reach the IP specified in eqemu_config.json, containers can reach 127.0.01 but client can not, use VM external IP instead
Probably missing something but figured this might be helpful to someone. How to stand up a Ubuntu 20 VM as a stand alone EQEmu server with PEQ database using Dolalin's eqemu-server-docker images.

[You must be logged in to view images. Log in or Register.]

Next episode I'll rebuild with altered channeling code and test.
Last edited by azxten; 11-20-2021 at 08:43 PM..
  #5  
Old 11-18-2021, 09:23 AM
starkind starkind is offline
Banned


Join Date: Apr 2021
Posts: 6,358
Default

In 2021 you have p99 wiki
And three live servers.

P99 didn't have that.
  #6  
Old 11-18-2021, 10:17 PM
starkind starkind is offline
Banned


Join Date: Apr 2021
Posts: 6,358
Default

Yep takp has a pretty solid database available to public?
  #7  
Old 11-20-2021, 08:50 PM
Jimjam Jimjam is offline
Planar Protector


Join Date: Jul 2013
Posts: 12,646
Default

Inspirational!
  #8  
Old 11-20-2021, 09:10 PM
starkind starkind is offline
Banned


Join Date: Apr 2021
Posts: 6,358
Default

1337
  #9  
Old 11-23-2021, 12:11 PM
cd288 cd288 is offline
Planar Protector


Join Date: Apr 2018
Posts: 4,469
Default

Yes they'll totally do this because you posted about it after they have countless times said they wouldn't. A+ post
  #10  
Old 11-25-2021, 01:55 AM
azxten azxten is offline
Fire Giant

azxten's Avatar

Join Date: May 2010
Posts: 757
Default

Quote:
Originally Posted by cd288 [You must be logged in to view images. Log in or Register.]
Yes they'll totally do this because you posted about it after they have countless times said they wouldn't. A+ post
I have received word from on high. Sir Nilbog has blessed my work. Your Enchanter will be nerfed soon. I'm already graphing channeling equations to maximize your tears.
Closed Thread


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 05:26 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.