Skip to content
Guest Big Announcement

[HELP] new to making tweaks and got an error

Featured Replies

Ll8AOMn.png

control

Package: com.L33T_Pr0xY.fragger
Name: fragger
Depends: mobilesubstrate
Version: 1.0
Architecture: iphoneos-arm
Description: An awesome MobileSubstrate tweak!
Maintainer: L33T_Pr0xY
Author: L33T_Pr0xY
Section: Tweaks

**************************************************
fragger.plist

{ Filter = { Bundles = ( "com.miniclip.Fragger" ); }; }

*********************************************************
Makefile

include theos/makefiles/common.mk

TWEAK_NAME = fragger
fragger_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 SpringBoard"

*******************************************************
Tweak.xm

%hook LevelLayer
-(int) grenades {
 return 999999;
}

-(void) setGrenades:(int) fp8 {
fp8 = 999999;
%orig(fp8);
}
%end

%hook Configuration
-(void) setUnlimitedGrenades: (BOOL) fp8 {
fp8=true;
%orig(fp8);
}
%end

%hook FraggerAppDelegate
-(void)applicationDidBecomeActive:
(id)application {
UIAlertView *alert =[(UIAlertView alloc)
initWithTitle:@"Welcom to
Fragger"message:@"Hacked by L33T Pr0xY. Visit
iOSGods.com" delegate:null
cancelButtonTitle:@"Thanks!"otherButtonTitles:
nil);
[alert show];
[alert release];
}
%end

 

Solved by Rook

The error has been generated in the popup part.

 

Replace it all with this:

%hook FraggerAppDelegate
-(void)applicationDidBecomeActive:(id)application {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Welcome to Fragger" message:@"Hacked by L33T Pr0xY. Visit iOSGods.com" delegate:nil cancelButtonTitle:@"Thanks" otherButtonTitles:nil];
[alert show];
[alert release];
}
%end

Edit your makefile and add this:

include theos/makefiles/common.mk

TWEAK_NAME = fragger
fragger_FILES = Tweak.xm
fragger_FRAMEWORKS = UIKit

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 SpringBoard"

@@EvillyG00d has explained this very well here: http://iosgods.com/topic/831-tutorial-how-to-hack-using-mobile-substrate-method-hooking/

  • Solution

okay i think that helped i now have two files idk if they always look like there crypt?

 

http://imgur.com/p0Cw4Kd

You can now copy those two files and paste them in /Library/MobileSubstrate/DynamicLibraries/ to activate the hack.

 

But a better way is to make the hack a .deb file so it auto does that for you. To do this, type:

make package

or

make package install

In PuTTy.

  • Author

You can now copy those two files and paste them in /Library/MobileSubstrate/DynamicLibraries/ to activate the hack.

 

But a better way is to make the hack a .deb file so it auto does that for you. To do this, type:

make package

or

make package install

In PuTTy.

i made a .deb i putted on my repo im testing it now :)

 

 

IT WORKS thanks 

Updated by L33T_Pr0xY

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.