High score not working?

katana

  • Posts: 128
http://www.stencyl.com/v10/game/play/2078
"BlockDodge" on forge.
Can somebody tell me what I'm doing wrong in highscores? In the behavior score, I submit when the player dies.
In the highscores editor, I created "115" with maximum being what's displayed.
In the behavior "sb", I'm trying to check through the top 5 players, and their scores.

What I'm trying to do is submit a score when the player dies, and then in the death screen, trace the top 5 in console. What's being done wrong?
One of the two expert stencylers to have done precisely nothing to earn their title... Oh damn, he did something and got promoted. I need to get to work. Until then, I'm unique?
<Katana>: Blob: back me up :c
<Stevetheipad>: what's the "move pen to" block?
<Blob>: irock you are wrong
<Blob>: it's 2 against 1 we live in a democracy

HNF

  • Posts: 232
The console says the stat 115 does not exist.

katana

  • Posts: 128
Weird. I'll check that.

What does it mean with the username = katana, username = derek etc?

EDIT: checked, and I have a high score called "115" in the game details.
One of the two expert stencylers to have done precisely nothing to earn their title... Oh damn, he did something and got promoted. I need to get to work. Until then, I'm unique?
<Katana>: Blob: back me up :c
<Stevetheipad>: what's the "move pen to" block?
<Blob>: irock you are wrong
<Blob>: it's 2 against 1 we live in a democracy

HNF

  • Posts: 232
I'm not sure what it is doing...  :(

Joe

  • *
  • Posts: 2480
I'm getting a similar bogus response in a game I'm testing right now. It's also giving me a 403: Bad Credentials.

Edit: I think I'm using the wrong version of the engine, so ignore this.

« Last Edit: April 13, 2011, 08:36:55 pm by Joe »

Jon

  • *
  • Posts: 17516
I don't think I'll be able to inspect this tonight because of massive computer problems (none of my programs launch, including Flash - only already opened ones work), but I'll say that I'm baffled that over this breaking as I haven't checked in changes to it since it was released.

I do recall playing a game quite recently where scores did work, though.

Jon

  • *
  • Posts: 17516
I encourage anyone with dev access to investigate this for me. The first thing I'd check is that the username and password of the user that are passed to the server (Script.as) are valid. They are appearing on the page, so that's doing its job.

HNF

  • Posts: 232
My Endless Game is still working.

Joe

  • *
  • Posts: 2480
katana, make sure you're using the latest patched version of SW.

katana

  • Posts: 128
Well I downloaded it 12th April...
One of the two expert stencylers to have done precisely nothing to earn their title... Oh damn, he did something and got promoted. I need to get to work. Until then, I'm unique?
<Katana>: Blob: back me up :c
<Stevetheipad>: what's the "move pen to" block?
<Blob>: irock you are wrong
<Blob>: it's 2 against 1 we live in a democracy

Jon

  • *
  • Posts: 17516
Actually, the problem is not SW, but making sure you got the latest engine.swc. In any case, download the new ZIP I put up last night off the main site, and you should be good to go.

katana

  • Posts: 128
Oh, thanks. Btw, how do you reset a high score?

EDIT: also, how do I get a score from a player that's not the first, for example first 5 players?
One of the two expert stencylers to have done precisely nothing to earn their title... Oh damn, he did something and got promoted. I need to get to work. Until then, I'm unique?
<Katana>: Blob: back me up :c
<Stevetheipad>: what's the "move pen to" block?
<Blob>: irock you are wrong
<Blob>: it's 2 against 1 we live in a democracy

katana

  • Posts: 128
How would I get the top 5 scores? "Get the [] best entries for score [] and then for each" block just traces something in console. Here's what I'm doing (attachment):
One of the two expert stencylers to have done precisely nothing to earn their title... Oh damn, he did something and got promoted. I need to get to work. Until then, I'm unique?
<Katana>: Blob: back me up :c
<Stevetheipad>: what's the "move pen to" block?
<Blob>: irock you are wrong
<Blob>: it's 2 against 1 we live in a democracy

HNF

  • Posts: 232
Add a block like:
print( [get score was successful] )
To see if it works. The logic makes sense. It should work.

katana

  • Posts: 128
One of the two expert stencylers to have done precisely nothing to earn their title... Oh damn, he did something and got promoted. I need to get to work. Until then, I'm unique?
<Katana>: Blob: back me up :c
<Stevetheipad>: what's the "move pen to" block?
<Blob>: irock you are wrong
<Blob>: it's 2 against 1 we live in a democracy