CivStats.com - View your Pitboss games on the web

Fair enough. What language(s) are you programming in? Also, out of curiosity, where are you pulling the stats from? Does pitboss have a command-line interface you can query with?
 
I wish! The info is scraped right from the window, and it aint pretty. That program is written in AutoIt 3, a scripting language that makes it very easy to do screen scraping. The website is PHP+MySQL (and CSS/HTML/Javascript of course.) I just learned how to do AJAX so I've been wanting to work some of that in to 2.0 but I'm not finding any good applications for it in CivStats; oh well.

Version 2.0 will actually get rid of the AutoIt uploader and instead all of the information will be output by an actual Civ4 mod (written in Python) and then there will probably be a very simple (C# most likely) program that just uploads the info to the web. Or perhaps I'll do the uploading right from within the Python mod. I'm not totally sure. The upshot is that because it's a mod in Civ 4, I can have it output all of the information I could possibly want.
 
I used a similar language in the past, AutoHotKey. Wasn't pretty, but it was effective. I can see why you'd want to be getting away from that.



Knowing that the BtS leaders/nations won't be available on the site, what's your recommendation for a BtS game that will be starting up? Can we just put in false leader info? Does it matter?
 
Overload, I've got two out of three games running where the uploader appears to be working on the pitboss server side, but the game is showing as uploader disconnected on the civstats website side. This one (Warlords, and just upgraded from 1.01 to 1.5.1.0 uploader version, neither one works) and this one (BtS, 1.5.0 and I've rebooted the box itself trying to get it going again) are down, this one (BtS, 1.5.1.0, going through the same firewall as the other two) is good.

Is there any way you can take a look on your end and see what's happening to the two laggards?
 
Hi, I'm currently hosting two pitboss games. One of them is played with the final frontier mod:
http://www.civstats.com/viewgame.php?gameid=615
As you can see nothing works except timer. Date id 0AD and players always have their turn marked as played. I understand civstats is thought to be played for the standard play but, could you do some minor adaptations so final frontier games will be accepted? Maybe you can manually choose if you are going to use final frontier as a setting option.

Anyways, thank you for give civstats to us. You improved our enlightenment very much
 
And at the moment:

Site Temporarily Unavailable
We apologize for the inconvenience. Please contact the webmaster/ tech support immediately to have them rectify this.

error id: "bad_httpd_conf"
 
It's a plot!

Now that OverLoad has us all hooked on his slick shtick he's gunna suck money from all of our PlayPal accounts to continue it and satisfy our addiction.

:cowboy:

I'd encourage him to do so, I've said for a while now that there are lots of people that would be willing to donate a little money to his considerable efforts to launch and maintain civstats. :)
 
Site appears to be down, 404-Not Found.
 
Gah, when did I stop receiving emails when this thread was updated?

Okay, sometimes the site is down, I don't really know why. It's probably just that my host isn't 100% reliable all the time. The site should be running much faster than it used to, as about two weeks ago I upgraded the server to a new special thing.

As for support for Final Frontier, it'll be supported in 2.0 for sure. Right now it would require way too much work to have the current uploader support it. That thing is already a horrible mess of code.

Finally, in regards to donations, I'll have a donation button up in 2.0, but I don't think what I currently have up is worthy of donations; way too many bugs. I've been loosely toying with the idea of offering a "premium" version of Civstats after 2.0. It'd be something like $1 per month to have a game be in premium mode. However, I'd only do this if there really were features that cost me money (IE, heavy load on the server) to implement.
 
Overload, I've got two out of three games running where the uploader appears to be working on the pitboss server side, but the game is showing as uploader disconnected on the civstats website side. This one (Warlords, and just upgraded from 1.01 to 1.5.1.0 uploader version, neither one works) and this one (BtS, 1.5.0 and I've rebooted the box itself trying to get it going again) are down, this one (BtS, 1.5.1.0, going through the same firewall as the other two) is good.

Is there any way you can take a look on your end and see what's happening to the two laggards?

Ignore this issue, it was a client-side problem. Remember when the IP address for civstats.com changed and DNS wasn't updating with it? I hard-coded the new IP address in a few of my pitboss machines' hosts files. I guess a few weeks ago the IP changed again, and so the hardcoded-IP machines stopped being able to connect to civstats.

This probably explains my recent 'site is down' posts too. :blush:

And Overload, civstats does have a few bugs (the chief one affecting my games being the occasional unexplained disconnect of the client uploader), but even so it has been a huge boon in all the pitboss games I've played in or run.
 
The worst thing about civstats is imo that it isn't integrated into the game from the beginning. Hopefully in some future patch or at least in civ5 the official game will have way better support for multilayer and especially pit boss.
 
Sometimes it seems to go down for short periods of time. It's working fine for me right now.

The balance between cost and reliability is a tough one. :(
 
Dear OverloadUT,

My uploader stopped working four days ago.

I run version 1.0.0.1, GameID is 350 (Rasbora). Do you see anything
on the server side?

I restarted Windows, Pitboss and Uploader, but the Uploader never
goes further from "Currently parsing...".
 
Back
Top Bottom