Jump to content

Help for patcher


Go to solution Solved by Amuyea,

26 posts in this topic

Recommended Posts

  • Replies 25
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Okay copy and paste this:

 

 

%hook UserInfo
-(int)lowAimRatio {
if(GetPrefBool(@"kGuidelines")) {
return -900;
}
return %orig;
}
 
-(int)highAimRatio {
if(GetPrefBool(@"kGuidelines")) {
arg1 = 1300;
}
return %orig;
}
 
-(void) setForCue:(int)arg1 aim:(int)arg2 {
if(GetPrefBool(@"kGuidelines")) {
arg1 = 10;
arg2 = 10;
}
return %orig;
}
 
-(int) getCueAim:(int)arg1 {
if(GetPrefBool(@"kGuidelines")) {
arg1 = 10;
}
return %orig;
}
 
-(int)setLowAimRatio:(int)arg1 {
if(GetPrefBool(@"kGuidelines")) {
arg1 = -900;
}
return %orig;
}
%end
 
%hook VisualCue
 
-(BOOL) hideGuidelinesMode {
if(GetPrefBool(@"kGuidelines")) {
return FALSE;
}
return %orig;
}
 
-(BOOL) showSecondaryGuides {
if(GetPrefBool(@"kGuidelines")) {
return FALSE;
}
return %orig;
}
 
-(BOOL) enabled {
if(GetPrefBool(@"kGuidelines")) {
return FALSE;
}
return orig;
}
%end

2d290sk.png

  • Solution
Posted

 

%hook UserInfo
-(int)lowAimRatio {
if(GetPrefBool(@"kGuidelines")) {
return -900;
}
return %orig;
}
 
-(int)highAimRatio {
if(GetPrefBool(@"kGuidelines")) {
return 1300;
}
return %orig;
}
 
-(void) setForCue:(int)arg1 aim:(int)arg2 {
if(GetPrefBool(@"kGuidelines")) {
arg1 = 10;
arg2 = 10;
}
return %orig;
}
 
-(int) getCueAim:(int)arg1 {
if(GetPrefBool(@"kGuidelines")) {
arg1 = 10;
}
return %orig;
}
 
-(int)setLowAimRatio:(int)arg1 {
if(GetPrefBool(@"kGuidelines")) {
arg1 = -900;
}
return %orig;
}
%end
 
%hook VisualCue
 
-(BOOL) hideGuidelinesMode {
if(GetPrefBool(@"kGuidelines")) {
return FALSE;
}
return %orig;
}
 
-(BOOL) showSecondaryGuides {
if(GetPrefBool(@"kGuidelines")) {
return FALSE;
}
return %orig;
}
 
-(BOOL) enabled {
if(GetPrefBool(@"kGuidelines")) {
return FALSE;
}
return %orig;
}
%end
Posted

 

%hook UserInfo-(int)lowAimRatio {if(GetPrefBool(@"kGuidelines")) {return -900;}return %orig;} -(int)highAimRatio {if(GetPrefBool(@"kGuidelines")) {return 1300;}return %orig;} -(void) setForCue:(int)arg1 aim:(int)arg2 {if(GetPrefBool(@"kGuidelines")) {arg1 = 10;arg2 = 10;}return %orig;} -(int) getCueAim:(int)arg1 {if(GetPrefBool(@"kGuidelines")) {arg1 = 10;}return %orig;} -(int)setLowAimRatio:(int)arg1 {if(GetPrefBool(@"kGuidelines")) {arg1 = -900;}return %orig;}%end %hook VisualCue -(BOOL) hideGuidelinesMode {if(GetPrefBool(@"kGuidelines")) {return FALSE;}return %orig;} -(BOOL) showSecondaryGuides {if(GetPrefBool(@"kGuidelines")) {return FALSE;}return %orig;} -(BOOL) enabled {if(GetPrefBool(@"kGuidelines")) {return FALSE;}return %orig;}%end

There's more errors but I'll give u credit I'll post the other errors in another topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • 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