 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
WndDrgn Cheater
Reputation: 0
Joined: 24 May 2015 Posts: 49
|
Posted: Sat Dec 26, 2015 9:34 pm Post subject: [CE-LIB] please help me about scan procedure |
|
|
I have write code like below, but iCountAddressesFound() still return 0.
But when i try to use cheatengine, it show 27 found address.
Why is that?
Code: |
bool sSCAN::FirstScan() {
bool _stat= false;
BSTR l_pid= ::SysAllocString(L"000002F0");
TScanOption scanOption= soExactValue;
TVariableType variableType= vtDword;
TRoundingType roundingtype= rtRounded;
BSTR scanvalue1= ::SysAllocString(L"100");
BSTR scanvalue2= ::SysAllocString(L"");
BSTR startaddress = ::SysAllocString(L"$00000000");
BSTR stopaddress = ::SysAllocString(L"$7fffffff");
bool hexadecimal= false;
bool binaryStringAsDecimal= false;
bool unicode= false;
bool casesensitive= false;
TFastScanMethod fastscanmethod= fsmNotAligned;
BSTR fastscanparameter= ::SysAllocString(L"4");
iOpenProcess(l_pid);
iInitMemoryScanner((HWND)GetCurrentProcess());
iConfigScanner(scanInclude, scanDontCare, scanExclude);
iFirstScan(scanOption, variableType,
roundingtype, scanvalue1, scanvalue2,
startaddress, stopaddress, hexadecimal, binaryStringAsDecimal,
unicode, casesensitive, fastscanmethod,
fastscanparameter);
stat= 2;
_exit:
::SysFreeString(l_pid);
::SysFreeString(scanvalue1);
::SysFreeString(scanvalue2);
::SysFreeString(startaddress);
::SysFreeString(stopaddress);
::SysFreeString(fastscanparameter);
return _stat;
}
|
|
|
Back to top |
|
 |
WndDrgn Cheater
Reputation: 0
Joined: 24 May 2015 Posts: 49
|
Posted: Sun Dec 27, 2015 7:12 pm Post subject: |
|
|
Hello, DarkByte.
Maybe can you help me please?
Because ce-lib was taken from cheatengine source.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25794 Location: The netherlands
|
Posted: Sun Dec 27, 2015 8:05 pm Post subject: |
|
|
sorry. i don't give support on it.
but perhaps you are getting the results to early
_________________
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 |
|
 |
WndDrgn Cheater
Reputation: 0
Joined: 24 May 2015 Posts: 49
|
Posted: Sun Jan 03, 2016 3:43 am Post subject: |
|
|
Dark Byte wrote: | sorry. i don't give support on it.
but perhaps you are getting the results to early |
Thanx DarkByte.
It is work.
But when i try to get the found data, the reference said that it stored in page file, so i need to load correct page first.
Then i give up.
Maybe he is not take the scanning procedure from cheatengine.
That is not what my target is.
My target is to put anything in memory, not like my old project that save anything to disk.
But funny thing is, it run at same speed. LOL
But i am not care anyway.
My goal is to build debugger, in my current memory editor project as stepping stone.
And i want to get help from cheatengine forum ....
|
|
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
|
|