[PLUGIN]Newgrounds plugin Alfa by Raiper34

Post your completed addons to share with the community

Post » Wed Jun 25, 2014 10:52 am

DOTCreeper wrote:
Raiper341 wrote:
DOTCreeper wrote:http ://www. newgrounds. com/projects/games/777380/preview
everything is black now....

Are you using correct API IDand encription key? You can find it in API tool section:
Image

I has did that D:

Can you post any example?
B
25
S
4
G
2
Posts: 318
Reputation: 2,501

Post » Thu Jul 03, 2014 12:50 am

[quote="Raiper341"][quote="DOTCreeper"][quote="Raiper341"][quote="DOTCreeper"]

sure give me a min...
B
1
S
1
Posts: 9
Reputation: 293

Post » Fri Jul 11, 2014 4:14 pm

So has the html5 api made any progress? I'm really excited for leaderboards :)
B
8
S
3
Posts: 48
Reputation: 1,013

Post » Mon Jul 14, 2014 2:57 pm

larynachos wrote:So has the html5 api made any progress? I'm really excited for leaderboards :)

Sorry, but i am not author of API, i am author of plugin only. API does not have progress now :/ I contacted author of API, but i have not reply so far....
B
25
S
4
G
2
Posts: 318
Reputation: 2,501

Post » Tue Aug 12, 2014 2:12 pm

This is awesome, I will for sure put it in all my games from now on. And even update new ones to use it.
I am waiting for the High Scores Board, I know it depends on the other API to be further developed.
B
37
S
5
G
2
Posts: 46
Reputation: 3,854

Post » Wed Nov 19, 2014 12:56 pm

Thanks for this plugins.

I need to change NG.min.js in line 2454
//var NG_SERVER = "http://ncase-proxy.herokuapp.com/www.ngads.com/gateway_v2.php";
var NG_SERVER = "https://ncase-proxy.herokuapp.com/www.ngads.com/gateway_v2.php";

With this it work... in debug
When I export the game freeze when "start api". If minimize - maximize browser, the game continue but the api don't connect.

Error in console (chrome):
Uncaught TypeError: undefined is not a function

c2runtime.js:
(function(){function d(){}var l=Jb.prototype;l.Wd=function(c){this.oa=c;this.b=c.b};l.Wd.prototype.Ka=function(){};l.lc=function(c){this.type=c;this.b=c.b};var c=l.lc.prototype;c.Ka=function(){};c.fp=function(){};c.xb=function(){return{}};c.fc=function(){};c.sc=function(){};c.ob=function(){};l.N=new function(){};d.prototype.Mh=function(c,d){NG.$o(c,d)};l.Jc=new d;l.uc=new function(){}})();function Kb(d){this.b=d}

Any idea ?


EDIT SOLUTION :D

When export to html5. Disable "Minify script"
And... it work !

I don't know who is to blame c2, plugin, ...
Export without minify is bad :( then I hope someone fix this.
B
10
S
5
G
1
Posts: 26
Reputation: 1,452

Post » Fri Nov 21, 2014 9:32 pm

MTR wrote:Thanks for this plugins.

I need to change NG.min.js in line 2454
//var NG_SERVER = "http://ncase-proxy.herokuapp.com/www.ngads.com/gateway_v2.php";
var NG_SERVER = "https://ncase-proxy.herokuapp.com/www.ngads.com/gateway_v2.php";

With this it work... in debug
When I export the game freeze when "start api". If minimize - maximize browser, the game continue but the api don't connect.

Error in console (chrome):
Uncaught TypeError: undefined is not a function

c2runtime.js:
(function(){function d(){}var l=Jb.prototype;l.Wd=function(c){this.oa=c;this.b=c.b};l.Wd.prototype.Ka=function(){};l.lc=function(c){this.type=c;this.b=c.b};var c=l.lc.prototype;c.Ka=function(){};c.fp=function(){};c.xb=function(){return{}};c.fc=function(){};c.sc=function(){};c.ob=function(){};l.N=new function(){};d.prototype.Mh=function(c,d){NG.$o(c,d)};l.Jc=new d;l.uc=new function(){}})();function Kb(d){this.b=d}

Any idea ?


EDIT SOLUTION :D

When export to html5. Disable "Minify script"
And... it work !

I don't know who is to blame c2, plugin, ...
Export without minify is bad :( then I hope someone fix this.

API is already minified... so I do not know, how to solve it... if you have any idea, you can help ;)
B
25
S
4
G
2
Posts: 318
Reputation: 2,501

Post » Wed Mar 04, 2015 7:21 pm

Hiiii! is the plugin up to date?
B
28
S
8
G
7
Posts: 643
Reputation: 6,457

Post » Thu Mar 05, 2015 10:10 pm

Is there any way to avoid having the encryption key publicly visible? Doesn't it allow anyone to fake medals?

Image
B
2
Posts: 1
Reputation: 152

Post » Sat Apr 04, 2015 7:08 pm

irbis wrote:Hiiii! is the plugin up to date?

It is using latest version from NG unoficial plugin, there is no step forrward in this project... :/

Noid wrote:Is there any way to avoid having the encryption key publicly visible? Doesn't it allow anyone to fake medals?

Image

I can make hash function for it, but i have lot lot and lot of work on my school projects, so you need to wait 1-2 months, if you are interested...
B
25
S
4
G
2
Posts: 318
Reputation: 2,501

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 6 guests