Jump to content

ByNiggs

Member
  • Posts

    37
  • Joined

  • Last visited

Profile Information

  • iDevice
    iPhone 6s Plus
  • iOS Version
    13.4.1
  • Jailbroken
    Yes
  • Android Device
    N/A
  • Android Version
    N/A
  • Rooted
    No
  • Gender
    Male
  • Location
    My chair
  • Interests
    Coding

Recent Profile Visitors

257 profile views

ByNiggs's Achievements

Newbie

Newbie (1/14)

16

Reputation

  1. Sounds promising, might edit to express my results.
  2. Really needed this, been trying to hit senior member, but didn't know how
  3. thank you for sharing this, really help beginners like me.
  4. I've been trying to hack c-ops but overall other than the stuff already on this forum I've only done this. It's not that useful but I thought I could share it here. If you want to share this code snippet make sure to credit me. If you need the dump this is based on, don't doubt in DMing me @ Discord: Briggs#4992 [Hidden Content] I'm willing to learn more, if you have experience in this game or other games please help me learn
  5. Hey guys I'm using and iPhone 6s Plus running iOS 13.4.1 So basically I'm new into Theos/Logos and the objective-c syntax. I do have a background in other programming languages and can make my way through documentation (btw apple sucks at documenting imo). I choose Critical Ops as the app to test in, because why not lol. Basically I hooked into UnityAppController and the applicationDidBecomeActive method. Here I tried doing a simple alert box. I tried first with UIAlertView but then noticed that it was deprecated. Naturally I started using UIAlertController. I made my whole alert box and tried displaying it with the rootViewController I grabbed from the UIApplication argument that this method provides. It display for a second and then disappears, any help? My Tweak.xm %hook UnityAppController - (void) applicationDidBecomeActive:(UIApplication *) GameUIApplication { NSLog(@"Hooked into UnityAppController.applicationDidBecomeActive."); id rootViewController = GameUIApplication.delegate.window.rootViewController; UIAlertController* popupAlert = [UIAlertController alertControllerWithTitle:@"My title" message:@"My message." preferredStyle:UIAlertControllerStyleAlert]; UIAlertAction* okButton = [UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) { NSLog(@"Pressed ok button on popup."); }]; [popupAlert addAction:okButton]; [rootViewController presentViewController:popupAlert animated:YES completion:nil]; //UIAlertView* popupAlert = [[UIAlertView alloc] initWithTitle:@"My title" message:@"My message." delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil]; //[popupAlert show]; //UIWindow* mainWindow = [[GameUIApplication windows] firstObject]; %orig(GameUIApplication); } %end Video
×
  • 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