Jump to content

MSHOOKING AND FLEX HELP!


Go to solution Solved by AxCE,

53 posts in this topic

Recommended Posts

Posted

Hi I'm trying to hack Flappy Golf 2 with Flex! I made the template and did all that stuff and I will list the links to pics to show u how I cleaned it up. The problem is is that I install the hack but it's not actually applying to the game meaning that if I hacked all trails in Flex2 it would work in Flex2 but not my MSHOOK tweak! Why is this please help me!

1. https://m.imgur.com/RXINoqT

2. https://m.imgur.com/5QkMVfC

3. https://m.imgur.com/xlaeytu

4. https://m.imgur.com/IK9FDmw

5. https://m.imgur.com/KjydhYy

6. https://m.imgur.com/FskjIrX

7. https://m.imgur.com/wPL4Ccp

8. https://m.imgur.com/voL5fqi

 

And #9 I added :(int) to show you guys that it comes up an error when I do it too (you will understand #9 if you looked at all the other pics) sorry it's not in order of sequence!

 

9. https://m.imgur.com/VL29ewf

 

Please I'm begging you to help me. I followed all tutorials on iOSgods and I just don't know why/what i did wrong! Please help guys!

 

10. Here's the plist file just in case: http://imgur.com/LEh1252

Posted

If you're on iOS 9, add this to your makefile: 

 

XXX_LDFLAGS += -Wl,-segalign,4000

XXX = Name of your tweak

 

What are you trying to do for #9?

Posted

Remove everything before your credits popup in your Tweak.xm and do this:

#include <UIKit/UIKit.h>

%hook UserDataManager
 
-(bool)isTrailUnlocked:(int)fp8 {
return TRUE;
%orig(fp8);
 
)
 
-(bool)isCharacterUnlocked:(int)fp8 {
return TRUE;
%orig(fp8);
 
)
 

-(bool)isHatUnlocked:(int)fp8 {
return TRUE;
%orig(fp8);
 
)
 

-(bool)isPowerupUnlocked:(int)fp8 {
return TRUE;
%orig(fp8);
 
)

%end
Posted

If you're on iOS 9, add this to your makefile: 

 

XXX_LDFLAGS += -Wl,-segalign,4000

XXX = Name of your tweak
 

What are you trying to do for #9?

where do I add it? Between or top or end?
Posted

Remove everything before your credits popup in your Tweak.xm and do this:

 

#include <UIKit/UIKit.h>

%hook UserDataManager
 
-(bool)isTrailUnlocked:(int)fp8 {
return TRUE;
%orig(fp8);
 
)
 
-(bool)isCharacterUnlocked:(int)fp8 {
return TRUE;
%orig(fp8);
 
)
 

-(bool)isHatUnlocked:(int)fp8 {
return TRUE;
%orig(fp8);
 
)
 

-(bool)isPowerupUnlocked:(int)fp8 {
return TRUE;
%orig(fp8);
 
)

%end
"%end doesn't make sense in block" terminal says "tweak.xm:28 error"

Below XXX_Frameworks.

So code is fine

Posted

"%end doesn't make sense in block" terminal says "tweak.xm:28 error"

 

So code is fine

Show me what your Tweak.xm looks like now

Posted

Show me what your Tweak.xm looks like now

#include <UIKit/UIKit.h>

 

%hook UserDataManager

 

-(bool)isTrailUnlocked:(int)fp8 {

return TRUE;

%orig(fp8);

 

)

 

-(bool)isCharacterUnlocked:(int)fp8 {

return TRUE;

%orig(fp8);

 

)

 

 

-(bool)isHatUnlocked:(int)fp8 {

return TRUE;

%orig(fp8);

 

)

 

 

-(bool)isPowerupUnlocked:(int)fp8 {

return TRUE;

%orig(fp8);

 

)

 

%end

 

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"FlappyGolf2Hack" message:@"Hacked by Sunny Patel" delegate:nil cancelButtonTitle:@"Thanks" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

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