Leaderboards with search - www.gwshack.info

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

Since we still don’t have search in current leaderboards, I’ve made my own version of leaderboards which crawls data from official one page by page, and displays all of the 1000 people on one page so you can use CTRL + F to search for people fast

This is just “fast” version full of bugs, but “it works” and I hope someone will find it useful until Anet guys implement search in their version

http://www.gwshack.info

Features:
-FAST search
-it displays all 1000 players from sPvP Europe leaderboards (I will add America soon too -> done)
-displays achievements now too !
-I refreshes data every 30 mins
-daily graphs for rank, wins, loses, wins% and achievements!
-nice and fast sorting

Todo:
-EU/NA switch -> done
-Achievements -> done
-daily/weekly/monthly graphs -> partly done, need more data to plot weekly and monthly graphs
-sorting by wins,loses,WL -> done
-search -> done
-beautify site a bit ^^ -> done

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

(edited by turshija.3627)

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Nilvio.7941

Nilvio.7941

Nice fix man

English is not my native language :)
RETIRED MESMER YO!

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Pandabro.8743

Pandabro.8743

Cool hope you have NA ones soon!

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Rerroll.9083

Rerroll.9083

You
Are
Awe-
-Some

Up Rerroll

Leaderboards with search - www.gwshack.info

in PvP

Posted by: uberkingkong.8041

uberkingkong.8041

man that’s an awesome leaderboard, I like the style of it, just plain black and white and straight to the point so it loads fast!

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Kultas Sunstrider.9218

Kultas Sunstrider.9218

developers should be ashamed
just kidding, they don’t give a kitten.

Kultas / Thief / Desolation [EU]
“Don’t criticize what you can’t understand”

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

developers should be ashamed
just kidding, they don’t give a kitten.

It is not my goal to make developers ashamed, they are much skilled then me, but they are small team with many tasks to be done, so they can’t really focus on everything at the same time
I’m glad people find this useful, because that motivates me to improve it even more!

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Pandabro.8743

Pandabro.8743

developers should be ashamed
just kidding, they don’t give a kitten.

He’s just pulling numbers over. Which is great, but he didn’t develop any algorithms or API. It’s not like he built a ranking system from scratch.

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Sprawl.3891

Sprawl.3891

developers should be ashamed
just kidding, they don’t give a kitten.

He’s just pulling numbers over. Which is great, but he didn’t develop any algorithms or API. It’s not like he built a ranking system from scratch.

yes but devs could have added a “show all” option as a temporary way to let people search.

Sprawl – Necro – Eredon Terrace

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Pandabro.8743

Pandabro.8743

yes but devs could have added a “show all” option as a temporary way to let people search.

True. They did miss the boat on not including a option to easily search.

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

-Updated look and feel
-Added NA/EU switching

Enjoy

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Follidus.8027

Follidus.8027

nice!

Cause I ain’t perfect, I never said I was.
But now they’re hating cause a brotha finally got some buzz
www.twitch.tv/Follidus – Team Absolute Legends

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Shalla.3967

Shalla.3967

Great job!

Coo!

Shalla
Asura Quagganmancer

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

-Added fast table search Everything can be searched using one box: usernames, characters, even server names … You can search for example: “gandara” and see only results from Gandara, like this: http://d.pr/i/eJoP

-Added data sorting by clicking on column names (sort by wins, loses, wins%, or even character names) http://d.pr/i/sIF6

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

Leaderboards with search - www.gwshack.info

in PvP

Posted by: TTHammer.1035

TTHammer.1035

Ti si kralj! U are z king this is great

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

Also added graph plotting
http://d.pr/i/J5qd
If you hover wins, you will get graphical display of number of wins in the last 24h.
Will change that to the last 7 days when system gathers enough of data
Now it doesn’t look good because I just started gathering data for it, but in few days we will have good graphs

Rank, wins, loses, and win % can be hovered to display graph

Edit: I wonder what does this “Character” in leaderboards represent last played character or most played character ? If its last player character, then I can make pie chart that displays % of time someone plays with all of their characters
It would be really great if GW2 supported some kind of API for basic character data (fetching player info by name etc), ahhh endless possibilities ^^

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

(edited by turshija.3627)

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Hugs.1856

Hugs.1856

Good stuff:p at elast we have it until Anet’s solution but then maybe you can expand on it? not too sure how though:p

THere’s a bug btw: if you sort by win, loss or w/l ratio, the top 3 doesn’t show!

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

Good stuff:p at elast we have it until Anet’s solution but then maybe you can expand on it? not too sure how though:p

Will see
Depends on the interest into this project and my free time ^^

THere’s a bug btw: if you sort by win, loss or w/l ratio, the top 3 doesn’t show!

Hmm I don’t get it ? ^^
Everything does get shown, but first 3 rows are not highlighted like on official leaderboards… Also I don’t change ranks when sorting, because it doesn’t make much sense to me

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Hugs.1856

Hugs.1856

Actually it’s in the losses that it bugs:

The 3 players who have the most losses on the official leader board aren’t they same as the ones in your website. The first name to appear on your we site when sorting by most losses is the 4th on the leader board.

Because of that I just assumed it didn’t work for the wins and w/l ratio:p

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

Actually it’s in the losses that it bugs:

The 3 players who have the most losses on the official leader board aren’t they same as the ones in your website. The first name to appear on your we site when sorting by most losses is the 4th on the leader board.

Oh thats because I sync data every 30 mins, for example: 3:00AM, and then 3:30AM etc, so probably I updated my stats at 3:00AM and Anet updated their a minute later or something ?
Im gonna move my script to sync stuff at 10 mins offset (3:10AM, 3:40AM etc) tomorrow then

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

Leaderboards with search - www.gwshack.info

in PvP

Posted by: FLIMP.8172

FLIMP.8172

very very nice good job!

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Taym.8326

Taym.8326

It looks very nice, If I were to suggest something though. The current pop up graphs are very short term, it would be nice if you could click on a player and “remake” the graphs with an elongated timeframe, like over the course of a month/season. I don’t know if all the information is being stored so I don’t know if it’s possible, but I love seeing the swings in the graph. The wins + loss graph kind of … not so useful :/

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

I have that in mind, and I will add that, but it doesn’t make sense to do that now, since I have only ~ 12 hrs of data
I will save last 31 days of data, so I can make weekly and monthly graphs too

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

Leaderboards with search - www.gwshack.info

in PvP

Posted by: DobMelody.7913

DobMelody.7913

Good job!

Is it possible for you to make the same thing, like the official leaderboard, with the small triangles who representing the number of games (win/lose) per hour ? but per day ?

(edited by DobMelody.7913)

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Empathetic Fighter.2065

Empathetic Fighter.2065

Great Job!
Like Galileo who told ppl the earth is round.

Read It Backwards [BooN]

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Hugs.1856

Hugs.1856

I think there’s really a bug on the sorting by losses.

It’s not because of the refreshing time: the 3 players with the most losses really don’t show up on your tool :p

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

Updated rank graph !
Its turned upside down, and added min -> max offset, so it looks much better!
http://d.pr/i/CPbE

I think there’s really a bug on the sorting by losses.

It’s not because of the refreshing time: the 3 players with the most losses really don’t show up on your tool :p

I will investigate that now
edit: found out about the problem … for example when sorting by most loses on EU, the “winner” is joshualuca.4028 with 525 loses, but he doesn’t even show in the normal table sorted by rank, because he is not in the first 1000 people which I import
And I can’t import him, because I don’t know what rank is he (I don’t know ranking algorithm so I can’t generate his rank), I can only import ranks

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

(edited by turshija.3627)

Leaderboards with search - www.gwshack.info

in PvP

Posted by: drvo.6519

drvo.6519

Bravo Turshija ^^ mogli bi nesto da nauce od tebe :P

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Dejw.5164

Dejw.5164

LoL:D:D:D This must be pretty embarrassing for ANet

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Hawke.6943

Hawke.6943

WHOAH…somebody stick this!!

gj

Desolation ( EU )

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Socram.6587

Socram.6587

Edit: I wonder what does this “Character” in leaderboards represent last played character or most played character ? If its last player character, then I can make pie chart that displays % of time someone plays with all of their characters
It would be really great if GW2 supported some kind of API for basic character data (fetching player info by name etc), ahhh endless possibilities ^^

It’s the last played character, the devs confirmed that in a different thread.

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Hugs.1856

Hugs.1856

Oh, so if you sort by wins, losses or w/l ratio, it only shows the people who are already in the top 1000 by rank right?

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Jimmy die Hand.6025

Jimmy die Hand.6025

GJ, but I think there is a major bug with people who drop out of the rating. E.g. It shows me on rank 673 however I am not on that rank on the official board. I lost two games yesturday which kicked me out of the top 1000 within one hour. The one who is now officially on rank 673 is not even shown on your list.

(edited by Jimmy die Hand.6025)

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

UPDATE!
-Added achievements leaderboards !
-Graphs for achievements (just started collecting, first several hours will be crap!)

GJ, but I think there is a major bug with people who drop out of the rating. E.g. It shows me on rank 673 however I am not on that rank on the official board. I lost two games yesturday which kicked me out of the top 1000 within one hour. The one who is now officially on rank 673 is not even shown on your list.

Yep, I have you both in my database
http://d.pr/i/qJgU
Also I save last update for each player, so I will change to displaying only the newest record

Oh, so if you sort by wins, losses or w/l ratio, it only shows the people who are already in the top 1000 by rank right?

yes

Edit: I wonder what does this “Character” in leaderboards represent last played character or most played character ? If its last player character, then I can make pie chart that displays % of time someone plays with all of their characters
It would be really great if GW2 supported some kind of API for basic character data (fetching player info by name etc), ahhh endless possibilities ^^

It’s the last played character, the devs confirmed that in a different thread.

Unfortunately I don’t think that works :S
Not a single “character” column was changed since yesterday for any of the players … :S

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

(edited by turshija.3627)

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Acandis.3250

Acandis.3250

Hey just a note, the servers update every hour at the :45 minute mark. There’s no need for you to refresh every 30 minutes.

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

I know, I do that just in case to make sure I always have fresh info
Dunno, maybe they update it at XX:45, but cached version of the site remains few more mins etc, anyways I don’t think its a problem to update it two times in 1 hour just in case

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

UPDATE
-Added player info page with all info + graphs on one page (will be extended even more)
Screenshot: http://d.pr/i/NSuV

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Lazarast.6571

Lazarast.6571

Arena net should seriously consider into put you in their staff team

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Cattish.2610

Cattish.2610

gj man, very usefull stuff)

PS pls recheck top3 in ur table, cauz they are diff at the moment from the gw2 leaderboard’s page (actually they are not in the table somehow)

(edited by Cattish.2610)

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

gj man, very usefull stuff)

PS pls recheck top3 in ur table, cauz they are diff at the moment from the gw2 leaderboard’s page (actually they are not in the table somehow)

Yea I noticed that …
Since my script reads raw HTML of current leaderboards, so everytime Anet changes something I have to figure out what and modify my script
I see now that my script is loading NA people in EU table for some reason …
Crappy part is that there is no POST/GET parameter for Region, instead its read from cookies, so my script has to emulate cookie region=na/eu when fetching data to get correct values …
I will investigate this later and remove NA players that are showing in EU table … :S

Edit: looks like every import only first 25 players from NA somehow get to EU table, so I have to remove them manually :S
Gonna have to make a script that cleans it after every import … Dirty solution, but meh, thats what you get when you rely on unfinished product ^^

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

(edited by turshija.3627)

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Visionary.5681

Visionary.5681

You sir, deserve a cookie!

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

Yay, I found the problem !
They changed URL from this:
https://leaderboards.guildwars2.com/en/pvp?page=1&pjax=1
to this:
https://leaderboards.guildwars2.com/en/eu/pvp?page=1&pjax=1

which is great, because script doesn’t rely on region cookie, now it can be passed directly through link ! ^^
fix incoming, patch in 5-10 minutes

Edit: UPDATED everything should work now

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

(edited by turshija.3627)

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Zodian.6597

Zodian.6597

Thank you for doing this!

Neglekt

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

UPDATE
-fixed a bug where some players were not showing in a list when someone else had the same rank as them in one update.
-added list of character names a player has played with (screenshot: http://d.pr/i/g5ys)

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

(edited by turshija.3627)

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Brigg.6189

Brigg.6189

awesome awesome

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Spky.7693

Spky.7693

Great job man!!

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Lok.3102

Lok.3102

Site appears to be intermittently down. Hosting problems? I might suggest Amazon S3 w/CloudFlare. Your site shouldn’t serve anything dynamic since you are just crawling the leaderboards (which are updated hourly). You could create static files on an hourly cron and then serve them through Nginx with CloudFlare.

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

Site is hosted on my personal 1gbit dedicated server + cached with Cloudflare, and it is online all the time without any problems … It was probably something with your connection or route to host, or some temporary problem, who knows

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first

Leaderboards with search - www.gwshack.info

in PvP

Posted by: Lok.3102

Lok.3102

It’s loading now. My Internet had no issues earlier and it wasn’t loading. If it happens again I’ll see if I can find out exactly.

Btw, the link in your signature is definitely malformed.

Leaderboards with search - www.gwshack.info

in PvP

Posted by: turshija.3627

turshija.3627

Thanks for the heads up
Apparently, this forum has many problems with bbcode, because if I write a link in [url] tags without http:// it doesn’t work ^^
Fixed now …

Searchable leaderboards → http://www.gwshack.info
Leaderboards feedback → /forum/pvp/pvp/Leaderboards-with-search-www-gwshack-info/first