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 


Question about grouped commands for floating values.

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

Joined: 02 Mar 2016
Posts: 8

PostPosted: Wed Mar 02, 2016 8:59 am    Post subject: Question about grouped commands for floating values. Reply with quote

I'm trying to memory scan some values I want to change, but the game in question has an odd scheme for it. When I went hunting for advice, the most promising bit I found was this:

"It's float data. Search as double." (this guy was a bit of a dick and never bothered to clarify it).

As someone who doesn't manage computer programming all that well, I think that means I need to select GROUPED value type, then GENERATE GROUPSCAN COMMAND with FLOATING and DOUBLE. Still can't make it work though, so if anyone can clarify this I'd appreciate it.
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Wed Mar 02, 2016 9:22 am    Post subject: Reply with quote

Choose "double" as value type (not grouped)
Back to top
View user's profile Send private message
Haarlock
How do I cheat?
Reputation: 0

Joined: 02 Mar 2016
Posts: 8

PostPosted: Wed Mar 02, 2016 9:33 am    Post subject: Reply with quote

hhhuut wrote:
Choose "double" as value type (not grouped)


Ah. I knew I was screwing something up.

So if the ingame value in question is 9953, then the CE first scan should be;

Exact Value / Double / Truncated with a value of 19906, right?
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Wed Mar 02, 2016 9:40 am    Post subject: Reply with quote

Best use float and double with one of the "Rounded" options (not "Trucated").

But if you see the ingame value as "9953", then you can start searching for "9953" (except you already know that there's some xor)
Back to top
View user's profile Send private message
Haarlock
How do I cheat?
Reputation: 0

Joined: 02 Mar 2016
Posts: 8

PostPosted: Wed Mar 02, 2016 10:07 am    Post subject: Reply with quote

hhhuut wrote:
Best use float and double with one of the "Rounded" options (not "Trucated").

But if you see the ingame value as "9953", then you can start searching for "9953" (except you already know that there's some xor)


Alright. So the last point that confuses me is the float and double thing. Does that mean my first scan is float and the second scan is double?
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Wed Mar 02, 2016 10:25 am    Post subject: Reply with quote

No, the scan type can't be changed durin a scan. So if you've reason to believe that the in-game value is stored as a double, then you scan for double ...
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Mar 02, 2016 11:50 am    Post subject: Reply with quote

Or, just scan for all value types...problem fixed. Very Happy
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4717

PostPosted: Wed Mar 02, 2016 2:05 pm    Post subject: Reply with quote

There are two main types of numbers to a computer: integers and floating point numbers. Integers are self-explanatory; they store numbers without decimal points and can be signed or unsigned. Byte, 2 byte, 4 byte, and 8 byte are all valid integer data types. The difference between them is that the more bytes you use to store the number, the greater maximum number you can store. 1 byte = 0-255, 2 byte = 0-65535, etc.

Floating point numbers are numbers that can have a decimal point. There are two main types of floating point numbers: single-precision (aka "float") and double-precision (aka "double"). Unlike integers, floating point numbers aren't always absolutely precise- they're approximations. Technically, they store the number as a series of powers of 2 with the exponents as a sequence of consecutive integers (bits determine which terms to include in the sum). So trying to store a number like 1/3 perfectly is impossible.

Thus, the single-precision floating point data type is for numbers which don't require that much precision (and thus take up less space). On the other hand, the double-precision floating point data type is for numbers which require a greater precision (but they take up more space).

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Haarlock
How do I cheat?
Reputation: 0

Joined: 02 Mar 2016
Posts: 8

PostPosted: Wed Mar 02, 2016 6:06 pm    Post subject: Okay, this isn't working. Reply with quote

You all have been really helpful and I've learned some new stuff, so this isn't entirely wasted. But I still can't figure out what I'm doing wrong, so I'm going to bite the bullet and go for full disclosure.

I'm trying to manipulate the Faction points in Grim Dawn, because ever since I aided the Outcast, the requirements for the Black Legion have changed so that I can't get points for them except by quests and bounties. However, I am barely 100 points above friendly with them, which means I can't use bounties and there's no combination of quests that will give enough points to raise me to respected when the bounties become available again.

As a test run, I've been attempting to manipulate my Rover standing, which now sits at 9993 points.

So if anyone more proficient with CE than me reading this knows what formula I need to manipulate the faction points, that would be appreciated.

In the meantime, I'll hunt through the forums to see what I can find.

EDIT: most of the grim dawn stuff from the search is trainer crap that I use an alternate trainer for.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4717

PostPosted: Wed Mar 02, 2016 6:35 pm    Post subject: Reply with quote

Just do the first few steps of the tutorial. It's located under the "help" menu of CE. It'll show you how to search for values even if you don't know what they are. If you need more help, there's this topic.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
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