Unlock full game - Not being saved - IAP

CORE GameCORE Game Member, PRO Posts: 280

Hello,
My title says it all ! :P well I am turning my SlimeRush game to free to play but with limitation and then you can unlock it from IAP, but the problem I am trying now in AD-HOC , It is being unlocked, but next time I open the game it shows that the game is still locked , and I need to restore items, even though I used the load attribute to call (premium) Boolean attribute which was the one being affected by the IAP, and the key to load is the same as the product ID .
is there any thing else I should do ? should I actually save the attribute if the purchase was successful ?

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    Yes, you need to save it. Save and load like you normally would.

  • alarm656alarm656 Member Posts: 291
    edited April 2014

    Hello I had similar problem, than I put save attribute and load attribute. But I have discovered another issue, full version unlocks automatically. Let me describe intelligibly how full version unlocks automatically of how boolean attribute becomes "true" automatically:
    If I play game on GS Creator that if I press reload/replay again (during the game) button on GS how I said boolean attribute becomes "true" and the game unlocks. dont tested on device yet

  • DuesDues Member Posts: 1,159

    Try putting the save attribute in a timer

    After 0.1 sec
    Save attribute

    That might work :)

  • alarm656alarm656 Member Posts: 291
    edited April 2014

    @Dues said:
    Try putting the save attribute in a timer

    After 0.1 sec
    Save attribute

    That might work :)

    Thank you! but I couldn't resolve :\
    I add "Rule" to load attribute
    if iap true=>
    load attribute ;) .
    But it's not works perfectly.
    Whole project works good if I delete load attribute for iap :(

  • DuesDues Member Posts: 1,159

    If you want to load an attribute, make an actor an put it outside the scene. In that actor have the load attribute.
    Make sure its on your very first scene.

  • CORE GameCORE Game Member, PRO Posts: 280

    I'll try to add save attribute in (thank you) scene where it is used if the puarchase was successful .

  • CORE GameCORE Game Member, PRO Posts: 280

    It didn't require to save it, I actually followed the IAP tutorial in the cookbook and it is working perfectly fine in AD-HOC, I submitted the game on the 6th of April, it still waiting for review, if it goes life I will let you know!

Sign In or Register to comment.