Forums

Clan List Logger

Quick find code: 86-87-226-65189098

PantsuOnHead
Oct Member 2012

PantsuOnHead

Posts: 858 Gold Posts by user Forum Profile RuneMetrics Profile
Hey Blasty. We've been experimenting with name change handling based on known information: clan XP, clan rank and clan kills. Unfortunately without official API (didn't Mod Boko talk about this functionality at one point?) support to handle name changes, this continues to be a pain in the ass for tools such as yours, and my own clan's tools.

Here's to hoping we'll get a way for us to identify name changes of our clan members.

Love the idea of your Logger, but I really hope we can get some official support for this. We shouldn't have to write our own Clan Management Systems without a more fleshed out API. :(
Clan Owner of Redditors

14-Jan-2015 15:00:44

Blasty
Feb Member 2017

Blasty

Posts: 9,319 Rune Posts by user Forum Profile RuneMetrics Profile
Hey Pants,

Something I've thought about as a potentially useful for checking name changes is using the archived seasonal hiscores API:
http://services.runescape.com/m=temp-hiscores/getRankings.json?player =D isplayName&status=archived

The idea I played with was creating a hash-number tuple by concatenating raw score and hiscore ID then hashing it and also storing the size of the list of seasonal hiscores entries.

It works assuming your clan mates have participated in a decent number of hiscores.

The idea of implementing it still seemed too messy for me to want to look into it though.

For it to really work without any issues at all they would need to provide a unique ID in the clan list API that is created when a player joins.

­­­­ .:
Blasty
the Blue
:.­­­
Blasty
// @BlastytheBlue // Blasty#5167
| Co-owner of Mine Nation

14-Jan-2015 15:17:43

PantsuOnHead
Oct Member 2012

PantsuOnHead

Posts: 858 Gold Posts by user Forum Profile RuneMetrics Profile
Hey Blasty. I doubt the excessive throttling would allow for something like that anyway, unless you're manually managing the servers instead of going by Jagex's load balancer. It'd be a slow and painful mess with more headaches than it's worth.

Our other ideas included extending the "guessing" name changes to a player's actual stats, but that runs into the same throttling issues your potential system would suffer from. (that, or it would take ages to go through 500 records of clan members...)

Thinking about it, it could work for smaller clans.
Clan Owner of Redditors

14-Jan-2015 15:41:49 - Last edited on 14-Jan-2015 15:42:21 by PantsuOnHead

Redtunnel

Redtunnel

Posts: 3,429 Adamant Posts by user Forum Profile RuneMetrics Profile
Name changes in clans can accurately be tracked by stat comparison. Example code in PHP:
http://puu.sh/eO8u9/2e375b168b.txt

Only the unmatched csv names need to be compared against one another. Once a match is found, simply unset the names from the csv arrays.

21-Jan-2015 03:04:45 - Last edited on 21-Jan-2015 03:33:00 by Redtunnel

E Bom

E Bom

Posts: 740 Steel Posts by user Forum Profile RuneMetrics Profile
That will never be perfect, hs has its flaws and it's difficult (or time consuming) to build a model that works from that code automatically. I mean let's be realistic here with the majority lol.

What I was referring to is that people can change their name multiple times now within minutes basically. If you have a simple tracking system for your clan you can back trace joiners and leavers and figure it out rather quickly using this, especially if its a higher rank.

21-Jan-2015 06:34:03

Redtunnel

Redtunnel

Posts: 3,429 Adamant Posts by user Forum Profile RuneMetrics Profile
E Bom said :
That will never be perfect, hs has its flaws and it's difficult (or time consuming) to build a model that works from that code automatically. I mean let's be realistic here with the majority lol.

What I was referring to is that people can change their name multiple times now within minutes basically. If you have a simple tracking system for your clan you can back trace joiners and leavers and figure it out rather quickly using this, especially if its a higher rank.

I'm not sure I follow. As far as accuracy is concerned, you only have to tweak the numbers to your needs. Multiple name changes isn't a problem with that code. In terms of speed, it obviously depends on how many new members and players who changed their names since the last time the script was run. For example, if there are 20 unmatched players (new members or name changes), it'll take roughly 20 seconds to query the hs individually if you don't use multi curl.

I wonder though, when will we get an api for name changes? :P

21-Jan-2015 11:41:53 - Last edited on 21-Jan-2015 11:42:32 by Redtunnel

Dashadoking

Dashadoking

Posts: 2,861 Adamant Posts by user Forum Profile RuneMetrics Profile
Blasty said :
For anyone interested in adding features to the sheet, I've updated the template so that it uses the new version of Google Sheets.

If you don't plan on adding any features, nothing else has been changed in the update so it likely isn't worth trying to move data from one sheet to the other.

­­­­ .:
Blasty
the Blue
:.­­­


Thanks a lot! :D
Dash - Founder of the NomNom Family | T7 + 3 Avatars | Recruiting Social and mature members |

21-Jan-2015 15:47:40

Quick find code: 86-87-226-65189098 Back to Top