Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-31-2002, 03:54 AM
alkrun
Sarnak
 
Join Date: Jan 2002
Posts: 66
Default Organization ideas for the source code / projects

This is just a suggestion, sort of a high-level organizational setup.

I've written an NT/2K/XP service that will launch the minilogin, world, and zone servers in the context of an NT Service. It helps cut down on desktop clutter from running 7 console apps at once and makes it easier to run eqemu on an NT machine where you might not always be logged on.

Anyhow, I just had some suggestions I wanted to get feedback on. Spawning processes is a bit ugly in a service, you can't gracefully handle errors that might happen, there's no exception handling and the apps you spawn will just display an error box and that can hang the service, causing you to be unable to stop/start it.

What I'd like to see is to take the world and zone server projects and turn them into simple DLLs that wrap up their functionality in DllMain and could (later) export some other functions and variables to get status about zone servers, launch more on demand etc...

Then, we could create a new subproject, eqemu which would be the single application that the user runs to start up their server. This single process could manage login, world, and zone servers. We could also add the ability to launch this app as a service on supported platforms. This app would use a configuration file or the registry to store information about what kind of servers it should launch and how many zone servers, ports etc...

Anyway, that's my suggestion, I could handle a lot of those changes, but I just wanted to get everyone's feedback before starting so I didn't waste my time if nobody else was interested.
Reply With Quote
 


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:29 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3