Handy Game History v0.5.1 [Discontinued]

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderators: Global Moderators, Tech Team

Forum rules
Please read the Community Guidelines before posting.

Handy Game History v0.5.1 [Discontinued]

Postby philh on Wed Sep 05, 2007 2:39 am

This script is discontinued. For the new version of the script please visit viewtopic.php?f=527&t=123669


http://userscripts.org/scripts/show/12027

Thanks to edbeard for the name, and to ian13 for the proxy debugging before I got greasemonkey myself.

Install the script and a 'visualise' link will show up under 'Game Log'. Click it, and you'll be able to go backwards and forwards through the game history. For example you'll be able to see who started with each territory, etc.

Opera users, to install, you need to locate your userjs directory. It can be found in Help->About as 'User JavaScript files' under Paths. Save the file at the end of the 'install' link to there, keeping it with a .user.js extension.

New in 0.5.1:
Works with the new map XML format (thanks to freakybeard).

New in 0.5:
Larger, and more centralised, indicators.
Support for 8-player games.
Counters telling you how far into the game you are.

New in 0.4:
Navigate by move, turn, round, or go straight to the beginning/end of the game. (Turns are still available in freestyle games, though I'm not sure how much use they'll be.)
Made the indicators larger.
(Small update, but it's been over a month. I'm back at school, so things are slow.)

0.4.1 makes it work with the new game URL (game.php instead of gamespace.php), and only adds one set of controls if you click 'visualise' more than once.

Fixable bugs:
I haven't designed it to play well with the 'refresh' and 'larger/smaller map' buttons.
Games with more than six^Weight players will probably break. (I didn't expect this to actually happen outside of battle royale...)
It will break if the map file (.xml) can't be fetched for whatever reason. (I need that to work out where to place the indicators.)
Going forwards through the history, deadbeats' territories don't become neutral. Going backwards, territories that used to belong to deadbeats don't switch back from neutral.
In opera, it only occasionally works in World 2.1. Firefox is fine. Age of Realms was also causing problems, which I haven't tested in Firefox. All other maps seem to be fine.
Still available in active fog games, despite being useless. Generates lots of (non-fatal) error messages if you do try to use it.

Unfixable bugs:
It won't show you how many armies were on a territory, just who owned it.
If somebody deadbeats, any of their territories which haven't seen play at that point (ie. which haven't been conquered or used to conquer from) will show up as neutral (or their teammate's) at the beginning instead of reflecting their true original owner.

Future development:
I'd like to integrate chat somehow, but my HUI-fu isn't up to the challenge of doing it non-suckily.
Make it less ugly.
It should be more obvious where changes occur.
Last edited by philh on Tue Jan 22, 2008 1:27 pm, edited 6 times in total.
Major philh
 
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am
Medals: 11
Standard Achievement (1) Doubles Achievement (1) Triples Achievement (1) Terminator Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Ratings Achievement (1) Tournament Achievement (1) Tournament Contribution (1) General Contribution (2)

Postby Iliad on Wed Sep 05, 2007 5:09 am

That was one of my suggestions. Let's see it!
User avatar
Private 1st Class Iliad
 
Posts: 10439
Joined: Mon Mar 05, 2007 12:48 am
Medals: 1
Standard Achievement (1)

Postby wbaccus on Wed Sep 05, 2007 8:29 am

Got it installed in Greasemonkey, but it doesn't seem to be working. (I'm using Firefox on an Intel based Mac.

Love the idea though, I've been wanting functionality like this.
User avatar
Corporal wbaccus
 
Posts: 2
Joined: Fri Jun 15, 2007 9:18 am
Location: Memphis, TN
Medals: 2
Standard Achievement (1) Doubles Achievement (1)

Postby philh on Wed Sep 05, 2007 4:57 pm

I got a new version uploaded, it's replaced the original at the link I posted. Now with pretty colours!

It does now work with AJAX disabled. Also fixed a bug that I hadn't noticed before.

With the help of a friend over MSN, I got some way towards firefox compatibility. The last attempt he tested didn't work for him, but it was generating two error messages and I think I've fixed one since then. With luck, fixing that also fixed the other and it works now. (If it doesn't, it's at least in a better state for more knowledgeable people to look at.)
Major philh
 
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am
Medals: 11
Standard Achievement (1) Doubles Achievement (1) Triples Achievement (1) Terminator Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Ratings Achievement (1) Tournament Achievement (1) Tournament Contribution (1) General Contribution (2)

Postby edbeard on Wed Sep 05, 2007 6:06 pm

I'm going to wait till I see other people saying it's working. Sounds pretty cool though.

As for a name I'd call it 'Handy Game History'

HGH for short
User avatar
Major edbeard
 
Posts: 2501
Joined: Thu Mar 29, 2007 12:41 am
Medals: 18
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Cross-Map Achievement (3)
Tournament Achievement (1) Map Contribution (5) General Contribution (3)

Postby wbaccus on Thu Sep 06, 2007 12:42 pm

It now shows the visualize link in Firefox, and when I click on it, I get the advance/rewind links, but all of the armies go blank, so it's not quite there yet.
User avatar
Corporal wbaccus
 
Posts: 2
Joined: Fri Jun 15, 2007 9:18 am
Location: Memphis, TN
Medals: 2
Standard Achievement (1) Doubles Achievement (1)

Postby jako on Thu Sep 06, 2007 12:48 pm

this seems like a great idea especially for mentors who want to show their mentorees what they did wrong and where or show them y a game was successful.

i think it should be called flashback.
Image

Time to retire this much loved sig of mine with a new clan.
User avatar
Lieutenant jako
 
Posts: 1022
Joined: Sun Jun 03, 2007 4:50 am
Location: A lost soul with no-one to stalk.
Medals: 12
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Fog of War Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (1)

Postby yeti_c on Thu Sep 06, 2007 1:29 pm

Nice work pal - I've not installed it yet - but look forward to doing it...

Of course when the next level of logging comes out then some of the impossible things will become possible!!

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby philh on Thu Sep 06, 2007 3:09 pm

I realised it would be a lot easier if I just got greasemonkey myself, and eventually got it working. It's now hosted on userscripts, and I've updated the original post with the new URL.
Major philh
 
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am
Medals: 11
Standard Achievement (1) Doubles Achievement (1) Triples Achievement (1) Terminator Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Ratings Achievement (1) Tournament Achievement (1) Tournament Contribution (1) General Contribution (2)

Postby eternal_sunshine on Sat Sep 22, 2007 4:16 pm

This is neat. The little asterisks are hard to see however.
Corporal 1st Class eternal_sunshine
 
Posts: 2
Joined: Tue Sep 18, 2007 11:33 pm

Postby philh on Fri Oct 12, 2007 12:28 pm

Agreed. They're bigger now, but let me know if it's not enough.
Major philh
 
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am
Medals: 11
Standard Achievement (1) Doubles Achievement (1) Triples Achievement (1) Terminator Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Ratings Achievement (1) Tournament Achievement (1) Tournament Contribution (1) General Contribution (2)

Postby lackattack on Thu Nov 15, 2007 9:00 pm

Nice work, philh!

You'll need to change the script to install for game.php* instead of gamespace.php*

Also, I found a bug. When you click visualize several times it makes several sets of VCR buttons :)
User avatar
Private 1st Class lackattack
Retired Administrator
 
Posts: 6235
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC
Medals: 9
Standard Achievement (1) Doubles Achievement (1) Triples Achievement (1) Freestyle Achievement (1) Speed Achievement (1)
Teammate Achievement (1) Cross-Map Achievement (1) General Achievement (2)

Game History not installing

Postby remydog on Mon Nov 19, 2007 12:58 pm

I just downloaded and installed this, but it does not show up in my list of GM scripts and the button is not showing under the game log.

I tried re-starting, and still not there.

Did this get screwed up when the recent AJAX fix was implemented over the weekend? Is it a BOB compatibility problem?

I'd love to see this thing work.

MSK
User avatar
Sergeant 1st Class remydog
 
Posts: 143
Joined: Wed Oct 17, 2007 7:31 pm
Medals: 12
Standard Achievement (2) Terminator Achievement (2) Manual Troops Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (1)
Cross-Map Achievement (2) Ratings Achievement (3)

Postby philh on Tue Nov 20, 2007 1:41 pm

Fixed both those issues, thanks for the heads-up.

Remy, it should work now. I don't know of any problems with BOB compatibility, but as I don't use BOB myself it's not likely that I would. If anybody knows of one, let me know.

Also I've started watching this topic, so I might actually notice replies in future.
Major philh
 
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am
Medals: 11
Standard Achievement (1) Doubles Achievement (1) Triples Achievement (1) Terminator Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Ratings Achievement (1) Tournament Achievement (1) Tournament Contribution (1) General Contribution (2)

Postby remydog on Tue Nov 20, 2007 2:40 pm

philh wrote:Agreed. They're bigger now, but let me know if it's not enough.


Please make the asterisks much bigger. Using this feature, it is almost more important to see the asterisks than it is to see the armies that are located at the spot at the moment.

Nice, and I'm sure additional development will make it even better. I don't have a clue about this stuff, but somehow seeing two boards side by side (or above and below) showing a round to round change might be good.

MSK
User avatar
Sergeant 1st Class remydog
 
Posts: 143
Joined: Wed Oct 17, 2007 7:31 pm
Medals: 12
Standard Achievement (2) Terminator Achievement (2) Manual Troops Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (1)
Cross-Map Achievement (2) Ratings Achievement (3)

Next

Return to Tool Archives

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Login