Jump to content

Tweak error?


Go to solution Solved by Rook,

6 posts in this topic

Recommended Posts

Posted (edited)

I already made this topic but it got deleted?!

 

I have a this in my tweak.xm

 

 

#import "writeData.h"

#import "Macros.h"

 

 

%ctor{

MSHookFunction((void*)(_dyld_get_image_vmaddr_slide(0) + 0x114dd0 + 1),(void*)speed,(void**)&speedOld);

}

 

(That isnt the full source)

 

And i get this errror when i make the package

 

image.jpg

Can someone help me fix this error please?

I already made this topic but it got deleted?!

 

I have a this in my tweak.xm

 

 

#import "writeData.h"

#import "Macros.h"

 

int (*speedOld)(void *self, int arg0, int arg1);

 

int speed(void *self, int arg0, int arg1){

if(speedOld(self, arg0, arg1)>0){ //if you aren't moving you'd be stuck in place with this

writeData(0x33d3a8, 0x0020c046); //trick the game into thinking its always on the ground

writeData(0x535370, 0x7047); //remove all collision

}

 

return speedOld(self, arg0, arg1);

}

 

%ctor{

MSHookFunction((void*)(_dyld_get_image_vmaddr_slide(0) + 0x114dd0 + 1),(void*)speed,(void**)&speedOld);

}

And i get this errror when i make the package

 

image.jpg

Can someone help me fix this error please?

Updated by AxCE
Guest
This topic is now 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