Conquer Club

REDUNDANT : Conquer Club Map Rank

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.

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Sun Jun 29, 2008 2:59 am

BaldAdonis wrote:
chipv wrote:So it's possible you will have a permanent offset for 1. (This will be constant)

So we could figure out what each of our offsets will be, based on current score vs. predicted? Example, all my games
Colonel 193pts for Brigadier +1807 Won 603 from 1355(45%)
So it's giving me 85 more points than I have.

Funny thing though, my games should be more like "2304 Completed, 1068 (46%) Won". Were the really that many game logs lost, or is this some other issue?

I've also noticed something funny near the beginning of large searches. I'll get a partial table that doesn't add up properly in the games column.
Code: Select all
Totals     Private 1st Class 38pts for Corporal  +62   Won 9 from 20(45%)   Won 2 from 5   24 (0)
Arms Race! New Recruit       38pts for Corporal  +62   Won 1 from 1(100%)   Won 1 from 1   3

Is this meant to happen (ie. it scans the games for wins first, then adds up the points)? I haven't noticed it on smaller searches covering just a few maps, but I've never gone through the completed table to see if it adds up.

I found something else a little odd: I don't get results searching for "NCAA March Madness 2008 #1". I've completed 8 games, and none show up. It works for other tournaments, but I haven't looked through all of them. Maybe something to do with the "#"?


I literally just ran your Map Rank and got

Colonel 76pts for Brigadier +1924 Won 1069 from 2306(46%) Won 426 from 676 1083 (73)

So you can see the win/loss/% and undefeated/cross map numbers are always correct as it should be.

If you are in active terminator games and have killed people, then Map Rank does not currently look at these (it could do but would be slower).
So your offset might be just due to that or a combination of that and missing logs. Map Rank only looks at finished games.
Missing logs only affect points and not the other calculations. A lot of problems might be just down to active terminator kills, actually.

Map Rank has had a lot of speed optimisation so your partial totals might look odd in the middle, but it will get it right. I'm going to run a few checks on this just in case something screws up for large amount of games, but since I just ran on all your games, looks ok aside from points.

I will look into the tournament issue for you today.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby qeee1 on Mon Jun 30, 2008 5:36 pm

This may have been asked already but...

On the results page it gives out the actual number of points received for each map. Would it be possible (and would you be interested) to code the map rank (or a different version of map rank) to produce the number of points that would have been received if you had only played that map.

i.e. To order the games by time finished. Then assume you had 1000pts before your first game on the particular map, calculate your actual score before that game, and then based on the points actually received to calculate the points that would have been gained/received if you had been on 1000 pts instead. Add or subtract that from 1000 and make that your new assumed score. Then move on to the second game with your new actual score and your new assumed score. and so on...

I ask because I'm interested in seeing scores for singles games alone. I once tried to code this myself, but having only C++ 101 knowledge I didn't get very far.
Frigidus wrote:but now that it's become relatively popular it's suffered the usual downturn in coolness.
User avatar
Colonel qeee1
 
Posts: 2904
Joined: Sun Feb 05, 2006 12:43 pm
Location: Ireland

Re: New Greasemonkey script : Conquer Club Map Rank

Postby rocky mountain on Mon Jun 30, 2008 10:27 pm

well, the amount of points you have gotten from that map, you can just add (or minus) to 1000 to see what it would be. there is also a rank that it shows which tells you what rank you would be if you just played that map. its the same ranking system as the site is. lets say for example you lost 50 points on World 2.1. it would say: private | 50 points to private 1st class, or something like that. that means you would have 950 points if you had only played that map...
does that make any sense at all? sorry if i confused you...
Image
best: place 2349; points 1617; GP 216; GW 102(47%); Lieutenant
User avatar
Sergeant 1st Class rocky mountain
 
Posts: 415
Joined: Thu Jul 12, 2007 7:08 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby qeee1 on Tue Jul 01, 2008 12:49 pm

Hmm... what I mean is that

Say you're at 2000 pts, and you play Africa for the first time; say it's 1v1 against someone with 1000 pts and you win. Then you'll gain 10pts, and your map rank will show +10 I think...
What I'm interested in would be for a script to show +20, as if that actually was your first game, i.e. as if you had 1000 pts when you played it.


To implement this it'd need to know your actual score when you played it, ie. 2000. then see that you won 10pts. From this it would calculate your opponents score at that time using the points formula, so:
10 = (opponents score/2000) x 20
opponents score = 2000 x (10/20)
opponents score = 1000

and using your opponents score it'd calculate your score as if you had 1000 pts at that time
points gained = (1000/1000)x20

Then the script would assume (1000+points gained) was your new points total and move on to the next game on that map... and so on.
Frigidus wrote:but now that it's become relatively popular it's suffered the usual downturn in coolness.
User avatar
Colonel qeee1
 
Posts: 2904
Joined: Sun Feb 05, 2006 12:43 pm
Location: Ireland

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Tue Jul 01, 2008 1:56 pm

qeee1 wrote:Hmm... what I mean is that

Say you're at 2000 pts, and you play Africa for the first time; say it's 1v1 against someone with 1000 pts and you win. Then you'll gain 10pts, and your map rank will show +10 I think...
What I'm interested in would be for a script to show +20, as if that actually was your first game, i.e. as if you had 1000 pts when you played it.


To implement this it'd need to know your actual score when you played it, ie. 2000. then see that you won 10pts. From this it would calculate your opponents score at that time using the points formula, so:
10 = (opponents score/2000) x 20
opponents score = 2000 x (10/20)
opponents score = 1000

and using your opponents score it'd calculate your score as if you had 1000 pts at that time
points gained = (1000/1000)x20

Then the script would assume (1000+points gained) was your new points total and move on to the next game on that map... and so on.


Sorry, can't do this one without assistance from the site developers.

As it stands Map Rank can't calculate how many points every individual has at game start without looking through every single game in the system.
(There is hopefully going to be a change to facilitate this, I'm waiting at the moment).

Take your example above. You may play several Classic maps. On one particular map your score is..., well I'd have to calculate your score across all maps according to your suggestion to get the 2000pts. I could then work out everyone else's score as you say.

Some alternative, maybe?
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jul 02, 2008 2:35 pm

1.3.4 is available.

First draft of showing medal icons next to player names so you can see players already defeated as part of the medal quota.

Run Map Rank + All in the left menu to get latest data.

Then go to games listing pages (mygames and game finder results) and you'll see the icons next to the players listed.

At the moment this only works from the left menu and only for your Map Rank. Only displays on mygames and game finder at the moment.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby lanyards on Wed Jul 02, 2008 2:41 pm

chipv wrote:1.3.4 is available.

First draft of showing medal icons next to player names so you can see players already defeated as part of the medal quota.

Run Map Rank + All in the left menu to get latest data.

Then go to games listing pages (mygames and game finder results) and you'll see the icons next to the players listed.

At the moment this only works from the left menu and only for your Map Rank. Only displays on mygames and game finder at the moment.
In my Map Rank Menu, it says Latest Version Installed. I have Internet Explorer Version, will it matter?

--lanyards
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
Major lanyards
 
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am
2

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jul 02, 2008 2:45 pm

lanyards wrote:
chipv wrote:1.3.4 is available.

First draft of showing medal icons next to player names so you can see players already defeated as part of the medal quota.

Run Map Rank + All in the left menu to get latest data.

Then go to games listing pages (mygames and game finder results) and you'll see the icons next to the players listed.

At the moment this only works from the left menu and only for your Map Rank. Only displays on mygames and game finder at the moment.
In my Map Rank Menu, it says Latest Version Installed. I have Internet Explorer Version, will it matter?

--lanyards


I've only done this in the Firefox version sorry.
Internet explorer conversion will come soon.

By, the way, I want to thank lanyards for the idea and also for designing and hosting the images for this - great stuff!
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby lanyards on Wed Jul 02, 2008 2:46 pm

chipv wrote:
lanyards wrote:
chipv wrote:1.3.4 is available.

First draft of showing medal icons next to player names so you can see players already defeated as part of the medal quota.

Run Map Rank + All in the left menu to get latest data.

Then go to games listing pages (mygames and game finder results) and you'll see the icons next to the players listed.

At the moment this only works from the left menu and only for your Map Rank. Only displays on mygames and game finder at the moment.
In my Map Rank Menu, it says Latest Version Installed. I have Internet Explorer Version, will it matter?

--lanyards


I've only done this in the Firefox version sorry.
Internet explorer conversion will come soon.

By, the way, I want to thank lanyards for the idea and also for designing and hosting the images for this - great stuff!
No problem. That was the easy stuff. But I got the new version on Firefox now, but I don't see any of them.

--lanyards
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
Major lanyards
 
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am
2

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jul 02, 2008 2:51 pm

lanyards wrote:No problem. That was the easy stuff. But I got the new version on Firefox now, but I don't see any of them.
--lanyards


Have you run Map Rank lanyards + All in the left menu since the new version was installed?
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby lanyards on Wed Jul 02, 2008 2:55 pm

chipv wrote:
lanyards wrote:No problem. That was the easy stuff. But I got the new version on Firefox now, but I don't see any of them.
--lanyards


Have you run Map Rank lanyards + All in the left menu since the new version was installed?
I see the left menu, and I can run the Map Rank, but now it only shows Unique Defeats and Win/loss.

--lanyards
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
Major lanyards
 
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am
2

Re: New Greasemonkey script : Conquer Club Map Rank

Postby lanyards on Wed Jul 02, 2008 3:06 pm

lanyards wrote:
chipv wrote:
lanyards wrote:No problem. That was the easy stuff. But I got the new version on Firefox now, but I don't see any of them.
--lanyards


Have you run Map Rank lanyards + All in the left menu since the new version was installed?
I see the left menu, and I can run the Map Rank, but now it only shows Unique Defeats and Win/loss.

--lanyards
Nevermind, I had those options turned off. But I still don't see the defeated graphics.

--lanyards
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
Major lanyards
 
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am
2

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jul 02, 2008 3:13 pm

I get this error when I run it for myself?

Error: totals._defeats[s[0]] is undefined
Source File: file:///C:/Documents%20and%20Settings/dave/Application%20Data/Mozilla/Firefox/Profiles/sm400zxa.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js
Line: 1072

C.
Last edited by yeti_c on Wed Jul 02, 2008 3:23 pm, edited 1 time in total.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jul 02, 2008 3:14 pm

Thanks for the error, yeti, you might want to edit your post...
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby lanyards on Wed Jul 02, 2008 3:18 pm

It won't let me finish scanning all my games. It stops at 63% Doodle Earth.

--lanyards
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
Major lanyards
 
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am
2

Re: New Greasemonkey script : Conquer Club Map Rank

Postby yeti_c on Wed Jul 02, 2008 3:23 pm

chipv wrote:Thanks for the error, yeti, you might want to edit your post...


No probs - and cheers - I wasn't really paying attention there... edited!

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jul 02, 2008 3:48 pm

Ok, 1.3.5 should be ok... sorry about that.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby Optimus Prime on Wed Jul 02, 2008 4:09 pm

Hmmm... it's still freezing up on me at various points each time... odd.
User avatar
Cadet Optimus Prime
 
Posts: 9665
Joined: Mon Mar 12, 2007 9:33 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jul 02, 2008 4:17 pm

Optimus Prime wrote:Hmmm... it's still freezing up on me at various points each time... odd.


Just for confirmation - you have the Rank and Points checkbox unchecked? (There is a problem with that when I run your Map Rank but not when checked)
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby Optimus Prime on Wed Jul 02, 2008 4:19 pm

chipv wrote:
Optimus Prime wrote:Hmmm... it's still freezing up on me at various points each time... odd.


Just for confirmation - you have the Rank and Points checkbox unchecked? (There is a problem with that when I run your Map Rank but not when checked)

I've been doing it unchecked... give me a moment to see if it happens when checked.

EDIT: I don't freeze up if I leave it checked. Weird. That works for me though, no big deal there.

Now, my other question is about these icons and such, I'm totally confused by how that is supposed to work.
User avatar
Cadet Optimus Prime
 
Posts: 9665
Joined: Mon Mar 12, 2007 9:33 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jul 02, 2008 4:23 pm

Optimus Prime wrote:
chipv wrote:
Optimus Prime wrote:Hmmm... it's still freezing up on me at various points each time... odd.


Just for confirmation - you have the Rank and Points checkbox unchecked? (There is a problem with that when I run your Map Rank but not when checked)

I've been doing it unchecked... give me a moment to see if it happens when checked.

EDIT: I don't freeze up if I leave it checked. Weird. That works for me though, no big deal there.

Now, my other question is about these icons and such, I'm totally confused by how that is supposed to work.


Yes, that sounds right - I am fixing a problem with unchecked but checked should be fine now.

I have modified the head post of this thread, maybe needs modifying for clarity. Let me fix this problem and perhaps you could read that in the meantime then I'll come back and talk a bit more after the fix.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby Optimus Prime on Wed Jul 02, 2008 4:24 pm

I figured out the icons thingy, that is pretty fancy...
User avatar
Cadet Optimus Prime
 
Posts: 9665
Joined: Mon Mar 12, 2007 9:33 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby lanyards on Wed Jul 02, 2008 4:26 pm

Maybe you could have a check box for people who want the icons and people who don't, in case it makes theirs run slow.

--lanyards
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
Major lanyards
 
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am
2

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jul 02, 2008 4:28 pm

lanyards wrote:Maybe you could have a check box for people who want the icons and people who don't, in case it makes theirs run slow.

--lanyards


Shouldn't affect speed - most of the calculations were done already before this change.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

Re: New Greasemonkey script : Conquer Club Map Rank

Postby chipv on Wed Jul 02, 2008 4:38 pm

Fixed 1.3.6 will work with both checked and unchecked Rank and Points. Sorry about that again.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2894
Joined: Mon Apr 28, 2008 5:30 pm

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users

cron