|
Hi all,
I've been working on a userscript that creates additional tabs in battle.net SC2 profile pages which provide extra information and stats that some people may find useful or at least somewhat entertaining.
This is for your web browser, not your sc2 game client. This does not modify any game files, it's basically an add-on for your web browser.
What does it do?
The userscript adds either 1 or 5 extra tabs to the left panel, depending on whether you're viewing a random player's profile or your own. For other players, you can view a quick summary of their recent match history. For your own profile, you can view summaries of your friends' recent matches, see what maps are most popular among your friends, compare ladder points and leagues with your friends, and more. You can also now see ladder points with bonus points removed.
What does it look like?
A full description, including screenshots, can be found here:
http://userscripts.org/scripts/show/103651
For those who are too lazy to click on the link, here are two small screenshots:
Viewing someone else's profile:
![[image loading]](http://img841.imageshack.us/img841/8026/ebpenmhs3.png)
Viewing your own profile:
![[image loading]](http://img268.imageshack.us/img268/6973/ebpenfr3.png)
How do I install a userscript?
Go here: http://userscripts.org/scripts/show/103651
If you haven't been using userscripts to "power up" your web browser, you're missing out on a lot of things that could potentially make your life a lot easier. Google Chrome supports userscripts out of the box (just click the green Install button on that page). Firefox users need the Greasemonkey add-on. I've heard Opera supports it, as well as IE with a plugin, but I've never tried either one.
Extra help for Google Chrome users: http://www.teamliquid.net/forum/viewmessage.php?topic_id=227243¤tpage=3#52
A final note of caution: you shouldn't install random userscripts from untrusted sources. And I guess I'm not exactly a "trusted" source to most people here. But the good thing about userscripts is that the entire code is in plain sight, so you or anyone here can examine it to see if it's trying to do anything suspicious. 
Update 05/30: Now you can also see 1v1 Ladder Points and 1v1 Adjusted Ladder Points (ladder points with bonus points removed) on the top of the profile next to the Achievement Points, as well as Adjusted Ladder Points for everyone in your friends list. (Thanks to Mendelfist and Not_That for their suggestions.)
|
Holy cow this is AMAZING. Thank you for that.
Totally recommend it. +1!
|
Nice job. I bet this will be quite valuable for pro's, i.e. looking at your opponents map scores in order to make a good losers pick.
|
|
WOW! This is very impressive!
|
|
Very nice contribution to the community. This seems amazing.
|
United States129 Posts
Looks like a very nice addition to the battle.net profiles. I wouldn't be surprised if Blizzard considered doing something at least remotely similar to enhance the functionality of their profile pages.
|
THIS IS AWSOME however before i dl this is this against blizzards TOS? cuz if not ill forgo it even tho it is totally awsome just in case.
|
This is fucking amazing. ♥
|
is this allowed by Blizzard TOS?
kinda afraid to install these and then get banned
|
I don't see any reason for it not to be allowed, it is just gathering data and displaying it differently.
|
On May 28 2011 11:00 BeastofManju wrote: THIS IS AWSOME however before i dl this is this against blizzards TOS? cuz if not ill forgo it even tho it is totally awsome just in case.
You mean you didn't read the TOS before accepting it? I am shocked and appalled!
I feel a HumanIcentiPad situation coming up in the close future for you, my man...
|
nice job, pretty sad that bnet 2.0 doesnt already provide this type of stat display. but then again why would u want stats like this when u have facebook integration.............
|
Facebook integration > Stats imo.
I am wondering too though, could this be violating TOS? I hope it's not. :[
|
Wow this is purely AWESOME. Really good job man, honestly I think these are the type of stats that should have been available in the game itself from the very start.
|
nope..not again the ToS as far as I can tell. You are not modifying anything in the game itself. All you are doing is displaying data that blizzard's site already gives you.
Violating ToS has do with anything that modifies the actual GAME or has an effect in the game and gives you an advantage. So things like:
- map hacks (duh) - any tools that make you see things in the game you aren't supposed to - macros from your keyboard that let you do things in the game with only one press
|
I LOVE this. I LOVE the match history stats tab, it's awesome. Brillant idea and execution.
One thing I would ask if I can, is to gather a little more data for that specific tab. I know I'm not supposed to keep track of my entire ladder life with this, but it'd be awesome to have a 50 or 100 games sample size instead of 25.
Checking while writing this I now realize only 25 last matches are displayed on bnet page, that's so bad, I don't know if there's any way you can retrieve more information. That would turn this awesome tool into a masterpiece from heaven.
|
On May 28 2011 12:35 Fede wrote: I LOVE this. I LOVE the match history stats tab, it's awesome. Brillant idea and execution.
One thing I would ask if I can, is to gather a little more data for that specific tab. I know I'm not supposed to keep track of my entire ladder life with this, but it'd be awesome to have a 50 or 100 games sample size instead of 25.
Checking while writing this I now realize only 25 last matches are displayed on bnet page, that's so bad, I don't know if there's any way you can retrieve more information. That would turn this awesome tool into a masterpiece from heaven.
ah really just the most recent 25 matche? that doesnt seem like enough data to make use of
eitherway, thx for this :-D
|
On May 28 2011 12:37 PhiliBiRD wrote:Show nested quote +On May 28 2011 12:35 Fede wrote: I LOVE this. I LOVE the match history stats tab, it's awesome. Brillant idea and execution.
One thing I would ask if I can, is to gather a little more data for that specific tab. I know I'm not supposed to keep track of my entire ladder life with this, but it'd be awesome to have a 50 or 100 games sample size instead of 25.
Checking while writing this I now realize only 25 last matches are displayed on bnet page, that's so bad, I don't know if there's any way you can retrieve more information. That would turn this awesome tool into a masterpiece from heaven. ah really just the most recent 25 matche? that doesnt seem like enough data to make use of eitherway, thx for this :-D
I see also SC2ranks displays only 25 matches, maybe that's all bnet can give you =(
|
Yeah the 25 match limit is extremly annoying
|
so, i have firefox.
i installed greasemonkey, and then installed the script. I also happened to install a script for youtube, which worked perfectly.
however, the SC2 script doesnt seem to have any effect other than making my bnet take longer to load profiles. no extra tabs are visible of any sort, no modification to my battle.net has been made AFTER installing the script. i followed the directions carefully. other scripts seem to have installed just fine.
any ideas? i can definitely feel the script runnin when im on battle.net, the loading time has increased significantly.
|
im not 100% sure, but i do think this is against the ToS despite it being relatively harmless.
|
Can you post the source code so we can determine how it affects the SC2 files?
|
Does this do anything that Sc2gears doesnt?
|
|
On May 28 2011 10:42 imareaver3 wrote:Looks awesome! But it isn't working exactly as it should... + Show Spoiler +
Hmm... that is weird... if you don't mind could you post the url of the profile you are trying to view? I can't figure out why it would do that. Even if it's on a server that the script doesn't recognize (like, japanese server or something), there should still be default values for those headers.
|
On May 28 2011 12:39 Fede wrote:Show nested quote +On May 28 2011 12:37 PhiliBiRD wrote:On May 28 2011 12:35 Fede wrote: I LOVE this. I LOVE the match history stats tab, it's awesome. Brillant idea and execution.
One thing I would ask if I can, is to gather a little more data for that specific tab. I know I'm not supposed to keep track of my entire ladder life with this, but it'd be awesome to have a 50 or 100 games sample size instead of 25.
Checking while writing this I now realize only 25 last matches are displayed on bnet page, that's so bad, I don't know if there's any way you can retrieve more information. That would turn this awesome tool into a masterpiece from heaven. ah really just the most recent 25 matche? that doesnt seem like enough data to make use of eitherway, thx for this :-D I see also SC2ranks displays only 25 matches, maybe that's all bnet can give you =(
Yes, the script can only work with what you see in everyone's Match History page, which is limited to 25 matches. I agree 25 is a pretty small sample size, and I wish it were more, but that's just how it is... :/
|
On May 28 2011 13:46 mizU wrote: Can you post the source code so we can determine how it affects the SC2 files?
This is a script that runs in your web browser. It does not affect your SC2 game at all (you don't even need SC2 installed, just a web browser).
The source code is here: http://userscripts.org/scripts/review/103651
(Also available from the link in my first post).
All it does is grab the following pages (not all at once, but depending on which tab you click):
- Your match history page - Your friends list - Your friends' match history pages - The main profile page of your friends (to get their top 4 divisions) - The top 4 division pages for each of your friends
It would effectively be the same as if you opened all these pages in your web browser in rapid succession and copied/pasted all the info into an excel spreadsheet.
|
On May 28 2011 13:23 PhiliBiRD wrote:so, i have firefox. i installed greasemonkey, and then installed the script. I also happened to install a script for youtube, which worked perfectly. however, the SC2 script doesnt seem to have any effect other than making my bnet take longer to load profiles. no extra tabs are visible of any sort, no modification to my battle.net has been made AFTER installing the script. i followed the directions carefully. other scripts seem to have installed just fine. any ideas?  i can definitely feel the script runnin when im on battle.net, the loading time has increased significantly.
Hmm... if there are no tabs being generated then that means the script is failing somewhere, or the page you're trying to view is different from any page I've been able to test on. Does it act like that when you view any battle.net profile (not just your own)? Like, if you go to Idra's profile, it should look like the screenshot in the first page:
http://us.battle.net/sc2/en/profile/693604/1/EGIdrA/
If it doesn't, then I'm afraid I have no clue what is going on. The only thing I can think of is if you using an older version of Firefox. I've tested on Firefox 3.6 and 4.0.
|
On May 28 2011 13:49 KMARTRULES wrote: Does this do anything that Sc2gears doesnt?
I love Sc2gears and use it a lot. But Sc2gears works on your saved replay files. This script doesn't touch any replays or any SC2 files, it's works only within your web browser.
Given that, it has access to more information than just your replay files, since it works on any player's profile page in the world. So if you are, say, stalking HuK you can quickly see a summary of his match history.
Also, since your friends list is linked to your battle.net profile page, this script can automatically gather your friends' match histories as well as their top ranked divisions and compare them with each other.
And to tie the two ideas together, if you add HuK to your friends list, you can compare his stats with those of your other friends.
One thing I had in mind when I wrote this is I wanted to see if there were any cool custom maps my friends were playing. Like, were they all playing SotiS without me knowing? lol So, with the "Friends Popular" tab you can see what are the most popular maps among your friends. (You can also filter by 1v1, 2v2, 3v3, 4v4, and Custom.)
|
Great initiative.
I have a request: On the ladder page players are ranked by points. The bonus points make the rank somewhat useless, because it only tells you who has played most and spent all their bonus pool. Removing bonus points from the points and re-sorting the ladder page would make your rank depend on your skill instead. You could tell who is best and who is worst in your division. I think it would be very useful, because it would tell you where you stand within your own division and help you track your progress.
It would require getting remaining bonus pool from every player on the ladder page (100 players) and adding it to their points, so it would probably take a while.
|
|
Downloaded. This is awesome! SC2 gears is better, but this displays the information in-game, which is very handy.
|
got it working. not sure what it was but, its working now lol.
|
If you have such concerns why dont you read the TOS?
|
Very nice.
The issue is it looks only at last 15 games, so that's kinda of a meh. But it is still very nice!
|
This is the step in the right direction, the wc3 ladder page (like 8 years old) has 100x more information than the sc2 page. It's ridiculous.
|
On May 28 2011 15:51 Mendelfist wrote: Great initiative.
I have a request: On the ladder page players are ranked by points. The bonus points make the rank somewhat useless, because it only tells you who has played most and spent all their bonus pool. Removing bonus points from the points and re-sorting the ladder page would make your rank depend on your skill instead. You could tell who is best and who is worst in your division. I think it would be very useful, because it would tell you where you stand within your own division and help you track your progress.
It would require getting remaining bonus pool from every player on the ladder page (100 players) and adding it to their points, so it would probably take a while.
Hmmm... that's an interesting idea. Is it safe to assume that everyone has access to the same bonus pool? I remember reading somewhere that bonus pool maxes out at some point. So if player 1 is constantly spending bonus pool while player 2 has maxed out and is just sitting there, then overall player 1 will have more bonus pool points factored into his ladder points compared to player 2, even if they both end up spending all their bonus pool points.
Also, I'm not sure how I would figure out the number of bonus pool spent, because I don't know the value for MaxBonusPool (the theoretical bonus pool for a player who doesn't play any games and never caps out at a max). I could pick an arbitrary number (like 1000) and recalculate the "ladder" points for each player as:
RealLadderPoints = DisplayedLadderPoints - (1000 - BonusPool)
But picking the arbitrary number might make some people's RealLadderPoints become negative if the arbitrary number is too high.
A simple solution might just be to add DisplayedLadderPoints and BonusPool together, and sort by the combined value. That would be like assuming every player suddenly used up all their bonus pool, so even though the ladder points are still inflated, they're all inflated by the same amount. Again, this is assuming every player has the same MaxBonusPool.
|
All players are allocated the exact same bonus pool amount. The only difference is that there is a different bonus pool for each play type (1v1, 2v2, 3v3, 4v4). IIRC, 2v2 has half the bonus pool of 1v1, and 3v3 and 4v4 have one third of the bonus pool of 1v1, but don't quote me on that.
If you can add functionality to display unadjusted points (ladder points minus bonus pool) it would be pretty nice feature.
Edit: I'd prefer you substract bonus pool instead of adding unspent bonus pool. Here's why: Bonus pool are an entirely 'fake' variable designed purely to promote being active. It obfuscates the ladder, nothing more. Plus, substracting the bonus pool points all together, would allow for a cross-season comparison of players, since otherwise points just inflate the longer the season goes. You can probably find the total bonus pool for this season by looking at a player with 0 wins and checking his bonus pool. Also it grows at a steady rate (roughly 1 point per 2 hours for 1v1 IIRC), so that might help as well.
As a counter argument, some might feel that displaying the unadjusted points + maximum bonus pool for all players is best, since you can more easily relate the scores to what you see on your division list on battle net.
|
On May 28 2011 16:30 kagamin wrote:Show nested quote +On May 28 2011 15:51 Mendelfist wrote: Great initiative.
I have a request: On the ladder page players are ranked by points. The bonus points make the rank somewhat useless, because it only tells you who has played most and spent all their bonus pool. Removing bonus points from the points and re-sorting the ladder page would make your rank depend on your skill instead. You could tell who is best and who is worst in your division. I think it would be very useful, because it would tell you where you stand within your own division and help you track your progress.
It would require getting remaining bonus pool from every player on the ladder page (100 players) and adding it to their points, so it would probably take a while. Hmmm... that's an interesting idea. Is it safe to assume that everyone has access to the same bonus pool? I remember reading somewhere that bonus pool maxes out at some point. So if player 1 is constantly spending bonus pool while player 2 has maxed out and is just sitting there, then overall player 1 will have more bonus pool points factored into his ladder points compared to player 2, even if they both end up spending all their bonus pool points. Also, I'm not sure how I would figure out the number of bonus pool spent, because I don't know the value for MaxBonusPool (the theoretical bonus pool for a player who doesn't play any games and never caps out at a max). I could pick an arbitrary number (like 1000) and recalculate the "ladder" points for each player as: RealLadderPoints = DisplayedLadderPoints - (1000 - BonusPool) But picking the arbitrary number might make some people's RealLadderPoints become negative if the arbitrary number is too high. A simple solution might just be to add DisplayedLadderPoints and BonusPool together, and sort by the combined value. That would be like assuming every player suddenly used up all their bonus pool, so even though the ladder points are still inflated, they're all inflated by the same amount. Again, this is assuming every player has the same MaxBonusPool. Yes, within a region everyone has access to the same bonus pool. It can differ between regions though.
No, there is no max to the bonus pool. It's completely fair in that regard. The sum of remaining bonus and spent bonus is always the exact same number for every player in a region.
As you say, just adding displayed points and remaining bonus will work. You will get a number that inflates with time, but that inflation is the same for every player.
However, sc2ranks actually has a page that displays total bonus pool: http://sc2ranks.com/api/bonus/pool?appKey=localhost Using that would work too. It would make you dependent of sc2ranks, but the calculated points would then be a number that directly reflects progress. If the number increases you are getting better. It would be very neat.
|
On May 28 2011 15:26 kagamin wrote:Hmm... that is weird... if you don't mind could you post the url of the profile you are trying to view? I can't figure out why it would do that. Even if it's on a server that the script doesn't recognize (like, japanese server or something), there should still be default values for those headers.
The problem profile is my own:
http://us.battle.net/sc2/en/profile/463388/1/Retep/matches
Perhaps it's my computer? Don't know.
|
On May 29 2011 02:36 imareaver3 wrote:Show nested quote +On May 28 2011 15:26 kagamin wrote:On May 28 2011 10:42 imareaver3 wrote:Looks awesome! But it isn't working exactly as it should... + Show Spoiler + Hmm... that is weird... if you don't mind could you post the url of the profile you are trying to view? I can't figure out why it would do that. Even if it's on a server that the script doesn't recognize (like, japanese server or something), there should still be default values for those headers. The problem profile is my own: http://us.battle.net/sc2/en/profile/463388/1/Retep/matchesPerhaps it's my computer? Don't know.
Your profile looks fine to me when I view it on my computer. I don't know what to say other than maybe try to uninstall and reinstall it.
Edit: Also just to be sure, you're using either Google Chrome or Firefox 3.6 or later?
|
On May 28 2011 16:58 Mendelfist wrote:However, sc2ranks actually has a page that displays total bonus pool: http://sc2ranks.com/api/bonus/pool?appKey=localhostUsing that would work too. It would make you dependent of sc2ranks, but the calculated points would then be a number that directly reflects progress. If the number increases you are getting better. It would be very neat.
That's a great idea. I'm quite happy to see that sc2ranks provides bonus pool values. However, the problem with the userscript is that cross domain ajax request are not allowed due to "same origin policy," so I can't load the bonus pool values from sc2ranks.com. There is a workaround by using greasemonkey's GM_xmlhttpRequest(), but that is only supported in Firefox, so it won't work for Chrome or Opera users.
If I could find a formula for calculating the bonus pool myself that would be the best solution. I'll try digging around. If I can't find it, I guess I could rely on GM_xmlhttpRequest(), but I'd rather avoid it if possible.
|
On May 30 2011 14:17 kagamin wrote:Show nested quote +On May 28 2011 16:58 Mendelfist wrote:However, sc2ranks actually has a page that displays total bonus pool: http://sc2ranks.com/api/bonus/pool?appKey=localhostUsing that would work too. It would make you dependent of sc2ranks, but the calculated points would then be a number that directly reflects progress. If the number increases you are getting better. It would be very neat. That's a great idea. I'm quite happy to see that sc2ranks provides bonus pool values. However, the problem with the userscript is that cross domain ajax request are not allowed due to "same origin policy," so I can't load the bonus pool values from sc2ranks.com. There is a workaround by using greasemonkey's GM_xmlhttpRequest(), but that is only supported in Firefox, so it won't work for Chrome or Opera users. If I could find a formula for calculating the bonus pool myself that would be the best solution. I'll try digging around. If I can't find it, I guess I could rely on GM_xmlhttpRequest(), but I'd rather avoid it if possible. I think the exact formula is 90 points per week. You could take the starting values from sc2ranks. Also, as someone said earlier, the bonus pools for arranged teams grow slower.
|
On May 28 2011 11:47 UisTehSux wrote: Facebook integration > Stats imo.
Infected rat excrement > you imo. But that's just my opinion.
|
On May 30 2011 16:24 Mendelfist wrote:Show nested quote +On May 30 2011 14:17 kagamin wrote:On May 28 2011 16:58 Mendelfist wrote:However, sc2ranks actually has a page that displays total bonus pool: http://sc2ranks.com/api/bonus/pool?appKey=localhostUsing that would work too. It would make you dependent of sc2ranks, but the calculated points would then be a number that directly reflects progress. If the number increases you are getting better. It would be very neat. That's a great idea. I'm quite happy to see that sc2ranks provides bonus pool values. However, the problem with the userscript is that cross domain ajax request are not allowed due to "same origin policy," so I can't load the bonus pool values from sc2ranks.com. There is a workaround by using greasemonkey's GM_xmlhttpRequest(), but that is only supported in Firefox, so it won't work for Chrome or Opera users. If I could find a formula for calculating the bonus pool myself that would be the best solution. I'll try digging around. If I can't find it, I guess I could rely on GM_xmlhttpRequest(), but I'd rather avoid it if possible. I think the exact formula is 90 points per week. You could take the starting values from sc2ranks. Also, as someone said earlier, the bonus pools for arranged teams grow slower.
Thanks for the info. I've updated the script with your suggestions. I also used bonus pool information from here:
http://www.teamliquid.net/forum/viewmessage.php?topic_id=195273
I didn't nail down the exact start time of the ladder seasons for each server, so the adjusted ladder points may be off by 1 at any given time, but it should never be off by more than 1. If I wanted to have the exact start time, I'd have to keep refreshing a division page until I saw the bonus pool increase by 1, and then use that time to calculate the start time of the ladder season. Since I didn't do that, and since the bonus pool increases by 1 every 112 minutes, my estimated start time of the ladder season could be off by 111 minutes, which means you could see your adjusted points jump between, for example, 255 and 256 during those minutes.
BTW, I even noticed that sc2rank's bonus pool numbers were slightly off-- they'd show 789 for US bonus pool, while I'd see 790 as the bonus pool for a US division.
If anyone could help me arrive at the exact start time for the ladder seasons on each server, it'd help make the script more accurate. Still, I think it's not too bad, and anyway it's interesting to see everyone's ladder points with the bonus points removed...
|
I have this profile that I don't use so I can always know the exact amount of bonus points:
http://us.battle.net/sc2/en/profile/54441/2/SDream/ladder/36236
Does it help you? I mean, could you use this number in the script somehow? it will always be right, I promise to not play any games in this "team" anymore, I as I really hate 4x4 you can easily trust 
Thanks for the script! I'll be using it 
Edit: Tip: NA and LA regions share servers, so we have the same bonus pool. (I am from LA)
Other regions will require other profiles to be exact, but RU also is the same server as EU as far as I know.
|
On May 30 2011 23:16 SDream wrote:I have this profile that I don't use so I can always know the exact amount of bonus points: http://us.battle.net/sc2/en/profile/54441/2/SDream/ladder/36236Does it help you? I mean, could you use this number in the script somehow? it will always be right, I promise to not play any games in this "team" anymore, I as I really hate 4x4 you can easily trust  Thanks for the script! I'll be using it 
Thanks for the link, and for using the script. But the thing I need is the exact time of day that blizzard increases the bonus pool. I already know within 112 minutes what the total bonus pool should be. But since I don't know the exact time the bonus pool changes, the script may show "100" points at 3:30 PM, then "101" points at 3:40 PM, then back to "100" points at 3:50 PM. Because sometime between 3:30 and 3:40 my calculation for total bonus pool increased by 1, but the actual total bonus pool didn't increase by 1 until sometime between 3:40 and 3:50.
I'm too lazy to sit by my computer and keep refreshing the divsion page until I see the bonus pool go up, which is what I think needs to be done. Maybe I'll do it one day when I'm really bored, but for now I have to get back to work on stuff that actually pays the bills :p
|
On May 30 2011 22:55 kagamin wrote:Show nested quote +On May 30 2011 16:24 Mendelfist wrote: I think the exact formula is 90 points per week. You could take the starting values from sc2ranks. Also, as someone said earlier, the bonus pools for arranged teams grow slower. Thanks for the info. I've updated the script with your suggestions. I also used bonus pool information from here: http://www.teamliquid.net/forum/viewmessage.php?topic_id=195273I didn't nail down the exact start time of the ladder seasons for each server, so the adjusted ladder points may be off by 1 at any given time, but it should never be off by more than 1. If I wanted to have the exact start time, I'd have to keep refreshing a division page until I saw the bonus pool increase by 1, and then use that time to calculate the start time of the ladder season. Since I didn't do that, and since the bonus pool increases by 1 every 112 minutes, my estimated start time of the ladder season could be off by 111 minutes, which means you could see your adjusted points jump between, for example, 255 and 256 during those minutes. BTW, I even noticed that sc2rank's bonus pool numbers were slightly off-- they'd show 789 for US bonus pool, while I'd see 790 as the bonus pool for a US division. If anyone could help me arrive at the exact start time for the ladder seasons on each server, it'd help make the script more accurate.  Still, I think it's not too bad, and anyway it's interesting to see everyone's ladder points with the bonus points removed... 
Yes! Finally we are getting ways to see the information Blizzard dont want us to have. This is really useful. Thanks.
I don't know if it is feasible to implement a new division page with adjusted points and re-sort it: http://eu.battle.net/sc2/en/profile/293343/1/Mendelfist/ladder/36732 By this I mean recalculate everyones points. It would take a lot of time because it would require at least 100 extra http requests, one for each player.
|
Hey so I am using google chrome, I installed it and I don't see any differences, any suggestions?
|
On May 31 2011 02:20 GGzerG wrote: Hey so I am using google chrome, I installed it and I don't see any differences, any suggestions?
I just installed it on Google Chrome v11.0.696.71. Versions before 4.0 don't support userscripts, but those are really old versions. The only thing I can suggest is uninstalling and reinstalling. I just updated the script with chrome-style matches (determines which sites the script runs on), so maybe that'll make a difference. I've included some screenshots below to make it clear what's involved when installing on chrome.
1) After you click the green install button, you should see this on the bottom left. Click Continue.
![[image loading]](http://img18.imageshack.us/img18/7223/chrome1.png)
2) A popup should open up asking if you want to install. Click Install.
![[image loading]](http://img228.imageshack.us/img228/7383/chrome2.png)
3) After you've installed it, you can verify its status by clicking on the tool icon on the top right and clicking on Tools > Extensions.
![[image loading]](http://img713.imageshack.us/img713/415/chrome3b.png)
4) You should then see the script listed.
![[image loading]](http://img135.imageshack.us/img135/9620/chrome4.png)
If you've done everything as described above, then it should be installed correctly, and as long as you're using the latest version of Chrome, it should work. Other than that, I'm not sure what else to suggest.
|
On May 31 2011 02:08 Mendelfist wrote:I don't know if it is feasible to implement a new division page with adjusted points and re-sort it: http://eu.battle.net/sc2/en/profile/293343/1/Mendelfist/ladder/36732By this I mean recalculate everyones points. It would take a lot of time because it would require at least 100 extra http requests, one for each player.
It would actually require 200 extra requests, because I'd need one for each profile, and then one to get the division link from their profile. I don't think there's any direct link from the division page to another player's "version" of the division page (and you can't infer the link either); you have to go through their main profile first to get the link.
Also it would only work for 1v1, because for team divisions it might not be linked on their main profile if it's not their top ranked division; you'd have to go through their "Leagues and Ladders" page and then through all their team divisions to find the correct one, and that'd be way too many requests.
Ya, it would be neat to see for 1v1, but I don't think I'll get around to it for a while. Maybe later when I get the time.
|
On May 31 2011 11:16 kagamin wrote:It would actually require 200 extra requests, because I'd need one for each profile, and then one to get the division link from their profile. I don't think there's any direct link from the division page to another player's "version" of the division page (and you can't infer the link either); you have to go through their main profile first to get the link. Also it would only work for 1v1, because for team divisions it might not be linked on their main profile if it's not their top ranked division; you'd have to go through their "Leagues and Ladders" page and then through all their team divisions to find the correct one, and that'd be way too many requests. Ya, it would be neat to see for 1v1, but I don't think I'll get around to it for a while. Maybe later when I get the time. I think you can infer it actually. 36732 in the above case is the division number, so you just have to slap "/ladder/divisionnumber" to the end of each profile link. It works for team divisions too. I don't want you to feel any pressure though. :-)
|
On May 31 2011 14:03 Mendelfist wrote: I think you can infer it actually. 36732 in the above case is the division number, so you just have to slap "/ladder/divisionnumber" to the end of each profile link. It works for team divisions too. I don't want you to feel any pressure though. :-) Oh, that's pretty nice! I'll try to add it in the next major update. 
|
On May 31 2011 14:16 kagamin wrote:Show nested quote +On May 31 2011 14:03 Mendelfist wrote: I think you can infer it actually. 36732 in the above case is the division number, so you just have to slap "/ladder/divisionnumber" to the end of each profile link. It works for team divisions too. I don't want you to feel any pressure though. :-) Oh, that's pretty nice! I'll try to add it in the next major update.  I hope Blizzard doesn't get pissed. Maybe they wouldn't like the increased load on their servers if a lot of people start to use the script. Maybe there should be a recalculate button or something so it doesn't happen every time you visit a division page.
|
Ya, that's my main concern about the script, is that it increases the load on blizzard's web servers (which, I feel I should point out, is separate from their battle.net game servers) If I ever do add the adjusted ladder points to a division page, it wouldn't activate on page load, but only if a user clicks a button.
For existing functionality, I already try to cache as much of the data as I can, so hopefully that helps. Also, I don't think that many people are using the script, and the ones that do probably don't view sc2 profiles every day. So the script probably contributes at most a hundred or two extra hits per day, which shouldn't be much for a site that gets tens of thousands of hits per day. At least that's my guess.
|
Very cool but I'm going to wait for the r1ch version that auto-commentates and uploads vods of every game to the site.
|
So this just gathers from the website, and doesn't communicate with the actual game at all?
Then it's not against the EULA.
|
Is your script taking time zones into account? This guy should have 0 adjusted points, but shows as -3 for me: http://eu.battle.net/sc2/en/profile/338539/1/TDGxDARK/
Replacing one line in the script with this one works better: {region:'eu', date:new Date(2011,2,30,4,48,7)},
but I havent pinpointed exactly what it should be.
There is also a bug when the bonus pool is 0. The string "Bonus Pool" is completely missing on the web page in that case, so your script fails to find it. You should assume 0 in that case I think. Great script otherwise. I use it all the time. :-)
|
Thanks for the script man, works great from what I've seen of it.
|
Hey kagamin,
Thanks for your great script. Looks like you put in a lot of hard work on this!
I have a question, on the main page where it shows the points and adjusted points mine just says "No 1v1 Division" because I haven't actually played any 1v1 games in season 2. But I am interested in seeing the data for my team divisions. I have very basic code experience (visual basic) is there an easy way for me to change a line or two so this would display one of my team leagues?
Or even is there a way to have a button or drop down option to change which league is being displayed here.
Thanks again for the great work!
|
Wow, very cool! It is a little unfortunate that this is limited by the small amount of games that are listed in the Match History online, but hey, what can you ask for? Thanks for the awesome script! :D
|
great idea, though the idea from points - bonus pool points isn't new. sc2ranks.com has it for quite a while now
|
holy cow, this is super great!!
Love the REAL MMR <3
You are a hero
|
On May 28 2011 13:39 Ballistixz wrote: im not 100% sure, but i do think this is against the ToS despite it being relatively harmless. This isn't against the ToS, it only works with the website. Someone who has never played Starcraft 2 and will never buy it can install this script and view the enhanced website if they want to. How could the ToS possibly apply to them?
|
|
wow this is awesome thanks!
|
This script needs some bug fixing and updating because it's not working at the moment, but unfortunately I think Elvis has left the building, or something.
|
This is so damn sexy.
Thank you.
|
|
Great script but I'm getting negative "real" points ever since season 3 started..is there any fix for that? Didn't try the one above since it says a new update is required after season 3 starts.
E.g. my current score is 343 | -1350 which either means I'm the worst player on the ladder or that there is a bug. I'm hoping for the latter 
Match history/stats still seem to work though.
Thanks!
|
On August 18 2011 04:40 chlindell wrote:Great script but I'm getting negative "real" points ever since season 3 started..is there any fix for that? Didn't try the one above since it says a new update is required after season 3 starts. E.g. my current score is 343 | -1350 which either means I'm the worst player on the ladder or that there is a bug. I'm hoping for the latter  Match history/stats still seem to work though. Thanks!
i'm getting this same problem and I don't know how to fix it
|
o wow didnt find out til now thanks thanks xD
|
Holy crap! This was so easy! ^^
Just one click and BAM! epic profile ^^
|
|
|
|