.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
  #1  
Old October 28th, 2007, 12:03 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 PyEye1.33 dom-III client. Now 3.20 compliant.

This is a GUI client that tells you the status of TCP games. Like which nations have already played turns, which are AI controlled, how much time left for host etc.

Check the screenshot to get an idea what's it about.

The zip contains two dirs
If you're using windows you need to copy the PyEyeGui_Windows to wherever you like.
Then run the exe in bin directory, the one named py_eye_gui.exe.

Linux/Unix/MAC need to install python and tkinter (python GUI infrastructure) and run the PyEyeSource\py_eye_gui.py file.

To configure the client go to settings and enter game path (where dom is installed), flags if you want, path to backup turn files (optional) and whether or not you want to autosave your turns.
Then you go to games to Add/Remove/Edit a game. Its should be straightforward to configure.

Now that you've got it all configured you can either:
1. Query for turn status.
2. Play your turn, the client will fire up dominions (and connect it to server), you'll play your turn. When you quit the client will save your turn (if you configured it to do so).

Ver 1.3.3
Support for new nations

Ver 1.3.2
Fixed bugs:
-> Fix a tiny bug of unexpected exception when server was down
-> Nation number 95 instead of 80 (Thanks Ich) so turn status will work well for 3.14

Added:
-> Bogarus, (Indie flag for now)

Ver 1.3.1,
This is hopefully the last version.
Fixed bugs:
-> Auto save settings is now saved between sessions

Added:
-> Source code distribution under GPL license (so that free source programmers could use it).
The source code is in the attached file in directory PyEyeSource. Linux/Unix/MAC users should just copy this directory to a desired location, make sure they have python > 2.5 on their system and run python py_eye_gui.py.


ver 1.3, This is a major version with better quality (lots of bugs got scrubbed and new functionality)

Fixed bugs:
-> Lots of bugs that had to do with error conditions, server down, wrong configuration etc got fixed.

Added:
-> Auto save (setting->Auto save on/off) after playing turn
-> All games report screen.


ver 1.2
Fixed bugs:
-> Saving or launching game disabled querying server

Added:
-> Menu for saving games. First set directory to save to under settings.

ver 1.1
Added:
-> Settings menu
-> Play turn menu


Ver 1.02
Fixed bugs:
-> Some conditions led to wrong AI tooltip
-> midgard icon fix
-> turn # and time to host got mixed

Added:
-> help->usage

Yeah, I've noticed by now there are a couple of those available which is a good thing. However, I wanted a to have a cross platform client and besides it was a loose end I wanted to tie after writing the CLI right when dom-III came out ( PyEye CLI ). The name pyEye is a homage of sorts to dom-II god's eye client

Anyway, work on the client is coming along nicely and I expect to have it ready by the end of this week. Attached is a screenshot, of course comments at this early stage of its development are welcome as they'll allow me to adjust rapidly.

The client is written in python and I intend to test it under windows, Linux and cygwin. It should work for Mac as well but I can't test it since I don't have access to one.
I will release an exe for windows and the source code with an install routine for the ??NIX systems.

It supports all the nations up to 3.10 and modded nations can be added easily via a configuration file.

I want to thank zepath for allowing me to use his beautiful nation icons.

updates will follow.
Attached Files
File Type: zip 559949-PyEyeGui1_32_Dist.zip (4.01 MB, 329 views)
File Type: zip py_eye_1.33.zip (5.79 MB, 166 views)

Last edited by WraithLord; January 1st, 2009 at 05:49 AM.. Reason: update version -> 1.33
Reply With Quote
  #2  
Old October 30th, 2007, 07:20 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 Re: GUI for probing turn status

Windows exe is ready. Actually that are two of those, a normal one and a debug version one (for those volunteers that would like to help me troubleshoot issues).

The exe is attached to the first post. To install do the following:
1. Extract the attachment
2. Copy PyEyeGui_Windows to Program Files or where ever you want it to be (for the debug version copy PyEyeGui_Windows_Debug).
3. Run bin/py_eye_gui.exe, I've found creating a shortcut and putting it on the desktop to be convenient.

Usage:
Games menu allows to add/remove/edit games.
Query menu allows to query status of game servers
Reply With Quote
  #3  
Old October 31st, 2007, 05:43 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 Re: GUI for probing turn status

Fixed a few small bugs and added a screenshot.
Attached Images
File Type: jpg 560601-PyEyeScreen2.JPG (83.4 KB, 221 views)
Reply With Quote
  #4  
Old October 31st, 2007, 11:04 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 Re: GUI for probing turn status

I found it tedious to maintain desktop shortcuts for launching games so I've added a "Play game" to version 1.1.

Use settings to configure path to dom-III exe on your system and whatever flags you'd like for it to use. Then use "Play turn"->your game to connect to your game server.

Next I think I'll implement a save functionality and then pick up on the Linux/MAC distribution thing (I haven't had much success so far with python packaging API)
Reply With Quote
  #5  
Old November 1st, 2007, 01: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: GUI for probing turn status

New version 1.2 adds the capability to save the turn files. For that you need to configure settings->set turns backup path
and then before/after playing your turn hit the save turn->your game and the turn will be saved.

I assume that some ppl did indeed download the thing. I wonder what comments if at all they may have (hopefully it didn't format their hard drives). In any case comments and or request for additional functionality are welcomed.

I will upload ver 1.2 once I've had some chance to run it through BATS.
Reply With Quote
  #6  
Old November 3rd, 2007, 08:14 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: GUI for probing turn status

FYI
Just found out that the 1.1 functionality of launching a game has a bug that don't allow to query the server status after launching a game. It is fixed in ver. 1.2 that I will upload tomorrow after completing testing it (and also has the save turn functionality).
Reply With Quote
  #7  
Old December 31st, 2008, 01:48 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: PyEye1.33 dom-III client. Now 3.20 compliant.

I was just working on a crappy little scripted item for myself. Good timing.
I was about to download it and test it on linux but then I remembered that you have an account on the server.
Reply With Quote
  #8  
Old December 31st, 2008, 02:17 PM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: PyEye1.33 dom-III client. Now 3.20 compliant.

Sorry for my total ignorance but what DOES this do? (I can't find it so far most I understand it's gotten something to do with diff platforms and dom 3 and MP server games....)

Do ignore me please, I missed the 2-6th page for some reason (mostly 5th where ich says it).. (though I'm surprised to see that it's only mentioned that late.. why no clear description of it in the first post.. well whatever )
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.

Last edited by Aezeal; December 31st, 2008 at 02:25 PM..
Reply With Quote
  #9  
Old December 31st, 2008, 04:16 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: PyEye1.33 dom-III client. Now 3.20 compliant.

Its a GUI client that tells you the status of TCP games. Like which nations have already played turns, which are AI controlled, how much time left for host etc.

Check the screenshot to get an idea what's it about.
Attached Thumbnails
Click image for larger version

Name:	py_eye_screen.JPG
Views:	310
Size:	50.8 KB
ID:	7467  
Reply With Quote
  #10  
Old December 31st, 2008, 04:28 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: PyEye1.33 dom-III client. Now 3.20 compliant.

Oh and the zip contains two dirs
If you're using windows you need to copy the PyEyeGui_Windows to wherever you like.
Then run the exe in bin directory, the one named py_eye_gui.exe.

Linux/Unix/MAC need to install python and tkinter (python GUI infrastructure) and run the PyEyeSource\py_eye_gui.py file.

To configure the client go to settings and enter game path (where dom is installed), flags if you want, path to backup turn files (optional) and whether or not you want to autosave your turns.
Then you go to games to Add/Remove/Edit a game. Its should be straightforward to configure.

Now that you've got it all configured you can either:
1. Query for turn status.
2. Play your turn, the client will fire up dominions (and connect it to server), you'll play your turn. When you quit the client will save your turn (if you configured it to do so).

That's about it I guess. Its quite an old application. I wrote it like two years ago IIRC.
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 01:42 PM.


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