.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Utility: PyEye1.33 dom-III client. Now 3.20 compliant. (http://forum.shrapnelgames.com/showthread.php?t=36618)

WraithLord February 5th, 2008 06:29 PM

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. http://forum.shrapnelgames.com/image...ies/tongue.gif

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 http://forum.shrapnelgames.com/images/smilies/happy.gif
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.

WraithLord February 7th, 2008 10:53 AM

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)

lch February 7th, 2008 01:39 PM

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

WraithLord February 7th, 2008 04:10 PM

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.

lch February 7th, 2008 04:16 PM

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. http://forum.shrapnelgames.com/image...ies/tongue.gif

Hully February 28th, 2008 10:31 PM

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

lch February 28th, 2008 10:36 PM

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.

WraithLord February 29th, 2008 04:55 AM

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 .

Hully February 29th, 2008 10:16 AM

Re: GUI for probing turn status
 
Yep, feeling very foolish

Many thanks


Hully

WraithLord December 31st, 2008 01:07 PM

Re: PyEye1.33 dom-III client. Now 3.20 compliant.
 
New version is up.
PyEye1.33 dom-III client. Now 3.20 compliant.


All times are GMT -4. The time now is 03:25 PM.

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