Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to find a negative number

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Hyena
How do I cheat?
Reputation: 0

Joined: 06 Mar 2008
Posts: 2

PostPosted: Thu Mar 06, 2008 2:58 pm    Post subject: How to find a negative number Reply with quote

Could anyone tell me how to find a negative number?

For example I want to find a memory address of -12439
Back to top
View user's profile Send private message
です
Newbie cheater
Reputation: 0

Joined: 09 Feb 2008
Posts: 20

PostPosted: Thu Mar 06, 2008 3:56 pm    Post subject: Reply with quote

Negative addresses do not exist.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25807
Location: The netherlands

PostPosted: Thu Mar 06, 2008 4:18 pm    Post subject: Reply with quote

settings->general settings->show values as if they are signed
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Thu Mar 06, 2008 5:41 pm    Post subject: Reply with quote

Owned.
Back to top
View user's profile Send private message
Hyena
How do I cheat?
Reputation: 0

Joined: 06 Mar 2008
Posts: 2

PostPosted: Fri Mar 07, 2008 2:20 am    Post subject: Reply with quote

です wrote:
Negative addresses do not exist.


Daaaa... It was quite obvious I meant an address of a negative number lol.

Anyways, how is a negative int type variable saved in memory? Bits are inverted and one additional bit is set to true/false ?
Back to top
View user's profile Send private message
24653187
Expert Cheater
Reputation: 0

Joined: 19 Aug 2007
Posts: 214
Location: 218.255.97.194/61.18.170.???

PostPosted: Fri Mar 07, 2008 10:22 am    Post subject: Reply with quote

good question.

I will give you a list:
1 byte: 256 max
2 byte: 65536 max
4 byte: 4294967296 max
8 byte: ...........
so you should minus your value with 4294967296(as the values are usually 4 byte)

which sounds like this:

1 --> 4294967296-1=4294967295 --> 4294967295

so you type 4294967295

get it?

_________________
newbies post these threads:
1. all capital letters
2. lots of exclamation marks

and these posts:
1. no punctuation marks
2. not enough information
3. post on wrong forum

and these attitudes:
1. unformal words
2. say "thanks" in 90% post
3. angry when got pissed
Back to top
View user's profile Send private message
Thlump
Grandmaster Cheater
Reputation: 0

Joined: 26 Aug 2007
Posts: 964
Location: 206.51.226.121

PostPosted: Fri Mar 07, 2008 2:30 pm    Post subject: Reply with quote

Negative numbers in 4 Bytes are exactly like the post above me.

Negative numbers in Double are different. In double, if you put -1 as a value it will stay as -1. If you put -1 as a value in 4 Bytes it will turn to 4294967295.

_________________
Symbol wrote:
LOL!
Then its not a UCE, its UWF. (Undetected Windows Form. WITH BUTTONS! Laughing )
Back to top
View user's profile Send private message
24653187
Expert Cheater
Reputation: 0

Joined: 19 Aug 2007
Posts: 214
Location: 218.255.97.194/61.18.170.???

PostPosted: Sat Mar 08, 2008 1:20 am    Post subject: Reply with quote

Thlump wrote:
Negative numbers in 4 Bytes are exactly like the post above me.

Negative numbers in Double are different. In double, if you put -1 as a value it will stay as -1. If you put -1 as a value in 4 Bytes it will turn to 4294967295.


he probably don't use double on flash 7, or he don't even need to use it, ya?


P.S the last post I posted work because:

1 byte: 00 to FF
2 byte: 0000 to FFFF
4 byte: 00000000 to FFFFFFFF
8 byte: 0000000000000000 to FFFFFFFFFFFFFFFF

addresses are 4 byte, so we usually use 4 byte

and you can minus the value by hex if you want... it could be easier, or not...

_________________
newbies post these threads:
1. all capital letters
2. lots of exclamation marks

and these posts:
1. no punctuation marks
2. not enough information
3. post on wrong forum

and these attitudes:
1. unformal words
2. say "thanks" in 90% post
3. angry when got pissed
Back to top
View user's profile Send private message
buzzah
Grandmaster Cheater
Reputation: 0

Joined: 21 Nov 2007
Posts: 787
Location: MSN

PostPosted: Sat Mar 08, 2008 1:43 am    Post subject: Reply with quote

24653187 wrote:
Thlump wrote:
Negative numbers in 4 Bytes are exactly like the post above me.

Negative numbers in Double are different. In double, if you put -1 as a value it will stay as -1. If you put -1 as a value in 4 Bytes it will turn to 4294967295.


he probably don't use double on flash 7, or he don't even need to use it, ya?


P.S the last post I posted work because:

1 byte: 00 to FF
2 byte: 0000 to FFFF
4 byte: 00000000 to FFFFFFFF
8 byte: 0000000000000000 to FFFFFFFFFFFFFFFF

addresses are 4 byte, so we usually use 4 byte

and you can minus the value by hex if you want... it could be easier, or not...


Just wandering, do you know how to convert hex codes to decimals or whatever. Like v5= 7doesn't it?

Or if you could give me a website link or whatever it would help.

_________________
PM me if you want an AQ/MQ/DF upgrade card!
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sat Mar 08, 2008 4:17 am    Post subject: Reply with quote

24653187 wrote:
Thlump wrote:
Negative numbers in 4 Bytes are exactly like the post above me.

Negative numbers in Double are different. In double, if you put -1 as a value it will stay as -1. If you put -1 as a value in 4 Bytes it will turn to 4294967295.


he probably don't use double on flash 7, or he don't even need to use it, ya?


P.S the last post I posted work because:

1 byte: 00 to FF
2 byte: 0000 to FFFF
4 byte: 00000000 to FFFFFFFF
8 byte: 0000000000000000 to FFFFFFFFFFFFFFFF

addresses are 4 byte, so we usually use 4 byte

and you can minus the value by hex if you want... it could be easier, or not...

Yea, but there are signed values and unsigned values.
unsigned values are simple, not negative, 00 in hex is 0, A in hex is 10, 10 in hex is 16, FF in hex is 255...
Signed numbers works diffrently, values within the range of 0-79 (or 2 bytes 0-7999 or 4 bytes 0-79999999, etc...) are normal and numbers within range 80-FF (or 2 bytes 0-FFFF, etc...) are being "NOT"'ed. (Logical NOT, see more about Logical Operators)
Thats also how reversed jump works.
Back to top
View user's profile Send private message
24653187
Expert Cheater
Reputation: 0

Joined: 19 Aug 2007
Posts: 214
Location: 218.255.97.194/61.18.170.???

PostPosted: Sun Mar 09, 2008 1:20 pm    Post subject: Reply with quote

buzzah wrote:
Just wandering, do you know how to convert hex codes to decimals or whatever. Like v5= 7doesn't it?

Or if you could give me a website link or whatever it would help.


no need at all, there is a hex box on the left side of search input bar.

Symbol wrote:
Yea, but there are signed values and unsigned values.
unsigned values are simple, not negative, 00 in hex is 0, A in hex is 10, 10 in hex is 16, FF in hex is 255...
Signed numbers works diffrently, values within the range of 0-79 (or 2 bytes 0-7999 or 4 bytes 0-79999999, etc...) are normal and numbers within range 80-FF (or 2 bytes 0-FFFF, etc...) are being "NOT"'ed. (Logical NOT, see more about Logical Operators)
Thats also how reversed jump works.


that's called copying, dude.

anyway, that helps, ty.

+ and - makes 0(rep)

_________________
newbies post these threads:
1. all capital letters
2. lots of exclamation marks

and these posts:
1. no punctuation marks
2. not enough information
3. post on wrong forum

and these attitudes:
1. unformal words
2. say "thanks" in 90% post
3. angry when got pissed
Back to top
View user's profile Send private message
memoryscanme
How do I cheat?
Reputation: 0

Joined: 03 Sep 2011
Posts: 2

PostPosted: Fri Sep 09, 2011 2:21 pm    Post subject: easier way of finding negative values Reply with quote

its written above the maximum value, unfortunately most programs run as byte codes which do not provide a negative value so instead of looking for the negative value look for the max value of the byte like stated above, and then use it as a base like example:
65536(2byte)
i would like it to find ie. monster rancher 2 make it the worst in nature monster
1.get the address for the monster nature(blah)(blah)
2. now when you actually get it 0 - 232 is neutral
(for further explanations ask first but it's irrelevant)
3. now i would like to make that value assume a negative value in the game
4. opt for max value of the byte (in this case its 2 byte) and then just deduct from the a reasonable amount, in MR2 the nature follows a 999 system, so if you would like your monster to be worst in nature deduct 65536 by 999

and then, amazingly this makes your monster the worst natured monster in the game
===========================================
hope this helps! ^^
Back to top
View user's profile Send private message
IceTeaMan
Newbie cheater
Reputation: 1

Joined: 23 Jul 2011
Posts: 19

PostPosted: Fri Sep 09, 2011 4:27 pm    Post subject: Re: How to find a negative number Reply with quote

Hyena wrote:
Could anyone tell me how to find a negative number?

For example I want to find a memory address of -12439


as a floating point:
C6425C00 would = -12439
or
as a double floating point:
C0C84B8000000000 would = -12439

Cheat Engine can can search for ether of these types
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites