Nuggeta Extension: for multiplayer online games, Leaderboard, Chat and Inventory

mdotedot

  • Posts: 1654
You can only make the combination when you do the complete download and integrate the class into the extension code.
At this time it is not possible to browse the storables from the developer site.
You can always create a special 'game' yourself with the nuggeta address and get a complete property-list and show it only to you :)

Best regards from
M.E.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

LePoulpe

  • Posts: 181
You can always create a special 'game' yourself with the nuggeta address and get a complete property-list and show it only to you :)
This is how I do it now  :D

Thank you for this extension,  it's really easy and pleasant to use.

zohaibhisam

  • Posts: 67
heres another guy who's about to implement this on droid. Lets see how it goes (basic leaderboard, social network sharing).

Just asking - is the friends list thing/social login in operation yet? (will work with this either way, but a few yesses  would really make me prioritize this).

z
Games (Droid)

SadiQ

  • Posts: 1795
Getting the list of friends would be useful for challenging them, and I'm still working on implementing that part.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Kazetoon

  • *
  • Posts: 556
Not sure what I am doing wrong but I did as instructed. I installed the extension and downloaded the API and put them in the extension folder which is now located in C:\...\AppData\Roaming\Stencyl\stencylworks\engine-extensions since 3.1. Then inside the game, I used the connect to address block and submit anonymous score leaderboard and that's it but I can't get the game to run. This is what I get in the log viewer:
Code: [Select]
[LOG]    ____                   ______ _
[LOG]   / __ \____  ___  ____  / ____/ /
[LOG] / /_/ / /_/ /  __/ / / / ___// /___
[LOG] \____/  ___/\___/_/ /_/_/   /_____/
[LOG]     /_/
[LOG] OpenFL Command-Line Tools (1.1.6)
[LOG] Initializing project...
[LOG] Using project file: project.xml
[LOG] Reading HXCPP config: C:\Users\Jado\.hxcpp_config.xml
[LOG] Using target platform: FLASH
[LOG] Running command: UPDATE
[LOG]  - Copying template file: c:\Program Files (x86)\Stencyl\plaf\haxe\lib/hxtools/1,1,6/templates/haxe/DefaultAssetLibrary.hx -> Export/flash/haxe/DefaultAssetLibrary.hx
[LOG]  - Copying template file: c:\Program Files (x86)\Stencyl\plaf\haxe\lib/openfl/1,1,1/templates/haxe/NMEPreloader.hx -> Export/flash/haxe/NMEPreloader.hx
[LOG]  - Copying template file: c:\Program Files (x86)\Stencyl\plaf\haxe\lib/openfl/1,1,1/templates/flash/hxml/debug.hxml -> Export/flash/haxe/debug.hxml
[LOG]  - Copying template file: c:\Program Files (x86)\Stencyl\plaf\haxe\lib/openfl/1,1,1/templates/flash/hxml/release.hxml -> Export/flash/haxe/release.hxml
[LOG]  - Copying template file: c:\Program Files (x86)\Stencyl\plaf\haxe\lib/openfl/1,1,1/templates/flash/haxe/ApplicationMain.hx -> Export/flash/haxe/ApplicationMain.hx
[LOG] Running command: BUILD
[LOG]  - Running command: haxe Export/flash/haxe/debug.hxml
[LOG] C:\Users\Jado\AppData\Roaming\Stencyl\stencylworks\engine-extensions/nuggeta/MyNuggeta.hx:686: characters 23-69 : com.nuggeta.ngdl.nobjects.#SaveGameStatus has no field NOT_SUPPORTED_IN_CONNECTED_MODE
[ERR] java.lang.StringIndexOutOfBoundsException: String index out of range: -2
[ERR] java.lang.StringIndexOutOfBoundsException: String index out of range: -2
[LOG] Unexpected problem on thread Thread-76: String index out of range: -2
[LOG] Finished building for Flash (or errored out): 1

What am I doing wrong?
Little Drop - Try it out!
     
iphone/ipad Android
Newgrounds Stencyl Arcade Kongregate
Developer Website

SadiQ

  • Posts: 1795
Mind putting a picture of the code you used to create a game? Did you use searchImmediateGame? In the game definition (on the Nuggeta website) did you make the game in Connected mode or Disconnected mode? If you used Disconnected mode could you mention a reason for choosing it?
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Kazetoon

  • *
  • Posts: 556
My game is in Connected mode, I just want to use the leaderboard feature so I followed the instructions here https://9801d77fa8cbce137fffd6d8e5db9b283d562c54.googledrive.com/host/0B9mpX1WSL_poRU9nenZOd3BtblE/Nuggeta_Leaderboards/Nuggeta_Leaderboards.html. Do I have to create a game beforehand?
Little Drop - Try it out!
     
iphone/ipad Android
Newgrounds Stencyl Arcade Kongregate
Developer Website

SadiQ

  • Posts: 1795
Hmm...unfortunately I think the Nuggeta team made a few changes to their API and the extension needs to be updated :(
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Kazetoon

  • *
  • Posts: 556
Just to make sure, is anyone else having problem using leaderboards?
Little Drop - Try it out!
     
iphone/ipad Android
Newgrounds Stencyl Arcade Kongregate
Developer Website

SadiQ

  • Posts: 1795
It's not only the leaderboards part. They changed several things and problems will come when people here re-download their API files.
I'll try to see if I can get a list of changes they made so we can fix things on our end.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • Posts: 1654
Hello,

Unfortunately we aren't notified when the API gets changed on Nuggeta end. So the changes made to the extension are maybe not sufficient, but at least three of the demo programs are compiling again.

The changelog + link are changed on the Google Drive page.

Best regards from
M.E.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

ErLuiSS

  • Posts: 125
thanks mdtedot for update nuggeta! :)

Kazetoon

  • *
  • Posts: 556
Regarding the leaderboard option, is it possible to request the same leaderboard for day and week so that the player can see the best scores of the day or week? If so, do I have to request twice and make a list variable for the day leaderboard and an other list variable for the week leaderboard?
Little Drop - Try it out!
     
iphone/ipad Android
Newgrounds Stencyl Arcade Kongregate
Developer Website

SadiQ

  • Posts: 1795
I'd probably make the request twice and use separate attributes for them.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Kazetoon

  • *
  • Posts: 556
Alright thanks, great extension btw.
Little Drop - Try it out!
     
iphone/ipad Android
Newgrounds Stencyl Arcade Kongregate
Developer Website