[Beta] Advanced MochiAds

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Please login to see this picture.
    Here my new completly rewritten Extension: the full MochiAds-API! :D

    Features:

    • Archivements/Awards
    • New "ADs" with more powerful settings (see the example!)
    • New Leaderboard with more settings
    • You can get Items/Awards or other from store/mochi wherever and whenever you want!
    • Send Gifts / Invite Friends...
    • Complete mochi-coins support

    Helpfile (not finished.. you can help me :D , i'm update this step by step)
    Please login to see this link.

    Download:
    Please login to see this link.

    Example:
    Please login to see this link.

    It would be very cool, you click on +1 (facebook-like-button) or you Please login to see this link. .. :)

    Please login to see this link.

    Edited 2 times, last by Pharanygitis (October 27, 2011 at 11:55 AM).

  • I finally found some time to test your extension. It is so huge that I've only checked the leaderboard stuff so far. Here is my feedback:

    - 'Show leaderboard XY' and 'Show advanced leaderboard' actions do not take X/Y position into account
    - I can't enter the leaderboard ID with the 'Submit only' action, so obviously it doesn't work
    - I'm missing an 'Is leaderboard visible?' condition

    Apart from that, it is working quite well! :)

    I also wanted to know if you plan to implement the mochi.as2.MochiScores.requestList call (Please login to see this link.)? I'd be very interested in getting such 'raw data' because I'd like to display everything myself. So I can design my own UI and use any language I wish etc.. full customization of the leaderboards look & feel.
    It is like getting the data in Jeff's Please login to see this link..

  • Quote

    'Show leaderboard XY' and 'Show advanced leaderboard' actions do not take X/Y position into account

    Thank you Oliver for the testing.. i change something.. the x and y position from the leaderboard is current the "position" from the extension.. but i'm change this next time :)

    Quote

    I can't enter the leaderboard ID with the 'Submit only' action, so obviously it doesn't work

    Oh, sorry.. i have forgot one "event" for this.. :) next update..

    Quote

    I'm missing an 'Is leaderboard visible?' condition
    ..
    and
    ..
    ..I also wanted to know if you plan to implement the mochi.as2.MochiScores.requestList call ..


    That comes in the next update, too :)

    Please login to see this link.

  • Can't wait for the next update Jens. :) Below is some more feedback.

    - About tracking, how do we track 'End Play'? I'm reffering to CT's Mochi Analytics.
    - Just out of curiosity, why must we check the MMF app property 'Use MochiAds' for your extension to work?

    I should do more testing about this, but I wonder if your extension is persistent across frames (global)? So we could connect once and for all at the start of the application for example, just like CT's Mochi Connector object.
    For the moment it seems that we must call the "Connect to MochiAds" action at the beginning of each frame where interaction with Mochi is needed. And calling that action creates a little lag each time.

  • Quote

    About tracking, how do we track 'End Play'? I'm reffering to CT's Mochi Analytics.

    Current i have not the source here, tomorrow i'm looking for this ;)

    Quote

    Just out of curiosity, why must we check the MMF app property 'Use MochiAds' for your extension to work?


    Yes, this is for liveupdates from mochi.. the problem is, mochi "search" for a hardcoded "code" in your swf.. and i can't make this with the extension "only" :)

    Quote

    I should do more testing about this, but I wonder if your extension is persistent across frames (global)? So we could connect once and for all at the start of the application for example, just like CT's Mochi Connector object.

    For the moment it seems that we must call the "Connect to MochiAds" action at the beginning of each frame where interaction with Mochi is needed. And calling that action creates a little lag each time.

    The extension is global over the frames! You do not need connect every new frame (you connect in any first frame ONLY) ;) I have rewritten completly the extension (very hard work)!! you don't need any connector or other extensions.. you need the mochi-advanced-extension only!

    EDIT: I have forgott - the best is: You can get directly informations when the player buy anything in the store or other :) in the "old" mochiads-extension is this a problem :D

    Please login to see this link.

  • Thank you Jens, I confirm that the extension is global indeed. :) Like you said we only need to call "Connect to MochiAds" once, preferably in one of the first frames of the application. Sehr gute Arbeit!

    I have yet to try the store/coins stuff, but it already looks exciting.

  • Here is the next update from the extension.. now in the extension:

    [color:#CC0000]+ Get, set, add or substract inventar-items :)
    + You can get the complete Highscore now as string (here is it Oliver :D)[/color]

    Here a example for the "inventar-items" about mochi:
    Please login to see this picture.

    // Create, or set the value of a property
    MochiCoins.inventory.grenades = 5;
    // Increment the number of grenades by 3
    MochiCoins.inventory.grenades += 3;

    Please login to see this link.

  • Quote from Pharanygitis

    + You can get the complete Highscore now as string (here is it Oliver)

    That's fantastic Pharan, thank you so much! :) I had the chance to test it and it is working great, apart from a minor issue I stumbled upon:

    The expression "getFullLBAsString$" seems to forget the very last score entry. This only happens in the rare cases where there is a low number of score entries in the leaderboard, less than the max number of score entries requested by the expression.

    Example: My leaderboard has only 8 score entries
    - If I request the listing of 5 scores I will get 5 score entries: that's okay
    - If I request the listing of 20 scores I will only get 7 score entries: that's bad because the 8th score entry is missing

  • This seems like a really great extension in the works. I use Mochi a lot and it's great to see you have started to develop a more extensive support for these APIs as CT stopped their development. I did some tests and came up with a few questions/comments:

    - How is the "Show Advanced Leaderboard" action supposed to differ from "Show Leaderboard with x and y" or "Quick show Leaderboard" actions? I got the same leaderboard in each case.

    - There is a lot of options in the "Show Advanced Leaderboard" action like "resolution", "preloader display", "number of display scores", etc, but I couldn't figure out their meaning. Have those been documented somewhere? The leadeboard looked the same regardless of what values I gave. For example, number of scores on the leaderboard was always the standard 50.

    - X and Y positions of the leaderboard didn't seem to work. I recall that was reported already earlier.

    - How exactly do I get the scores in a string (a feature I will have a lot of use for!)? I tried Change alterable string --> retrieve data from an object --> Advanced MochiAds --> MochiAds --> Leaderboard, but there is nothing more than "is score submitted?" expression to choose from.

    - Show Achievements: can the background color (grey) be changed or set transparent?

    - What is API --> Set Notifications?

    - Any plans of adding support for Please login to see this link. ?

    Keep up the good work. If this eventually replaces MMF2 built-in Mochi extensions in my Flash games, I will definitely be donating. :)

  • About getting the leaderboard data into a string, please see the attached example. I'm parsing the data with the String Parser extension. The example is fully commented, and hopefully understandable. :)

    Before compiling the example don't forget to enable the 'Use Mochiads' application property and enter your Mochi game Id. Your Mochi game Id and your Leaderboard Id must also be entered in the code (see blue comments).

    The only thing that I can't figure out, is how to convert the timestamps into proper human-readable dates. The first step is to truncate the last 3 digits because these timestamps are 13-digits long. After that we would need an unix timestamp converter.
    If only Dynasoft could port his TimeStamp extension to Flash. ;)

  • So, here is the next new update:

    [color:#FF0000]+ Show Click-Away-Ads now added (with custom x and y).. and you can removed the AD whenever you want !
    + You can't set the x and y coordinates in leaderboards, this is a direct-mochiads-problem (please replace all Leaderboard-Actions)... but you can change the x and y from the mochiads-extension!
    + Two Leaderboard "actions" replaced ;)
    + "cleaned the code" :D ...[/color]

    Quote

    Example: My leaderboard has only 8 score entries
    - If I request the listing of 5 scores I will get 5 score entries: that's okay
    - If I request the listing of 20 scores I will only get 7 score entries: that's bad because the 8th score entry is missing

    + Fixed, please test it ;)

    [color:#009900]Very cool, anybody can help me to written a good helpfile![/color] :)

    Download (zip-file): Please login to see this link.

    Please login to see this link.

  • The issue with the low number of score entries in the leaderboard is fixed. Thank you very much Pharanygitis!

    Quote from Pharanygitis

    + Two Leaderboard "actions" replaced

    What are these 2 actions?

    I was hoping that you fixed the issue with the "Submit score only" action, but apparently you did not. Also, I wonder if that action is supposed to work with the "isScoreSubmitted" expression?

  • Thanks Olivier for the example, I'll check it out.


    Quote from Pharanygitis

    Download (zip-file): Download the extension

    I get a "is not a valid RAR file" message. Corrupted archive?

  • Jens, I just wanted to point out that whatever Game Id is entered in the app property and in the "Connect to MochiAds" action, we can display the leaderboard data from another game if we wish by using the "getFullLBAsString$" expression. I don't know if this is intended or not, but it's definitely not a problem.

    By the way, your extension is still dependent of the "Use Mochiads" application property. ;)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!