Jump to content
Sign in to follow this  
Skidzhard

Memory Reading

Recommended Posts

Skidzhard

hey all, to who ever may be able to answer this

Im wondering how do I go about using Memoryread on an address that constantly changes and I am needing to read that change to set which if, elseif its going to use depending on result, a little example would be nice please, because at the moment, im having to place $READ_Me = _MemoryRead($Address_Me, $vPID) before my if's like example below

func

while

    $READ_Me = _MemoryRead($Address_Me, $vPID)

    if $read_me = 4 then

        do this

    elseif $read_me = 5 then

       do this

    endif

    do

      sleep(1000)

       $READ_Me = _MemoryRead($Address_Me, $vPID)

     until  $READ_Me = 7

     does

     somethings

     that's not in a if then.....

      $READ_Me = _MemoryRead($Address_Me, $vPID)

     if $READ_me = 1 then

        do this

     endif

wend

endfunc

 

please help, I think it gets stuck or confuses itself or something, am I not declaring it right?

I declare the address ME as a global at top of function, I suppose that's not correct either lol

 

Share this post


Link to post
Share on other sites
Nessie

What is the application that you are trying to manipulate? maybe there is a better way to do what you want

Hi!


My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s).

My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!   My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file

Share this post


Link to post
Share on other sites
Skidzhard

im trying to make an a little program that throws out alerts when certain things happen in my son's kids game he brought home, he is deaf, so game sounds on what to do doesn't help his situation, so I was thinking small message boxes when events occur and bits and pieces, he enjoys the game while im there and can tell him this that and the other, but can only handle so much of that lol

Edited by Skidzhard

Share this post


Link to post
Share on other sites
Nessie

I am sorry :( But i think that we can't help you, that request break the forum rules, especially:

 

Launching, automation or script interaction with games or game servers, regardless of the game.

Hi!


My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s).

My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!   My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file

Share this post


Link to post
Share on other sites
Skidzhard

ah awesome, im using this program and I don't even get help from the program forums, cause its against the rules, pathedic, thanks anyway

Share this post


Link to post
Share on other sites
Blue_Drache

*shrug*  Deaf child or not, we won't help you.  Sorry. 


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites
guinness

ah awesome, im using this program and I don't even get help from the program forums, cause its against the rules, pathedic, thanks anyway

I'm sure you set your child rules as you want them to grow up well behaved and have a decent reputation when they move on. Same here. AutoIt is the brain child of Jon and he has rules so that his child doesn't get a bad reputation on the Internet, boting and game automation are some of those things that give AutoIt a bad reputation. So saying that rules are pathetic is actually quite surprising for someone who says they're a parent. If you can't respect the Forum you have no business being here. Period.

His house, his rules!


UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Share this post


Link to post
Share on other sites
Melba23

Skidzhard,

Despite my sympathies for your son's plight, I am afraid that the replies you have received to date are correct in stating that you will receive no help here. Alas our experience with gamers has not been a happy one and so the current draconian rule has been put into place. I also hope you can appreciate that any help you were given would also be available to any other forum viewer - so that even though we might wish to help, doing so would not be permitted. Thread closed. :naughty:

Finally, I must agree with guinness' point re your attitude to our rules. I too would hope that you are bringing up your child to respect the house rules of those he visits - here is no different. ;)

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______Open Open spoiler to see 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  

×