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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old November 8th, 2006, 10:17 AM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default CLI for probing turn status, UPDATED version 0.02

V. 0.02
-> Fix crash when nation status byte was 0xff
-> Fix some typos

Attached is a windows executable for probing dom-III MP game status.
To install it:
1. Extract the files.
2. Edit the file .py_eye.cfg with the server info of the games you want to check.
3. Create a shortcut to py_eye.exe or double click it
4. in the prompt type 'help' to get a list of possible commands and help 'cmd' to get help on a specific command.
5. 'all' will query status of all configured games.

Thanks to the good ppl that helped with information and directions and to IW and Johan for making the tool possible.

The tool can be made aware of modded nations as well. I guess I'll make it possible via the configuration file in the next version.
Attached Files
File Type: zip 468595-py_eye.zip (1.05 MB, 140 views)
Reply With Quote
  #2  
Old February 1st, 2007, 02:44 PM
Manuk's Avatar

Manuk Manuk is offline
Second Lieutenant
 
Join Date: Aug 2004
Location: Argentina
Posts: 478
Thanks: 0
Thanked 0 Times in 0 Posts
Manuk is on a distinguished road
Default Re: CLI for probing turn status version 0.01

it does not work for me, all returns:

Welcome to PyEye v0.01!
[PyEye] all
Traceback (most recent call last):
File "py_eye.py", line 507 in ?
File "cmdpyc", Line 142, in cmdloop
File "cmdpyc", Line 219, in onecmd
File "py_eye.py", Line 424, in do_all
File "py_eye.py", Line 354, in parse_query_response
KeyError: 'Eventide'
__________________
" Jefe, le presento a Manuk, el hombre de la sonrisa de hierro "
Reply With Quote
  #3  
Old February 1st, 2007, 02:51 PM
Manuk's Avatar

Manuk Manuk is offline
Second Lieutenant
 
Join Date: Aug 2004
Location: Argentina
Posts: 478
Thanks: 0
Thanked 0 Times in 0 Posts
Manuk is on a distinguished road
Default Re: CLI for probing turn status version 0.01

now i changed the default name "Jinxed Frechdachs" for "Eventide" wich is the real game name and lists me the status of who has played his turn and whos connected but Jomon (me) its not there and theres a nation called "Chelms"
that must be me
__________________
" Jefe, le presento a Manuk, el hombre de la sonrisa de hierro "
Reply With Quote
  #4  
Old February 1st, 2007, 07:30 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: CLI for probing turn status version 0.01

hola Manuk, gracias por usarlo.

I've noticed a recent change in the actual values of some of the protocol fields. The change can sometimes break the utility. I have fixed that already but I'll recompile the utility tomorrow (its late now).

For mapping the nations I have used the nation numbers listed in the game manual. Chelms is a late era nation with number 51. I actually don't have Jomon at all. Do you perhaps know its number and age?- Probably there's an overlap or mistake...

Also, have you correctly configured the age in the .py_eye.cfg file?
Reply With Quote
  #5  
Old February 1st, 2007, 07:33 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: CLI for probing turn status version 0.01

Oh and I can probably make the nation numbers assignment configurable, so that modded nations can be added. Truth is, I'm too lazy to do it, so I'll probably do it if I think it may actually be useful to someone
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 06:21 AM.


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