FaridAgl Posted August 17, 2011 Share Posted August 17, 2011 (edited) 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 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 August 17, 2011 by D4RKON3 http://faridaghili.ir Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 17, 2011 Moderators Share Posted August 17, 2011 D4RKON3,Welcome to the AutoIt forum. 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
FaridAgl Posted August 17, 2011 Author Share Posted August 17, 2011 tnx i read the rules right now, i get it btw will you help me about reading memory in windows Vista & 7 ? http://faridaghili.ir Link to comment Share on other sites More sharing options...
Recommended Posts