.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #11  
Old April 3rd, 2007, 01:29 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default 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...
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #12  
Old April 3rd, 2007, 02:38 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #13  
Old April 17th, 2007, 10:17 PM

MarcinM MarcinM is offline
Private
 
Join Date: Oct 2006
Location: Minneapolis
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
MarcinM is on a distinguished road
Default Re: Dominion 3 Server Monitor Tool

Quote:
paradoxharbinger said:
the links are all dead is this till available?
My apologies, I moved several sites off of shared hosting onto my own - and some files didn't get moved. It should be back in place now.

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 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

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.
Reply With Quote
  #14  
Old April 18th, 2007, 08:04 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Dominion 3 Server Monitor Tool

Quote:
MarcinM said:
I can certainly post the C# source files as well, if there is interest.
There definately is interest in that!
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #15  
Old April 30th, 2007, 12:49 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Dominion 3 Server Monitor Tool

Well, getting this to be compatible with *nix was now my first C# assignment, too...



I made some changes to the program to make it compatible with *nix environments. What I changed was...
  • ... path for the dom3tool_serverlist.xml file. The original program wants to access the %APPDATA% directory for that, if that environment variable does not exist (like on my Linux system), it bails out. Now it tries %APPDATA% if it's set or the current directory (aka ".") otherwise.
  • ... "Open file" dialog to find the Dom3 executable. I have added an option for the usual dom3 executables: dom3_* and dom3*.exe and used that as default value. Changed the "All files" file mask, too, because otherwise it wouldn't show the *nix executables.
  • ... launching the Dom3 executable. Maybe Windows launches the program successfully if the working directory is set to the directory where the executable is in, but that didn't work for me, so I used the full absolute path instead.
I didn't change any other code, even though the program doesn't validate its input enough. If you abort the program on the first start you can mess up your settings XML file and fill it with bad uninitialized values, which results in subsequent crashes when you open the program again. You'll have to delete the XML file in that case. There might be other trouble lurking somewhere, too.

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?)
Attached Files
File Type: zip 516506-Dom3 Status Monitor.zip (7.7 KB, 166 views)
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #16  
Old May 2nd, 2007, 08:25 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Dominion 3 Server Monitor Tool

A little bugfix release:
  • added nations Lanka, Tir na n'Og and Eriu introduced in the patches 3.04 and 3.08
  • early age Arcoscephale didn't show up before, it does now
  • nations are now sorted by nation number, not by status (makes it easier to find them if they stay at the same place in the list all the time)
  • connected players are now shown by uppercase status letters
  • connecting to a server shifted the game name to the right - fixed; the game name is left-oriented now
If anybody wants any new features or bugs fixed (there are a couple) then ask for it. I might rewrite this eventually.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #17  
Old September 26th, 2007, 04:29 PM

Daedalus Daedalus is offline
Private
 
Join Date: Sep 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Daedalus is on a distinguished road
Default 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.
Reply With Quote
  #18  
Old September 27th, 2007, 06:59 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Dominion 3 Server Monitor Tool

Have you read this that I wrote?
Quote:
lch said:
I didn't change any other code, even though the program doesn't validate its input enough. If you abort the program on the first start you can mess up your settings XML file and fill it with bad uninitialized values, which results in subsequent crashes when you open the program again. You'll have to delete the XML file in that case. There might be other trouble lurking somewhere, too.
Are you using the original executable from the first post or mine from the attachment in the last post of the first page?
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #19  
Old September 27th, 2007, 11:11 AM

Daedalus Daedalus is offline
Private
 
Join Date: Sep 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Daedalus is on a distinguished road
Default 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.
Reply With Quote
  #20  
Old September 27th, 2007, 11:59 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Dominion 3 Server Monitor Tool

Enter %APPDATA% into the address field of your windows explorer, look for the serverlist.xml and delete it.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


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


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