Discussion in 'Civ4 - Game of the Month' started by AlanH, Jul 24, 2009.
Oh - veeerrrrry very nice AlanH.
Can I open ''Online xOTM Replay Utility'' with Mozilla Firefox?
You should be able to. Have you tried and failed?
You should be able to use any modern browser except Internet Explorer.
I love this!!! For people like me still learning the game this is a great tool! Thank you so much.
My only complaint if I had one, and let me tell you how minor this is, but is there any way to move the play/stop/forward buttons lower? I would like to be able to see the whole log and still be able to use the stop/play buttons.
You did such a great job with this I feel ungrateful for even asking if this could be done, lol.
Again, awesome job!
Um, you're making heavy use of a tag that isn't in the HTML spec (but only in the drafts for HTML5 which isn't intended to be finalised for a few years yet) and you're complaining about standards compliance because IE8 doesn't support it yet?
Umm. Have you tried moving the event log higher? You can drag the yellow title bars to move the panels around, as I was 100% certain that my layout would not appeal to everyone else.
I complain about IE standard non-compliance because it's a fact. Regardless of <canvas>. Check out the bake-offs between IE and the other browsers, which show its poor compliance with W3C standards.
When I first started writing the Replay utility about two years ago, <canvas> was supported by all modern browsers but one. I may have been able to use SVG (I didn't try), but that isn't supported by IE either. Silverlight came along later, but that and Flash are proprietary technologies that I prefer to avoid. So MS have had plenty of time to add support for what had already become a de facto standard, but they prefer to push Silverlight and fight a battle with Adobe instead.
Even back then, there had been valiant attempts by independent developers to emulate <canvas> on top of VML. I tried to take advantage of that to support IE, but there was no support for erasing selective areas of the canvas, making animation very clunky. I ended up rendering the animation frames on the server in PHP instead on in the browser. You can still see the vestiges of that support if you try to run Replay in IE.
Since Replay-compatible browsers are free, and only people stuck in corporate straitjackets are unable to install them, I don't see that my non-support for IE is a major issue. IE is the only major browser I can't run in Mac OS X, apart from Chrome which is new and getting there. They don't support me - why should I support them?
I shall not be offering a tool you can download and run locally. It is based on the compiled C saved game file parser we use for GOTM competition management and security, plus a number of PHP scripts. That stuff stays on our server.
Also, as I have said elsewhere, a web service is infinitely easier to maintain than a downloadable package, as I can fix a problem or enhance the system, and everyone automatically gets the new version next time they use it. It also runs on any platform with a compliant browser.
There's no technical problem that's stopping me from producing a web service that will allow you to upload your own saves to the server and deliver the replay display. I just have to re-factor the system for that purpose, and I'm working on it. But since I also have a life, this work will not happen instantly.
There appears to be a bug with the tech discovery messages in the log. For example for team CFR log in the last SGOTM there is a "you have discovered pottery" message on turn 18, but no messages for agriculture & wheel which we learnt before pottery.
The replay event log just includes everything from the file, so I imagine they didn't show up in the save file's log. I'll investigate.
[UPDATE] I did find a script error that was "losing" some events. However, I am not seeing your Pottery discovery at turn 18. It is definitely in the save file log - you can even see it if you click the Replay link in the results table. So I still need to track that one down, but the other techs are now listed.
Ok, thanks Alan. Now, I wait to use this program with Mozilla, Internet Explorer comes with many errors.
NO I didn't
I was too much in awe of the greatness of the page. I didn't mean any negativity towards the page and I certainly hope you didn't take it that way.
I certainly didn't take it that way. I appreciated your comments, and should have said so, but I was focused on helping you with the problem you had.
This looks like a great tool, thanks Alan.
I'm seeing some drawing glitches in Safari 4.0.2. I've attached a screenshot.
Thx, that's interesting, Safari 4.0.2 is my primary browser. I guess I need to look harder at how it deals with varying text size settings.
I thought it was kind of ironic .
Investigating, I see that this results from my use of the "Never use font sizes smaller than 12" option in the advanced preferences. Without that checked, the problem goes away. So that's an easy way to reproduce the problem.
Cool, I can use in Opera 9.64 (web browser).
Very well done Especially like the side by side to see how others approached and progressed on the same map.
is it possible to use this on HOF games as well?
Separate names with a comma.