result of address <classMemory>RHCP Topic is solved

Ask gaming related questions (AHK v1.1 and older)
RHCP
Posts: 202
Joined: 30 Sep 2013, 10:59

Re: result of address <classMemory>RHCP

05 Mar 2021, 21:52

Can you show me the values of the address in the cheat engine memory viewer.

Select the address in cheat engine then press ctrl + b.
Then scroll up one line or two lines in the memory viewer before taking the screenshot - I want to see the bytes both before and after the address.
Do this both for the name and position values.
Make sure the display mode is in byte hex (same as the screenshot) - Right click somewhere in bottom section of the memory viewer --> Display Type --> byte hex

For example, in this example screen shot i want to see the byte values at DEADBEEF, but I scrolled up so I can see the values above and below it too.

Image
theon
Posts: 124
Joined: 23 Jun 2019, 15:39

Re: result of address <classMemory>RHCP

06 Mar 2021, 12:36

@RHCP
base addres
Spoiler
Pos
Spoiler
RHCP
Posts: 202
Joined: 30 Sep 2013, 10:59

Re: result of address <classMemory>RHCP

06 Mar 2021, 23:14

Are those screenshots above from characters that have weird values in their names?
now one more question how do i not appear who is with 65535
Sorry, I misread this before. So you just want to prevent characters with a pos of 65535 from being displayed? I assume they are dead.

Is this what you want?

Code: Select all

    string1%A_Index% := mem.readString(mem.BaseAddress + 0x55B11C,, "utf-8", Offset%A_Index%*)
    unitStringAddress%A_Index% := mem.getAddressFromOffsets(mem.BaseAddress + 0x55B11C, Offset%A_Index%*)
    life%A_Index% := mem.read(unitStringAddress%A_Index% - 0x10, "int") 

    if (life%A_Index% = 65535)
    {
        life%A_Index% := string1%A_Index% := ""
    } 
    GuiControl,,char%A_Index%, % string1%A_Index%
    GuiControl,,pos%A_Index%, %  life%A_Index%
The reason you are seeing weird characters, is I assume the unit is dead, and the string address is getting random values written to it.
theon
Posts: 124
Joined: 23 Jun 2019, 15:39

Re: result of address <classMemory>RHCP

07 Mar 2021, 06:57

@RHCP
Yes when he dies or disappears from the screen he gets 65535, it worked perfectly, one more doubt if I want an action by explo if the rat has life 30 he executes an action because he is in an index loop like I do?

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: mexican scientist and 81 guests