is negative HEX value possible in CE?

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
bachou
Expert Cheater
Expert Cheater
Posts: 160
Joined: Wed Mar 08, 2017 3:18 pm
Reputation: 1

is negative HEX value possible in CE?

Post by bachou »

hi sorry for the noob question but i want to ask if is it possible to create a negative value in CE
the game i'm play have this item +10% hp, i can edit to make it higher value like +13 +14 +15% etc.... but i want to make it negative like -20% HP, is it possible to do this ? if possbile , how ? :!:

JohnFK
Expert Cheater
Expert Cheater
Posts: 59
Joined: Tue Aug 29, 2017 10:50 am
Reputation: 27

Re: is negative HEX value possible in CE?

Post by JohnFK »

Yes. [Link] or Windows Calculator. Type in decimal value of your choice, take output.

-20 decimal = FFFFFFFFFFFFFFEC hex
-20 (4 bytes) = FFFFFFEC hex

Alternatively in CE enter value in decimal, right click on the item in cheat table and choose -> Show as hexdecimal

TheByteSize
Expert Cheater
Expert Cheater
Posts: 293
Joined: Sat Mar 04, 2017 7:28 am
Reputation: 236

Re: is negative HEX value possible in CE?

Post by TheByteSize »

you can also create a value like this, IIRC

mov eax,#10 //move int 10 to eax
neg eax //turn value stored in eax to negative

Post Reply

Who is online

Users browsing this forum: No registered users