Skip to content
Guest Big Announcement

problems with dylib files

Featured Replies

  • Author

Copy and paste this exactly, and tell me what errors you get when compiling

still wont work

 

Try

%hook LevelLayer
-(int)grenades {
return 99999;
}
-(void)setGrenades:(int)fp8 {
fp8=99999;
%orig(fp8);
}
%end

and

%hook LevelLayer
-(int)grenades {
return 999999; 
}
 
-(void)setGrenades:(int)grenades {
fp8=999999;
%orig(fp8);
}
%end

it dont work 

  • Replies 38
  • Views 5.1k
  • Created
  • Last Reply

Top Posters In This Topic

 

Try

%hook LevelLayer
-(int)grenades {
return 99999;
}
-(void)setGrenades:(int)fp8 {
fp8=99999;
%orig(fp8);
}
%end

and

%hook LevelLayer
-(int)grenades {
return 999999; 
}
 
-(void)setGrenades:(int)grenades {
fp8=999999;
%orig(fp8);
}
%end

You mean "grenades=99999" and "%orig(grenades)"

still wont work

it dont work 

I said "Tell me the errors you get when compiling".  Not "Tell me is it working or naw".  READ please, so we can HELP YOU better.

Updated by Todeskuss

  • Author

You mean "grenades=99999" and "%orig(grenades)"

I said "Tell me the errors you get when compiling".  Not "Tell me is it working or naw".  READ please, so we can HELP YOU better.

look at my topic abooovveee there is a screenshot from what i get

look at my topic abooovveee there is a screenshot from what i get

I am talking about NOW. Not what happened 15 minutes ago

  • Author

I am talking about NOW. Not what happened 15 minutes ago

the same error code

the same error code

oh okay.  Well it's something at line 21 so I honestly do not think that is all of your code

  • Author

oh okay.  Well it's something at line 21 so I honestly do not think that is all of your code

this is all of it or is it maybe the fragger.plist 

look at my topic abooovveee there is a screenshot from what i get

1: Reinstall your theos from this link: https://github.com/coolstar/theos

2: change your code to this:

%hook LevelLayer
-(int)grenades {

return 999999;

}
-(void)setGrenades:(int)grenades {

%orig(999999);

}
%end

Updated by KingRalph

  • Author

1: Reinstall your theos from this link: https://github.com/coolstar/theos

2: change your code to this:

%hook LevelLayer
-(int)grenades {

return 999999;

}
-(void)setGrenades:(int)grenades {

%orig(999999);

}
%end

still the error

  • Author

1: Reinstall your theos from this link: https://github.com/coolstar/theos

2: change your code to this:

%hook LevelLayer
-(int)grenades {

return 999999;

}
-(void)setGrenades:(int)grenades {

%orig(999999);

}
%end

repo link not found

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.