Leaderboard only has 1 player, but size is huge?

Kuberr24

Well-Known Member
Reaction score
28
My leaderboard should only contain 1 player, but for some reason it's huge!

hugesize.jpg


Here's the code:

PS: udg_SpiderBoard starts as un defined global variable of type leaderboard

JASS:
function Quest5 takes nothing returns nothing
    local integer I = 1
    local player P = GetTriggerPlayer()
    if (udg_QuestReq[9]==null) then
         set udg_SpiderBoard = CreateLeaderboard()
         call LeaderboardAddItem(udg_SpiderBoard,"|c000080c0Numbers of spiders:|r",0,Player(9))
         loop
             exitwhen (I>udg_PlayersTotal)
             call PlayerSetLeaderboard(GetOwningPlayer(udg_PlayerExplorer<i>),udg_SpiderBoard)
             set I = I+1                     
         endloop                                 
         call LeaderboardDisplay(udg_SpiderBoard,true) 
    endif
endfunction</i>
 

Exide

I am amazingly focused right now!
Reaction score
448
Weird..
I suggest you use a multiboard instead. -Much easier to manipulate.
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
What's the difference? I always thought they were the same.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
And multiboards can also use alot more values than leaderboards...

Leaderboards only use a name and 1 value, e.g kills, while a multiboard can keep track of e.g kills, deaths, gold lumber etc...

Would recommend using a multiboard for this :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top