thanks now i want to create leaderboard in this game.

0 votes
Leaderboard ,I must use Appwrap paperboard or I can do from corona sdk leaderboard also ?
asked Feb 14, 2015 in AppWarp by panarasavan (11 points)

1 Answer

+1 vote

Hello,

 
You can use App42 Corona SDK to create leaderboard in your game. Please have a look at this blog post which will help you to understand all the integration steps & let us know if it helps.
 
Thanks,
Himanshu Sharma
answered Feb 14, 2015 by hs00105 (2,005 points)
Hi,

Question:

How can i get opponent player score ,name and picture if available?

Thanks.
I am using APP42API - Corona and AppWarp both in one game with real turn based multiplayer.

here is error create when initialize both AppWarp and APP42API.

Error is connection failed!!!!

See below code which i have added in main.lua.

appWarpClient = require "AppWarp.WarpClient"
appWarpClient.initialize(API_KEY, SECRET_KEY)

local App42API = require("App42-Lua-API.App42API")
local App42Log = require("App42-Lua-API.App42Log")
App42Log:setDebug(true)
App42API:initialize(API_KEY,SECRET_KEY)

Question2:
How can I get opponent player score ,name and photo if available.?
Hello,

I using below initialize in main.lua.

local App42API = require("App42-Lua-API.App42API")
local App42Log = require("App42-Lua-API.App42Log")
App42Log:setDebug(true)
App42API:initialize(API_KEY_APP42,SECRET_KEY_APP42)

_W = display.contentWidth
_H = display.contentHeight

-- create global warp client and initialize it
appWarpClient = require "AppWarp.WarpClient"
appWarpClient.initialize(API_KEY, SECRET_KEY)


When i use App42Api like sign up or any app42api then coming error like below:

Runtime error
e:\dropbox\linewarv1\AppWarp\WarpUtilities.lua:200: attempt to concatenate local 'user' (a nil value)
stack traceback:
    e:\dropbox\linewarv1\AppWarp\WarpUtilities.lua:200: in function 'calculateSignature'
    e:\dropbox\linewarv1\App42-Lua-API\Util.lua:134: in function 'sign'
    e:\dropbox\linewarv1\App42-Lua-API\UserService.lua:53: in function 'createUser'
    e:\dropbox\linewarv1\signUp.lua:162: in function <e:\dropbox\linewarv1\signUp.lua:150>
    ?: in function <?:221>
Hello,

Could you please share your sample with us at support@shephertz.com because it seems like something is missing at your end? Also, please have a look at our sample project which have the signup and sign-in part. It helps you in integrating it in your app, so please check and let us know if it helps.
https://github.com/shephertz/App42_Corona_SDK/tree/master/sample

Thanks,
Himanshu Sharma
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...