 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Zarr Grandmaster Cheater
Reputation: 0
Joined: 11 Jan 2008 Posts: 915 Location: localhost
|
Posted: Thu Apr 10, 2008 8:19 pm Post subject: Quick suggestion: "x8 box" |
|
|
First off, this has probably suggested like 100 times before, but I couldn't find anything searching, so I suppose I may as well go ahead and post.
My quick suggestion for 5.5: a "x8 check box".
In many, many flash games, generally you'll have to multiply what you're searching by 8, requiring a bit of time, annoyance and half of the time a death in unpauseable flash games. Quite simply, what it would do is multiply your scan value by 8.
If you searched 5, the scanner would scan 40; if you searched 1337, the scanner would see 10696; if you searched 53,872, the scanner would see 430,976, and so on.
Though I can't program [... err.. on second thought, what programming language is this written in? ] my way out of a paper bag, I'm sure this wouldn't take a seasoned programmer like Dark Byte more than 10 minutes to add in.
Refresh if you can't see attachment.
If this has already been suggested, give me a link and I'll remove the thread. _________________
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25859 Location: The netherlands
|
Posted: Thu Apr 10, 2008 8:27 pm Post subject: |
|
|
Just do a custom scan that multiplies the given value by 8 for you
multiply by 8 custom scan script
| Code: |
[enable]
{do not change the allocnames of the following code, you are free to add new allocs though
of course then don't forget to dealloc them at [disable] as well}
alloc(checkroutine,2048)
alloc(prologue,2048)
alloc(epilogue,2048)
alloc(fastscanstepsize,4)
alloc(variablesize,4)
alloc(firstscan,4)
alloc(scantext,4) //will get the pointer to the given string
alloc(scanvalue,8) //will get the value of the input string converted to an 8-byte value
alloc(singlescanvalue,4) //will get the float type of the input
alloc(doublescanvalue,8) //will get the double type of the input
variablesize:
dd 4 //defines how many bytes get saved for each found result
fastscanstepsize:
dd 1 //defines the stepsize when using fastscan (1=no difference)
firstscan:
dd 0 //set to 1 if you want the old value to be that of the first scan
/* routines:
Hint: You can write these routines in any language you like and export them as dll's.
Then use loadlibraty and call exportfunction to use them*/
checkroutine:
/*
edx=pointer to new value
ecx=pointer to old value
*/
//example of 4-byte "exact value" scan for the value 100:
mov eax,[edx] //eax gets the new value
cmp eax,[scanvalue] //compare eax with #100, # tells the assembler to read it as a decimal instead of hex
setz al //sets al to 1 if match, 0 if false (upper bits of eax are ignored)
ret
prologue:
//You can put some code here that gets executed BEFORE the scan starts
mov eax, [scanvalue]
shl eax,3 //multiplies input value by 8
mov [scanvalue],eax
ret
epilogue:
//You can put some code here that gets executed AFTER the scan finishes
ret
[disable]
dealloc(checkroutine)
dealloc(prologue,2048)
dealloc(epilogue,2048)
dealloc(fastscanstepsize)
dealloc(variablesize)
dealloc(scantext)
dealloc(scanvalue)
dealloc(singlescanvalue)
dealloc(doublescanvalue)
|
_________________
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 |
|
 |
Zarr Grandmaster Cheater
Reputation: 0
Joined: 11 Jan 2008 Posts: 915 Location: localhost
|
Posted: Thu Apr 10, 2008 9:03 pm Post subject: |
|
|
I suppose that works too. The only problem is the values in the "value" column don't show, but, it's not too big a deal. Thanks.
I suppose the thread my as well be left up for reference. _________________
|
|
| Back to top |
|
 |
24653187 Expert Cheater
Reputation: 0
Joined: 19 Aug 2007 Posts: 214 Location: 218.255.97.194/61.18.170.???
|
Posted: Fri Apr 11, 2008 4:16 am Post subject: |
|
|
so we don't even need a x8 calculator! yay! _________________
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 |
|
 |
|
|
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
|
|