Jump to content

19 posts in this topic

Recommended Posts

Posted

 

Making all for tweak testtweak...

Preprocessing Tweak.xm...

Compiling Tweak.xm...

Tweak.xm:51:1: error: missing context for method declaration

- (unsigned int)getNumBallsOnTable; {

^

Tweak.xm:57:1: error: missing context for method declaration

- (unsigned int)numBallsPocketed; {

^

Tweak.xm:63:1: error: missing context for method declaration

- (BOOL)isBallPocketed:(id)fp8; {

^

Tweak.xm:69:1: error: missing context for method declaration

- (int)foulReason; {

^

Tweak.xm:75:1: error: missing context for method declaration

- (int)foulReason; {

^

Tweak.xm:81:1: error: missing context for method declaration

- (void)setFoulReason:(int)fp8 opponentName:(id)fp12; {

^

Tweak.xm:88:1: error: missing context for method declaration

- (BOOL)foulShot; {

^

Tweak.xm:95:1: error: missing context for method declaration

- (id)getFoulReasonText:(int)fp8; {

^

Tweak.xm:101:1: error: missing context for method declaration

- (void)setOpponentQuit:(BOOL)fp8; {

^

Tweak.xm:107:1: error: missing context for method declaration

- (BOOL)opponentQuit; {

^

Tweak.xm:113:1: error: missing context for method declaration

- (BOOL)isOnStateOpponentTurn; {

^

Tweak.xm:120:1: error: missing context for method declaration

- (BOOL)isOnStateOpponentTurn; {

^

Tweak.xm:127:1: error: missing context for method declaration

- (BOOL)isOnStateOpponentTurnOrJustLeftIt; {

^

13 errors generated.

 

 

http://imgur.com/CRqSGMw

Posted (edited)

Either

-(void) functionCall
Or

 

- (void)functionCall
Set the correct spaces Updated by z0ne
Posted

What's with the ';'?

 

Show us your Tweak.xm.

Posted

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.yourcompany.8ballpoolhack.plist"

 

inline bool GetPrefBool(NSString *key)

{

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

 

%hook something

 

-(int)method {

if(GetPrefBool(@"kKey")) {

return 9999999;

}

return %orig;

}

 

-(int)gems {

if(GetPrefBool(@"kGems")) {

return 9999999;

}

return %orig;

}

 

-(unsigned int)lives {

if(GetPrefBool(@"kLives")) {

return 9999999;

}

return %orig;

}

 

%end

 

%hook SomethingElse

 

-(BOOL)Autowin {

if(GetPrefBool(@"kKEY5")) {

return TRUE;

}

return %orig;

}

 

-(BOOL)Autowin2 {

if(GetPrefBool(@"kKEY6")) {

return FALSE;

}

return %orig;

}

 

%end

 

- (unsigned int)getNumBallsOnTable; {

 

return 1;

 

}

 

- (unsigned int)numBallsPocketed; {

 

return 8;

 

}

 

- (BOOL)isBallPocketed:(id)fp8; {

 

return True;

 

}

 

- (int)foulReason; {

 

return 13;

 

}

 

- (int)foulReason; {

 

return 13;

 

}

 

- (void)setFoulReason:(int)fp8 opponentName:(id)fp12; {

 

return 13;

 

}

 

 

- (BOOL)foulShot; {

 

return 13;

 

}

 

 

- (id)getFoulReasonText:(int)fp8; {

 

return 13;

 

}

 

- (void)setOpponentQuit:(BOOL)fp8; {

 

return True;

 

}

 

- (BOOL)opponentQuit; {

 

return True;

 

}

 

- (BOOL)isOnStateOpponentTurn; {

 

return False;

 

}

 

 

- (BOOL)isOnStateOpponentTurn; {

 

return false;

 

}

 

 

- (BOOL)isOnStateOpponentTurnOrJustLeftIt; {

 

return false;

 

}

 

 

 

 

%hook AppDelegate

 

-(void)applicationDidBecomeActive:(id)arg {

 

UIAlertView *credits = [[uIAlertView alloc] initWithTitle:@"@@8Ball PoolHack@@ Cheats"

message:@"Hacked by @@@Salman1700@@ for iOSGods.com!"

delegate:self

cancelButtonTitle:@"Thanks"

otherButtonTitles:@"Visit Us", nil];

[credits show];

[credits release];

%orig();

}

 

%new

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {

 

NSString *button = [alertView buttonTitleAtIndex:buttonIndex];

 

if([button isEqualToString:@"Visit Us"])

{

[[uIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.iOSGods.com/]];

}

}

%end

Posted

Why do you have ';' after your method?

Posted

No help :(

Just remove the ; from the method

- (unsigned int)numBallsPocketed {

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Demon RPG v1.12 [ +10 Cheats ] Currency Max
      Modded/Hacked App: Demon RPG By SeHyeon Im
      Bundle ID: com.Owings.DemonRPG
      App Store Link: https://apps.apple.com/us/app/demon-rpg/id1476965737?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Gold Increaser
      - OFFLINE-REWARD
      - HP Freeze
      Stats / Just Upgrade
      - ATK MAX
      - HP MAX
      - DEF MAX
      - CRITI-ATK
      - DMG-RED
      - HP-REG
      • 0 replies
    • Demon RPG v1.12 [ +10 Jailed ] Currency Max
      Modded/Hacked App: Demon RPG By SeHyeon Im
      Bundle ID: com.Owings.DemonRPG
      App Store Link: https://apps.apple.com/us/app/demon-rpg/id1476965737?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Gold Increaser
      - OFFLINE-REWARD
      - HP Freeze
      Stats / Just Upgrade
      - ATK MAX
      - HP MAX
      - DEF MAX
      - CRITI-ATK
      - DMG-RED
      - HP-REG
      • 0 replies
    • My Little Goddess : Idle RPG +3 Mods [ Damage & Defence ]
      Mod APK Game Name: My Little Goddess : Idle RPG By Pigames
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.pigames.mylittlegoddess

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Truck Simulator EVO: Drive USA v2.0 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Truck Simulator EVO: Drive USA By Marusac Alexandru Persoana Fizica Autorizata
      Bundle ID: com.ovilex.truckerzoneamericanroadways
      App Store Link: https://apps.apple.com/us/app/truck-simulator-evo-drive-usa/id6748637350?uo=4

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gold
      • 1 reply
    • Truck Simulator EVO: Drive USA v2.0 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Truck Simulator EVO: Drive USA By Marusac Alexandru Persoana Fizica Autorizata
      Bundle ID: com.ovilex.truckerzoneamericanroadways
      App Store Link: https://apps.apple.com/us/app/truck-simulator-evo-drive-usa/id6748637350?uo=4

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gold
        • Like
      • 1 reply
    • Solitaire Truck Deluxe v3.2.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Solitaire Truck Deluxe By Beijing Multipoint Unlimited Network Technology Co., Ltd.
      Bundle ID: com.duole.solitaire.zen.home.design.patience.free.card.games
      App Store Link: https://apps.apple.com/us/app/solitaire-truck-deluxe/id6464568524?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Gems
      - Unlimited Wrench
      - Unlimited Undo
      - Unlimited Hints
      • 1 reply
    • Solitaire Truck Deluxe v3.2.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Solitaire Truck Deluxe By Beijing Multipoint Unlimited Network Technology Co., Ltd.
      Bundle ID: com.duole.solitaire.zen.home.design.patience.free.card.games
      App Store Link: https://apps.apple.com/us/app/solitaire-truck-deluxe/id6464568524?uo=4
       

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Gems
      - Unlimited Wrench
      - Unlimited Undo
      - Unlimited Hints
        • Like
      • 0 replies
    • DRAGON BALL Z DOKKAN BATTLE Japan (ドラゴンボールZ ドッカンバトル) v6.2.5 +7 Cheats!
      Modded/Hacked App: ドラゴンボールZ ドッカンバトル By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcogames.BNGI0211
      iTunes Link: https://itunes.apple.com/jp/app/ドラゴンボールz-ドッカンバトル/id951627670


      Hack Features
      - Unlimited HP  -  (Put .0 at the back of your value: 1000.0)
      - Unlimited Damage  -  (Put .0 at the back of your value: 1000.0)
      - Unlimited Defense  -  (Put .0 at the back of your value: 1000.0)
      - Dice Hack -  [ONLY RANGE BETWEEN 1 - 6 or it will crash]  -  (Put .0 at the back of your value: 4.0)
      - Dice Hack 1, 2, 3
      - Dice Hack 4, 5, 6
      - Auto Win Battles -> Disable if you get errors.
      PUT .0 at the back of all values!
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 8,082 replies
    • Detective S: Mystery Puzzle v1.21.4 [ +4 APK MOD ] Currency Freeze
      Mod APK Game Name: Detective S: Mystery Puzzle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.rawhand.dts.gl&hl=en

      🤩 Hack Features

      - Diamond Freeze
      - Gold Freeze
      - Heart Freeze
      - Fragment Freeze
        • Informative
      • 0 replies
    • Detective S: Mystery Game v1.21.3 [ +5 Cheats ] Currency Freeze
      Modded/Hacked App: Detective S: Mystery Game By Rawhand. Inc
      Bundle ID: com.rawhand.dts.ios
      App Store Link: https://apps.apple.com/us/app/detective-s-mystery-game/id1502345814?uo=4

      🤩 Hack Features

      - Diamond Freeze
      - Gold Freeze
      - Heart Freeze
      - Heart Unlimited
      - Fragment Freeze
      • 1 reply
    • Detective S: Mystery Game v1.21.3 [ +5 Jailed ] Currency Freeze
      Modded/Hacked App: Detective S: Mystery Game By Rawhand. Inc
      Bundle ID: com.rawhand.dts.ios
      App Store Link: https://apps.apple.com/us/app/detective-s-mystery-game/id1502345814?uo=4

      🤩 Hack Features

      - Diamond Freeze
      - Gold Freeze
      - Heart Freeze
      - Heart Unlimited
      - Fragment Freeze
        • Thanks
        • Like
      • 0 replies
    • Gale Knights Idle RPG +3 Mods [ Damage + More ]
      Mod APK Game Name: Gale Knights Idle RPG By LightCON Co.,Ltd.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=net.lightcon.windidle

       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - No Skill Cooldown
        • Thanks
        • Like
      • 2 replies
×
  • 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