[Kongregate API] High Scores page 2 (locked)

Subscribe to [Kongregate API] High Scores 194 posts, 102 voices

Sign in to reply


 
avatar for CerebralGames CerebralGames 6 posts
Flag Post

If I integrate this API in a game, what happens if I upload the swf file into another website?

 
avatar for AdamSchroeder AdamSchroeder 97 posts
Flag Post

With flash 8… nothing will happen. It ignores all “errors” like calling an API that doesn’t exist.

 
avatar for vinsonb vinsonb 2 posts
Flag Post

That is correct, the objects on _root will simply not exist and flash will ignore the calls.

 
avatar for estevangalvez estevangalvez 2 posts
Flag Post

if i dont get the high score list ingame, will the highscore thing still pop up in the chat box?

 
avatar for BenV BenV 265 posts
Flag Post

Yes, the chat high scores are supported automatically, all you have to do is report. The list is just there for if you want to use it.

 
avatar for Gamebrew Gamebrew 11 posts
Flag Post

Is there any way to get the game ID from kongregateServices? For example I want to open the hiscore URL without hardcoding the ID:

http://www.kongregate.com/high_scores?game_id=XXXX

 
avatar for dxrules63 dxrules63 329 posts
Flag Post

hmmm

 
avatar for NemmyGames NemmyGames 6 posts
Flag Post

Is there any way to support a low score list? Meaning, a game like golf, where the lowest score is better than a higher score? I need to be able to do that for my next game, if I’m to use this API.

 
avatar for BenV BenV 265 posts
Flag Post

Nemmy, the statistics API supports “MIN” statistics which would work for that purpose. If you name your statistics something like “HighScore-x” where x is the game mode (normal, hard, easy, etc), you should then be able to use the high scores API to read the list of “low scores”. If you’d like more help with this, send me an email at ben@kongregate.com

 
avatar for kovec kovec 402 posts
Flag Post

feel free to read 2DArray’s topic about memory hacking, which you can prevent!

i don’t mean to hijack but i can’t find this

 
avatar for NemmyGames NemmyGames 6 posts
Flag Post

Okay, I think I understand. Thanks, Ben.

 
avatar for CamposBaptista CamposBaptista 8 posts
Flag Post

Sorry the stupid question but since I never submitted a game here I have to make it.

Where will the high score list be displayed. Is it at a Kongregate page or we will have to create a field in our games to that?

I’ve also having problems with internet connection here so I can’t see how the score are being displayed in other games.

 
avatar for dxrules63 dxrules63 329 posts
Flag Post

I was on the 2nd step of uploading a game. but when i browsed and clicked on my game, I couldnt upload it.

 
avatar for BenV BenV 265 posts
Flag Post

Campos – The high scores list will automatically be available in chat and on the site. Displaying the list in game is optional.

 
avatar for Lysis Lysis 341 posts
Flag Post

kovek, I think this is it

Basically he recommends storing a reversibly modified version of the value(s) you wish to protect. This prevents people searching through ram for known values.

 
avatar for dxrules63 dxrules63 329 posts
Flag Post

what this topic is yufsly

 
avatar for Archbob Archbob 1 post
Flag Post

I get the first part of submitting the score. But what does the second part:

[code]
var scoresCallback:Function = function( result:Object ){
trace(“High score result, success=” + result.success );

for( var i:Number = 0; i < result.list.length; i++ ){ var position:Number = i + 1; trace( position + ". " + result.list[i].username + " – " + result.list[i].score ); }

}
_root.kongregateScores.requestList( scoresCallback, this );
[/code]

Why do we need that, don’t you just need me to send the score?

 
avatar for Janck Janck 252 posts
Flag Post

What if you want to show the high scores in-game, like in the classic arcades?

 
avatar for CamposBaptista CamposBaptista 8 posts
Flag Post

Hi!
I’m having a little problem to implement the high score list.
If I use the code:
_root.kongregateScores.submit(1000);

It woks fine and I get a score of 1000.

But if I use this code:
root.kongregateScores.submit(root.points_var);

I can’t get any result. The points_var is were I store the player`s score. Shouldn’t this work? What am I doing wrong?

 
avatar for JudeMaverick JudeMaverick 4759 posts
Flag Post

Use points_var instead of being very “grammar-ish”.

So it’ll be “root.kongregateScores.submit(pointsvar)”

 
avatar for CamposBaptista CamposBaptista 8 posts
Flag Post

I think I used that way but I’m not sure.
I’ll try that.

 
avatar for BenV BenV 265 posts
Flag Post

ArchBob: You do not need the second part, that is only if you want to show the scores in your game, which is totally optional.

Janck: Showing the high scores in-game is explained in the documentation with a short example (which archbob quoted).

Campos: Make sure that root.pointsvar is defined and is a number (not a string or some other type). If it is undefined or some other type, the submit will fail.

 
avatar for poopgames poopgames 56 posts
Flag Post

any news on when will be available for AS3 or if there is any way to use it with AS3?

 
avatar for Janck Janck 252 posts
Flag Post

Janck: Showing the high scores in-game is explained in the documentation with a short example (which archbob quoted).

I need to quote people more when I reply to them…

Archbob was asking why that code was even necessary. I answered with another question.

 
avatar for BenV BenV 265 posts
Flag Post

Ahh, Janck, thanks for clarifying. I’m constantly paranoid that my documentation is not good enough/bordering on godawful ;)

Ekaguaranga – AS3 library is in the works, I’m happy to say.

Sign in to reply


Click Here