ByNameModding icon indicating copy to clipboard operation
ByNameModding copied to clipboard

sir Hook field There's still a problem

Open wwwww56 opened this issue 1 year ago • 8 comments

BNM::Field skillCooldown; void *(*old_CreateSkill)(int, int); void *CreateSkill(int skillT, int skillId) { auto skill = old_CreateSkill(skillT, skillId); // Get created Skill skillCooldown(skill) = 0.f; // Set skillCooldown to zero return skill; // Return modded skill }


sir this way unless。its has bug , cant use

wwwww56 avatar Oct 26 '22 05:10 wwwww56

изображение

geokar2006 avatar Oct 26 '22 09:10 geokar2006

i konw this ,NO that type problem

i hook like you,, but in game that skill button is gone ,invisible

wwwww56 avatar Oct 26 '22 09:10 wwwww56

game link:https://apkpure.com/tw/%E5%A1%94%E9%98%B2%E4%B8%89%E5%9C%8B%E5%BF%97/com.bigbull.tdsgtw

wwwww56 avatar Oct 26 '22 09:10 wwwww56

hope you can try~

wwwww56 avatar Oct 26 '22 09:10 wwwww56

because i try many days

wwwww56 avatar Oct 26 '22 09:10 wwwww56

Add a void*

example :

void * (*old_CreateSkill)(void * in,int, int); void * CreateSkill(void * in,int skillT, int skillId)

oobbb avatar Oct 26 '22 12:10 oobbb

Add a void*

example :

void * (*old_CreateSkill)(void * in,int, int); void * CreateSkill(void * in,int skillT, int skillId)

yes it has. but cant work

wwwww56 avatar Oct 26 '22 13:10 wwwww56

Add a void* example : void * (*old_CreateSkill)(void * in,int, int); void * CreateSkill(void * in,int skillT, int skillId)

yes it has. but cant work

Try to replace a new function

oobbb avatar Oct 26 '22 13:10 oobbb

Add a void* example : void * (*old_CreateSkill)(void * in,int, int); void * CreateSkill(void * in,int skillT, int skillId)

yes it has. but cant work

Try to replace a new function

i try but the same

wwwww56 avatar Oct 26 '22 22:10 wwwww56