TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
High score not working?
Pages:
1
2
High score not working?
katana
Posts: 128
April 13, 2011, 01:18:54 pm
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
April 13, 2011, 01:24:55 pm
The console says the stat 115 does not exist.
Stencyl RPG Advancement Foundation
katana
Posts: 128
April 13, 2011, 01:31:44 pm
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
April 13, 2011, 05:23:30 pm
I'm not sure what it is doing...
Stencyl RPG Advancement Foundation
Joe
Posts: 2478
April 13, 2011, 07:26:42 pm
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: 17524
April 13, 2011, 07:33:21 pm
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: 17524
April 13, 2011, 07:42:20 pm
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
April 13, 2011, 07:50:10 pm
My Endless Game is still working.
Stencyl RPG Advancement Foundation
Joe
Posts: 2478
April 13, 2011, 08:37:19 pm
katana, make sure you're using the latest patched version of SW.
katana
Posts: 128
April 14, 2011, 07:25:02 am
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: 17524
April 14, 2011, 08:42:34 am
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
April 14, 2011, 09:54:24 am
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
April 14, 2011, 01:43:13 pm
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
April 14, 2011, 05:12:36 pm
Add a block like:
print( [get score was successful] )
To see if it works. The logic makes sense. It should work.
Stencyl RPG Advancement Foundation
katana
Posts: 128
April 15, 2011, 07:32:49 am
It traced "true", but:
http://www.stencyl.com/v10/game/play/2078
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
Pages:
1
2