#Dynamic leaderboard

1 messages · Page 1 of 1 (latest)

white sedge
#

I total understand how tres feels now when I bombard him with ideas.

I’m just making notes so I don’t forget

#

Rating points conditional formatting

“Yesterday” auto refresh maybe 3 pm when rating starts

Have back up for back ups

#

Make eu/Asia track top 20. Track 100 parts each server.

NA make it diamond to see where player close are.

Eu/Asia prolly +/- 50 of 100 parts and top 20

white sedge
white sedge
#

@half rose @torpid goblet

#

Pick one

torpid goblet
#

also, I think you'd have to have two commands for this one. Like one for personal ratings performance, and one for the leaderboard

#

I don't think personally I would really use the leaderboard to check position and point changes for other people TBH, just an up to date leaderboard pulled from even just wotblitz.com would work fine

#

Or instead of having an entire column dedicated to changes in position and points, you could just have it layed out like how the stat pages do it. Big number in white, with colored indicators and changes in grey

white sedge
#

This is dark mode but this is what currently shown

torpid goblet
#

Also if you want to track changes, there needs to be time period right

#

how would that work without needing to store previous data sets

half rose
#

Blitzkrieg doesn't have a database so I can't track changes 😢

torpid goblet
#

exactly what I was thinking

#

you'd basically have only a leaderboard function then? Cuz that's all API tracks

half rose
#

Yeah

torpid goblet
#

can you even have a personal ratings function?

half rose
#

Yeah

white sedge
#

Ok let me explain it’s all done on google sheets, the live sheets updates every 1 min while the api updates every 5 mins

half rose
white sedge
#

I have “yesterday” data which updates every 24 hours

torpid goblet
#

like the ratings battles you played today or this season, and session stats for ratings, and points changes

torpid goblet
#

wait but then why can't we have points changes for the entire leaderboard lol

#

hol up

white sedge
half rose
#

Prince is calculating deltas manually

#

I can't do that

torpid goblet
#

ye and that's kind of inefficient AF speaking in terms of the bot

#

so we don't have delta data in actuality

#

without storing data that is

half rose
#

😁

white sedge
#

Dafuq

half rose
#

Oh no

#

Oh wait

#

Did you not know that?

torpid goblet
#

lul

half rose
#

I just realized, you didn't know that and you developed that technology solo

white sedge
#

How far out can you pull the delta

half rose
#

Idk, it's "lazy"

#

It gives you the latest delta

white sedge
#

I only know that from other bots that it doesn’t pull point/delta it only pulls battles and wr

torpid goblet
#

latest delta would be since last update right

#

so every 5 min

white sedge
#

Yeah that make sense

half rose
half rose
torpid goblet
#

Ok so dynamic leaderboard only really has a point if we can have a delta which can be calculated depending on time stamps

white sedge
#

Technically I have 24 hr delta you can abstract only for the top 500 people

torpid goblet
#

otherwise... we aren't really providing anything more than what you can see with WG's in-game ratings page

white sedge
#

My delta is 24 hrs I can see how much points have changed since yesterday

torpid goblet
#

yeah but it's only for the top 500 right

white sedge
#

I can make it all but it’s too slow

torpid goblet
#

it won't really be worth the effort unless it's for everybody

half rose
#

Wdym all? Fetching all 30,000 results in a gateway timeout

torpid goblet
white sedge
#

It took me almost an hour to pull eu 2000 places

#

For tres’s one I don’t think he needs the delta just slap player wn8 and wr and call it day.

torpid goblet
#

but isn't that just blitzbot

white sedge
#

But honestly the people who probably want to track changes are the people playing for parts which is where my current limit is

half rose
#

I read through the API and I swear it had deltas 💀

#

Guys I'm not hallucinatinh I swear

white sedge
#

Is there a definitive list of stuff I can get from api, if feel like the developer room is slacking some info @half rose

half rose
#

The wargaming API sucks if I'm gonna be straightforward

half rose
#

The creator of blitz stars manually inputted them in

#

I wouldn't be surprised if stuff present is undocumented

white sedge
#

I’m 1000% sure all of this can be pulled from the api but WG slacking

half rose
#

If there are more wargaming websites that do anything similar, let me know

#

I'll dig up their APIs

white sedge
#

None for ratings though

half rose
white sedge
#

I read somewhere they stopped developing a few updates ago or will stop the api or something

half rose
#

Man that's wild

white sedge
#

I fcked up I reran my code and wiped yesterday data 💀

half rose
#

Welcome to the life of testing 🥳🎉

white sedge
#

For science 🫡 @half rose

half rose
#

I did that too

#

Gateway time tho

white sedge
#

I’ve set a timer

half rose
#

Hop into DMs

quaint briarBOT
torpid goblet
#

The big bruh on this is the misaligned T49 fearlesses

half rose
#

Ikr haha

#

Very goofy bug that I'll fix soon