jserete

Sep. 08, 2011

Under rating threshold (show) Do we have to code the submit function or is it already in the API?

+ - !

(-1)

Developer response from Phoenix00017

The submit function is one of the functions in the app. Just call it like in the example and it'll work. :)

BobTheCoolGuy

Sep. 09, 2011

Under rating threshold (show) Not sure what you mean exactly, but once you connect and have your kongregate object, you just do something like "kongregate.stats.submit("Coins",1);" See this (http://www.kongregate.com/forums/90-kongregate-apis/topics/199155-quickkong-easy-kong-api-integration) also for an easy way to use the Kong API.

+ - !

(1)

mountain100

Sep. 29, 2011

Under rating threshold (show) i tried making a game and at the bottom it says API what do i put down there

+ - !

(0)

Developer response from Phoenix00017

If you're referring to the API Callback URL, that is only needed if you are running a kreds-enabled MMO and want us to notify you when a user makes a purchase.

likenot

Oct. 06, 2011

Under rating threshold (show) how does i make this work? I've defined the stat I want, but I got stuck when i got to this page. What do I do to get it working?

+ - !

(0)

Developer response from Phoenix00017

You'll need to be connected to the javascript API if you want to use the Javascript Submit function. You can read about that here: http://www.kongregate.com/docs/api-overview/client-api.

DrNy

Oct. 11, 2011

Under rating threshold (show) hi. I did everything as needed, i guess. i used the QuickKong api, in local test i got the answer : Kongregate API: IStatServices.submitStat(Level,2) in the /statistics i created a max stat called Level. it is shown there then i check. i also check "yes" for Display in leaderboards?. When or where or how can i expect those high -score leader boards to appear next to my game. or did i not understand something, is it just for saving the values, and then i have to create leader boards myself too?:)

+ - !

(2)

Developer response from Phoenix00017

If you set the "Display in Leaderboards" checkmark, a High Scores tab will replace the More Games tab to the right of your game within a few minutes of the first successful statistic submission. You will need to reload the game for the change to take place, and it can take more than a minute.

xainIG

Dec. 02, 2011

Under rating threshold (show) Stats aren't updating in "High Scores" tab in real time. Only updates (for the user currently playing) when browser is refreshed. Please help.

+ - !

(1)

Developer response from Phoenix00017

Stats in the leaderboard should only update when the current user's stat improves - other stats will not be shown in real time and will indeed require a refresh.

RandomDeveloper

Dec. 25, 2011

Under rating threshold (show) I used "_root.kongregateScores.submit(points);" as explained in AS2 API tutorial but it didn't work. I have uploaded the game today. http://www.kongregate.com/games/RandomDeveloper/Extreme-Clickz

+ - !

(0)

Corneguidouille

Jan. 12, 2012

Under rating threshold (show) How could we retrieve the value from the statName? Is something like this: get(statName:String):Number exist? I want to retrieve the highscore of the user. Thanks in advance.

+ - !

(1)

Justasmileyface

Feb. 01, 2012

Under rating threshold (show) After reading through all of the help pages on the site, I'm still rather confused. Here's the situation: I have a game that's uploaded and playable. The game is a Unity game, hence a unity3d file was uploaded (and nothing else). A placeholder-statistic has been created here on the Kongregate game page. All the code in the project was written in C#, although we could add some Javascript if needed. Here's my question: How do I connect/download/access the statistics API from Unity? The code above seems to assume that we have some sort of Kongregate object - where did that come from? I've only seen that one could use the HTML shell in order to connect, but we're not using HTML since we're only submitting the unity3d file. Any help would be appreciated.

+ - !

(2)

RHGames

Feb. 01, 2012

Under rating threshold (show) This is not working at all. The other part works fine, but I can't get any of the above stats examples to work for me at all. I placed the Kongregate API in the first frame of the .fla file as instructed, and without trying to use any of the stats, I get a message when testing the game to indicate that the API is working. However, any attempt to use any of the stats like the ones in the example above, ends up having errors of some kind or another. I send scores in my GameOver.as file, and when I put the code in to send scores to the leaderboard, I get "1120: Access of undefined property kongregate." What exactly would I need to do to make my GameOver.as utilize the kongregate variable that is on the first frame of the .fla file?

+ - !

(0)

iggyvolz

Aug. 06, 2012

Under rating threshold (show) It seems that there is a problem in the sidebar. SubmitAvatar is also highlighted.

+ - !

(0)

thoughtden

Sep. 21, 2012

Under rating threshold (show) Can we submit to this Stats module from our own site / embedded game in other people's sites?

+ - !

(0)

torin555

Nov. 09, 2012

Under rating threshold (show) How do we send the value of a variable instead of a number? Because it seems its not working for me.

+ - !

(0)

MasterBladeUp

Jul. 24, 2013

Under rating threshold (show) Is it possible to make a different leaderboard for different modes in my game? If so, how?

+ - !

(0)

AlphaOverall

Jun. 18, 2015

Under rating threshold (show) Awesome api! Submitting is nice and easy... and fun.

+ - !

(0)

D0MiNAT0RZ

Jul. 28, 2015

Under rating threshold (show) Yeah hehe

+ - !

(0)