Jump to content

5 posts in this topic

Recommended Posts

Posted

How to make a “slider” for non-unity? All I have is the address of the necessary function with the instruction FMOV S0, #0.5, and an understanding of which bytes to enter to edit this function. This is a FLOAT. 

Posted (edited)

MSHookFunction can only be used to hook functions. With instructions, it gets a bit more complex and I don't think there's a public tutorial or example on this.

Updated by Rook
Posted (edited)
5 hours ago, Rook said:

MSHookFunction can only be used to hook functions. With instructions, it gets a bit more complex and I don't think there's a public tutorial or example on this.

Is it even possible? What do you think? 

 

Updated by Archipunchi
Posted

Im using ImGui so it might be different from what you use.
Depending if testslide equals to whatever to whatever, then execute patchOffset.

I assume this is what you needed because you said you have an understanding of byte
 

int testslide;

ImGui::SliderInt("Test Slider", &testslide, 0, 3);

if (testslide == 1) {

patchOffset(0x001000000, "0050241EC0035FD6");;
} else (testslide == 2) {
patchOffset(0x001000000,"0090261EC0035FD6");;
} else (testslide == 3) {
patchOffset(0x001000000,"00F0271EC0035FD6");;
}

 

Posted (edited)
19 hours ago, Shrino said:

Я использую ImGui, поэтому он может отличаться от того, что используете вы.
В зависимости от того, равен ли testslide чему-либо чему угодно, затем выполните patchOffset .

Я предполагаю, что это то, что вам было нужно, потому что вы сказали, что понимаете byte
 

int testslide;

ImGui::SliderInt("Test Slider", &testslide, 0, 3);

if (testslide == 1) {

patchOffset(0x001000000, "0050241EC0035FD6");;
} else (testslide == 2) {
patchOffset(0x001000000,"0090261EC0035FD6");;
} else (testslide == 3) {
patchOffset(0x001000000,"00F0271EC0035FD6");;
}

 

Do I need to create an interface window in imgu? For this slider

Updated by Archipunchi

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