|
|
|
|
November 8th, 2006, 10:17 AM
|
|
General
|
|
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
|
|
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.
|
February 1st, 2007, 02:44 PM
|
|
Second Lieutenant
|
|
Join Date: Aug 2004
Location: Argentina
Posts: 478
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 "
|
February 1st, 2007, 02:51 PM
|
|
Second Lieutenant
|
|
Join Date: Aug 2004
Location: Argentina
Posts: 478
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 "
|
February 1st, 2007, 07:30 PM
|
|
General
|
|
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
|
|
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?
|
February 1st, 2007, 07:33 PM
|
|
General
|
|
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
|
|
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
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|