Conquer Club

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.

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

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: 10394
Joined: Mon Mar 05, 2007 12:48 am

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

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

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

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

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.

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

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

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

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
Sergeant lackattack
 
Posts: 6096
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

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

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

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

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

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.
User avatar
Sergeant 1st Class remydog
 
Posts: 147
Joined: Wed Oct 17, 2007 7:31 pm

Postby philh on Sat Dec 22, 2007 11:13 am

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

Postby philh on Tue Jan 22, 2008 1:33 pm

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

Postby CrabNebula on Tue Jan 22, 2008 1:45 pm

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
Sergeant 1st Class CrabNebula
 
Posts: 1730
Joined: Thu Jul 05, 2007 2:19 pm

Re: Handy Game History v0.5.1

Postby Agent Price on Wed Jul 02, 2008 4:37 pm

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
Cadet Agent Price
 
Posts: 14
Joined: Fri May 16, 2008 5:49 pm

Re: Handy Game History v0.5.1

Postby homes32 on Tue Jul 22, 2008 4:19 pm

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
User avatar
Lieutenant homes32
 
Posts: 86
Joined: Wed Jan 31, 2007 4:05 pm
Location: under your bed

Re: Handy Game History v0.5.1

Postby scottp on Sun Jul 27, 2008 10:35 am

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
User avatar
Major scottp
 
Posts: 455
Joined: Tue May 13, 2008 2:05 pm
Location: Dead Zone, TX

Re: Handy Game History v0.5.1

Postby Sh4d0w on Thu Feb 05, 2009 2:29 am

Does this not work anymore? :(

Click on the < and > and nothing happens.
Sergeant 1st Class Sh4d0w
 
Posts: 16
Joined: Wed May 02, 2007 11:56 am

Re: Handy Game History v0.5.1

Postby ignatious on Wed Feb 11, 2009 1:56 pm

Same here - does anyone know if there's a working version of this, or something like it?
User avatar
Major ignatious
 
Posts: 61
Joined: Sun Jun 17, 2007 12:24 am

Re: Handy Game History v0.5.1

Postby scottp on Wed Feb 11, 2009 5:01 pm

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?!
User avatar
Major scottp
 
Posts: 455
Joined: Tue May 13, 2008 2:05 pm
Location: Dead Zone, TX

Next

Return to Tool Archives

Who is online

Users browsing this forum: No registered users