Monday, January 16, 2012

i27

i26 to i27

New Features

[#1037] Beta support for multiple stat leaderboards

Multiple-Stat leaderboards are a new feature that is being tested with select developers. These are leaderboards in which you can track two (or more) independent player stats on the same leaderboard.

For example a player might have three "characters", each with their own "strength" attribute. We could model this as three player stats str_1, str_2 and str_3. A leaderboard for the strongest character could not have been created using the old leaderboard system. However, adding str_1, str_2 and str_3 to a multi-stat leaderboard will allow the strongest characters to be tracked.

For now there is no publicly accessible UI for this. Please contact us if you need access to multi-stat leaderboards.

Bug Fixes

[#1023] Friends invite id is returned with friend notifications.

Friend invite notifications had stopped returning the invite id. This is now fixed and friend invite notifications now return the invite id again.

Tuesday, January 10, 2012

i25

i24 to i25

New Features

[#1017] Added Google authentication for players

The functions google/create_user google/login_user and google/bind_user have been added. They all accept a code value that must be obtained by the caller from Google. The usual way to obtain such a token is by forwarding the user to a location like:

https://accounts.google.com/o/oauth2/auth?
   response_type=code&
   redirect_uri=YOUR_REDIRECT_URL&
   client_id=YOUR_CLIENT_ID&
   scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.me&
   access_type=offline

This will return the code in the browser URL after the login and redirect.

You will need to configure the Google authentication on the settings page.

For your convenience (and to negate the need to obtain codes twice) the google/create_user call returns a roar auth_token, so you do not need to subsequently call google/login_user

[#1015] In lua p:notify("key",value") adds entries into the server block

Scripts can add to the player notifications returned in the server XML chunk.

This means scripts can now get information to players from Regen scripts and Script modifiers as well as allowing functions to be more modular.

Calls should look like this:

args.player:notify("some_key","1234;4321;abc")

Response will look like this

<server>
<script key="some_key" value="1234;4321;abc" />
</server>

Bug Fixes

[#232] Improved seeding and generation of random numbers from lua with math.random()

[#1009] Friends are now unlinked correctly on player deletion

i26

i25 to i26

New Features

[#1004] Playhaven integration available under 'Services'

Integration for the Playhaven (www.playhaven.com) real-time mobile game marketing platform has been added. It is available under the Services section of the game configuration UI.

Bug Fixes

[#917] Duplicate notifications should no longer occur

In certain situations players could receive the same notification multiple times. (This included script notifications, friend notifications and gift notifications). They should now correctly only receive one notification.

[#1026] Script requirements now save correctly

Script requirements were not saving correctly in the UI and were disapearing sporadically. They should now be saving correctly.