It appears to be connected correctly, then.
If you append ?debug_level=3 to the game’s URL, what shows up in the chat window when the game first loads and when it attempts to submit a score?
|
|
It appears to be connected correctly, then. If you append |
|
|
Thanks Jabor for wanting to help me out! I figured we have a different timedness (me being dutch and all) So when I get home from school I’ll try the debug thing. Don’t think I’m just ignoring you! Thanks! |
|
|
is this ok for a ping pong game? stop(); } (1st frame) ima noob :( |
|
|
When I add ?debug_level=3 to the games url it tells me: Info: Listening for connection… Info: Handling connection…, isConnected=false, attemptingConnection=false Info: Kongregate Packet[admin] {"mParams":{"req.id":0,msg.id,success,“stamp”:"2445939089188"},“mOpcode”:"hello"} Info: Hello message received from server. btw the statistics seem to be working fine… Is that useful? |
|
|
Does anything show up when the game tries to submit a score? |
|
|
Nope… |
|
|
You don’t get any info message saying that isConnected is true? Yet the light is green? |
|
|
http://www.kongregate.com/games/SirRealism/evolution-squared_preview Here, you can see it for yourself… I know it’s weird…. I wish it would just work. thanks for wanting to help and all that! =D |
|
|
I’m afraid I can’t look at your preview games, sorry. I’m not really sure what’s going wrong, either. The green light indicates a successful connection, but you should get a message indicating that…and for it not to echo anything at all when you submit is a bit weird. |
|
|
So, basically you’re saying that the light indicates everything is okay… But the message: Has anyone ever seen anything like this??? I really wanna upload my game…But I can’t because this stupid API won’t work….>:( Thanks for the help! |
|
|
Take a look at another game with the API, and append |
|
|
With Play Oh, the Huge Manatee! It says exactly the same at the beginning, but then it DOES get an extra tab in the chat window saying “score” and with my game it doesn’t! It’s ridiculous… |
|
|
This may sound like a dumb question, but where exactly is the download for the API? |
|
|
You don’t download it. You just connect to Kongregate Services and use submit commands. It’s explained in the forum sticky. |
|
|
Im having a problem using the highscores API How do i send a score with a name and is _root supposed to represent something, or is it always _root? Thanks for the help – cravedgames.com |
|
|
also how do you call the function to show highscores and do you call it into the frame |
|
|
|
|
|
I need help. I am trying to make a game with regular mode, and timed mode. But I want to know how to put them both in. Like if you play in regular mode, it will submit the score for regular mode, and same with timed mode. Please help! |
|
|
is the “username” is given by kongregate or do we need to provide it? |
|
|
what version of flash is Kongregate API supported by 1, 2, 3, 4, 5, 6, 7, 8 etc |
|
|
I got it to connect and it says “Congrats, you’ve just achieved a high score! But when I click the ‘High score’ to see my score on the board nothing happens. |
|
|
I’ve tried to use requestList in an old game of mine. but I can’t get it to work. Has this something to do with the new chat? It seems ?debug_level=3 isn’t working with the new chat, so I tried debugging with a remote debug session, but it sends me this error: Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047: Security sandbox violation: LocalConnection.send: kongregate.com cannot access http://www.kongregate.com/flash/konduit_1241113218.swf. and my output gives me this: click this is the as in my testmovie:
_root.kongregateServices.connect();
myButton.onRelease = function() {
trace("click");
_root.kongregateScores.submit(615);
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 );
}
tf.text = result.success; //to check if callback works without debugger.
}
_root.kongregateScores.requestList( scoresCallback, this );
};
I got a mc called myButton and a textField called tf on stage. The score is sumitted fine and the scoreboard is full (100 users), but I think requestList never calls the function. |
|
|
I’m just curious, will this work with AS1? Or does it have to be AS2. |
|
|
Can I test KongregateAPI when my game is preview? |
|
|
AS1 does not work for kongregate API u must be working in Flash player 6+(normaly 7.0+) for it to work. |