User Tag List

Results 1 to 9 of 9

Thread: Twitter

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    DTownTony's Avatar
    Join Date
    Sep 2010
    Location
    Detroit
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking Twitter

    Hi Guys,

    Here is the Twitter extension I have been using in Pocket Ninjas. I hired Crazy_Ivan to create it and he did a spectacular job! With it you can send tweets from your game as well as screen captures.

    The .zip file contains a manual that Crazy_Ivan put together to walk you through the integration process. One thing that isn't in the manual is for it to work properly in OS 6.0+ you have to do the following after exporting your game -

    go to classes > applications > open CRunView.m

    and change the "NO" to a "YES" in the section -

    eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
    [NSNumber numberWithBool:NO],
    kEAGLDrawablePropertyRetainedBacking,
    kEAGLColorFormatRGBA8,
    kEAGLDrawablePropertyColorFormat, nil];


    Other then that its good to go! If you are an extension developer and would like to take a stab at expanding on this extension, let me know and I can send over the source.

    Again, thanks to Crazy_Ivan for doing such a good job with it!

    Hope people find it as useful as I have.

    iOSTwitter.zip

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Woo! Cheers

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thats really cool thanks. I might have a go at adding it to my app but prob best for something in the future.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Koji_Kabuto's Avatar
    Join Date
    Jul 2006
    Location
    Venezuela
    Posts
    2,851
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Great, Thanks!!!

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    EtiennePerin's Avatar
    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Great ! I mean excellent extension ! But...

    Hello there, and congratulation with this extension, this is a must have ! Be sure you'll be credited in my future games.

    However, it seems to cause major instability in my project. The tweet are working fine, I can tweet with a screen capture, no problem on the functionality.
    But a crash happen everytime I restart the frame. I compile my project on Build R257.11 (the last one)
    Here is what Xcode 4.6.2 (the last version, I downloaded it today) say when it crash :

    On the first time I launch the game it says (see the screen capture "Twiter_iOS_Crash00.jpg" joined to this post):

    libobjc.A.dylib`objc_msgSend:
    0x3be935a0: teq.w r0, #0
    0x3be935a4: beq 0x3be935e6 ; objc_msgSend + 70
    0x3be935a6: push.w {r3, r4}
    0x3be935aa: ldr r4, [r0]
    0x3be935ac: lsr.w r9, r1, #2
    0x3be935b0: ldr r3, [r4, #8]
    0x3be935b2: add.w r3, r3, #8
    0x3be935b6: ldr r12, [r3, #-8]
    0x3be935ba: and.w r9, r9, r12
    0x3be935be: ldr.w r4, [r3, r9, lsl #2] << Thread 1 : EXC_BAD_ACCESS

    Then when I relaunch it, it say (again, see the screen capture "Twiter_iOS_Crash01.jpg" joined to this post):

    // main.m
    // RuntimeIPhone
    // Created by Francois Lionet on 08/10/09.
    // Copyright __MyCompanyName__ 2009. All rights reserved.

    #import <UIKit/UIKit.h>

    int main(int argc, char *argv[])
    {
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    int retVal = UIApplicationMain(argc, argv, nil, @"RuntimeIPhoneAppDelegate"); << Thread 1 : signal SIGABRT
    [pool release];
    return retVal;
    }

    I'm not a programmer so I don't know if it's enough clues for you...

    Maybe I'm doing something wrong, I noted that, If I destroy and create the iOS Twitter object before and after the frame start and restart, the crash occure less, but still occure sometimes especially when I create the object... Would you have any recommendations, or maybe an exemple on how to use it to prevent that kind of crash?

    If you want, I can try to make a small application in wish i reproduce the bug, as an exemple.
    I run it on an iPhone4S, iOS 6.1.3, but it doesn't seems to matter as pocket ninja doesn't suffer that kind of crash on my phone.

    Hope you'll be able to help me !...
    Kind regards.
    Attached thumbnails Attached thumbnails Click image for larger version. 

Name:	Twiter_iOS_Crash01.jpg‎ 
Views:	140 
Size:	99.6 KB 
ID:	9652   Click image for larger version. 

Name:	Twiter_iOS_Crash00.jpg‎ 
Views:	140 
Size:	101.0 KB 
ID:	9653  

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    EtiennePerin's Avatar
    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll keep on making test and tell you if I find some other clues that could help.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    EtiennePerin's Avatar
    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Ok! I have some bad news for you DTownTony... :-/

    In my previous post I said :
    "I run it on an iPhone4S, iOS 6.1.3, but it doesn't seems to matter as pocket ninja doesn't suffer that kind of crash on my phone."

    I was wrong, Pocket Ninja also crash on my iPhone 4S iOS 6.1.3...

    Here is how to reproduce the bug :
    - Play pocket Ninja on an iPhone 4S, iOS 6.1.3.
    - On the game over screen, slice the twitter button.
    - Cancel your Tweet.
    - Slice the Menu Button
    => Crash.

    At first I was thinking it came from the "set should attach screenshot to :1" function.
    So I tested an app with no screenshot taken and I was wrong, the crash come from the "set initial message to" function.

    Note that the crash doesn't occure when initial message is setted, it only occure when you jump to or restart a frame.

    Hope it will help, and that you'll be able to fix it. Pocket Ninja is really nice by the way.

    PS : I just updated my MMF version to build 257.12.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    EtiennePerin's Avatar
    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ho and, I just tried Hibachi Ninja, and unfortunately for you it suffer the same problem. :-/

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    EtiennePerin's Avatar
    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation More details, again.

    Ok I had the oportunity to test Pocket Ninja on an iPhone 3GS (iOS 5.1) and an iPad 3 (iOS 5.1.1)

    And it also crash...

Similar Threads

  1. Twitter and multimedia integration
    By foyzul2002 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 30th June 2012, 07:52 AM
  2. Post to Twitter
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 15th May 2011, 03:05 PM
  3. Facebook/Twitter extension
    By Krakerman in forum Extension Development
    Replies: 2
    Last Post: 11th March 2010, 04:41 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
  •