How to call client code methods from within a client defined in client code?
For this, for example, I have a Memory Reading Class, which can read the value from a process's memory at a certain address. I also have classes for managing data type from memory (I am reading about in-game 'object'. In 'Client Code' I am calculating the 'base address' of that object in memory I'm starting again my 'object class' uses a constructor which takes the 'base address' as a parameter. This is the base class, then I want to know about that object. Will be able to talk with the heart, because objects know how far a certain value is from the base address, such as 'health')
I tried to use the code like this, and he Give me an error 'Object Manager' class that can read values from memory. Class object manager: Memory (Local Communications Localplayer = New LocalCrator (this); // Other things have been omitted) // Error: In the current context, the keyword 'this' is not available < / Code>
And this, out of desperation:
class object manager: memory {local communication localplayer = new locator (object manager); // Other things have been omitted) // Error: In the current context, the keyword 'this' is not available
but to no avail. What is the best way to do this?
Because you are not in any method.
You have to declare a method to access it. Your main job call call.
If you want to set a square level field, then you have to do it in the constructor. You still declare variables in your class definition (though not in any method)
class object manager: memory {public zero mymethod} (local keyword local player = new local character (this );}}
Comments
Post a Comment