![]() |
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. |
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. |
Re: Dominion 3 Server Monitor Tool
|
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). |
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& m) at System.Windows.Forms.ComboBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& 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> <?xml version="1.0" standalone="yes" ?> <servers xmlns="serverlist" /> </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). |
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? |
Re: Dominion 3 Server Monitor Tool
the links are all dead is this till available?
|
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 |
Re: Dominion 3 Server Monitor Tool
I really like this tool.
|
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
|
Re: Dominion 3 Server Monitor Tool
Only MarcinM has the source code, so only he would be able to port it unless somebody programs something similar. I'd be quite interested to see some info on the Dom3 server/client protocol, just for very basic stuff like nation and turn info as shown here, because I'd use it for my PHP server info pages and I'm too lazy to reverse-engineer the protocol myself... http://forum.shrapnelgames.com/image...ies/tongue.gif
|
Re: Dominion 3 Server Monitor Tool
Its not too hard to create an info page for your own games on your own server. Unless you want to show status from other servers.
But if you really want the server-to-client packet info then you can probably email Johan and ask him. As long as you show that you can "speak programming" in terms that arent specific to a particular language then he seems to respond well. |
Re: Dominion 3 Server Monitor Tool
Quote:
I can certainly post the C# source files as well, if there is interest. The only reason it's on a Windows platform is ... because I wanted to see what C# was like http://forum.shrapnelgames.com/image...ies/tongue.gif I don't have the time to port it right now, but that's not a bad idea - I'll let you know in a few weeks http://forum.shrapnelgames.com/images/smilies/wink.gif Making your own info page on your OWN server is ridiculously easy. Just send your server output (just by using dom3 > textfile) to a text file and parse it - it's much easier than querying the server directly. |
Re: Dominion 3 Server Monitor Tool
Quote:
|
Re: Dominion 3 Server Monitor Tool
1 Attachment(s)
Well, getting this to be compatible with *nix was now my first C# assignment, too... http://forum.shrapnelgames.com/image...ies/tongue.gif
http://i15.tinypic.com/6ge7ty9.png I made some changes to the program to make it compatible with *nix environments. What I changed was...
Attached is the binary which works with Mono 1.2.2.1 and upwards and should work on Windows systems with the original .NET framework without modifications, too. (Could I get a confirmation for that, maybe?) |
Re: Dominion 3 Server Monitor Tool
A little bugfix release:
|
Re: Dominion 3 Server Monitor Tool
When I run this, I can't enter a server name - everything is greyed out except for the dropdown that has "- NEW -" in it.
When I select that, I get the following error: ---------------------------------------------------- Unhanded exception has occurred in your application. If you click continue, the application will ignore this error and attempt to continue. If you click Quit, the application with close immediately. Cannot find table 0. ------------------------------------------------------- If I click continue, nothing changes - the dropdown is still the only thing not greyed out. Any ideas? Running on Win xp with .net 1.1, 2, & 3 installed. |
Re: Dominion 3 Server Monitor Tool
Have you read this that I wrote?
Quote:
|
Re: Dominion 3 Server Monitor Tool
I do not know which one I am using; I have downloaded both, installed both, but they appear to be the same. They both say "Dom 3 Tool_1_0_0_9". I have uninstalled/reinstalled both versions, they both give me the same error.
I can find no XML file that it creates. |
Re: Dominion 3 Server Monitor Tool
Enter %APPDATA% into the address field of your windows explorer, look for the serverlist.xml and delete it.
|
Re: Dominion 3 Server Monitor Tool
|
Re: Dominion 3 Server Monitor Tool
Updated page 1 to reflect the 3.10 changes for new nations...
|
Re: Dominion 3 Server Monitor Tool
Thanks a lot, this is a great little tool.
|
Re: Dominion 3 Server Monitor Tool
If your willing to give some c# source code, i would try to convert it to mono(open source .NET), the easy linux fix.
|
Re: Dominion 3 Server Monitor Tool
I already did the "to Mono" / Linux thing. Mono just interprets .exe files compiled with VS.NET/Mono, they still compile as exe, use them by: $ mono "Dom3 Status Monitor.exe"
|
Re: Dominion 3 Server Monitor Tool
I cant find Dom3 Status Monitor.exe in any of the downloads, and the Dom 3 Tool.exe cant be launched by mono, Maybe im just stupid.
|
Re: Dominion 3 Server Monitor Tool
No, I am an idiot... >_< I attached my server-side status script for PHP by mistake, must have been a long day. Try again, this time it should be the right executable.
|
All times are GMT -4. The time now is 07:05 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.