From 9031d4a301275c121049975f841c3431ebea1185 Mon Sep 17 00:00:00 2001 From: tommy aka doge <59783653+dowoge@users.noreply.github.com> Date: Sat, 10 Sep 2022 22:00:18 -0400 Subject: [PATCH] fix method call with CalculatePoint function --- src/modules/strafes_net.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/strafes_net.lua b/src/modules/strafes_net.lua index b292d52..d72ec49 100644 --- a/src/modules/strafes_net.lua +++ b/src/modules/strafes_net.lua @@ -189,7 +189,7 @@ function API:GetMapCompletionCount(MAP_ID,STYLE_ID) return ((pages-1)*200)+#res end --cool doggo, aidan and me -function API.CalculatePoint(self,rank,count) --??wtf +function API.CalculatePoint(rank,count) --??wtf return RANK_CONSTANT_A*(math.exp(RANK_CONSTANT_B)-1)/(1-math.exp(math.max(-700, -RANK_CONSTANT_C*count)))*math.exp(math.max(-700, -RANK_CONSTANT_D*rank))+(1-RANK_CONSTANT_E)*(1+2*(count-rank))/(count*count) end