Skip to content
Guest Big Announcement

Errors compiling Tweak.xm

Featured Replies

Making all for tweak testtweak...

Preprocessing Tweak.xm...

Compiling Tweak.xm...

Tweak.xm:4:3889: error: expected parameter declarator

Tweak.xm:4:3889: error: expected ')'

Tweak.xm:4:3869: note: to match this '('

Tweak.xm:4:4004: error: expected parameter declarator

Tweak.xm:4:4004: error: expected ')'

Tweak.xm:4:3984: note: to match this '('

Tweak.xm:4:4126: error: expected parameter declarator

Tweak.xm:4:4126: error: expected ')'

Tweak.xm:4:4103: note: to match this '('

Tweak.xm:4:4247: error: expected parameter declarator

Tweak.xm:4:4247: error: expected ')'

Tweak.xm:4:4224: note: to match this '('

Tweak.xm:4:4363: error: expected parameter declarator

Tweak.xm:4:4363: error: expected ')'

Tweak.xm:4:4343: note: to match this '('

Tweak.xm:4:4478: error: expected parameter declarator

Tweak.xm:4:4478: error: expected ')'

Tweak.xm:4:4458: note: to match this '('

Tweak.xm:4:4608: error: expected parameter declarator

Tweak.xm:4:4608: error: expected ')'

Tweak.xm:4:4589: note: to match this '('

Tweak.xm:4:4741: error: expected parameter declarator

Tweak.xm:4:4741: error: expected ')'

Tweak.xm:4:4722: note: to match this '('

Tweak.xm:4:4863: error: expected parameter declarator

Tweak.xm:4:4863: error: expected ')'

Tweak.xm:4:4842: note: to match this '('

Tweak.xm:4:4980: error: expected parameter declarator

fatal error: too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

 

 

Tweak.xm:

 

removed

 

 

Updated by Fumetsu

Solved by Todeskuss

  • Replies 36
  • Views 6.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • @@fumetsu   The errors are because of these (?) methods. Are they supposed to be like that? And you need to remove these "pass-through"

  • Go to line 114, you've done something wrong.

  • You can search the forum for that.   http://iosgods.com/topic/2674-preferencesh-file-not-found-error-when-compling-patcherhelp/

  • Author

@@fumetsu

 

The errors are because of these (?) methods. Are they supposed to be like that?

And you need to remove these "pass-through"

ja i think? dat ist how it appears in Flex2.. what do I do about dass?

  • Author

Remove it?

Okay so now I'm ending up with another error:

 

Tweak.xm:114:2: error: expected unqualified-id

{

 

 

and Tweak.xm:

 

 

removed

 

 

Updated by Fumetsu

Okay so now I'm ending up with another error:

Tweak.xm:114:2: error: expected unqualified-id

{

and Tweak.xm:

 

 

%hook PlayerData-(void) setVetoVoteCast:(bool) veto {veto=true;%orig(veto);}-(bool) vetoVoteCast { return true;}%end%hook MultiplayerController-(void) setIsPregameVeto: (bool)veto {veto=false;%orig(veto);}-(bool) isHost { return true;}%end%hook Hat-(BOOL) unlocked { return TRUE;}-(void) setUnlocked: (BOOL)hat {hat=TRUE;%orig(hat);}%end%hook Color-(BOOL) unlocked { return TRUE;}-(void) setUnlocked: (BOOL)color {color=TRUE;%orig(color);}%end%hook Character-(BOOL) unlocked { return TRUE;}-(void) setUnlocked: (BOOL)character {character=TRUE;%orig(character);}%end%hook Trail-(BOOL) unlocked { return TRUE;}-(void) setUnlocked: (BOOL)trail {trail=TRUE;%orig(trail);}%end%hook UserDataManager-(BOOL) isPowerupUnlocked {return TRUE;}-(BOOL) isHatUnlocked {return TRUE;}-(BOOL) isCharacterUnlocked {return TRUE;}-(BOOL) isTrailUnlocked {return TRUE;}%end%hook LocalUserData-(BOOL) isPowerupUnlocked {return TRUE;}-(BOOL) isHatUnlocked {return TRUE;}-(BOOL) isCharacterUnlocked {return TRUE;}-(BOOL) isTrailUnlocked {return TRUE;}%end%hook Player-(bool) isOnGreen { return false;}-(bool) hasHitGreen { return false;}%end%hook PlayerUpdateData { return false;}%end%hook WaterSprite-(unsigned int) receiveContactEvent {return 0;}%end%hook SandTrapSprite-(unsigned int) receiveContactEvent {return 0;}%end%hook LaserSprite-(unsigned int) receiveContactEvent {return 0;}%end%hook  DynamicBox-(unsigned int) receiveContactEvent {return 0;}%end%hook BoundsSprite-(unsigned int) receiveContactEvent {return 0;}%end%hook TerrainObject-(unsigned int) receiveContactEvent {return 0;}%end%hook AppDelegate-(void)applicationDidBecomeActive:(id)arg { UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Flappy Golf Cheats"                                                   message:@"Hacked by Fumetsu for iOSGods.com!!"                                                  delegate:self                                         cancelButtonTitle:@"Thanks"                                         otherButtonTitles:@"Visit Us", nil]; [credits show];[credits release]; return %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 

Go to line 114, you've done something wrong.

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.