Comments

Log in with itch.io to leave a comment.

Viewing most recent comments 1 to 16 of 136 · Next page · Last page
(3 edits)

Pls add ability to blacklist nicknames through this webapp

This error appears when my scenes changue to the scene with de leaderboard.¿How can i fix it?

Hi Daniel, I submitted a question to you earlier today regarding the sorting. I feel that the sorting is working in descending order right now as long as I don't change the setting which has some intermittent issue where it doesn't actually refresh (reverse) the sorting. I have another question for you related to the GetPersonalEntry call. Right now, a player can submit their score after creating a username the first time. Subsequent personal best scores are also submitted. I call GetPersonalEntry to retrieve their Username and Score. This seems to work for awhile and at some point the Username is returned as Unknown although the user has been submitting scores. How is the user and device tracked and any idea why their info is no longer being pulled back? I checked in the leaderboard-creator management UI and their info is still listed there. It seems like it is being cached for some amount of time and then no longer correlated to their device and the public key. Any help very much appreciated.

(1 edit)

Hi Daniel, I have been testing with the free version of leaderboard-creator for a couple months. Super easy to use and thank you for providing this service. I just released my app called Rocket Ripper on the Apple app store this morning and noticed that the sorting isn't working the way it did a few weeks ago when last tested. I can click to sort ascending or descending and it only sorts score by ascending now. It is causing my rankings to be reversed since I was letting leaderboard-creator handle it. Is this something that you could look at? Thanks in advance!

Update: More testing and I first thought the data I was populating in the extra field was causing the sorting to not work correctly. I removed the extra info and there still seems to be some issue. I can have the the sorting set to descending (box not checked on itch manage UI) and it might be sorting one way. If I click the edit button on a row (not change anything) and then the check box to save/confirm, the records refresh and the sorting may change.

Hey, the Leaderboard is working great. It's very beginner-friendly. I just want to ask: How can I handle errors? How can I do some operations when getting or sending something to the leaderboard fails? These are probably the basics, but it would help me a lot. Just please tell me the structure of the code. Thanks in advance!

Hi Broi, in case you're still looking for some help, just thought I'd share some code that might help you with error checking although it is very basic but might help you with how to use the callbacks that Daniel provided for return status and content. See below screenshot. Doesn't paste well with formatting. Happy to paste something you can copy-n-paste if this helps but might not be clean to look at.

Thank you very much for this. It will help me a lot. In case of getting the leaderboard scores, do any other errors than server not reachable exist?

I can't answer what all the error messages would be and it might depend on which methods you are using. I check if the server is reachable, if a post for a new score was successful (return code of 201 or 202 maybe - not sure which), and for an error message containing the word profane (return code 403 is what is returned) so I can tell the player they can't use a username with a bad word in it). But, in looking through Daniel's client side code, the StatusCode.cs file contains a bunch of return codes and you might be able to check for these. I would verify with Daniel though. You could also test some of them like a 401 maybe is a bad public key (maybe), 204 might be a submission with a required param like username missing. Here are the codes that I saw, but I have no idea which ones are returned for which methods/functions. Hope this helps some.

public enum StatusCode
{
  FailedToConnect = 0,
  Ok = 200,
  Created = 201,
  Accepted = 202,
  NoContent = 204,
  BadRequest = 400,
  Unauthorized = 401,
  Forbidden = 403,
  NotFound = 404,
  Conflict = 409,
  TooManyRequests = 429,
  InternalServerError = 500,
  NotImplemented = 501,
  ServiceUnavailable = 503
}

(1 edit)

Okay, I have another question: there is a method called GetPersonalEntry. What will it return if the player hasn't uploaded any entry and how to check so?

Hi Broi, I was having an issue with GetPersonalEntry so I've stopped using it. Not sure what it would call if you haven't uploaded anything. Probably a null value or an error. I'd say just call it and see. You can always delete your test entry from the leaderboard and check. You might have to clear PlayerPrefs too but not sure on that. If you have an entry uploaded, for each Entry returned on looping through, you can call the function called IsMine() to see if it is your entry. I think a GUID is assigned on the server side and then Daniel persists this locally using PlayerPrefs, but I'm not 100% sure on that. You can see this in one of the scripts. 

PlayerPrefs.SetString(GUID_KEY, guid);

Good morning Dan. I have a problem, I set the leaderboard "Unique Username" when I update the ranking, keeping the same username from the same device, randomly an error code comes out: 409 (conflict) "user name already exist?". Sometimes it updates correctly, sometimes the error comes out. Could you help me?

this is the call:

LeaderboardCreator.UploadNewEntry(_leaderboardPublicKey, Gamecontrol.namePlayer, Gamecontrol.RecordToOnLinevalue, Callback, ErrorCallback);

Thank you so much.

Hello! At its current state, the "Unique Username" toggle seems to be causing an issue for many, so I can only recommend disabling it for the time being while I work on improving its stability.

I am also running into the same trouble with unique usernames right now. 

Would be really cool because else the leaderboard gets flooded really quick.

Wonder why it doesn't work. Always says 409: Username already exists.


I even tried deleting the entry before.

Oh well.

https://rubydev.itch.io/match-parade

Thank You for the free stuff, just wanted to know why LeaderboardSearchQuery with the period set to Today is not working even in the demo scene.

Hello! Could you message me on Discord (@danqzq) so we can further investigate this issue? As far as I am aware it should be working, but it could be a problem caused by time zones.

(1 edit)

Hello, my game has authentication, and I send the score using a unique identifier (the username provided during authentication). But it tells me that such a name is already used. But it's used by me! UpdateEntryUsername gives the same error (name is taken).

So instead of updating my entry, it tells me the name is taken. But this name was created by me just a minute ago, and now I can't update the record in the table.

Can I update an existing entry using the username?

Perhaps my question sounds like this: is it possible to assign a unique ID to an entry manually?

Hello! I have answered this question before, but TLDR yes, though it is not straightforward yet. I do plan to integrate manual identification soon, so I am sorry for the inconvenience. This tool was originally meant for creating simple leaderboards and quickly implement them into Unity games, but as time goes by, and with more users it is scaling up.

(1 edit)

Thanks a lot for great leaderboard!

But I get 0th (zero + th) for rank even though the log says success uploading score... And no score recorded on leaderboard for the 0ths.

Any clue about this bug?

Also, I got frozen for 100 entries, so I've purchased Advanced Package. Do you send it to my email?

Is the problem below means frozen leaderboard?

------

[LeaderboardCreator] Uploading entry data failed!

UnityEngine.Debug:LogError (object)

Dan.Main.LeaderboardCreator:LogError (string) (at Assets/LeaderboardCreator/Scripts/Main/LeaderboardCreator.cs:270)

Dan.Main.LeaderboardCreator/<>c:<UploadNewEntry>b__19_0 (bool) (at Assets/LeaderboardCreator/Scripts/Main/LeaderboardCreator.cs:160)

Dan.Main.LeaderboardCreatorBehaviour/<HandleRequest>d__8:MoveNext () (at Assets/LeaderboardCreator/Scripts/Main/LeaderboardCreatorBehaviour.cs:135)

UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(+1)

Yes, thank you for the purchase, it was sent to your email.

Hello! This could be caused due to a variety of reasons, you might be using a query that is filtering out the leaderboard entry. Could you perhaps demonstrate your code through Discord and I could take a look?

I wrote 2 problems so I am not sure about which one did you reply to... but I solved both of them so here are changes...


1. Showing 0th 

- Uploading a new score and get entries at the same time caused the problem. 

- After changing to get entries after finishing uploading a new score fixed the problem


2. Uploading entry data failure

- Change to advanced leaderboard fixed it

Is it possible instead of updating the leaderboard by a user's unique device ID to update an entry based on their username? I am setting up Steam integration and am having issues where Steam users on the same device are overriding each other's scores and Steam users with multiple devices are having their own scores listed more than once.

Hello! Theoretically, yes. A few days ago there was a bug where entries' unique identifiers would get erased, so that issue should no longer persist. For now, to tackle this issue you would have to modify the PlayerPrefs, where the ID is being saved. But I am thinking of adding the ability to add manual unique identification later.

(+1)

Hello, I want to buy the paid version and I have a few questions:

1. Will additional actions be needed with the project? for example, update the SDK or something else.

2. Will I need to create a new leaderboard or will I simply update the status of my leaderboard by key?

Hello!

1. No, the SDK stays the same.

2. It depends on your preference, I can migrate existing leaderboards to advanced leaderboards.

What happened to the leaderboard, why did some players send 5 identical highscores? This didn't happen before.

Hello!

I am not sure what you mean, could you send me the public key of your leaderboard? My email is: dan@danqzq.games

This could also be a client-side issue, so I advise you to check your scripts.

I had no problem, but suddenly some players sent multiple values even though I did not change anything

(1 edit)

Hi, may I ask, are there any easy ways to check if a username already exists without trying to upload a new entry with that name. I tried using the following script, but it always returns 1:

Leaderboards.Highscore.GetEntries(LeaderboardSearchQuery.ByUsername("test"), (msg) => {

    Debug.LogWarning(msg.Rank);

});

In this example, the "test" user is at the 2nd place, but even if I try it with any other placement, it always returns 1. I checked, and all the captions are correct.

Hello!

You could loop through every entry and compare the usernames, but why not just show a message that a different username must be used when the user tries to submit an entry?

I want to use it for a random username generator. I might try the looping, but I am scared, that it will result in a lot of lag. But thanks for the reply anyway, I might try looking into it a bit more!

(1 edit)

Danial, thank you very much for creating this nice tool.

I am not sure if the documentation is lacking or if I need to improve my C# fluency.

Anyway, I managed to create Unity visual scripting (ex Bolt) nodes in the picture.

My problem is, once I add the Submit node the scene fails to load on Android.

I would appreciate your help.

Hello!

Sorry for the late reply, but I am not sure how to help you out with Bolt scripting, as I am not familiar with it.

Thank you for your feedback. I have solved the problem and I will share the script to create nodes in Unity Visual Scripting.

Hello, does anyone know if this package conflicts with the firebase analytics? my firebase SDK isn't initializing for some reason

Hello! The package should not conflict with any other plugins as it is wrapped in its own assembly definition.

Thanks Dan, it was a unity bug. I fixed it yesterday.

(+1)

Hello Dan! First, i want to say Thank you for developing this Leaderboard.

I have a Question about how it will work, if you uninstall a game on android with your leaderboard integrated. If i uninstall my game and re-install it,  i can´t use the same username as before, because the username is still in the list.

And how can i access a name in the leaderboard before i submit a new score. I want to check if the same username already exists. In Unity it gives me a console-error message, when the username already exists and the entry is not uploaded to the leaderboard. But what i want is, that a User has the chance again to entry a other Username, that doesn´t exist.

Thanks for help. If you want, we could write on Discord!?

Hello! Unfortunately, this is something I overlooked and did not take into consideration. For now, you just have the option to disable the "Unique Usernames" toggle for allowing people to have duplicate usernames. Having said that, I am working on a solution that could solve your problem.

Viewing most recent comments 1 to 16 of 136 · Next page · Last page