Project 1999

Go Back   Project 1999 > Green Community > Green Server Chat

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #21  
Old 02-21-2020, 03:25 AM
Dolalin Dolalin is offline
Planar Protector

Dolalin's Avatar

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

Having worked with eqemu now for a bit, I think a big problem for classic mechanics, as opposed to classic data changes in the DB, is that you're basically stuck recompiling the server for every era, then having to deploy that whole new batch of binaries to "implement" the era. It's a pretty big headache.

(Idea for the p99 devs):

This is the reason I went with a Docker approach for my little test server, since you can just build multiple docker images of the code with whatever compile time constants you want, then deploy them on the fly just by changing the image tag. Takes like 60 seconds.

If you wanna see how I do it:

https://github.com/dbsanfte/eqemu-server-docker

You can use Docker build-args to pass in compile time constants to the compiler (admittedly I haven't put these in the Dockerfile yet but it's trivial), then do something like:

docker build --build-arg era=0 -t eqemu-server:march-1999 .
docker build --build-arg era=1 -t eqemu-server:april-1999 .
docker build --build-arg era=2 -t eqemu-server:may-1999 .

Etc.
Last edited by Dolalin; 02-21-2020 at 03:32 AM..
 


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 07:52 PM.


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 - 2026, Jelsoft Enterprises Ltd.