Jump to content

NeverBeing

Senior Member
  • Posts

    160
  • Joined

  • Last visited

Posts posted by NeverBeing

  1. Already know that.

     

    Edit:

    Just use this code

    %hook AppDelegate
    
    -(BOOL) application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {
    
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"xxxx Hack"
    message:@"Hacked By xxxx" delegate:nil cancelButtonTitle:@"Enjoy!"
    otherButtonTitles:nil];
    
    [alert show];
    [alert release];
    
    return %orig;
    }
    
    %end
    This will show the popup everytime you open a game.

     

    I try to put that code on my Tweak.xm, like this

     

    %hook BBMPingLimitHelper
    
    -(bool) isLimitReached {
    	if(GetPrefBool(@"kPing")) {
    	return false;
    }
    return %orig;
    }
    %end
    
    %hook AppDelegate
    
    -(bool) application:(id) fp8 didFinishLaunchingWithOption:(id) fp12 {
    	
    	UIAlertView *alert = [[UIAlertView 
    	alloc ] initWithTitle:@"Hallo" message:@"This is test alert" delegate:nil cancelButtonTitle:@"Thanks" 
    	otherButtonTitles:nil];
    	
    	[alert show];
    	[alert release];
    	
    	return %orig;
    	
    }
    %end
    

    But I have no luck, am I missing something or wrong?

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines