Finding pointers, looking for guidance menu

These ads disappear when you log in.

Results 1 to 7 of 7
  1. #1
    SomePOEGuy's Avatar Member
    Reputation
    1
    Join Date
    Nov 2019
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)

    Finding pointers, looking for guidance

    Hey all,

    I have created a bot for buying/selling currency but it relies on client.txt, image analysis, and clipboard item data for client feedback. I am very interested in finding the pointers associated with things like the inventory, trade screen inventory, and party invites/status. This is my first time attempting to read memory values and I'm having a hard time locating even the temporary addresses for any of these attributes. I'm following simple youtube guides for searching known values using cheat engine but coming up empty.

    Can anyone point me in the correct direction on how this data may present in memory or what I need to do to locate it?

    Please forgive my ignorance, I'm just an amateur trying to step up my game

  2. #2
    Sychotix's Avatar Moderator CoreCoins User Authenticator enabled
    Reputation
    1140
    Join Date
    Apr 2006
    Posts
    3,365
    Thanks G/R
    181/318
    Trade Feedback
    1 (100%)
    Originally Posted by SomePOEGuy View Post
    Hey all,

    I have created a bot for buying/selling currency but it relies on client.txt, image analysis, and clipboard item data for client feedback. I am very interested in finding the pointers associated with things like the inventory, trade screen inventory, and party invites/status. This is my first time attempting to read memory values and I'm having a hard time locating even the temporary addresses for any of these attributes. I'm following simple youtube guides for searching known values using cheat engine but coming up empty.

    Can anyone point me in the correct direction on how this data may present in memory or what I need to do to locate it?

    Please forgive my ignorance, I'm just an amateur trying to step up my game
    Why reinvent the wheel? PoEHUD/ExileAPI have a lot of the offsets you would probably need. That said, if you ever plan on selling the bot, it is bad business to rely on them to update your offsets. If they decide to take a break or stop altogether, you're out of luck.

    There are plenty of examples of reading memory and finding pointer addresses out there. Again, why reinvent the wheel?

  3. #3
    SomePOEGuy's Avatar Member
    Reputation
    1
    Join Date
    Nov 2019
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Originally Posted by Sychotix View Post
    Why reinvent the wheel? PoEHUD/ExileAPI have a lot of the offsets you would probably need. That said, if you ever plan on selling the bot, it is bad business to rely on them to update your offsets. If they decide to take a break or stop altogether, you're out of luck.

    There are plenty of examples of reading memory and finding pointer addresses out there. Again, why reinvent the wheel?
    Like you mentioned in your first point, if I just pull the pointers and offsets out of another tool I haven't learned how they were retrieved originally and I won't be able to find other attributes in this or other games in the future. I'd like to use this as an opportunity to learn these skills.

    I've been following examples for reading memory, I just haven't had success with locating any of the data I've been searching for.

    I will continue researching and testing, I appreciate your time!

  4. #4
    hoilori's Avatar Member
    Reputation
    3
    Join Date
    Nov 2010
    Posts
    10
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Originally Posted by SomePOEGuy View Post
    Like you mentioned in your first point, if I just pull the pointers and offsets out of another tool I haven't learned how they were retrieved originally and I won't be able to find other attributes in this or other games in the future. I'd like to use this as an opportunity to learn these skills.

    I've been following examples for reading memory, I just haven't had success with locating any of the data I've been searching for.

    I will continue researching and testing, I appreciate your time!
    Your best bet is to look at ExileApi source code and see how they do pattern scanning etc.

    You also want to look at how ExileApi loads different DataStructs from PoE memory.

  5. #5
    SomePOEGuy's Avatar Member
    Reputation
    1
    Join Date
    Nov 2019
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    I have been digging into the source code and have learned quite a bit. I have a long way to go but I feel like i am finally getting somewhere.

    Thanks again guys!

  6. #6
    SomePOEGuy's Avatar Member
    Reputation
    1
    Join Date
    Nov 2019
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Massive respect for the people who have figured this stuff out, i am driving myself crazy.

    I noticed the chat messages in exileAPI are not populating so i thought i would try to figure it out and implement a fix, I have been trying to get the entity list containing all the chat messages for a few days now. I am able to locate the individual messages in cheat engine but i am not able to trace them back to any sort of list.

    The first thing i did was subtract the addresses from each message to see if they were a consistent distance apart which was not the case, next i tried to compare the pointer scans from each message to see if i could locate a base + offset combination that was similar between each message. I did find a few pointers where the base address and the first 3 offsets matched but the final two offsets were different and i am unsure if/how they relate to each other.




    I then decided to see if i could figure it out from the opcodes / instructions

    cheat engine returns 3 addresses for each individual chat message, when i check each address to find out what accesses it only one of the addresses returns a result. This result appears after a new message is added to the chat window. Each message contains the same instructions:



    I thought maybe new messages are passed through r8 so i sent a new message and checked it for any change, no dice. r8 is assigned from rdi so i checked it for change as well with no success.

    Anyone able to offer some guidance on what i am doing wrong / missing?

  7. #7
    Sychotix's Avatar Moderator CoreCoins User Authenticator enabled
    Reputation
    1140
    Join Date
    Apr 2006
    Posts
    3,365
    Thanks G/R
    181/318
    Trade Feedback
    1 (100%)
    Originally Posted by SomePOEGuy View Post
    Massive respect for the people who have figured this stuff out, i am driving myself crazy.

    I noticed the chat messages in exileAPI are not populating so i thought i would try to figure it out and implement a fix, I have been trying to get the entity list containing all the chat messages for a few days now. I am able to locate the individual messages in cheat engine but i am not able to trace them back to any sort of list.

    The first thing i did was subtract the addresses from each message to see if they were a consistent distance apart which was not the case, next i tried to compare the pointer scans from each message to see if i could locate a base + offset combination that was similar between each message. I did find a few pointers where the base address and the first 3 offsets matched but the final two offsets were different and i am unsure if/how they relate to each other.




    I then decided to see if i could figure it out from the opcodes / instructions

    cheat engine returns 3 addresses for each individual chat message, when i check each address to find out what accesses it only one of the addresses returns a result. This result appears after a new message is added to the chat window. Each message contains the same instructions:



    I thought maybe new messages are passed through r8 so i sent a new message and checked it for any change, no dice. r8 is assigned from rdi so i checked it for change as well with no success.

    Anyone able to offer some guidance on what i am doing wrong / missing?
    Chat messages are stored in UI elements. I'm sure there is some list somewhere... but I had difficulty tracking it down. I'd recommend throwing PoE into Ghidra as well... might give you a bit of a better idea as to what the code is doing instead of just looking at assembly.

Similar Threads

  1. WoW Closes when looking for Pointers
    By marko002 in forum WoW Memory Editing
    Replies: 13
    Last Post: 12-17-2008, 06:21 PM
  2. Looking for guy to find last name of an account
    By divajn in forum WoW Scams Help
    Replies: 3
    Last Post: 09-14-2008, 05:10 PM
  3. [Looking for help. Need help to find somethings.
    By Zaeoir in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 05-23-2008, 01:31 PM
  4. Looking for some guidance on retexturing..
    By MistressX in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 05-22-2008, 05:34 AM
  5. Looking for a M2 and cant find it.
    By Knomez in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 04-17-2008, 10:42 PM
All times are GMT -5. The time now is 09:23 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search