Leaderboard Code Broke :(

I’m trying to get back into the Brawl Stars game I’m making. The mode I am trying to create is Solo Showdown. I made this a while back but never touched it. Now I’m testing it again, and it has stopped working.

Here, it checks if 15 players are remaining. If there are, then it checks if the 15th-place property is taken. If it isn’t, then it takes that spot, now there are 14 players, and you are knocked out for the rest of eternity. I realize now that I only need the players property checked, I can get rid of a lot of code haha. It repeates all the way down to one player.
image

This was made… 5 months ago?

Nope, it was made 6-7 months ago.

3 Likes

The only thing i can do is to redo the code? Sometimes when you have a game that you haven’t used for a while, it can mess around or even ruin the code.

3 Likes

I might as well redo it, yeah. I’m gonna make an improved version, hold up.

3 Likes

so… for some preliminary info:

-what game mode is this that requires fifteen players??
-did it work well beforehand??
-have you checked to see if the control is the same as the test??
-maybe try doing a player & score counter to see if one is wrong
-this might be a bug, so how is the improved version different from the original

you might’ve done some of these, but still, it helps [1]



  1. whats your main? ↩︎

2 Likes

Can you merge a live player counter into one property?
Then it checks if it is equal to one, and the game ends?
Is that what you are trying to accomplish?

1 Like

Tell me how it broke Exactly though

1 Like

I have no idea. It is supposed to detect when there is one player left, but it doesn’t. I am completely redesigning it.

1 Like

Something like that, yeah.

2 Likes

could you show me in game screenshot?

1 Like

So here is what I am trying to accomplish once the player gets knocked out:

  • Sets the score (Placement)

  • Teleport to knocked-out area

  • End the game if one player is remaining

1 Like

Wait… this is all I needed haha

I’m using my brain for once. I’ll check if this works.
image

5 Likes

It’s a system that can support up to a max of 15 players. With this new system, it’s infinity now.

Yes, it worked perfectly before.

I’ll test these.


image

This… is my main account?

2 Likes

What I´d Miss i was in History and cooking class so I was not on

1 Like

whats the new block code look like as of now?
it probably does do its thing, but does the new code work?
also, this sounds interesting as a game, the revised code seems like it’ll look good.
[1]


  1. i meant main brawler in the game, not accounts (ahh sorry for the confusion) ↩︎

1 Like

I still need to test it.

Doug

1 Like

Wish you good testing

Welp, it works now. Thanks everyone.

3 Likes

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.