-
Posts
663 -
Joined
-
Last visited
Everything posted by Vegito
-
Help/Support Made the tweak but toggling on/off has no effect
Vegito replied to Vegito's topic in Help & Support
alright, No need to help me out if you're here to troll. It's not a wrong bundle id nor a useless tweak. Not even a wrong keyname. Maybe it's the tweak.xm which i didn't configure well. -
Help/Support Made the tweak but toggling on/off has no effect
Vegito replied to Vegito's topic in Help & Support
yes i did post it there. -
Help/Support Made the tweak but toggling on/off has no effect
Vegito posted a topic in Help & Support
Alright, i have made my tweak as well as it's preference loader.Compiled and installed it successfully, now guess what? Toggling those switches ON or oFF have no effect on the app ~_~ .... what should i do now..is this happening because i didn't configure xxx.mm properly ? -
i didn't copy any code from anywhere, i have made my tweak.xm backup on pc, i am simply copying it and pasting it here damn man thanks! let me try! i have given opening and closing parenthesis properly. It's not the opening of code block i guess.
-
%hook SSJailbreakCheck + (id)runningProcesses { if(GetPrefBool(@"kJail")) { return [NSNumber numberWithInt:0]; } return %orig; } + (int)filesExistCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)symbolicLinkCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)systemCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)fstabCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)processesCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)plistCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)inaccessibleFilesCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)cydiaCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)urlCheck { return 0; } return %orig; } + (int)jailbroken { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } %end you mean i should use %end everytime i use if(GetPrefBool(@"kXyz")? No, i compiled the tweak without any preference loader in a noob way, it started to show me errors as soon as i started with preference loader
-
hmm ,well, when i compile it , it says "you fell off the face of earth '{'
-
what if it's like this %hook SSJailbreakCheck + (id)runningProcesses { return [NSNumber numberWithInt:0]; } + (int)filesExistCheck { return 0; } + (int)symbolicLinkCheck { return 0; } + (int)systemCheck { return 0; } + (int)fstabCheck { return 0; } + (int)processesCheck { return 0; } + (int)plistCheck { return 0; } + (int)inaccessibleFilesCheck { return 0; } + (int)cydiaCheck { return 0; } + (int)urlCheck { return 0; } + (int)jailbroken { return 0; } %end Do i need to put if(GetPrefBool(@"kJail")) in every target method?
-
hmm for example, i have one class and under it are 8 targets. class is about jailbreak something bla bla and those 8 targets do the work of changing the jailbreak state. what i am trying to say is , do i need to keep putting if(GetPrefBool(@"kCoin")) in every single target? Because it's going to be a single switch for it not multiple switches
-
So now i am really confused because the tutorials about preference bundles are not of complex type. how do i attach this to preference loader. i know this--> if(GetPrefBool(@"kXyz")) my point is how am i going to implement it for example-> %hook DeviceInfoPayload_Builder - (id)setJailbroken:(BOOL)fp8 { fp8=false; return %orig; } now how do i put if(GetPrefBool(@"kXyz"))in it? you mean like this? %hook DeviceInfoPayload_Builder - (id)setJailbroken:(BOOL)fp8 { if(GetPrefBool(@"kXyz")) fp8=false; return %orig; } return %orig; } ?????
-
wth (._.) now i am having problem in making preference bundle... plus there are so many targets of a single class, do i need to add if(GetPrefBool(@"kCoin")) in every single target of the same class? I have went through the tutorial of preference bundle, but i was hoping someone may make a little complex tutorial so that everyone can get an idea of what they need to do when they encounter some mixed targets
-
-
hmm doesn't work. %hook xyz - (id)initWithUser:(id)fp8 isTypingValue:(BOOL)fp12 { fp12=false; } %end shows me this error-> Making all for tweak xzyxc... Preprocessing Tweak.xm... Compiling Tweak.xm... Tweak.xm:7:1: error: control reaches end of non-void function [-Werror,-Wreturn-type] } ^
-
Well i wanted quick response from people because i won't be here for long.
-
o oh f .... that semi colon for now , well when i compiled it, it showed no errors though all of the 3 ways showed no errors. it's just that now i am lazy to see whether it works in every single way or not lol
-
So i was trying to figure out how can i return a bool value attached to id and voids. Can you please tell me if my method is right? so this is the code-> - (void)setIsTyping:(BOOL)fp8 i Want to return it's bool value, so are these ways correct . They are mentioned below: -> 1. - (void)setIsTyping:(BOOL)fp8 { %orig(false); } or 2. - (void)setIsTyping:(BOOL)fp8 { %orig(fp8); fp8=false; } or 3. - (void)setIsTyping:(BOOL)fp8 { fp8=false %orig(fp8); } that's it... and one more question - (id)initWithUser:(id)fp8 isTypingValue:(BOOL)fp12 ? I only want to return the BOOL value. Can you please tell me how?
-
can i do this way? to make it work? - (void)setIsTyping:(BOOL)fp8 { %orig(false); } or - (void)setIsTyping:(BOOL)fp8 { %orig(fp8); fp8=false; } or - (void)setIsTyping:(BOOL)fp8 { fp8=false %orig(fp8); } ARE ALL THESE WAYS CORRECT? OR the one you told me now?
-
dayumm man, i was getting confused lmao! don't you think we need to put %orig(fp8) too? i will try this out hold on - (void)mediaBar:(id)fp8 isTyping:(BOOL)fp12 , so if it's like this all i need to do is { fp12=false; } ?
-
doesn't work man i did it already i did that already Tweak.xm:3:120: error: expected class member or base class name ...self, SEL _cmd):(BOOL) { ^ Tweak.xm:3:120: error: expected '{' or ',' Tweak.xm:3:119: error: only constructors take base initializers ...self, SEL _cmd):(BOOL) {
-
i am trying to return a bool value in mobile susbstrate hacking, %hook XYZ - (void)setIsTyping:(BOOL)fp8 ; So i want to return the bool value as false, what should i do? I would greatly appreciate if you are ready to help!!
-
Help/Support [HELP] How to edit void functions of any ios app?
Vegito replied to Vegito's topic in Help & Support
I will try it soon! thanks now i gotta go -
Liar I got only 20 points by entering your referral . This is bullshit. It asks me to logout and login again to check rewards. FreeAppLife is the best.Even when i tap on apps which i want to download , it opens up safari and instead of redirecting it to app store, it stops right there.Now it says "Sorry,we are experiencing unusually high traffic.Please try again in an hour." Lmfao. Deleting this app right now.
-
Help/Support [HELP] How to edit void functions of any ios app?
Vegito replied to Vegito's topic in Help & Support
@Laxus : Thanks man! But it's a Social Networking App and i want to disable the timer , So you're saying that if i don't put anything inside void it'll stop reloading the timer? Yes that's true void don't return anything (When i attach a photo and send it , it starts a timer of 180 seconds) So i don't want to activate the timer . It should let me send as many photos i want -
Help/Support [HELP] How to edit void functions of any ios app?
Vegito replied to Vegito's topic in Help & Support
Well i came across an important Target Method in flex but it was in void so is there any way to edit the void ? I do have Theos installed on my iPhone . Would be glad if someone could help me out! THank you { so this is how it looks --> (code) Unit for -(void)activateReloadTimer Target Class- GADSlot TargetMethod -(void)activateReloadTimer Return Value(void) - pass-through -
Help/Support [HELP] How to edit void functions of any ios app?
Vegito posted a topic in Help & Support
Well i came across an important Target Method in flex but it was in void so is there any way to edit the void ? I do have Theos installed on my iPhone . Would be glad if someone could help me out! THank you