Project 1999

Go Back   Project 1999 > Blue Community > Blue Server Chat

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 08-07-2017, 09:10 PM
Zaela Zaela is offline
Sarnak


Join Date: Jul 2014
Posts: 319
Default Little Trilogy server code project

There used to be an open source Trilogy server project somewhere, but apparently it isn't open source any more. So, here's a new one.

Video: link

Code: link

Very early stages. Literally all it can do right now is let a Trilogy client log in, create a character, and enter their starting zone. Most of the client packet knowhow is lifted from very old EQEmu sources, but the core design is pretty different from EQEmu past or present. Aiming to be fairly clean, efficient and self-contained, with some dev-friendly ways of handling content.

Current progress represents about 3 weekends of effort, plus some time actively slacking off at work. Pretty happy with how it's come together so far, so hopefully I won't burn out too quick.


"Who cares about code, I just want some nostalgia!"

If you have access to the Trilogy client and want to create a character and wander around your empty starting zone with it, you can download the current server and run it locally.

Download: link

Steps:
  1. Unzip zeq-server-trilogy.zip.
  2. Open the zeq-server-trilogy folder that was unzipped, shift-right-click inside it and select "Open command window here" from the context menu.
  3. In the command window, type zeq and hit tab to have it autocompleted to zeq-server-trilogy.exe
  4. Press enter to run zeq-server-trilogy.exe. You should see some messages spit out while the server briefly starts up.
  5. In your Trilogy client folder, open eqhost.txt and make it look like this:
    Code:
    [Registration Servers]
    {
    "127.0.0.1:5998"
    }
    [Login Servers]
    {
    "localhost:5998"
    }
  6. Run the Trilogy client and log in. A local login account will automatically be created with whatever username and password you put in.

There are no extra dependencies to install, but you may need to download and run these redistributables (specifically "vc_redist.x86.exe", if you are given a choice) from Microsoft if you get "missing dll" errors:
  #2  
Old 08-07-2017, 10:03 PM
SamwiseRed SamwiseRed is offline
Planar Protector

SamwiseRed's Avatar

Join Date: Dec 2011
Location: Tatooine
Posts: 10,176
Default

nice key logger
__________________
Current Games:
Naw
  #3  
Old 08-08-2017, 01:30 AM
Swish Swish is offline
Planar Protector

Swish's Avatar

Join Date: Nov 2010
Posts: 19,227
Default

I don't know about anyone else but I enjoyed the video, very fitting end <3
  #4  
Old 08-08-2017, 10:47 AM
Zaela Zaela is offline
Sarnak


Join Date: Jul 2014
Posts: 319
Default

Quote:
Originally Posted by SamwiseRed [You must be logged in to view images. Log in or Register.]
nice key logger
you can always compile it yourself if you want to be sure
  #5  
Old 08-08-2017, 01:17 PM
trite trite is offline
Sarnak


Join Date: Dec 2010
Posts: 308
Default

the problem with open source emu servers is that they will be hacked to pieces if they ever become popular....if they released the p99 source tomorrow, the server wouldn't last until the day after tomorrow.
Last edited by trite; 08-08-2017 at 01:19 PM..
  #6  
Old 08-09-2017, 11:06 AM
Zaela Zaela is offline
Sarnak


Join Date: Jul 2014
Posts: 319
Default

Quote:
Originally Posted by Caiu [You must be logged in to view images. Log in or Register.]
I'd play it. Might go mad from all the inaccurate content but I like the looks of that UI.
I think you misunderstand. I'm not really interested in making a server with specific content you could log into and play. Just a platform for anyone who might want to try making such a server using the Trilogy client. I imagine anyone who did that would probably skew toward classic, although personally I'd be more interested in something classic in spirit but with more complex NPC behavior and challenging, non-trivializable raid content instead... but that's just me.

Quote:
Originally Posted by trite [You must be logged in to view images. Log in or Register.]
the problem with open source emu servers is that they will be hacked to pieces if they ever become popular....if they released the p99 source tomorrow, the server wouldn't last until the day after tomorrow.
Most of the insecurity in EQ comes from the laughably naive design of the client, where it is given way too much information that it can spy on, and sometimes change to influence how it behaves. The server code has limited influence on any of that. I understand that P99 deals with this to some degree with its (heavily-packed) dll injection thingy, but other than a layer of encryption used for sensitive packets and maybe some verification, the involvement of the server in any of that would likely be quite small. (Unrelated, but last time I checked you can still do minor cheats on P99 by editing model data to make walls semi-transparent or able to be walked through, or make your character tiny so you can squeeze into tiny gaps.)

The "hacks" that can be done by sending bad packets to the server (using bad position updates to warp, sending zone requests out of nowhere, moving items to slots that shouldn't be accessible, etc) are largely things that can be detected and denied (EQEmu already handles the mentioned things and others).

Probably inevitable that some crash bugs would sneak in, but the best way to deal with those is to find the cause and fix them.

Anyway, if I did get aynwhere with my code and decided to use a permissive license, someone could make a closed-source fork and do all the things P99 does if they wanted ... kind of like P99 did with EQEmu.
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 06:41 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 - 2024, Jelsoft Enterprises Ltd.