Jump to content

Flex Code to Tweak.xm not Working


Go to solution Solved by Hell_is_Here,

12 posts in this topic

Recommended Posts

Posted

Ok guys so I wanted to make a ms hook hack

And I took the target methods from flex

The problem is the patch in flex works just fine

but the same thing in Tge tweak.xm does not work when I make the package and install it

HERES MY TWEAK.xm File;

%hook DataManager

-(int) reviveCost {

return 0;

}

-(int) powerupCoinAddictLevel {

return 10;

}

-(int) powerupFreezeLevel {

return 10;

}

-(int) powerupMagnetLevel {

return 10;

}

-(long long) allCoins {

return 100000000;

}

-(float) powerupCooldown {

return 0;

}

-(float) powerupCooldownVar {

return 0;

}

-(float) powerupShieldTime {

return 1000;

}

-(float) powerupShieldCooldown {

return 1.00003;

}

-(int) powerupShieldCost {

return 0;

}

-(int) rouletteCost {

return 0;

}

-(int) adReward {

return 5000000;

}

%end

 

Here's the flex screenshot of the patch in FLEX 2

 

 

 

24ctvti.png

Posted

Yeah

Did you hook them all in the same class? I think they're different classes and by the looks of it you hooked one class

Posted

Did u enter correct bundle id?

 

Also check your target class , is it all in the same target class?

They were all in one class and yes I put the correct identifier

Did you hook them all in the same class? I think they're different classes and by the looks of it you hooked one class

They were in the same class
Posted

Send us your project so we can see what's wrong. :)

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