Jump to content
  • Sky
  • Mint
  • Azure
  • Indigo
  • Blueberry
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Pomegranate
  • Ruby Red
  • Orange
  • Banana
  • Apple
  • Emerald
  • Teal
  • Chocolate
  • Slate
  • Midnight
  • Maastricht
  • Charcoal
  • Matte Black

Astronaut

Senior Member
  • Content Count

    152
  • Joined

  • Last visited

Community Reputation

464 1-UP

6 Followers

About Astronaut

  • Rank
    skrt

Profile Information

  • iDevice
    iPhone 7
  • iOS Version
    10.1.1
  • Jailbroken
    Yes
  • Rooted
    No
  • Location
    4th Dimension

Recent Profile Visitors

1,481 profile views
  1. I am trying to enable/disable my tweak in settings but won’t at all. My key is right in Root.plist. This is the code: https://ghostbin.com/paste/ajybx
  2. When compiling my package I'm greeted with this error: Tweak.xm:224:1: error: inline variables are a C++17 extension [-Werror,-Wc++17-extensions] inline int GetPrefInt(@"test") Tweak.xm:224:12: error: cannot initialize a variable of type 'int' with an rvalue of type 'NSString *' inline int GetPrefInt(@"test") ^ ~~~~~~~ Tweak.xm:224:31: error: expected ';' after top level declarator inline int GetPrefInt(@"test") My Tweak.xm inline int GetPrefInt(@"test") { return [[[NSDictionary dictionaryWithContentsOfFile:plistPath] valueForKey:key] intValue]; } %hook AHookedfun -(long long) someLong { return GetPrefInt(@"speed"); } %end
  3. In your case cracking does not mean making a paid app free. You must have the app to crack it or download it cracked from somewhere else.
  4. I’m not really sure but I think there’s a message that says Dida has to approve it.
  5. This. I put the template in my templates folder in Theos.
  6. I get an error whilst compiling my project that’s using the PFHeader template. Link to error pasted here since I’m on mobile. https://paste.ofcode.org/5TCyUumxRKEPc6Ebm8cKxR
  7. I am trying to use a void and make a switch to turn it off or on. I am not trying to return a void as a bool or id. I am simply trying to return it %orig. Example: %hook Play -(void) disableIfWatching { if(GetPrefBool (@"test")) { return %orig; } return %orig; } %end %ctor { %init(Play = objc_getClass("Hydra.WatchController")); } I have compiled it and work only when the switch is off which is the problem. I'd like it to work like a normal switch when it's on. Example of .plist: <dict> <key>action</key> <string>info</string> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>test.com</string> <key>key</key> <string>test</string> <key>label</key> <string>Testing Void Switch</string> </dict> Yes, the void does do something which is why I'd like to make it work with my preferencebundle. I have tested in Flex and it does void whatever it is supposed to do. Edit: When I remove the second %orig; from tweak.xm, it work but when the switch is off. When both %orig; are in tweak.xm, the switch doesn't work at all.
  • Recently Browsing   0 members

    No registered users viewing this page.


    • Administrator |
    • Global Moderator  |
    • Moderator  |
    • ViP Plus |
    • ViP Jailed |
    • ViP |
    • Cheater  |
    • Modder  |
    • Novice Cheater |
    • Rookie Modder |
    • Contributor |
    • Senior Member |
    • Member |
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy - Guidelines