Mobius1 / esx_xp

XP Ranking System for FiveM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leaderboard - Different Problems

opened this issue · comments

Hi! First of all, your script in really nice. However, I found 3 problems, while testing it, both problems are related to the scoreboard.

  1. The first problem is that, when there are more than 30 players, the scoreboard looks kinda bad, here is a example:

image

  1. The second problem is that, when I am alone on the server, I don't show up on the leaderboard. Here is the proof:

image

  1. The third problem is that after typing the commands (ESXP_RemoveFakePlayers / ESXP_AddFakePlayer), it gives me errors in the F8.

image

commented

Thanks for the report. Number 1 and 3 are fixed in the master branch, but I'm still looking into number 2.

I found a idea of how you can fix the first problem.

https://i.imgur.com/6oFDHtD.gif

commented

Pagination is a good idea!

commented

Pagination added to v1.1.0.

Still looking into the missing player bug.

Hi! Tested the new update, everything works really nice. Also, found some minor bugs. So, I added some players, it all worked corectly, but after I remove them and press 'Z', the leaderboard player count dosen't update. Also the pages remain to the last state. Here is an example:

image

Also, when adding players, there are some console error:

image

commented

Should be fixed in v1.1.1.

Found some more problems. If I'm alone on the server, and press Z, after the menu shows up, it gives me some errors in the console.

image

Also, this is how the menu looks, after pressing Z:

image

Also, the leaderboard never fades out for me. Even if in the config it is set to 5 sec, it dosen't fade out.

Ok, tested the new version and everything works nicely. Now the only problem left is the one with when there is only one player on the server. Hope it gets fixed soon! 🥇

Ok, so regarding the problem with the player not showing up on the leaderboard. Maybe you can try to make that the source (player), is always the first one on the list?

Hi! Managed to get some friends on the server, but still, there are no players on the Z.

Also, after adding some fake players, and then removing them, the page dosen't go back to one.