Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - alesaux

Pages: 1
1
Hi Guys,

Im just testing out the in game app purchasing on Android. When I try to do a restore purchase, it doesn't restore the purchases, yet if I try to buy them again it says I already own them.

On the android logs I see the following errors.... could it be because my game is only at beta status atm?

Has anyone got any ideas?

Thanks!!!

07-19 16:42:19.365: I/BillingService(11193): Received action: com.android.vending.billing.RESPONSE_CODE
07-19 16:42:19.365: I/BillingService(11193): checkResponseCode got requestId: 3179233526363020587
07-19 16:42:19.365: I/BillingService(11193): checkResponseCode got responseCode: RESULT_SERVICE_UNAVAILABLE
07-19 16:42:23.055: I/BillingService(11193): isBillingSupported response was: RESULT_OK
07-19 16:42:23.055: I/BillingService(11193): Nonce generateD: -5573310956632641693
07-19 16:42:23.055: I/BillingService(11193): confirmTransaction()
07-19 16:42:23.065: I/BillingService(11193): current request is:4966605762611178242
07-19 16:42:23.065: I/BillingService(11193): RESTORE_TRANSACTIONS Sync Response code: RESULT_OK
07-19 16:42:24.265: I/BillingService(11193): Received action: com.android.vending.billing.RESPONSE_CODE
07-19 16:42:24.265: I/BillingService(11193): checkResponseCode got requestId: 4966605762611178242
07-19 16:42:24.265: I/BillingService(11193): checkResponseCode got responseCode: RESULT_SERVICE_UNAVAILABLE


2
Extensions / Re: Send PNG to server Extension
« on: June 18, 2014, 03:58:35 am »
This seems to do the trick - it was so much shorter than I expected. Checked it into the nightlies (not really usable by anybody but devs at this point, but that'll change in the future).

Paired with your extension, this is now a way to submit a screenshot to a server.

Code: [Select]
public function captureScreenshot():BitmapData
{
var img:BitmapData = new BitmapData(getScreenWidth(), getScreenHeight());
img.draw(nme.Lib.current.stage);
return img;
}

Hi

Sorry - complete Newbie here.... where abouts does this code need to be put? I've tried putting it in the SendPngtoServer.hx file and I continue to get:

" Unknown identifier : getScreenWidth"

Is there something else I should be importing...? And do any code blocks in Stencyl need to change?

If I can find out where this code goes this will make the Facebook integration even better!!!

Thanks in advance... Stencyl is brilliant!!!

Pages: 1