[Help] Modify speed cap on the client
As the title says, i need help editing the speed cap on the localhost. I'm using HeavenMS localhost wich have speed cap removed and the max speed of it is 77777% or so, what i want is to cap it to 200% or 250%. Can anyone guide me how to do it?
Searching at Github at the HeavenMS source, Ronan says speed is INTEGER-based. But i dont get what does that means though (i'm very noob at editing the localhost) also says Addresses for it are:
380746
4c4287
54d91f
But even using Hex Editor Neo all i get is this when i try to find the first adress manually 380746, what am i supposed to do next? maybe i'm doing all wrong or thats not the way to find the correct address..
https://i.ibb.co/2k0xsP5/2019-12-14-...Editor-Neo.png
Please go easy on me i'm noob at this D:
Re: [Help] Modify speed cap on the client
The fact that the speed is integer-based means that its maximum value can be 2.147.483.647, and that it will occupy 4 bytes of data in memory.
Using the hex editor, in all those three addresses you will find the number d1 2f 01 00 (we need to consider 4 bytes because of it being an integer); data values (like numeric constants), however, are stored with their bytes inverted, which means that our number is actually 00 01 2f d1, which corresponds to decimal 77777.
This means that we can simply change that number to the one we want; if we need 200 (or 250), our number, already inverted, will be c8 00 00 00 (or fa 00 00 00).
So, what you need to do is to click on the first byte we need to edit, d1, and digit the sequence c 8 0 0 0 0 0 0 (if you want 250, it will instead be f a 0 0 0 0 0 0). I've never used Hex Editor Neo, but I assume that will be enough to overwrite the bytes.
Re: [Help] Modify speed cap on the client
Quote:
Originally Posted by
Pipotron
The fact that the speed is integer-based means that its maximum value can be 2.147.483.647, and that it will occupy 4 bytes of data in memory.Using the hex editor, in all those three addresses you will find the number d1 2f 01 00 (we need to consider 4 bytes because of it being an integer); data values (like numeric constants), however, are stored with their bytes inverted, which means that our number is actually 00 01 2f d1, which corresponds to decimal 77777.This means that we can simply change that number to the one we want; if we need 200 (or 250), our number, already inverted, will be c8 00 00 00 (or fa 00 00 00).So, what you need to do is to click on the first byte we need to edit, d1, and digit the sequence c 8 0 0 0 0 0 0 (if you want 250, it will instead be f a 0 0 0 0 0 0). I've never used Hex Editor Neo, but I assume that will be enough to overwrite the bytes.
You can't imagine how helpfull is that info to me.. I used the win7 calculator in cientific mode and you were totally right, changing the decimal of 250 to Hexadecimal it gives me a FA just as you said..! it's kinda hard to figure it at first sight but only you get used to it makes you say something like "omg really, so dumb me" Thank you so much for that, i can't just thank you enough.