Page 16 of 33
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 4:42 pm
by chipv
Medal icons:
(Medals awarded for defeating a certain number of unique opponents. This tells you which opponents have been defeated for which medal).
Standard:

- you have defeated this player already for your Standard medal.
Doubles:

- you have defeated this player already for your Doubles medal.
Triples:

- you have defeated this player already for your Triples medal.
Quadruples:

- you have defeated this player already for your Quadruples medal.
Terminator:

- you have defeated this player already for your Terminator medal.
Assassin:

- you have defeated this player already for your Assassin medal.
Speed:

- you have defeated this player already for your Speed medal.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 4:43 pm
by lanyards
So when I beat someone who I haven't before, do I have to search the Map Rank again for there defeated icons to show up?
--lanyards
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 4:44 pm
by chipv
lanyards wrote:So when I beat someone who I haven't before, do I have to search the Map Rank again for there defeated icons to show up?
--lanyards
Yes. This is the fastest way of doing it without slowing people's pages down.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 5:26 pm
by Incandenza
Maybe I'm dumb, but I haven't been able to get the whole new "icons next to people I've defeated uniquely" thing to work.
I've run my name with all maps using the sidebar doohickey, I've done the same on the game finder page, I bookmarked searches, etc. etc.
It's possible that I'm misreading what this feature is actually supposed to do, but the post on the first page was a bit light on the details...
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 5:48 pm
by chipv
Incandenza wrote:Maybe I'm dumb, but I haven't been able to get the whole new "icons next to people I've defeated uniquely" thing to work.
I've run my name with all maps using the sidebar doohickey, I've done the same on the game finder page, I bookmarked searches, etc. etc.
It's possible that I'm misreading what this feature is actually supposed to do, but the post on the first page was a bit light on the details...
Only works from the sidebar..doohickey.. with your name and all, which you've tried with the new install already.
Now go to mygames or search gamefinder with your name and look at the players on the right.Should see some new icons there.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 5:53 pm
by ABSOLUTE_MASTER
Incandenza wrote:Maybe I'm dumb, but I haven't been able to get the whole new "icons next to people I've defeated uniquely" thing to work.
I've run my name with all maps using the sidebar doohickey, I've done the same on the game finder page, I bookmarked searches, etc. etc.
It's possible that I'm misreading what this feature is actually supposed to do, but the post on the first page was a bit light on the details...
No comments.....

Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 7:08 pm
by Ditocoaf
MY GOD, do you have to update this seven times a day? I'm getting so annoyed by that little blinking red button that I might have to uninstall this tool!
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 8:04 pm
by ubcman64
Just wanted to say I think this is a cool add-on. I really like the new update with the icons for defeated players. Keep up the good work!
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 8:19 pm
by Night Strike
Cool mini-medals, but I have a few suggestions.
Could you add either a mouse over title or a help menu/list on the left menu to describe each of the medals?
Also, could you just eliminate the auto-fill drop down as you type your name? It freezes on there partially covering up the Map option button.
I noticed that it's running much slower now than it was before I was gone for 16 days. Could it be sped up?
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 11:06 pm
by wcaclimbing
Just a question, how do I get rid of the icons next to the names?
Cause they were cool for a few minutes as I looked over my games, but now they're just annoying.
Maybe you could add a "remove icons" button to the Map Rank menu?
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Wed Jul 02, 2008 11:55 pm
by Incandenza
Yeah, still doesn't work. Ran my name thru the sidebar doohickey

(for all maps, of course), looked at my games page, looked up all my old games thru the game finder.... nothing.
(tho, all things being equal, I do agree with wca that one should be able to turn it off somehow).
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Thu Jul 03, 2008 12:10 am
by wcaclimbing
wcaclimbing wrote:Just a question, how do I get rid of the icons next to the names?
Cause they were cool for a few minutes as I looked over my games, but now they're just annoying.
Maybe you could add a "remove icons" button to the Map Rank menu?
well, I've found one way to get rid of the icons. run Map Rank for a map I've never won on. That replaces all the current icons with the new ones (of which there aren't any, cause I've never won on the map selected).
So no icons.
It'd be easier if there was just a "remove icons" button, though.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Thu Jul 03, 2008 2:42 am
by yeti_c
Night Strike wrote:Cool mini-medals, but I have a few suggestions.
Could you add either a mouse over title or a help menu/list on the left menu to describe each of the medals?
Also, could you just eliminate the auto-fill drop down as you type your name? It freezes on there partially covering up the Map option button.
I noticed that it's running much slower now than it was before I was gone for 16 days. Could it be sped up?
I was going to suggest "Alt text" on the images.
Also - a quick question... your unique defeats? - Are they calculating teams correctly? (i.e. you don't defeat your team mate in a team game.)
C.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Thu Jul 03, 2008 4:06 am
by yeti_c
Can you change the vertical-align style property for the images to bottom? (Else the images kick out the layout a lot)


C.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Thu Jul 03, 2008 6:31 pm
by chipv
Ok, I've ploughed through some changes based on immediate reports. Here is a short summary:
Rating:

- you have rated this player already for your Rating medal.
You can choose to display the medal icons on the games listings pages in Options in the left menu under the Rank and Points checkbox.
Default is OFF.
You should be able to see the medal icons on join game pages (awaiting games).
Hover over the icons for a description.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Thu Jul 03, 2008 10:56 pm
by Night Strike
Thanks for the updates. Could you set the rank pop-up window to stay up, even if you navigate away from the page where you started the search? I would like to keep the window open while I'm browsing for things such has games/maps to join to get my achievements.
By the way, you could probably remove the "New Greasemonkey Script" from your thread title.
Oh yeah, another suggestion: couldn't you make the script update after each of your finished games similar to how the BOB script updates the Elimination summary: by taking it directly from the log? That way, we wouldn't have to keep running the script to update the medal icons.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Thu Jul 03, 2008 11:52 pm
by yeti_c
Night Strike wrote:Thanks for the updates. Could you set the rank pop-up window to stay up, even if you navigate away from the page where you started the search? I would like to keep the window open while I'm browsing for things such has games/maps to join to get my achievements.
This is pretty hard to do really - due to the way scripts interact with the browser...
However - now that Chip is saving the info down to your browser - it *could* theoretically be done - by each time you move to another screen - reopening a window and continuing the work required.
C.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Fri Jul 04, 2008 12:00 am
by yeti_c
What I would like to see - and I'm sure it must be pretty close to doing this...
When you run Map Rank - it saves all the data down for each set of maps - and players...
Now when I run it in 2 weeks time - 95% of that data will not have changed...
Say I've finished 2 classic games...
So it should be able to roll through all my other maps - instantly - it can count number of games for each of those maps - see that it is the same - and therefore just present last weeks data...
Except for Classic...
Whereby - it can either - Add to the old data (preferable - might be tricky to code) - or re get all of my classic games.
This would solve Night Strikes idea about it reading logs when you've finished games etc - as apart from the initial run of Map Rank - which takes a while - each time after that would be pretty quick.
C.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Fri Jul 04, 2008 2:58 am
by yeti_c
yeti_c wrote:Also - a quick question... your unique defeats? - Are they calculating teams correctly? (i.e. you don't defeat your team mate in a team game.)
C.
BTW - I've answered this question... the answer is yes... for instance - I've played a few games with BENISDEAD and won - but haven't beaten him in any team games... so he is only listed as beaten in Standard & Termy.
Also - The Alt text for the feedback medal doesnt really make sense.
C.
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Fri Jul 04, 2008 3:03 am
by yeti_c
BTW - I notice you are using photobucket as a host for your images...
img.src = "http://i282.photobucket.com/albums/kk273/lanyards/" + def + ".png";
I would be careful with this - as you may use all of lanyards bandwidth easily - also - I think files need to be refreshed every month?
You can turn images into encoded strings and hardwire them into the script if you like... (See BOB for an example)
To turn the images into strings - I used this website...
http://software.hixie.ch/utilities/cgi/data/dataC.
PS - aplogies for Quad post!
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Fri Jul 04, 2008 4:20 am
by chipv
Night Strike wrote:Also, could you just eliminate the auto-fill drop down as you type your name? It freezes on there partially covering up the Map option button.
You can use the arrow keys and ENTER to save typing instead of using a mouse-click to select from the dropdown.
The dropdown will stay, but I will code it to disappear when you are doing something else, should have done that already.
Night Strike wrote:Thanks for the updates. Could you set the rank pop-up window to stay up, even if you navigate away from the page where you started the search? I would like to keep the window open while I'm browsing for things such has games/maps to join to get my achievements.
Everyone has been asking for this - it is on the ToDo list.
Oh yeah, another suggestion: couldn't you make the script update after each of your finished games similar to how the BOB script updates the Elimination summary: by taking it directly from the log? That way, we wouldn't have to keep running the script to update the medal icons.
Great idea, yep, will do.
yeti_c wrote:Night Strike wrote:Thanks for the updates. Could you set the rank pop-up window to stay up, even if you navigate away from the page where you started the search? I would like to keep the window open while I'm browsing for things such has games/maps to join to get my achievements.
This is pretty hard to do really - due to the way scripts interact with the browser...
It's actually easy to do, depends on how you do it... but a little time-consuming so this will have to wait but will be done.
However - now that Chip is saving the info down to your browser - it *could* theoretically be done - by each time you move to another screen - reopening a window and continuing the work required.
C.
The info currently saved is only for medals, not maps, not points, but...
yeti_c wrote:What I would like to see - and I'm sure it must be pretty close to doing this...
When you run Map Rank - it saves all the data down for each set of maps - and players...
Now when I run it in 2 weeks time - 95% of that data will not have changed...
Say I've finished 2 classic games...
So it should be able to roll through all my other maps - instantly - it can count number of games for each of those maps - see that it is the same - and therefore just present last weeks data...
Except for Classic...
Whereby - it can either - Add to the old data (preferable - might be tricky to code) - or re get all of my classic games.
This would solve Night Strikes idea about it reading logs when you've finished games etc - as apart from the initial run of Map Rank - which takes a while - each time after that would be pretty quick.
C.
Nightstrike wants an update on finished games.
Unfortunately we can't sort the results by time meaning all the games would have to be re-scanned to make sure which ones are new.
The solution to this is to actually save the game list so I don't even have to scan all of the new Classic games.
yeti_c wrote:BTW - I notice you are using photobucket as a host for your images...
img.src = "http://i282.photobucket.com/albums/kk273/lanyards/" + def + ".png";
I would be careful with this - as you may use all of lanyards bandwidth easily - also - I think files need to be refreshed every month?
You can turn images into encoded strings and hardwire them into the script if you like... (See BOB for an example)
To turn the images into strings - I used this website...
http://software.hixie.ch/utilities/cgi/data/data
Yes, this may well happen, I'll give it a month to see.Lot of solutions for this if it does.
Re: Greasemonkey script : Conquer Club Map Rank
Posted: Fri Jul 04, 2008 11:42 am
by White Moose
I just have to say this.
Chipv, you have created a REALLY REALLY GREAT add on for conquerclub! I love it!

Keep up the good work!
Re: New Greasemonkey script : Conquer Club Map Rank
Posted: Fri Jul 04, 2008 6:24 pm
by chipv
Incandenza wrote:Yeah, still doesn't work. Ran my name thru the sidebar doohickey

(for all maps, of course), looked at my games page, looked up all my old games thru the game finder.... nothing.
(tho, all things being equal, I do agree with wca that one should be able to turn it off somehow).
Just figured your problem out whilst doing something completely unrelated. Sorry but just for now you'll need to type your name with case sensitivity to see the medal icons so use "Incandenza" not incandenza. Sorry.
Re: Greasemonkey script : Conquer Club Map Rank
Posted: Sat Jul 05, 2008 9:32 am
by chipv
Map Rank is faster now for your Map Rank + All in the left menu.
Run it once after installing 1.3.9 and it will only subsequently scan new games rather than going through the whole lot again.
Night Strike - the text dropdown disappears when you click away from it now rather than just sitting there.
Other assorted fixes thrown in.
Re: Greasemonkey script : Conquer Club Map Rank
Posted: Sat Jul 05, 2008 10:39 am
by chipv
If you tend to swap between checking the Rank and Points checkbox, then you'll need 1.4.0 because the info is different, Map Rank will have to re-scan when swapping.After that point, it won't need to rescan.