-
Posts
800 -
Joined
-
Last visited
Everything posted by AxCE
-
amm on which code tag? This one. code]/code? With the[ Sorry idk how to make it right????
-
Of course. Are you able to see them? I just took 2 pics.
-
Nice. I was about to make one. How have you hacked all characters lv 100? I mean you have to klick for every level as far as i know...
-
In the preview post is it right? Idk how to fix that:/
-
[Tweak.xm] Mission Impossible: Rogue Nation (The easiest version)
AxCE replied to Goggwell's topic in Coding Center
Thanks. -
Hello. This is like the fourth time i have a problem with this shit. So im making a patcher for HappyWheels. When i Null a void it doesnt change anything in the game. (I tried with many voids) For ex. This (its a part of my tweak.xm): %hook HomingMine-(void)explode {if(GetPrefBool(@"key3")) {}return %orig;}%end[/code]That pisses me off! Pleas Help. Thanks. I forgot. My Tweak.xm: #define PLIST_PATH @"/var/mobile/Library/Preferences/com.iosgods.happyw.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } #include <Foundation/Foundation.h> %hook Session -(float)gravity { if(GetPrefBool(@"key1")) { return -5.00f; } return %orig; } %end %hook CharacterB2D -(void)headSmash:(float)argument1 { if(GetPrefBool(@"key2")) { argument1 = 0.0f; } return %orig; } %end %hook CharacterB2D -(void)chestSmash:(float)argument2 { if(GetPrefBool(@"key2")) { argument2 = 9999999.0f; } return %orig; } %end %hook CharacterB2D -(void)pelvisSmash:(float)argument3 { if(GetPrefBool(@"key2")) { argument3 = 999999.0f; } return %orig; } %end %hook HomingMine -(void)explode { if(GetPrefBool(@"key3")) { } return %orig; } %end %hook ArrowGunRef -(bool)dontShootPlayer { if(GetPrefBool(@"key4")) { return TRUE; } return %orig; } %end %hook HarpoonGunRef -(bool)startDeactivated { if(GetPrefBool(@"key5")) { return TRUE; } return %orig; } %end /* Popup with a link Varieties of a UIAlertView Popup can be found here: http://iosgods.com/topic/13988-varieties-of-uialertview-types-to-use-in-your-tweaks-patchers/ */ %hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc. - (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app. UIAlertView *igcredits = [[uIAlertView alloc] initWithTitle:@"happyw Cheats" message:@"\nhappyw Cheats by axce for iOSGods.com" delegate:self cancelButtonTitle:@"Thanks" otherButtonTitles:@"Visit Us", nil]; [igcredits show]; [igcredits 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://iosgods.com/]]; } } %end
-
No, still nothing.
-
ok thanks.
-
What is the tag? I coulden't find it.
-
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>This text will appear under your first switch.</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>com.iosgods.happyw</string> <key>key</key> <string>key1</string> <key>label</key> <string>LowGravity</string> </dict> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>You can only die through arrow/harpoon/spikes</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>com.iosgods.happyw</string> <key>key</key> <string>key2</string> <key>label</key> <string>GodMode</string> </dict> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>This text will appear under your third switch.</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>com.iosgods.happyw</string> <key>key</key> <string>key3</string> <key>label</key> <string>Switch Text 3</string> </dict> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>This text will appear under your fourth switch.</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>com.iosgods.happyw</string> <key>key</key> <string>key4</string> <key>label</key> <string>GodMode</string> </dict> <dict> <key>cell</key> <string>PSGroupCell</string> </dict> <dict> <key>cell</key> <string>PSTextCell</string> <key>label</key> <string>Made by axce.</string> </dict> <dict> <key>action</key> <string>link</string> <key>cell</key> <string>PSButtonCell</string> <key>icon</key> <string>[email protected]</string> <key>label</key> <string>Visit iOSGods.com</string> </dict> </array> <key>title</key> <string>happyw Cheats</string> </dict> </plist> Ill try, Thanks. And btw how can i make my for ex. Tweak.xm colorful?
-
Hello. Im making a patcher for happyWheels. My tweak.xm: #define PLIST_PATH @"/var/mobile/Library/Preferences/com.iosgods.happyw.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook Session -(float)gravity { if(GetPrefBool(@"key1")) { return -5.00f; } return %orig; } %end %hook CharacterB2D -(void)headSmash:(float)argument { if(GetPrefBool(@"key2")) { argument = 9999999.9f; } return %orig; } -(void)chestSmash:(float)argument { if(GetPrefBool(@"key2")) { argument = 9999999.9f; } return %orig; } -(void)pelvisSmash:(float)argument { if(GetPrefBool(@"key2")) { argument = 999999.9f; } return %orig; } %end %hook SomethingElse -(BOOL)SomeMethod { if(GetPrefBool(@"key4")) { return TRUE; } return %orig; } %end The switcher "lowGravity" works but the godmode doesn't. Im not sure if this is the right way to put more methods in one switch but when i return those values in flex, the godmode works fine. Just the godmode switch isnt gonna change anything ingame. Please Help.
-
Oh Didn't saw it Thanks!!
-
Hello, im making a patcher. When i compile my patcher i get this error: theos/bin/lib/aliased.pm line 42. logos: warnings being treated as errors Tweak.xm:60: warning: missing %end (%hook opened at Tweak.xm:36 extends to EOF) make[2]: *** [obj/Tweak.xm.dbc43aba.o] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [happywheels.all.tweak.variables] Error 2 Iphone:/var/mobile/happywheels root# Here's my tweak.xm: #define PLIST_PATH @"/var/mobile/Library/Preferences/com.iosgods.happywheels.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook Session -(float)gravity { if(GetPrefBool(@"key1")) { return -5.00f; } return %orig; } %end %hook CharacterB2D -(void)addNeckWoundToChest { if(GetPrefBool(@"key2")) { } return %orig; } %end /* Popup with a link Varieties of a UIAlertView Popup can be found here: http://iosgods.com/topic/13988-varieties-of-uialertview-types-to-use-in-your-tweaks-patchers/ */ %hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc. - (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app. UIAlertView *igcredits = [[uIAlertView alloc] initWithTitle:@"happywheels Cheats" message:@"\nhappywheels Cheats by axce for iOSGods.com" delegate:self cancelButtonTitle:@"Thanks" otherButtonTitles:@"Visit Us", nil]; [igcredits show]; [igcredits 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://iosgods.com/]]; } } %vgvvvggtend Where is the problem? Please help.
-
Hmm..
-
Why do you have to check that i mean you also have in the code that the game thinks that you're always on the ground?
-
Yes, i can only use Flex 2 but im on my way Another question (im really new to all this so...) For ex. this header int (*speedOld)(void *self, int arg0, int arg1); I have no idea what i have to put where...im confused, because there's int and void :\ Can you help me please?
-
Thanks. Yes, ik but i can't hack by myself because i don't have a pc atm. and shmoo never made it to an tweak/patcher and i thaught that that would be a good way to learn :S (i'll not post it)
-
I am trying to make a patcher, a part of it is a source from shmoo so i can only show a part of it..(i hope so) So i wanna convert the source via armconverter.com. A part of is is offset/hex which im able to convert but the other part is that : int (*speedOld)(void *self, int arg0, int arg1); int speed(void *self, int arg0, int arg1){ if(speedOld(self, arg0, arg1)>0){ } How can i convert that? Please Help. @@DiDA @@shmoo
-
Lol i guess that was also my first game I loved it!
-
I've found the solution but i have another question. Is it alright, when i ask you in this topic or should i make a new one? My question isnt long...
-
First i tried without the second Session and it didn't worked either.? My makefile: include theos/makefiles/common.mk TWEAK_NAME = hw hw_FILES = Tweak.xm include $(THEOS_MAKE_PATH)/tweak.mk after-install:: install.exec "killall -9 SpringBoard" I have an iphone5s. Do i have to add ARCHS = armv7 arm64 TARGET = iphone:x.x:x.x ? NeverMind I found the solution Thanks for the Help.
-
I really saw almost every TuT. I wouldn't ask otherwise. void with argument -(void)setCoins:(int)argument { argument = 999999; } -(void)setHasCoins:(bool)argument { argument = TRUE; } -(void)setCoins:(id)argument { argument = [NSNumber numberWithInteger:999999]; } /* “argument” can be named anything. This is similar to returning non-void counterparts, except you name the argument and remove “return” */ Im frustrated. I tried...My tweak.xm: %hook Session -(float)gravity { return -5.0f; } %end %hook Session -(void)setGravity:(float)argument { argument = -5.00f; } %end I can install it but it doesnt change anything ingame? Help Please.
-
This is a part of my tweak.xm:%hook Session -(void)setGravity:(float) Can i return that or not? And how?