Jump to content
Sign in to follow this  
FaridAgl

NomadMemory UDF doesn't work on Vista & 7

Recommended Posts

FaridAgl

Hi guys.

I just made an InvokerBot for DotA that for example when user press F1 key InvokerBot will:

Send("{Q Down}")
        Send("{Q Up}")
        Send("{Q Down}")
        Send("{Q Up}")
        Send("{Q Down}")
        Send("{Q Up}")
        Send("{R Down}")
        Send("{R Up}")

to invoke Cold Snap.

It's working fine on Windows XP but when i test this on Windows Vista & 7 i noticed that the value that should be read from 6FAE8450 (it's a static address) is always 0, i checked this address with Cheat Engine and that was 1 but my code is always return 0 :mellow:

My Code to read this address:

SetPrivilege("SeDebugPrivilege", 1)
    $PID = ProcessExists("war3.exe")
    $Process = _MemoryOpen($PID)
    $Value = _MemoryRead(0x6FAE8450, $Process)
    _MemoryClose($Process)

    MsgBox(0, "", $Value)

and ofcourse include NomadMemory.au3

before you post i should say i try this:

#RequireAdmin
IsAdmin()
_Security__SetPrivilege

Remember it's working fine on XP, so code is 100% correct. some days ago when i just write the basic codes of this tool i didn't use SetPrivilege("SeDebugPrivilege", 1) and it return "" (i mean empty) but here it's returning 0!!!

Thank you all.

Edited by D4RKON3

Share this post


Link to post
Share on other sites
Melba23

D4RKON3,

Welcome to the AutoIt forum. :mellow:

Unfortunately you appear not to have read the Forum Rules before posting - please do so now. :)

I look forward to helping you in the future when you post a legitimate question. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.