Skip to content

My code is as follows. I am attempting to read a pointer location using offsets and than write to them. issue is when process.get_pointer() #28

Description

@evanwheelrr

My code is as follows. I am attempting to read a pointer location using offsets and than write to them. issue is when process.get_pointer()
is called. you get the collowing error

ctypes.windll.kernel32.ReadProcessMemory(self.handle, lp_base_address, lp_buffer,
ctypes.ArgumentError: argument 2: OverflowError: int too long to convert

`from ReadWriteMemory import ReadWriteMemory

rwm = ReadWriteMemory()

Define the pointer address

#7FF7E9c400000
#00497DE0

points_pointer_address = 0x19BC7D60160+0x00497DE0

process = rwm.get_process_by_name("PieceByPiece.exe")

process.open()

points_pointer = process.get_pointer(points_pointer_address, offsets=[0xB8, 0x2F8, 0x18, 0x70, 0x20, 0x10, 0x60])
process.write(points_pointer, 500)

#while True:
#value = process.read(points_pointer)
#print(value)`

Originally posted by @evanwheelrr in pypi/warehouse#13128

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions