Facepunch / sbox-issues

175 stars 12 forks source link

Missing Aggregation (Highest) #6373

Open EternalDawn1 opened 2 weeks ago

EternalDawn1 commented 2 weeks ago

For?

S&Box

What can't you do?

setting the Aggregation from a Leaderboard to Highest

How would you like it to work?

public void SetAggregationHighest() { ((LeaderboardQuery)(ref query)).Aggregation = (AggregationType)5; }

What have you tried?

tested out every Aggregation but , some doesent even exist in the sbox. website

Additional context

No response

garrynewman commented 1 week ago

Isn't this AggregationType.Max?

EternalDawn1 commented 1 week ago

Isn't this AggregationType.Max?

This is Max [[ SetAggregationMax(); Aggregation max highest != max

This is sum Aggregation sum sum = sum

No, Max is completly different , sum is working fine , but highest is not max , those are different things

i'm always using Integer & Highest First als sort order and unit type

EternalDawn1 commented 1 week ago

I tested out the other aggregations but nothing seems like max .. some aggregations even gave other numbers than on the website

garrynewman commented 1 week ago

There's a builder on the website now, which should help you create a leaderboard query.