<< Back to Ladder Forum   Search

Posts 41 - 46 of 46   <<Prev   1  2  3  
who were the past number ones ?: 5/14/2016 03:11:29

[wolf]japan77
Level 57
Report
Seems like there should be a way to catch that, but I would assume that would require for you to make requests for everyday, rather than just when there was a recorded change. Probably would bog down the server.
who were the past number ones ?: 5/14/2016 16:18:46


Ox
Level 58
Report
Notably Darkpie has taken 1st on the RT ladder but never got a mention there. Is it because he doesn't have the trophy?

https://www.warlight.net/LadderTeam?LadderTeamID=4811
who were the past number ones ?: 5/14/2016 16:24:59


Buns157 
Level 68
Report
@Ox Yeah, he didnt hold it until the point the ladder updates. Sometime around 1:30am gmt I think is when the ladder updates.
who were the past number ones ?: 5/14/2016 16:34:32


l4v.r0v 
Level 59
Report
Seems like there should be a way to catch that, but I would assume that would require for you to make requests for everyday, rather than just when there was a recorded change. Probably would bog down the server.


Nah, it's pretty easy to catch while I traverse the array. There'd be a skipped day if someone left the ladder and came back, something like: [[69, 1, 1920], [420, 1, 1919],... ]

Right now it records climbs whenever someone goes from a rank that's not #1 to #1. I just need to adjust that condition to recording when someone hits rank #1 or when their previous recorded day wasn't just one less than their current day.

Not challenging at all, but I'm just rewriting the code to make it less hacky first since I need a version of it anyway for IPL.

Edited 5/14/2016 16:35:56
who were the past number ones ?: 5/14/2016 22:40:12

[wolf]japan77
Level 57
Report
I never claimed it was challenging(I don't actually understand web interface coding at all, as I have only really ever coded in Java, with a very light amount of python and JS), I guess your solution wouldn't bog down the server as much as my idea would.
who were the past number ones ?: 5/14/2016 22:45:32


knyte
Level 55
Report
There would be no additional load on the server as no extra queries are needed. All the information I need can be found in the data I'm already obtaining.
Posts 41 - 46 of 46   <<Prev   1  2  3