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.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
philh
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am

Handy Game History v0.5.1 [Discontinued]

Post by philh »

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.
User avatar
Iliad
Posts: 10394
Joined: Mon Mar 05, 2007 12:48 am

Post by Iliad »

That was one of my suggestions. Let's see it!
User avatar
wbaccus
Posts: 2
Joined: Fri Jun 15, 2007 9:18 am
Location: Memphis, TN
Contact:

Post by wbaccus »

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.
philh
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am

Post by philh »

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.)
User avatar
edbeard
Posts: 2501
Joined: Thu Mar 29, 2007 12:41 am

Post by edbeard »

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
wbaccus
Posts: 2
Joined: Fri Jun 15, 2007 9:18 am
Location: Memphis, TN
Contact:

Post by wbaccus »

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
jako
Posts: 1022
Joined: Sun Jun 03, 2007 4:50 am
Gender: Male
Location: A lost soul with no-one to stalk.

Post by jako »

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
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

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
philh
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am

Post by philh »

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.
eternal_sunshine
Posts: 2
Joined: Tue Sep 18, 2007 11:33 pm

Post by eternal_sunshine »

This is neat. The little asterisks are hard to see however.
philh
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am

Post by philh »

Agreed. They're bigger now, but let me know if it's not enough.
User avatar
lackattack
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Post by lackattack »

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
remydog
Posts: 148
Joined: Wed Oct 17, 2007 7:31 pm

Game History not installing

Post by remydog »

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
philh
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am

Post by philh »

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.
User avatar
remydog
Posts: 148
Joined: Wed Oct 17, 2007 7:31 pm

Post by remydog »

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
remydog
Posts: 148
Joined: Wed Oct 17, 2007 7:31 pm

Post by remydog »

The other thing that would be good is to move the asterisks much closer to the army numbers. Where they are now, they are often outside the borders of the country that they represent.
philh
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am

Post by philh »

0.5 uploaded.

The indicators were always pretty close to the centre of the army circles for me. I've tried to make them closer, but it may depend on the font. I've set that to courier, but they still look totally different in opera and firefox, so I'm not entirely sure how it's going to look to anyone other than me.
philh
Posts: 85
Joined: Sat Jan 20, 2007 6:30 am

Post by philh »

0.5.1 uploaded. A change in the XML format means previous versions no longer work. Nothing else new, I'm afraid. I suck at getting things done.

Credit for this one goes to freakybeard, who developed the fix before I even noticed anything was broken.
CrabNebula
Posts: 1730
Joined: Thu Jul 05, 2007 2:19 pm

Post by CrabNebula »

Nice. Good job!
rebelman wrote:
JOHNNYROCKET24 wrote:thats why my next wife will be a player from this site. I wont mention who :wink:
obviously you are looking for a woman thats a good cook and likes you to dominate in one on one
User avatar
Agent Price
Posts: 15
Joined: Fri May 16, 2008 5:49 pm

Re: Handy Game History v0.5.1

Post by Agent Price »

It sounds great, but how do you install the javascript? When I hit the install button, firefox just downloads a .js file. What the heck am I supposed to do with it? I'm on a mac, by the way.
User avatar
homes32
Posts: 86
Joined: Wed Jan 31, 2007 4:05 pm
Location: under your bed

Re: Handy Game History v0.5.1

Post by homes32 »

Agent Price wrote:It sounds great, but how do you install the javascript? When I hit the install button, firefox just downloads a .js file. What the heck am I supposed to do with it? I'm on a mac, by the way.


you need to have firefox with the greasemonkey extension installed first.
-homes32

Highest Score: 1850
scottp
Posts: 455
Joined: Tue May 13, 2008 2:05 pm
Location: Dead Zone, TX

Re: Handy Game History v0.5.1

Post by scottp »

Thanks for developing this, it was something I was wanting, and somehow had missed this thread until today!

Of course, now the Ingrate will offer suggestions: ;)

1. On some maps I've looked at (Madness, in particular) the asterisks do not align with the territories. Changing from large to small map or vice-versa does not help.

2. Could the changing icons flash or something to indicate where territories changed hands? It's sometimes hard to notice where the change occurred.

3. In a team game I reviewed, pink was eliminated, and cyan (pink's teammate) went on to win the game. However, all of cyan's activity after pink was eliminated was represented by pink asterisks.

4. yeti_c (or someone) indicated "more complete game logging" or something like that earlier in this thread. It would be GREAT to see the army numbers somewhere down the road, if that becomes possible!

again, thanks - and great job!

scottp
Sh4d0w
Posts: 16
Joined: Wed May 02, 2007 11:56 am

Re: Handy Game History v0.5.1

Post by Sh4d0w »

Does this not work anymore? :(

Click on the < and > and nothing happens.
User avatar
ignatious
Posts: 61
Joined: Sun Jun 17, 2007 12:24 am

Re: Handy Game History v0.5.1

Post by ignatious »

Same here - does anyone know if there's a working version of this, or something like it?
scottp
Posts: 455
Joined: Tue May 13, 2008 2:05 pm
Location: Dead Zone, TX

Re: Handy Game History v0.5.1

Post by scottp »

I bet the changes to the site that came about in the "Copyright chaos" are responsible. It was a nice feature that I didn't use too much, so it was only recently that I noticed it wasn't working. Woudl love if someone would revise/revive it, though.

Aligning the colored * markers with the army count bubbles better on the map would be nice, too - hey, if you're asking for something for free, why not ask for the moon?!
Locked

Return to “Tool Archives”