Jump to content

A new compile error...


Go to solution Solved by Amuyea,

18 posts in this topic

Recommended Posts

Posted

You need to make your other support topics "answered" :S don't leave them like that

Okay lmaooo.

Posted

#include <substrate.h>

 

%hook EvolutionAppDelegate

 

-(BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Blockheads Hack"

message:@"Made by Joka on iOSGods ^_^" delegate:nil cancelButtonTitle:@"Thank you!"

otherButtonTitles:nil];

[alert show];

[alert release];

return %orig;

}

 

%end

 

%hook Blockhead

-(bool) canFly {

return TRUE;

}

%end

 

%hook Blockhead

-(void) sufferDamage:(float)arg1 isSimulation:(bool)arg2 recoil:(bool) {

arg2 = TRUE;

arg3 = TRUE;

return %orig;

}

%end

 

%hook Blockhead

-(void) hitWithForce:(int)arg1 blockhead:(id) {

arg1 = 999999999;

return %orig;

}

%end

 

%hook Blockhead

-(bool) canUseDynamicObject:(id)arg1 {

return TRUE;

}

%end

 

%hook Blockhead

-(bool) doubleTimeUnlocked {

return TRUE;

}

%end

 

%hook Blockhead

-(float) death {

return (float)0.000000;

}

%end

 

%hook Blockhead

-(void) subtractCash:(int)arg1 {

arg1 = 0;

return %orig;

}

%end

 

%hook Blockhead

-(int) totalCash {

return 999999999;

}

%end

 

%hook TradingPost

-(int) currentBlockheadCash {

return 999999999;

}

%end

 

%hook TradePortal

-(int) currentBlockheadCash {

return 999999999;

}

%end

 

%hook Blockhead

-(bool) canCollapse {

return TRUE;

}

%end

 

%hook Blockhead

-(float) energy {

return (float)999.000000;

}

%end

 

%hook Blockhead

-(float) fullness {

return (float)999.000000;

}

%end

 

%hook Blockhead

-(void) update:(float)arg1 isSimulation:(bool) {

arg1 = (float)0.100000;

arg2 = TRUE;

return %orig;

}

%end

 

%hook Blockhead

-(bool) canMeditate {

return TRUE;

}

%end

 

%hook Blockhead

-(bool) canSleepOnSpot {

return TRUE;

}

%end

 

%hook Blockhead

-(float) happiness {

return (float)999.000000;

}

%end

 

%hook Blockhead

-(float) environmentTemperature {

return (float)50.000000;

}

%end

 

%hook Blockhead

-(float) environmentExposure {

return (float)0.000000;

}

%end

 

%hook Blockhead

-(float) environmentLight {

return (float)999.000000;

}

%end

 

%hook Blockhead

-(float) environment {

return (float)999.000000;

}

%end

 

%hook Blockhead

-(float) health {

return (float)999.000000;

}

%end

 

%hook Blockhead

-(float) drownFraction {

return (float)0.000000;

}

%end

 

%hook Blockhead

-(bool) willDieIfHitByForce:(int)arg1 {

return TRUE;

}

%end

 

%hook Blockhead

-(int) jetpackFuelCount {

return 999999999;

}

%end

 

%hook Blockhead

-(bool) jetPackIsLowOnFuel {

return TRUE;

}

%end

 

%hook Blockhead

-(int) viewRadius {

return 999;

}

%end

 

%hook Door

-(bool) canBeUsedByBlockhead:(id)arg1 {

return TRUE;

}

%end

 

%hook InteractionObject

-(bool) canBeUsedByBlockhead:(id)arg1 {

return TRUE;

}

%end

 

%hook Chest

-(bool) canBeUsedByBlockhead:(id)arg1 {

return TRUE;

}

%end

 

%hook OwnershipSign

-(bool) canBeUsedByBlockhead:(id)arg1 {

return TRUE;

}

%end

 

%hook Workbench

-(int) level {

return 20;

}

%end

 

%hook Workbench

-(int) numberOfCraftableItemsUpToCurrentLevel {

return 999999999;

}

%end

 

%hook World

-(bool) hdTexturesUnlocked {

return TRUE;

}

%end

 

%hook GameView

-(bool) hdTexturesUnlocked {

return TRUE;

}

%end

 

%hook World

-(bool) doubleTimeUnlocked {

return TRUE;

}

%end

 

%hook TradingPost

-(int) coinCount {

return 999999999;

}

%end

 

%hook TradingPost

-(void) setCoinCount:(int)arg1 {

arg1 = 999999999;

return %orig;

}

%end

 

%hook BlockheadAI

-(void) update:(float)arg1 isSimulation:(bool) {

arg1 = (float)0.100000;

arg2 = TRUE;

return %orig;

}

%end

 

 

 

 

 

 

With or without the UIAlertView, it still gives the same errors..

Posted (edited)

You still have a bunch of methods with nothing at the end of them. In the methods that you have (bool), (id), whatever at the end, you need to put something after those, even if there's nothing after it in Flex.

Updated by Pro
Posted

I see a lot of mistakes.

I don't see any :( well I think I do... That's what FlexConverter gave me...

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
×
  • 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