I'm getting illegal mode errors in the test area, but the mode is listed in the allowed list!

8 views
Skip to first unread message

NipponMonkey

unread,
Sep 30, 2010, 6:21:24 AM9/30/10
to MindJolt Development Talk
After submitting a score in the test area, I'm getting the following
error in the console:

Error - Illegal Mode: [Game_Mode_1], Legal Modes: Game_Mode_1,
Game_Mode_2,...

The game mode that was submitted is listed in the legal modes! The
only difference is that the illegal mode has square brackets around
it. But I'm not adding the brackets.

Seems to be a bug...?

NipponMonkey

unread,
Sep 30, 2010, 6:23:33 AM9/30/10
to MindJolt Development Talk
Also, the score submissions used to work fine before adding the new
API. So it must be a bug on your site.

MeetreenGames

unread,
Sep 30, 2010, 6:23:57 AM9/30/10
to MindJolt Development Talk
Check API,
Some examples:
If your game has difficulty modes:
MindJoltAPI.service.submitScore(yourScoreVariable, "easy",
yourFunctionThatJumpsToMainMenu)

If your game don't have difficulty modes:
MindJoltAPI.service.submitScore(yourScoreVariable, null,
yourFunctionThatJumpsToMainMenu)

Marc

unread,
Oct 2, 2010, 12:41:57 AM10/2/10
to MindJolt Development Talk
Hello NipponMonkey,
In fact we did have a problem on our side with score submission when
capital letters were involved. The view we showed converted them to
lowercase, and this was causing a mismatch and confusion to the
developer. I'm sorry this caused you and others difficulties.

We got that fixed a few hours ago. Now, games with modes should be
able to be uploaded and tested just fine.

Anybody, please chime in if you are continuing to see the "Error -
Illegal Mode" message when testing your uploaded game.
Yours, Marc
MindJolt Community Manager
________

NipponMonkey

unread,
Oct 2, 2010, 1:34:04 AM10/2/10
to MindJolt Development Talk
@MeetreenGames, I've read the API instructions, that's how I know
there isn't anything wrong with my submission code.

@Marc, thanks for looking into this. My submissions are being accepted
correctly now - with my capital letters in the mode string.

Everything seems to work fine now, cheers.
Reply all
Reply to author
Forward
0 new messages