Searching for a float value

Need Help With an Existing Feature in Memory Hacking Software? Ask Here

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

Searching for a float value

Postby malstrom » Wed Oct 31, 2007 2:37 am

I was hoping to get a little further before I got stuck, but unfortunately I'm at searching for my value.

Using CE I can search for a value (Float, Exact) such as 701 and it will return values with 701 as well as decimal points such as 701.234562 ... etc.

Using MHS I search for a value (Float, Exact) and it's very exact. It only shows me addresses with 701. Using CE I found the lengthy value I wanted, and searched for it using MHS and it did find it.. but I had to use the full number.

I've tried multiple settings (Aligned, Epsilon, Smart Epsilon, etc) which haven't seemed to help.

What am I doing wrong?
malstrom
I Have A Few Questions
 
Posts: 6
Joined: Wed Oct 31, 2007 2:23 am

Postby mezzo » Wed Oct 31, 2007 6:17 am

if you are looking for a float, and set the search to EXACT and give it the value 701, it will do exactly what you asked from it... give you all the floats in memory that are 701... not 701.8789 not 701.2 not 701.00000001

I guess what you are looking for is:
search datatype: float
evaluation type: RANGE
from 701 to 702

that will give you all decimal comma numbers between 701 and 702... should do the trick..

yell if you need more help !

UPDATE: CE may be a bit more userfriendly, but MHS has way more power to it.. stick with it for a bit, you will like it.
- No thanks, I already have a penguin -
User avatar
mezzo
El Mariachi
 
Posts: 739
Joined: Mon Apr 30, 2007 10:27 pm
Location: Antwerp

Postby malstrom » Wed Oct 31, 2007 6:45 am

I did try that before and wasn't having luck. I tried it just now and it worked fine. Guess you're good luck.
Thank you for the tip.
It's too bad there wasn't a setting I could click that would give me a little more leniency on that. Re-searching for a value 10 times after moving in game each time because a little tedious putting in a number before and a number after.
malstrom
I Have A Few Questions
 
Posts: 6
Joined: Wed Oct 31, 2007 2:23 am

Postby mezzo » Wed Oct 31, 2007 7:00 am

if you're looking for x,y,z coordinates in a game (i'm just guessing that's what you want to do), you are better off first doing a float search for unknownvalue , and then doing subsearches: ie. different from before, higher and lower.

we might be able to help you more if you could give us an idea of what you are trying to do :-)
- No thanks, I already have a penguin -
User avatar
mezzo
El Mariachi
 
Posts: 739
Joined: Mon Apr 30, 2007 10:27 pm
Location: Antwerp

Postby L. Spiro » Wed Oct 31, 2007 9:48 am

Using MHS I search for a value (Float, Exact) and it's very exact.

What am I doing wrong?

Read the help file regarding Epsilon
Disable Smart Epsilon (which will not enable epsilon if the number is not at risk of having any trailing decimals) and then change Epsilon to 0.2.


Now you will find all floats between 700.8 and 701.2. Change it to another number if the window needs to be larger.



It's too bad there wasn't a setting I could click that would give me a little more leniency on that.

Yes there is; it’s right there. You just need to enter a higher number (and turn off Smart Epsilon).


L. Spiro
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby malstrom » Thu Nov 01, 2007 12:34 am

I did read the help file on Epsilon as soon as I came across this. I checked it on and off but didn't want to mess with the long number below for fear of screwing something up.
I'm still confused on Epsilon. I do try and read up on things before I post.
I read the wikipedia definition but it was a tad over my head. Here's what I've tried:

I'm trying to find the X,Y,Z location in vanguard.
Searching for 701 (float, exact) with Epsilon unchecked and using 0.2 I get 30 results. All 30 have 701 as the value. I know that my number will have decimal values after.
Going back into options I see that 0.2 actually got saved as
0.20000000000000001

I've also tried Epsilon at: .1, .3, .4, .9, 1, 2, 1.1, 1.2, 1.3, .01, .001
and my results really didn't change. I even reloaded the game and MHS thinking something was stuck.

Again just to summarize. In game the number I'm given is 701. Using the previous suggestion by mezzo of finding the float in range I know that the full number is 701.123456789 (fictitious number but length is right).
Using "Float exact" and playing with different Epsilon numbers hasn't worked for me. I know it's me that's doing something wrong, I just don't know what.

Thank you both for your help up to this point. I do like the program and want to stick with it.
Last edited by malstrom on Thu Nov 01, 2007 12:56 am, edited 1 time in total.
malstrom
I Have A Few Questions
 
Posts: 6
Joined: Wed Oct 31, 2007 2:23 am

Postby malstrom » Thu Nov 01, 2007 12:43 am

A picture is worth a thousand words?
I used 701 as the example number above. I think it's 1359 here.
I'm just working on the X loc at this point.

http://img140.imageshack.us/img140/1641/mhsse3.jpg

and the ingame information
http://img170.imageshack.us/img170/5489/locxi6.jpg
malstrom
I Have A Few Questions
 
Posts: 6
Joined: Wed Oct 31, 2007 2:23 am

Postby L. Spiro » Thu Nov 01, 2007 10:00 am

Epsilon doesn’t do anything if you don’t have it checked.


Image


L. Spiro
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby malstrom » Thu Nov 01, 2007 10:50 pm

Ok, well that makes sense. And in fact it worked great.
But now doing a sub search the results aren't the same. Is there also a setting for that?

You can see from the picture that my current location is 1365.62268...
and I'm doing a search for 1365 with no results. I'm assuming I don't have to type in the full number each time and can do like the original search.

Image
malstrom
I Have A Few Questions
 
Posts: 6
Joined: Wed Oct 31, 2007 2:23 am

Postby L. Spiro » Fri Nov 02, 2007 1:05 am

It works the same in Sub Search.

Look.
1,365.622680664 - 1,365 = 0.622680664, so an epsilon of 0.2 isn’t going to find 1,365.622680664 if you typed 1,365.

1,365.622680664 is not in range from 1,364.8 to 1,365.2, hence my software is doing exactly what you are telling it to do by not returning that value.
Either change the epsilon to 0.7 or search for 1,365.5.


L. Spiro
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby malstrom » Fri Nov 02, 2007 5:10 am

Thank you for the help. I hope I never came across saying it was the software's fault. I knew it was my error and lack of knowledge.
Looking forward to using the program more than just searching for values now. :)
malstrom
I Have A Few Questions
 
Posts: 6
Joined: Wed Oct 31, 2007 2:23 am


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron