Jump to content

ducanhtian

Senior Member
  • Posts

    132
  • Joined

  • Last visited

Status Replies posted by ducanhtian

  1. Hi friend,

    i have read your guide create tweak simple license on this topic.

    pls help me tweak not show when game start .my ios 12.

    tks so much

  2. Hi friend,

    i have read your guide create tweak simple license on this topic.

    pls help me tweak not show when game start .my ios 12.

    tks so much

    1. ducanhtian

      ducanhtian

      so sorry :(, but pls let's me know class name? 

      this is classname : AppController/AppDelegate/UnityAppController

      Thank so much

    2. (See 6 other replies to this status update)

  3. Hi friend,

    i have read your guide create tweak simple license on this topic.

    pls help me tweak not show when game start .my ios 12.

    tks so much

  4. Hi friend,

    i have read your guide create tweak simple license on this topic.

    pls help me tweak not show when game start .my ios 12.

    tks so much

    1. ducanhtian

      ducanhtian

      Thank for your repply, i want make password for ipa game, my game PUBG Mobile, i can have change className to other but not working.

      My code:

      #import "vm_writeData.h"
      #import <Foundation/Foundation.h>
      #import <UIKit/UIKit.h>
      
      
      #define string @"iosgods_xiaov"
      
      
      
      
      UIAlertView *alert;
      %hook PubgMobilePass
      
      - (char)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 
      {
      
      
       NSString *vActivateStr = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/xiaov.txt"];
       vActivateStr= [NSString stringWithContentsOfFile:vActivateStr encoding:NSUTF8StringEncoding error:nil];
      
      
      if ([vActivateStr isEqualToString:string])
      {
      	[NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(gameActivateSucess) userInfo:nil repeats:NO];     
      	return %orig;
      }
      else
      {
      	[NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(gameActivateFailed) userInfo:nil repeats:NO];     
      	return %orig;
      }
      }
      
      
      %new -(void)gameActivateSucess {
      
      UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"title" message: @"Activated Sucess" delegate:self cancelButtonTitle:@"ok" otherButtonTitles: nil];
      [alert show];
      [alert release];
      
      }
      
      %new -(void)gameActivateFailed {
      
      alert = [[UIAlertView alloc] initWithTitle:@"Title" message:@"Please enter your password" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles: @"Login", nil];
      alert.alertViewStyle = UIAlertViewStylePlainTextInput;
      [alert show];
      [alert release];
      
      
      }
      
      
      
      
      %new - (void)alertView:alert clickedButtonAtIndex:(NSInteger)buttonIndex
      {
              if (buttonIndex == 0) {  
      
                  
              }
              if (buttonIndex == 1) {  
              
                  
                 	NSString *passwordStr = [alert textFieldAtIndex:0].text;
                  NSData *data = [passwordStr dataUsingEncoding:NSUTF8StringEncoding];
                  NSString *directoryStr = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/xiaov.txt"];
                  [data writeToFile:directoryStr atomically:YES];  //write plist
      
                  exit(0);
              }
      
      }
      
      
      
      %end

       

    2. (See 6 other replies to this status update)

×
  • 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