View previous topic :: View next topic |
Author |
Message |
rajada1 Newbie cheater
Reputation: 0
Joined: 02 Jan 2017 Posts: 12
|
Posted: Fri Apr 01, 2022 4:27 pm Post subject: CE to C# |
|
|
how can i do this in c# ?
Works great with cheat engine.
the aob I already do, but I don't understand the
Description: |
|
Filesize: |
8.34 KB |
Viewed: |
1757 Time(s) |

|
|
|
Back to top |
|
 |
Frouk Grandmaster Cheater
Reputation: 5
Joined: 22 Jun 2021 Posts: 510
|
Posted: Sat Apr 02, 2022 12:23 am Post subject: Re: CE to C# |
|
|
rajada1 wrote: | how can i do this in c# ?
Works great with cheat engine.
the aob I already do, but I don't understand the
|
use google
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sat Apr 02, 2022 4:34 pm Post subject: |
|
|
There are JIT style libraries for injecting ASM with C# that you can use. Look into AsmJit or Fasm.NET and similar projects.
_________________
- Retired. |
|
Back to top |
|
 |
rajada1 Newbie cheater
Reputation: 0
Joined: 02 Jan 2017 Posts: 12
|
Posted: Sun Apr 03, 2022 7:27 am Post subject: Re: CE to C# |
|
|
Frouk wrote: | rajada1 wrote: | how can i do this in c# ?
Works great with cheat engine.
the aob I already do, but I don't understand the
|
use google |
It's not a very smart answer to ask someone on a cheat forum who has an internet connection. search on google.
Do you really think I haven't done this already?
|
|
Back to top |
|
 |
panraven Grandmaster Cheater
Reputation: 62
Joined: 01 Oct 2008 Posts: 958
|
Posted: Sun Apr 03, 2022 11:00 am Post subject: |
|
|
I try explained by my understanding, but take it with a grain of salt as it may not completely correct.
CE address symbol is like a numeric variable / expression (it can be a single word or some complex expression).
It can by dynamic evaluated by a symbol handler or keep constant as defined, like registered by 'registerSymbol'.
Here, 'jump' is a symbol as result of aob if scan successful.
In the context of AA script 'jump' is 'local' to this script only.
Now 'jump' has a numerical value, then
jump: means the address at this numerical value.
It can be think as some kind of address marker,
since AA script basically an assembler, 'jump:' tell following assembler instruction will assemble at this address marker.
'jump1' is a label, it is a local symbol still without a value.
Analog to C#, both 'jump' and 'jump1' is local variable, like
... in a function block
int jump = AOBSCAN(...) ;
int jump1 = null ; /// or int jump1
In AA, if an address marker without a value (jump1) immeatedly following an other an address marker with a value (jump) , then jump1 will be assigned as jump.
It is just like
jump1 = jump
in C#.
The 'registerSymbol' make the symbol can be 'see' outside the AA script, like make it from 'local' to 'global'.
btw, assign symbols directly seems a legacy doing... it should be not necessary now, eg. dont' need another symbol
aobscan(jump1, ...)
registerSymbol(jump1)
_________________
- Retarded. |
|
Back to top |
|
 |
|