Jump to content

Help with Ms hook


Red16

28 posts in this topic

Recommended Posts

Posted

I don’t know what I did worng here I am trying to hack a basic simple game when I try to compile this I get a lot of errors. I know iv searched and couldn’t find what I was looking for 

For errors see picture 

https://drive.google.com/file/d/1GdYgUODaAqxTF9kxtFfuz0QJOcB--5vG/view?usp=drivesdk

%hook Gem

-(int) gemvalue {

return 999;

}

 

%hook Player

- (void) setinvincible:(bool)yup {

Id = TRUE;

%orig(yup);

}

%end

 

%hook Player 

-(bool) invincible {

return TRUE;

}

%end

 

%hook Player 

-(bool) toBounce{

return TRUE;

}

%end

 

%hook Water 

-(bool) isLava{

return FALSE;

}

%end

 

%hook Water

- (void) setIsLava:(bool)yay {

Id = TRUE;

%orig(yay);

}

%end

 

%hook Player 

-(bool) onGround{

return TRUE;

}

%end

 

 

  • Replies 27
  • Created
  • Last Reply
Posted
8 minutes ago, Red16 said:

Yes I just did this

Try this ():

%hook Gem

-(int) gemvalue {
return 999;
}

%end

%hook Player 

-(bool) invincible {
return TRUE;
}

-(bool) onGround{
return TRUE;
}

-(bool) toBounce{
return TRUE;
}

%end


%hook Water 

-(bool) isLava{
return FALSE;
}

%end

 

Posted
5 minutes ago, Red16 said:

Yes I just did this

Try this:

%hook Gem
-(int) gemvalue {
return 999;
}
%end

%hook Player
- (void) setinvincible:(bool)arg1 {
arg1 = TRUE;
}
-(bool) invincible {
return TRUE;
}
-(bool) toBounce{
return TRUE;
}
-(bool) onGround{
return TRUE;
}
%end

%hook Water 
-(bool) isLava{
return FALSE;
}
- (void) setIsLava:(bool)arg1 {
arg1 = FALSE;
}
%end

 

Posted
20 minutes ago, Zahir said:

Try this ():


%hook Gem

-(int) gemvalue {
return 999;
}

%end

%hook Player 

-(bool) invincible {
return TRUE;
}

-(bool) onGround{
return TRUE;
}

-(bool) toBounce{
return TRUE;
}

%end


%hook Water 

-(bool) isLava{
return FALSE;
}

%end

 

It dosent work I get new errors it failed to make dylib file

Posted
1 minute ago, Red16 said:

It dosent work I get new errors it failed to make dylib file

Share it

Posted
15 minutes ago, Zahir said:

Share it

in .theos I do have Tweak.xm.763b6ea0.Td- for arm 64

for armv 7-Tweak.xm.a685d69c.Td

i don’t have the dylib file 

Archived

This topic is now archived and is closed to further replies.

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