Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Dwar
    Dwar is offline
    Veteran Dwar's Avatar
    Join Date
    2010 Mar
    Posts
    2,222
    Thanks Thanks Given 
    211
    Thanks Thanks Received 
    2,230
    Thanked in
    292 Posts
    Rep Power
    10
    Quote Originally Posted by gundulapek View Post
    make it run but not disable or kill the xtrap
    It depends from your bot. Some tricks will work with xTrap, but generally xTrap will block any access to game memory + will add your application to the signature list
    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

  2. #12
    gundulapek
    gundulapek is offline
    New member
    Join Date
    2012 Feb
    Posts
    24
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    1
    Thanked in
    1 Post
    Rep Power
    0
    Thx for your comment Dwarf, basically i just need to run SendMessage and ReadProcessMemory

    i just need to read character information to make auto pot, selection target to attack

  3. #13
    neuronet
    neuronet is offline
    Guest
    Join Date
    2012 Sep
    Posts
    3
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    3
    Thanked in
    1 Post
    Rep Power
    0
    If it's allowed to add something to your "Library"...

    Here's a function which i use for my AO Bot to read Unicode from memory and put it in a string:

    Code:
    function mem_read_unicode(Process: integer; address: integer; size: integer):string;
    var
      Wert: NativeUInt;
      name: string;
      Data: PWideChar;
    begin
      name := '';
      GetMem(Data,size);
      ReadProcessMemory(Process, ptr(address), Data, Sizeof(Data), Wert);
      name := WideCharToString(Data);
      result := name;
    end;

  4. #14
    digdo
    digdo is offline
    Inactive
    Join Date
    2017 May
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Hello i am from indonesia, sorry if my language is not good
    I just learned to make bots,
    I've tried the example you gave by using delphi XE and it worked but sy did not try it in AIKAEN.exe
    because i do not have it but i'm trying to make bot for Perfect World indo.

    I have difficulty menterjemakan some important point that is
    // Base addresses
    Game_Addr_Data ->?
    Game_Addr_Action ->?
    And some functions that use bytes such as example:
    GetDWORD (Hdl, PTR_Data + $34F70);
    HPCurr := getDWORD (Hdl, PTR_Data + $34F74);
    MPMax := getDWORD (Hdl, PTR_Data + $34F78);
    and others,
    How do you determine which bytes you should use? Is there a trick or something else.?

    Thank,

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •