Jump to content

Recommended Posts

Posted (edited)

Good afternoon, tell me please, I have a code

#include <NomadMemory2.au3>
$AdresseX = 0x001BBB90
$AdresseY = 0x12FF9F6C
Dim $OffsetX[2] = [0, 0x34]
Dim $OffsetY[2] = [0, 0x34]

While 1
    $Process = _MemoryOpen(ProcessExists("Client.exe"))
    If Not @error Then
        $ValueX = _MemoryPointerRead($AdresseX, $Process, $OffsetX, 'Float')
        $ValueY = _MemoryPointerRead($AdresseY, $Process, $OffsetY, 'Float')
        If Not @error Then ToolTip($ValueX[1], 0, 0)
        If Not @error Then ToolTip($ValueY[1], 100, 0)
        _MemoryClose($Process)
    EndIf
    Sleep(100)
WEnd

But I would like him to find the base address as in the picture

Please tell me how to do this

1.png

Edited by Jos
Fixed Codebox
  • Developers
Posted

@SeMgA,

I've fixed the codebox stuff in your post. Also ensure you have read our forum rules as this type of code is in general used for Game automation....right?

Jos 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

yes, the picture shows a link to one of the coordinates in the game,
as soon as I understand how to read it, add a second coordinate and teach the character to walk

  • Developers
Posted (edited)

As stated: 

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...