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 


I need help for ceserver AOBSCAN

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

Joined: 10 Jan 2025
Posts: 4

PostPosted: Fri Jan 10, 2025 9:36 am    Post subject: I need help for ceserver AOBSCAN Reply with quote

For example,I want search some HEX like
4B 00 00 00 04 00 00 00 C3 03 00 00 1A 07 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 FF FF FF FF

in ceserver.c

case CMD_AOBSCAN:
{
CeAobScanInput c;
debug_log("CESERVER: CMD_AOBSCAN\n");
if (recvall(currentsocket, &c, sizeof(c), 0) > 0)
{

int n = c.scansize;
char* data = (char*)malloc(n*2);
uint64_t* match_addr = (uint64_t*)malloc(sizeof(uint64_t) * MAX_HIT_COUNT);

if (recvall(currentsocket, data, n*2, 0)>0)
{
char* pattern = (char*)malloc(n);
char* mask = (char*)malloc(n);

memcpy(pattern, data, n);
memcpy(mask, &data[n], n);
int ret = AOBScan(c.hProcess, pattern, mask, c.start, c.end, c.inc,c.protection, match_addr);
debug_log("HIT_COUNT:%d\n", ret);
free(pattern);
free(mask);
sendall(currentsocket, &ret, 4, 0);
sendall(currentsocket, match_addr, sizeof(uint64_t)* ret, 0);
}
free(data);
free(match_addr);
}

break;
}

How can I send it to ceserver?
I use C#
Think everybody and wish you have a goodluck everyday!
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