EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Tools (https://www.eqemulator.org/forums/forumdisplay.php?f=593)
-   -   Server launcher and monitor (https://www.eqemulator.org/forums/showthread.php?t=29396)

Speedz 08-30-2009 06:07 PM

Server launcher and monitor
 
I have been working on a all in one launcher/server monitor that is GUI based.

It puts the CMD windows you get for all the server components and tabs them into a nice easy to scroll windows GUI. (may work in Linux wine? I can't test this as I don't have a nix install atm)

This is the result of a few weeks of coding. I know many issues I want to resolve but I felt it was releasable as it is now.

One very important note. I am fairly low skilled at coding I know enough to know where to look for the most part if I need help. I can't easily pull code out of my ars like the coders behind this project. So there are bound to be issues.

One of my biggest annoyances I have that I am researching is that when the GUI is closed, all but the Shell stay running and hidden (have to be closed in task manager if you want to restart a server again).

I plan to further its functionality (features to be secret till I make them basically) Suggestions are welcome if reasonable and respectful.

Also, this is coded in C# you will need .NET 3.5

http://www.megaupload.com/?d=VGA57I8J



edit. It is also based on standalone mode. Not connecting to eqemu's login servers (I'm sure it will work fine if you use your config files and at least have the standalone exe in the folder so it passes the requirement check for files existing).

leslamarch 08-30-2009 07:15 PM

Quote:

Originally Posted by Speedz (Post 177628)
One of my biggest annoyances I have that I am researching is that when the GUI is closed, all but the Shell stay running and hidden (have to be closed in task manager if you want to restart a server again).

This should work for you?
Code:

    foreach (Process p in Process.GetProcessesByName("world")) {
        p.Kill();
        p.WaitForExit();
    }
    foreach (Process p in Process.GetProcessesByName("eqlaunch")) {
        p.Kill();
        p.WaitForExit();
    }
    foreach (Process p in Process.GetProcessesByName("zone")) {
        p.Kill();
        p.WaitForExit();
    }
    foreach (Process p in Process.GetProcessesByName("Login")) {
        p.Kill();
        p.WaitForExit();
    }
    System.Environment.Exit(0);
}


Speedz 08-31-2009 05:12 AM

That worked like a charm. Thanks much.

The updated GUI is located here:
http://www.megaupload.com/?d=VKBR2P4O

I will post a screenshot of it running once I sign up to a pic posting site.

Speedz 08-31-2009 05:33 AM

Here is the screenie for those that would like to see it before grabbing.

http://img171.imageshack.us/img171/2199/eqemugui.th.jpg

vinadir 09-06-2009 09:26 AM

Willing to post the source for this? Just to teach myself C# and work on it on my own time. If I'd do anything drastic I'd send it back to you first.

Speedz 09-07-2009 10:37 AM

I was going to wait to post this till I add a few features I havn't seen yet in the other launchers out there.

I suspect the lack of interest/downloading has been that there is no source and there are various others out there. But I do plan to make this a bit different.


All times are GMT -4. The time now is 04:14 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.