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

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







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

Reply
 
Thread Tools Display Modes
  #41  
Old February 5th, 2008, 06:29 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

Quote:
lch said:

Well, I had a quick look why my socket-based PHP script still got the number of players which played their turn versus those that didn't play their turn right - I just counted the Ones for that. Then it dawned on me why the other stuff doesn't work anymore. They didn't change anything about the protocol at all, but they added more nation slots! Instead of 80 possible nation numbers, there's now room for 95. So the tables scale a little differently. Once you change the code to have tables with 95 nations instead of 80, everything is working like it used to.

Off-topic, it's good that they increased the number of nations, but on the other hand, why only so little? 15 more nations, from 80 to 95, that's just raising the bar a widdle bit higher. That's like saying "ok we acknowledge that now it's getting crowded with all the nation slots so we're going to add some more slots, but not too many because we're cool like that". Why not raise it to a sensible power of 2?
My god lch , you're a genius
Thank you!

I've fixed the value in my protocol parser and all is working perfectly now. I'll post the fixed version as soon as I have some free time to package it.
Reply With Quote
  #42  
Old February 7th, 2008, 10:53 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

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)
Reply With Quote
  #43  
Old February 7th, 2008, 01:39 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: GUI for probing turn status

Do you have some info on how to interpret the version number from the protocol to check if it's an old server with 80 nations or a >= 3.14 version with 95 nations? I didn't bother to find this out yet. The alternative would be to just read all the data and then decide how many nation slots there are based on the response size, divided by three...
__________________
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
  #44  
Old February 7th, 2008, 04:10 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

There is a field called "network protocol version" in the server status packet. The field is of type integer and is located prior to status, game name and era. I was never really interested in this field so I don't actually know what value it contains. Other than that, I don't have any knowledge of a version being sent from server.
Reply With Quote
  #45  
Old February 7th, 2008, 04:16 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: GUI for probing turn status

Quote:
WraithLord said:
There is a field called "network protocol version" in the server status packet. The field is of type integer and is located prior to status, game name and era.
Yes, I know, but I didn't check yet how exactly the values in there correspond to server OS and patch level. I hoped that you would have had some more knowledge on this than I do.
__________________
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
  #46  
Old February 28th, 2008, 10:31 PM

Hully Hully is offline
Private
 
Join Date: Jan 2004
Location: UK
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Hully is on a distinguished road
Default Re: GUI for probing turn status

Hi

I've just down load the program, installed and put the very nice icon in as well...

I'm currently in a MP game call FruitBat being hosted at www.llamaserver.net so far so good.

I will be quite honest and say I have not got a clue on some of the setting could you possibly help?

Ok 3 settings:

Game Name: FruitBat
Game Host: www.llamaserver.net (the game is being hosted here, but do I put the full name in?)
Game Port: not got a clue, so what’s this about?

Having read the entire thread I'm feeling a little foolish, as I seem to be missing some basic knowledge. Hmmm

Any help would be appreciated thanks


Hully
Reply With Quote
  #47  
Old February 28th, 2008, 10:36 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: GUI for probing turn status

This program is for checking up on network games. llamabeast hosts PBEM games and has his own game stats on his web server.
__________________
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
  #48  
Old February 29th, 2008, 04:55 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

Isn't llamaserver a PBEM host server?

For TCP servers the settings are:
game name, mainly so that save turn will work properly
game host, IP address or name that can be resolved to one (DNS)
game port, to connect to an IP address you need also a port. Port is a number that can either be fixed for certain programs (21-ftp, 23-telnet) or selected from a range.
In general for TCP hosted games the host will specify the port as well as the address.

I hope this helps.

EDIT, oops, missed Ich's response, I think he's got it right .
Reply With Quote
  #49  
Old February 29th, 2008, 10:16 AM

Hully Hully is offline
Private
 
Join Date: Jan 2004
Location: UK
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Hully is on a distinguished road
Default Re: GUI for probing turn status

Yep, feeling very foolish

Many thanks


Hully
Reply With Quote
  #50  
Old December 31st, 2008, 01:07 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.

New version is up.
PyEye1.33 dom-III client. Now 3.20 compliant.
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 11:03 AM.


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