On-line ScoreBoard [Not maintained .. new extension available ]

Joraanpe

  • Posts: 288
Glad you sorted it out!
No credit due, but if you want you can put M.E. or MdotEdot in the credits!

Hope your game does well!

Best regards from
M.E.

Hey M.E, maybe you can give me a hand with an extra issue

I just updated Stencyl to the latest engine, and it deleted my extensions, lol.
I reinstalled yours, but doesn't matter what i do, it keeps showing the scrollable options of your blocks as [MISSING]
Any ideas?

mdotedot

  • Posts: 1568
Hello Joraanpe,

Confirmed that this is happening with build 8058: http://community.stencyl.com/index.php/topic,37802.0.html

I'm trying to find the cause of this as I've seen it on multiple extensions!

Edit: Ok, the source of the problem probably can't be fixed at this time due to lack of source (.java) file, so we have to wait for developer to look into this.
I suggest that you revert back to older version or re-download the standard 3.2 version to use extensions with dropbox lists in them.

Thank you for reporting this!

Best regards from
M.E.

« Last Edit: January 03, 2015, 12:27:29 am by mdotedot »
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

captaincomic

  • *
  • Posts: 6109
Fixed again in the latest build.

Joraanpe

  • Posts: 288
Fixed again in the latest build.
Good, thanks to both of you, downloading the new one already

Kazetoon

  • *
  • Posts: 556
I'm not sure if I'm right but you can't have the same Playername twice right? When I set a score with the same Playername it seems to overwrite the previous one. Also, is there a way to erase scores from the leaderboard? What about getting data for the day, week, month?

Many thanks for the extension, works very nicely.

« Last Edit: January 03, 2015, 07:30:43 pm by Kazetoon »
Little Drop - Try it out!
     
iphone/ipad Android
Newgrounds Stencyl Arcade Kongregate
Developer Website

mdotedot

  • Posts: 1568
Hello Kazetoon,

Thank you for your feedback!

* Playername is currently only once available in the scoreboard. Hence low/high score.  If you would require multiple scores, you might be able to do something with the stored name like adding some (non-display) characters to the name: player1_SCORE1 and strip the SCOREx from the name to display all results of the player.
* Erasing score. Indeed there is no functionality for this and you might do something similar as above. Maybe store -1 to the score and not display results.
* Day/Month/Year: This is not included as well and I can't think of a way other then creating maybe different AppIDs for them.. but I don't know if that would work nicely.

Maybe after completion of all other multiplayer stuff that I find time to add these to the scoreboard, but I'm not promising anything!

Thanks again and I hope that you still can use the scoreboards-extension for most of your needs

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Kazetoon

  • *
  • Posts: 556
All right, thanks.
Little Drop - Try it out!
     
iphone/ipad Android
Newgrounds Stencyl Arcade Kongregate
Developer Website

cabinfever

  • Posts: 159
Hi,

What does the code block: <Scoreboard: isConnected> do?
Can I use this block (true/false) to check if connectivity to ScoreBoard is ok? When and how often is this parameter updated?

mdotedot

  • Posts: 1568
The isConnected contains the result of the connect/initialize block.
It is not a method to check if you have connection to the internet. Use the visit url blocks from Stencyl to make such a behavior.

Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

cabinfever

  • Posts: 159
Hi,

Questions:
1) Can one player name appear only once in particular level? So each time I 'Set score' for playername in certain level, the old score is re-placed by the new one?
2) How would I do ranking search for a particular user? For not-popular game with hundreds of users, getting the whole list into Stencyl (mobile) would be doable, but howabout for game which has millions of players (and scores)? Simple command to get ranking directly from database would be a lot easier/elegant.

mdotedot

  • Posts: 1568
Hello CabinFever,

1. The name + score is unique. Check the score yourself before replacing!
2. Use the limit to get only the first x rows. It is a database (MySQL) which handles it with indexes and should be fine, but if you are going to store millions of users in the free available service your account will be dropped!
Invest in consultancy = money when you have millions of users and do not use free available stuff!

(You only have requested 21 times the board and used it to store 6 values so you are assuming instead of trying :)  )


Hope this helps,

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

cabinfever

  • Posts: 159
Hi, thanks for the quick reply!
1) Reason for me asking is that in your example on page 1, first post, you are always using the same 'player name' to set the 'score' value. So I would assume that you would only see one line of scores in the example output(?).

2) I do not have any users currently, but I'm trying to figure the right way of implementing this scoreboard-thing (which I'm trying to do for the very first time). If ever the time comes (that I get too many users for the scoreboard), by that time I can hopefully invenst in my own server to handle this function.

As for the ranking info for non-top-10 user, maybe I just should check if he is in top 100-player list or not. Hopefully that information transfer/processing would not take too long in mobile. And then just tell user if he is in the top 100 (+ position) or not?

mdotedot

  • Posts: 1568
Hello CabinFever,

It is just an example and I wanted to get it tight instead of long pages of blocks :)

So you would like to know the position of the player in the scoreboard without having to get all the data. Hmm that would be a nice enhancement to the Extension. Thank you for your suggestion!
Currently I'm busy with the turnbased system and after that I'm going to do work on the inventory system and realtime so I have to get back later to this.

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

cabinfever

  • Posts: 159
Hi M.E.

Yes, getting the player position with one query would be very nice enhancement!

second one would be: total number of players within particular level. Then I could show something like:
* Your position is 123 of 2345 players

One more question: about the type 'time'. How does it differ from normal 'number'? If I have score based to time eplapsed in format of S.ss (S=seconds and ss=10s and 100s of milliseconds). If I have this value as 'text' in my code after level is completed and I write it as 'time' into Scoreboard. There are no formatting included in this 'time' type so when I write 123.30 into Scoreboard, it is read back as 123.3 (without the 100s of milliseconds). So should I use 'text' or 'number' instead??

mdotedot

  • Posts: 1568

second one would be: total number of players within particular level. Then I could show something like:
* Your position is 123 of 2345 players

Agree!!


One more question: about the type 'time'. How does it differ from normal 'number'? If I have score based to time eplapsed in format of S.ss (S=seconds and ss=10s and 100s of milliseconds). If I have this value as 'text' in my code after level is completed and I write it as 'time' into Scoreboard. There are no formatting included in this 'time' type so when I write 123.30 into Scoreboard, it is read back as 123.3 (without the 100s of milliseconds). So should I use 'text' or 'number' instead??

In my tests I used hour:minute:second notation and didn't bother testing milli.
If you hit borders with this you might indeed need to convert it into numbers and store that. Storing as text would maybe sort or compare different, but I don't have the insight into this right now.

Hope this helps anyway!

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.