Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 35
  1. #16
    yentlXD's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    35
    Reputation
    10
    Thanks
    1
    My Mood
    Chatty
    Quote Originally Posted by phj280600 View Post
    Marketplace Pointer:
    Base: "trove.exe"+00EB8F04
    Price 1: 30, 0, 1FC, 154, 0, 4
    Price 2: 30, 0, 1FC, 154, 0, 3C
    Price 3: 30, 0, 1FC, 154, 0, 74
    Price 4: 30, 0, 1FC, 154, 0, AC
    Price 5: 30, 0, 1FC, 154, 0, E4
    Price 6: 30, 0, 1FC, 154, 0, 11C

    Amount 1: 30, 0, 1FC, 154, 0, 0
    Amount 2: 30, 0, 1FC, 154, 0, 38
    Amount 3: 30, 0, 1FC, 154, 0, 70
    Amount 4: 30, 0, 1FC, 154, 0, A8
    Amount 5: 30, 0, 1FC, 154, 0, E0
    Amount 6: 30, 0, 1FC, 154, 0, 118

    Include a memory reading file then use this:

    mem := new _ClassMemory("ahk_exe trove.exe", "", hProcessCopy)
    Item1Price := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0x4)
    Item2Price := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0x3C)
    Item3Price := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0x74)
    Item4Price := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0xAC)
    Item5Price := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0xE4)
    Item6Price := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0x11C)
    Item1Amount := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0x0)
    Item2Amount := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0x38)
    Item3Amount := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0x70)
    Item4Amount := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0xA8)
    Item5Amount := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0xE0)
    Item6Amount := mem.read(mem.BaseAddress + 0x00EB8F04, "UInt", 0x30, 0x0, 0x200, 0x150, 0x0, 0x118)

    Easy.
    is this for ahk, i like python, i got some code but i'm not that familiar with working in memory.

    import psutil
    from ctypes import *
    from ctypes.wintypes import *

    def pid(PROCNAME):


    for proc in psutil.process_iter():
    if proc.name() == PROCNAME:
    return proc.pid



    from ctypes import *
    from ctypes.wintypes import *

    pid = pid("Trove.exe") #the pid of the process, aquired earlier by hand

    address = 0x0000 #where to read from while in the memory

    OpenProcess = windll.kernel32.OpenProcess
    ReadProcessMemory = windll.kernel32.ReadProcessMemory
    CloseHandle = windll.kernel32.CloseHandle


    PROCESS_ALL_ACCESS = 0x1F0FFF

    datadummy = b'.'*200
    buffer = c_char_p(datadummy)
    bufferSize = len(buffer.value)
    bytesRead = c_ulong(0)

    processHandle = OpenProcess(PROCESS_ALL_ACCESS, False, int(pid))

    print(ReadProcessMemory(processHandle, address, buffer, bufferSize, byref(bytesRead)))

    CloseHandle(processHandle)

  2. #17
    phj280600's Avatar
    Join Date
    Apr 2017
    Gender
    male
    Posts
    206
    Reputation
    10
    Thanks
    130
    My Mood
    Inspired
    Quote Originally Posted by yentlXD View Post
    is this for ahk, i like python, i got some code but i'm not that familiar with working in memory.

    import psutil
    from ctypes import *
    from ctypes.wintypes import *

    def pid(PROCNAME):


    for proc in psutil.process_iter():
    if proc.name() == PROCNAME:
    return proc.pid



    from ctypes import *
    from ctypes.wintypes import *

    pid = pid("Trove.exe") #the pid of the process, aquired earlier by hand

    address = 0x0000 #where to read from while in the memory

    OpenProcess = windll.kernel32.OpenProcess
    ReadProcessMemory = windll.kernel32.ReadProcessMemory
    CloseHandle = windll.kernel32.CloseHandle


    PROCESS_ALL_ACCESS = 0x1F0FFF

    datadummy = b'.'*200
    buffer = c_char_p(datadummy)
    bufferSize = len(buffer.value)
    bytesRead = c_ulong(0)

    processHandle = OpenProcess(PROCESS_ALL_ACCESS, False, int(pid))

    print(ReadProcessMemory(processHandle, address, buffer, bufferSize, byref(bytesRead)))

    CloseHandle(processHandle)
    Im not familiar with python at all, but i would think that its alot of the same stuff just find any memory reading library and use the pointers(they're outdated now)

  3. #18
    yentlXD's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    35
    Reputation
    10
    Thanks
    1
    My Mood
    Chatty
    waw just realised i have to do print(buffer) instead of print(ReadProcessMemory(...)).
    how did you originally get these values? ahk?

  4. #19
    Kurama<3's Avatar
    Join Date
    Dec 2018
    Gender
    male
    Posts
    108
    Reputation
    10
    Thanks
    6
    My Mood
    Dead
    Quote Originally Posted by yentlXD View Post
    waw just realised i have to do print(buffer) instead of print(ReadProcessMemory(...)).
    how did you originally get these values? ahk?
    cheat engine

  5. #20
    phj280600's Avatar
    Join Date
    Apr 2017
    Gender
    male
    Posts
    206
    Reputation
    10
    Thanks
    130
    My Mood
    Inspired
    Quote Originally Posted by Kurama<3 View Post
    cheat engine
    Indeed you need explanation on how we found them with cheat engine?

  6. #21
    yentlXD's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    35
    Reputation
    10
    Thanks
    1
    My Mood
    Chatty
    for what value did you scan?

  7. #22
    GustavKaas's Avatar
    Join Date
    Apr 2018
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    LmaoBot is right it isent so hard to make...

  8. #23
    phj280600's Avatar
    Join Date
    Apr 2017
    Gender
    male
    Posts
    206
    Reputation
    10
    Thanks
    130
    My Mood
    Inspired
    Quote Originally Posted by yentlXD View Post
    for what value did you scan?
    I scanned for a price i knew there would only be 1 of something like ganda price then picked that address did pointerscan then found the address again and rescanned the pointerscan for it. Then i just clicked around with the offsets to find the price and amount for the other items.

  9. #24
    Kurama<3's Avatar
    Join Date
    Dec 2018
    Gender
    male
    Posts
    108
    Reputation
    10
    Thanks
    6
    My Mood
    Dead
    Quote Originally Posted by GustavKaas View Post
    LmaoBot is right it isent so hard to make...
    indeed, reading is hard :3

  10. #25
    phj2806002's Avatar
    Join Date
    Jan 2019
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Kurama<3 View Post
    indeed, reading is hard :3
    Damn people from my country are supposed to be good at english ;_;

    Btw did you ever make your marketbot?

  11. #26
    Kurama<3's Avatar
    Join Date
    Dec 2018
    Gender
    male
    Posts
    108
    Reputation
    10
    Thanks
    6
    My Mood
    Dead
    Quote Originally Posted by phj2806002 View Post
    Damn people from my country are supposed to be good at english ;_;

    Btw did you ever make your marketbot?
    found a way more lucrative method of making flux that doesnt relie on economy at all ^^ cant tell what, sorry :3

    but ill most likely continue working on it whenever im bored :P
    Last edited by Kurama<3; 03-21-2019 at 12:10 AM.

  12. #27
    phj280600's Avatar
    Join Date
    Apr 2017
    Gender
    male
    Posts
    206
    Reputation
    10
    Thanks
    130
    My Mood
    Inspired
    Quote Originally Posted by Kurama<3 View Post
    found a way more lucrative method of making flux that doesnt relie on economy at all ^^ cant tell what, sorry :3

    but ill most likely continue working on it whenever im bored :P
    That's fine i don't play anymore :P

  13. #28
    Joca.'s Avatar
    Join Date
    Oct 2018
    Gender
    male
    Posts
    60
    Reputation
    10
    Thanks
    13
    I mean i still play but it would be nice to share with me but i dont mind if you dont, I can understand. (:

  14. #29
    Kurama<3's Avatar
    Join Date
    Dec 2018
    Gender
    male
    Posts
    108
    Reputation
    10
    Thanks
    6
    My Mood
    Dead
    Quote Originally Posted by Joca. View Post
    I mean i still play but it would be nice to share with me but i dont mind if you dont, I can understand. (:
    got its reasons why i wont share it :3 sry

  15. #30
    3JIOU_KOTE's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    136
    Reputation
    10
    Thanks
    566
    My Mood
    Brooding
    AOB to reliably get market prices addresses/values
    Code:
    8B 46 04 8B 4C 24 64 89 44 24 14
    Code:
    mov eax,[esi+04] ----<hook/find out what accesses memory here
    ----------------------either read eax after that, or read from pointer [esi+04]
    mov ecx,[esp+64]
    mov [esp+14],eax

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. [Question] How to make an afk bot
    By latinizinho in forum Combat Arms Coding Help & Discussion
    Replies: 23
    Last Post: 10-04-2010, 03:40 PM
  2. [Question] How to make an afk bot
    By latinizinho in forum Programming Tutorial Requests
    Replies: 4
    Last Post: 10-03-2010, 09:17 PM
  3. Can someone Make A AFK BOT for XP?
    By jaddy98 in forum CrossFire Spammers, Injectors and Multi Tools
    Replies: 10
    Last Post: 09-26-2010, 01:43 PM
  4. Someone make a afk bot ?
    By DannyVaj in forum Combat Arms Discussions
    Replies: 3
    Last Post: 03-10-2010, 11:56 PM
  5. What Programs Do You Use to Make a AFK Bot?
    By doingtimeforlife in forum Combat Arms Discussions
    Replies: 4
    Last Post: 09-24-2009, 04:11 PM