User Tag List

Results 1 to 7 of 7

Thread: Mochicoins: can't detect purchased item

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mochicoins: can't detect purchased item

    I'm able to open my Mochi-store and purchase an item. In the same frame I have these events to check if the item has been purchased:

    On item owned
    +ItemID$( "Mochi Coins" )=Set correctly
    +Run this event once
    ---> play sound

    On new item
    +ItemID$( "Mochi Coins" )=Set correctly
    +Run this event once
    ---> play sound

    They both don't work, is this a bug or did I miss something?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Mochicoins: can't detect purchased item

    You don't need the "Run this event once".. try without.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mochicoins: can't detect purchased item

    It still doesn't work, made no difference

    About "On item owned", shouldn't this be triggered once the player has logged in and his items have been checked? Nothing happens, even if I'm definitely logged in (I see the purchased item in the store)

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Mochicoins: can't detect purchased item

    Is it in the same frame as the first frame the Mochi Connector or Mochi Social objects are in? As the docs say:

    On item owned
    When the user logs in (via Mochi Social), this condition will trigger once for each different type of item owned by the player. The expressions Get item ID, Get item count, Get item property and the condition Item has tag can be used to retrieve various information about the item.
    This should not be in the same frame as the first frame that contains the Mochi Connector or Mochi Social object, because they may sign the user in before On item owned is ready to trigger.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mochicoins: can't detect purchased item

    I had all Mochi objects in the same frame (main menue of the game), although the Connector and Social were also present in the intro frame. Ok, maybe I switched from intro to main menue too fast, but I expected that "On item owned" would become true once the login was completed.

    Now I changed this to be on the save side:
    In the intro frame I wait until "Player is logged in" has definitely triggered. But after switching to main menue my item is still not detected

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Mochicoins: can't detect purchased item

    Hmm.. can you send me the MFA?

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mochicoins: can't detect purchased item

    Ok, I'll reduce the code to a minimum before I send it.

Similar Threads

  1. Mochicoins is going away.
    By happygreenfrog in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 19th September 2012, 03:55 PM
  2. Is Mochicoins Working?
    By redpandagames in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 22nd May 2012, 06:42 PM
  3. News / Progress on MochiCoins
    By Spike in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 16th August 2011, 08:36 PM
  4. Mochicoins - Consumable Item
    By Pharanygitis in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 9th July 2010, 08:12 PM
  5. How to test Mochicoins without approval?
    By JoKa in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 23rd June 2010, 09:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •