How to set float value to offset?

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

random_berber

Member
Jul 11, 2020
37
2
68
Hi, im codding an RTM tool in c# and i have an offset with a float value how can i do?

Example of a code with bytes (the value is an integer):
ulong fov = 0x009595D5;
byte[] customFov = { 0x3F, 0x00}; //Here the value is 3F00

how to do it with a float? like this 0.01666667
i need to convert to hex and then put it?
 

Douglas Oliveira

Public Legend
Retired Staff
Local Legend
Local Hero
Local Celebrity
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Jun 5, 2015
3,915
7,504
1,268
Brasil
Hi, im codding an RTM tool in c# and i have an offset with a float value how can i do?

Example of a code with bytes (the value is an integer):
ulong fov = 0x009595D5;
byte[] customFov = { 0x3F, 0x00}; //Here the value is 3F00

how to do it with a float? like this 0.01666667
i need to convert to hex and then put it?
You posted a question and did not post it ... you ask questions in the chat, this is for useful posts / files, it is not for asking questions here
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • @ HerbL27:
    "right to be forgotten"
  • @ QM|T_JinX:
    @accurynx sorry to say i cant find it at the moment best thing to do is contact @Younis and ill a proof it when done
  • @ HerbL27:
    only know this cos i work for big british company lol
  • @ HerbL27:
    yeah i appreciate your help and support anyways, thank you
  • @ QM|T_JinX:
    ok well i didnt know that haha
  • @ QM|T_JinX:
    yea np bro wish i could help you out
  • @ HerbL27:
    here the big man is
  • @ QM|T_JinX:
    haha yea
  • @ HerbL27:
    @Younis could you please delete this account (HerbL27) and change the username for accurynx to ohhsodead instead of creating a new account
  • @ lurch6661:
    dam cc be bumping
  • @ lurch6661:
    console crunch 4 life
  • @ HerbL27:
    does the site have a discord server?
  • @ lurch6661:
    i believe not
  • @ QM|T_JinX:
    no we dont have a discord
  • @ HerbL27:
    ahh weird it should do
  • @ QM|T_JinX:
    well it is what it is i geuss
  • @ lurch6661:
    thats why lurch should be president
  • @ QM|T_JinX:
    work your way up to Admin hahaha
  • @ lurch6661:
    lol
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    thamanee is our newest member. Welcome!
  • Chat Bot:
    Yassinos is our newest member. Welcome!
  • Chat Bot:
    Thiago L121 is our newest member. Welcome!
    Chat Bot: Thiago L121 is our newest member. Welcome!