Sellyme

Aug. 24, 2011

Under rating threshold (show) "you'll want to multiple the time by 1000" I presume you want "multiply" there.

+ - !

(8)

Developer response from Phoenix00017

I don't know if someone corrected this before I saw the comment or not, but it's fixed now either way. :)

Sellyme

Aug. 24, 2011

Under rating threshold (show) Also, "written by Greg, the creator of all badges/challenges"? I guess Raw wasn't asked to proof-read.

+ - !

(4)

Developer response from Phoenix00017

Yeah, that was somewhat old text. I'll update it.

Phoenix00017

Aug. 28, 2011

Under rating threshold (show) I accidentally deleted a good comment here - sorry about that! Anyway, the question was whether or not a statistic can be submitted that has a string value instead of a number. I'm afraid our statistics only support non-negative integer submissions (i.e. only numbers, and no decimals), so submitting a string or any other kind of value won't work.

+ - !

(0)

Arber2

Aug. 30, 2011

Under rating threshold (show) How do i put points in my snake games? I mean highscore

+ - !

(3)

Developer response from Phoenix00017

You'll need to connect to the <a href="http://dev.kongregate.com/docs/api-overview/intro">Kongregate API object</a> and then use the stats API on this page (specifically the Client one) to submit them. Make sure you also add the stats on our server side (you can do this by adding /statistics to your game's URL), and that the stat names match exactly, including capitalization.

Arber2

Sep. 05, 2011

Under rating threshold (show)

+ - !

(-18)

Developer response from Phoenix00017

Well, I'm afraid I can't really help then. :/ It's pretty straight forward, but if you can't connect to our API object it's not going to work I'm afraid.

jserete

Sep. 08, 2011

Under rating threshold (show) do we have to define all the functions and vars in the game code to use the API?

+ - !

(1)

Developer response from Phoenix00017

I may not be understanding your question, but all you need to do to use the API is to connect to our API object and then call whatever functions you want from it. You can email developer_support@kongregate.com if you have a specific question about it, or just post again here. :)

Arber2

Sep. 11, 2011

Under rating threshold (show)

+ - !

(-29)

CarbonTech

Sep. 12, 2011

Under rating threshold (show) Looks like someone ate the server statistics API page. :(

+ - !

(2)

Developer response from Phoenix00017

No eaten, just mis-connected. Should be fixed now - thanks for reporting. :)

scourrge

Sep. 13, 2011

Under rating threshold (show) How long does it usually take for Stats (barring odd cases, or cases in which mistakes were made by the developer) to show for a new game?

+ - !

(1)

Developer response from Phoenix00017

Stats should show up very quickly - usually within 5 minutes, and often nearly instantly. It does require you to reload the page to see them the first time if you don't see a "High Scores" tab. Also, they won't show up unless you've selected them as "Display in Leaderboard". Once at least one successful stat has been submitted, the "More Games" tab should switch over to "High Scores" on the next reload, even before the game is published.

scourrge

Sep. 20, 2011

Under rating threshold (show) Well I added stats when I first published my game, and they are there when I go to the statistics page. They also appear to work just fine in the "shadow services," but they aren't present in my game. Any suggestions?

+ - !

(-1)

Developer response from Phoenix00017

I tried running your game in debug mode (add ?debug_level=4 to your URL, more info <a href="http://www.kongregate.com/docs/resources/faq#stats-api">in our FAQ</a>) and I don't see the game connecting to the API (and thus also not submitting stats). You should ensure that the game is connecting properly, and then check to see if stats are going through.

jserete

Sep. 26, 2011

Under rating threshold (show) Which commands do we use the one here or the one in Shootorial? Because I was wondering if it made any difference.

+ - !

(0)

Developer response from Phoenix00017

The Shootorial is an old AS2 tutorial. I believe the AS2 API should still work, but if you're in AS3 you should use these updated docs.

Superdan1000

Sep. 27, 2011

Under rating threshold (show) Well this is nice and hum... i think be cool for me.

+ - !

(0)

Amarite1

Nov. 05, 2011

Under rating threshold (show) Can I retrieve a score from the server, and import it into my game so that I can do something like this? if (currentscore > savedscore){ //insert cool notification here }

+ - !

(1)

Developer response from Phoenix00017

Scores are one-way at this time. We previously had two-way, but no one used them, so when the API got a rewrite they weren't added back in. Sorry!

koronfbaby

Nov. 21, 2011

Under rating threshold (show)

+ - !

(-6)

geardeath

Nov. 24, 2011

Under rating threshold (show) How do I upload it on Kongregate? I have everything. Random fact!:Kongregate was released on October 10, 2006 by sister and brother team Emily and Jim Greer.

+ - !

(2)

Developer response from Phoenix00017

If it's a .swf or a .unity3d file, just go to www.kongregate.com/games/new. If it's an iframe game, use www.kongregate.com/games/new?iframe=true.

BobTheCoolGuy

Nov. 29, 2011

Under rating threshold (show) Amarite1, it is currently not possible to retrieve scores.

+ - !

(0)

zaozyn

Jan. 03, 2012

Under rating threshold (show)

+ - !

(-3)

Veeru5656

Jan. 09, 2012

Under rating threshold (show) why dont you make a simple...video....i m still confusion

+ - !

(3)

ayden3a

Jan. 10, 2012

Under rating threshold (show) Im making a single player game,Would I want client or server API?Im still new to all this developer talk sorry :/

+ - !

(2)

ayden3a

Jan. 10, 2012

Under rating threshold (show)

+ - !

(-5)

adjua

Feb. 18, 2012

Under rating threshold (show) @zaozyn Multimedia fusion 2, it's an even easier click and create program

+ - !

(-2)

FkidsPR

Mar. 02, 2012

Under rating threshold (show) I met some highscore cheating on my games, for that reason, I would love the "maximum possible number" for each variable to prevent sending a highscore if it's higher than the "max pos num". Example: You have a game with 100 levels. There is a highscore named "Level". If player tries to send a highscore of 105, it won't be saved. I've tried coding that on the game itself before submitting a highscore, but that didn't help.

+ - !

(4)

xkillerj

Apr. 01, 2012

Under rating threshold (show) i need help on the iframe url

+ - !

(1)

BlackDarksector

Apr. 19, 2012

Under rating threshold (show) i know how to submit a variables to kongregate but how can i call them. I want to save the user data. Lets say the player is on level 4. i can send level 4 but the next time he comes back, I want him to start of at level 4.

+ - !

(-1)

zackefra

May. 07, 2012

Under rating threshold (show) i still dont get it!

+ - !

(0)

knight12374

May. 11, 2012

Under rating threshold (show) I use Stencyl, the suggested dev program thing from you guys (for single player games) if I'm correct. The score of a player is saved as an attribute in a behavior. To simplify, I have it... " Setup Kongregate API submit score to Kongregate with (name: name of Kongregate player, value:[Score]) " [Score] being the attribute that I save the score under. Is this correct for Stencyl and will it work to submit someone's highscore? If not, what must I do?

+ - !

(0)

del3320888

Jun. 11, 2012

Under rating threshold (show) Is it possible to upload a java game?

+ - !

(-1)

AllusiveGold

Jul. 14, 2012

Under rating threshold (show) How do you even add API's to a game that's Hosted with iFRAME and ran with PHP.. I just do not understand, even tried quickkong..

+ - !

(0)

Ceddy505

Aug. 02, 2012

Under rating threshold (show)

+ - !

(-7)

XPredatoryBeastX

Aug. 12, 2012

Under rating threshold (show) i need help, i want to know how to submit my score i am kinda nooby but im trying to get better anyway im trying kongregate.stats.submit("score", _root.score); and it wont work, if it helps my instance name of my score is score and its variable name is _root.score

+ - !

(0)

101XPgames

Aug. 30, 2012

Under rating threshold (show) I send kongregate.stats.submit("initialized", 1); It doesn't work. In FlashFireBug I see nothing.

+ - !

(0)

guzuligo

Sep. 01, 2012

Under rating threshold (show) What about getting the stats submitted? Can I read from the game something that was submitted?

+ - !

(0)

molinware

Sep. 13, 2012

Under rating threshold (show) I've done this and the highscores are submited, but my game still not get the extra 10%

+ - !

(3)

guzuligo

Nov. 06, 2012

Under rating threshold (show) Any plans to put back the functions for reading stats from within the game?

+ - !

(0)

DrekGarcia

Dec. 12, 2012

Under rating threshold (show)

+ - !

(-3)

TaliumCorr

Jan. 15, 2013

Under rating threshold (show) I’m using QuickKong in this game ( http://www.kongregate.com/games/TaliumCorr/orbitaldestroyer ), while test – debug shows that connect to API successful and scores submitted correctly. A day has passed after game upload, but highscores tab still didn’t showing. Any suggestions? Thanks.

+ - !

(0)

blaz4kid

Jan. 30, 2013

Under rating threshold (show) Use game creator :/

+ - !

(0)

RnDi

Feb. 01, 2013

Under rating threshold (show) I believe I already use Statistic API as HighScore but why Im dont get additional 10% www.kongregate.com/games/RnDi/prison-bomber

+ - !

(0)

iWasBanned5times

May. 25, 2013

Under rating threshold (show) I seem to fail to follow this. Can someone help me please? I want to make a max type statistic in my clicking game as a clicking counter but everytime I screw something up :(

+ - !

(0)

iWasBanned5times

May. 25, 2013

Under rating threshold (show) By the way I'm using Adobe Flash Pro CS6 and AS2.

+ - !

(0)

iWasBanned5times

May. 25, 2013

Under rating threshold (show) And the variable (as text) is: score

+ - !

(0)

jaydintheman

Jun. 11, 2013

Under rating threshold (show) how do i make it display the score onthe screen

+ - !

(0)

Mad_Machine

Aug. 13, 2013

Under rating threshold (show) Does the API allow the developer to know what a user rated a game? Or prevent a user from rating a game if the player has spent less than say 30 seconds playing? Or anything like that? I've seen comments here and there about doing this.

+ - !

(0)

D0MiNAT0RZ

Dec. 13, 2014

Under rating threshold (show) Hi i have 3 games i would like to have the score tracked for the players. Hit the dots, flappy bird, and snake. I tried adding the score twice and it didn't work. Can someone please tell me what exactly i have to do step by step because im just not used to Kongregate's way of uploading games. Please PM me it or if you can e-mail "michael@mikeos.tk" a step by step way with screenshots if you can. Thanks so much, D0MiNAT0RZ

+ - !

(0)

Alexander311

Feb. 01, 2015

Under rating threshold (show) Is there a way for Developers to see high scores that are not being posted to the Official Leader boards? We have the option of making these statistics invisible to the players...but how can we ourselves see what stats have been collected by Kongregate? I saw above that there is no longer support for this in the code...but is there another way?

+ - !

(0)

aliceperdomoDev

Jun. 09, 2015

Under rating threshold (show) How I test if is working? Debug mode in Flash doesn't show anything

+ - !

(0)

dimalev

Jun. 30, 2015

Under rating threshold (show) "Retrieving High Scores API" link is broken to me :(

+ - !

(0)

BrainscarGames

Jul. 24, 2015

Under rating threshold (show) Is there a way to not only submit, but also read a statistic? I'd like to explore the different mode high scores a player has ingame

+ - !

(0)

BrainscarGames

Jul. 24, 2015

Under rating threshold (show) Display, not explore. Thanks autocorrect

+ - !

(0)

TFPG4MES

Dec. 10, 2015

Under rating threshold (show) Looks kinda easy for Stencyl users

+ - !

(0)

till42

Feb. 02, 2016

Under rating threshold (show) Hi! I successfully setup the statistics API with our Unity/WebGL game Volley Brawl. The leaderboards show the correct value. If there is still anyone interested in the exact C# code and the steps, please rate my comment. I will then be happy to write a blog article about it. However, my problem still is: How can I see the stats which are not publically listed in the leaderboard? I am blind? I looked everywhere on Kongregate. Did I overlook anything?

+ - !

(0)

Scarfufuh

Feb. 03, 2016

Under rating threshold (show) The retrieving high scores link appears to be broken. Would really appreciate a link to that page

+ - !

(0)

WaterBuffalos

May. 31, 2016

Under rating threshold (show) Why is the MAXINT 31 bits? I assume it takes 32 bits of storage so couldn't it be a 32 bit int or negative? ## Idle games are life ##

+ - !

(0)