.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Utility: Dominion 3 Server Monitor Tool (http://forum.shrapnelgames.com/showthread.php?t=31808)

MarcinM November 14th, 2006 12:27 AM

Dominion 3 Server Monitor Tool
 
Here's my attempt at a Dom3 server monitor tool.

It's Windows only, requires .NET, and as all software that doesn't go through Q&A, may crash your PC http://forum.shrapnelgames.com/images/smilies/happy.gif That said, I've been using it myself for a while.

Simply enter your server and port and hit "Get Status". The dropdown list should populate when you disconnect, and on all subsequent uses of the tool.

http://www.damodred.net/cms_images/gallery_76_65.jpg

Next version will include the ability to delete servers from the list, and I'm hoping to get the nation flags in there as well.

Without further ado ... the Dom3 Server Monitor tool.

Please email me any suggestions or bug reports, as I'm not sure how often I will check back here - this tool is mainly written for me, and I'd thought I'd share.

Gandalf Parker November 14th, 2006 01:01 AM

Re: Dominion 3 Server Monitor Tool
 
Looks great. Thanks for that.

I guess I should get back to work on a server-side (web based) status screen.

MarcinM November 14th, 2006 01:39 AM

Re: Dominion 3 Server Monitor Tool
 
You should?

http://forum.shrapnelgames.com/images/smilies/wink.gif

MarcinM November 29th, 2006 12:43 AM

Re: Dominion 3 Server Monitor Tool
 
Version 1.0.0.8 of the Dom3 Tool is up, this one includes the launcher capability (i.e you can launch into a network game directly from the tool).

There's a couple of quirks. You can only add the path to the executable once you're connected - this is to prevent adding of executables to non-working servers.

Also, you need to specify an executable PER server - this is to enable those folks who are playing different game versions on different servers from a single machine.

Hopefully the fact that the buttons go inactive when ... well, inactive ... will help make things clear. It's really not that hard:

1. Select "NEW" from the dropdown to add a new server.
2. Type in server info, server URL (or IP) + port as before.
3. Hit "Get Status" as before.
4. Once connected, hit "Browse for executable" and navigate to your dom3 exec file.
5. Hit "Disconnect". The "Launch" button should light up.

You only have to set servers up ONCE.

Once you have all of your servers configured, simply select what you want from the dropdown and hit Launch.

Please PM or email me the bugs, I don't check back here too often http://forum.shrapnelgames.com/images/smilies/happy.gif As always, disclaimers as to the software melting your face etc. apply (I've tested it plenty though).

GwyrgynBlood November 30th, 2006 02:36 PM

Re: Dominion 3 Server Monitor Tool
 
Gives me lots of issues. Main one is that if I make a server and then quit and reload, the server is not in the list. Selecting 'NEW' after that gives the following error:

<font class="small">Code:</font><hr /><pre>
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Cannot find table 0.
at System.Data.DataTableCollection.get_Item(Int32 index)
at MyApp1.Form1.serverSelect_SelectedIndexChanged(Obj ect sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChang ed(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Mes sage&amp; m)
at System.Windows.Forms.ComboBox.WndProc(Message&amp; m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message&amp; m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&amp; m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
</pre><hr />

The serverlist.xml file only contains this:

<font class="small">Code:</font><hr /><pre>
&lt;?xml version="1.0" standalone="yes" ?&gt;
&lt;servers xmlns="serverlist" /&gt;
</pre><hr />

So it seems to be outputting the data wrong.


Second, when I try to connect to the server, the whole app locks while trying to do so (Not Responding state, that is). You should probably put the task of connecting to the server on a seperate thread and update the status in the log panel, it's just generally nicer to do that than freeze the thing (plus then the user can cancel mid-connect attempt).

MarcinM February 8th, 2007 12:34 AM

Re: Dominion 3 Server Monitor Tool
 
The tool now lists the amount of time remaining until the server hosts. If there is no timer set, it displays 0hrs. It also lists the number of the nations playing.

I'll address the above concerns at some point as well ... well, the first one anyway. Starting a new thread sounds ... advanced.

For the moment, I can't duplicate the first issue, after deleting the XML file by hand and rebuilding it 5 times from the tool.

Could you please provide step by step description of how you get it to crash?

paradoxharbinger April 1st, 2007 05:24 PM

Re: Dominion 3 Server Monitor Tool
 
the links are all dead is this till available?

lch April 2nd, 2007 08:56 AM

Re: Dominion 3 Server Monitor Tool
 
I guess this here is it (v1.0.0.9): http://www.mediafire.com/?2nawnfyzjyj

Dunno if it really works, because I can't use Windows binaries which require .NET

JayThomas April 3rd, 2007 12:23 PM

Re: Dominion 3 Server Monitor Tool
 
I really like this tool.

Dedas April 3rd, 2007 12:39 PM

Re: Dominion 3 Server Monitor Tool
 
Is it possible for you to port this to linux? I would really like to use it but don't want to mess with Wine and .NET. Thank you. http://forum.shrapnelgames.com/images/smilies/happy.gif


All times are GMT -4. The time now is 03:04 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.