StefanM Posted August 2, 2022 Share Posted August 2, 2022 I have following situation: I want to read a Memory Value from a process, which doesn't need a pointer (same location after restart of program) As there are 4 processes running, I check all for the value right now. These processes are hidden and have no visible window (cant say in the beginning which is the correct one). So, me code: #SingleInstance force #RequireAdmin SetPrivilege("SetDebugPrivilege", 1) #include <NomadMemory2.au3> #include <Array.au3> $Address=0x597800F82264 Local $aProcessList = ProcessList("lghub.exe") For $i = 1 To $aProcessList[0][0] ConsoleWrite("Prüfe PID " & $aProcessList[$i][1] & @CRLF) $process = _MemoryOpen($aProcessList[$i][1]) $value = _MemoryRead($Address , $process ) _MemoryClose($process) ConsoleWrite ( "Value " & $value & @CRLF ) Next I get following console Output: Quote Prüfe PID 53384 Value 0 Prüfe PID 19560 Value 0 Prüfe PID 53312 Value 0 Prüfe PID 60736 Value 0 The PID 60739 would be the correct, but showing 0 instead of the correct number. What do I do wrong? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 3, 2022 Moderators Share Posted August 3, 2022 StefanM, Quote These processes are hidden and have no visible window And just what are these "processes"? Why do you need to read values from their memory space? M23 P.S. And just to be absolutely clear - this is the Mod team determining the legality of the thread, so everyone else please keep out. 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...
Wisok Posted August 3, 2022 Share Posted August 3, 2022 (edited) <snip> Note for moderators, LGHUB isn't a game. It's a program for controlling mouse, keyboard and stuff. Stop asking like "why are you trying to read/write process memory" everytime. It's an udf created by popular autoit users. Nothing illegal as you think. Read & write doesn't mean game hacking and/or automating. Edited August 4, 2022 by Melba23 Some text removed StefanM 1 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 4, 2022 Moderators Share Posted August 4, 2022 Wisok, Thank you for your explanation of the OP's intentions, but I would prefer to hear his own version. And when the Mod team says "keep out", please respect their wishes in future. M23 StefanM 1 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...
Wisok Posted August 4, 2022 Share Posted August 4, 2022 1 hour ago, Melba23 said: Wisok, Thank you for your explanation of the OP's intentions, but I would prefer to hear his own version. And when the Mod team says "keep out", please respect their wishes in future. M23 "please respect their wishes in future." I already respect all the users here including moderators as well. Sometimes moderators becomes kinda annoying don't get me wrong. He clearly isn't doing anything related to game automation. I thought you could understand that at least. I know what he's trying to do, it's not game automation, you're not helping him, maybe let me help and stop deleting helpful comments? Thanks. Link to comment Share on other sites More sharing options...
Developers Jos Posted August 4, 2022 Developers Share Posted August 4, 2022 @Wisok, It seems you like to "push buttons" in a pretty unpleasant way and while at it insult us, so let me be strait and clear: This was your last post here for the coming 5 days during which period you can consider to either staying away or retuning to our forums and respecting our wishes. Jos Nine, StefanM and jchd 1 1 1 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. Link to comment Share on other sites More sharing options...
StefanM Posted August 6, 2022 Author Share Posted August 6, 2022 (edited) G Hub isnt showing anywhere in which "Profile" it is. So you need to open up the programm to see it al the time. I want to read out the memory and make then a tooltip to show which is the active profile right now. I know which value is in this location for each profile. So I can click the mouse button for chainging the profile and see the active profile without open G Hub. Logic, but not for logitech unfortunatly. They only show the DPI setting. Where all my profiles have the same. For the rest of the discussion: Dear Mods. Is it not, in case of doupt for the writer? Dont ban people who wants to help. If you see or think womething is illegal, write it. Otherwise let people help. I would rate the moderation as very bad. I dont think that anyone will write here to help and risk a ban anytime soon, as it is already an old topic, maybe none... We will see, but great moderating! This is my opionion. Edited August 6, 2022 by StefanM Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 6, 2022 Moderators Share Posted August 6, 2022 StefanM, Looking at G Hub on Google, I see: Quote Logitech G HUB Logitech G HUB Software lets you customize Logitech G gaming mice, keyboards, headsets, speakers, and other devices Reading that gives me, quite legitimately IMO, reason to think that there might be a confliction with the forum rules on gaming threads. So, very politely, I asked for an explanation of just what you were doing so we could make a reasoned decision on whether this was the case. Reading your explanation, I am of the opinion that there is no conflict and the thread can remain open. But now we come to the next point. I also asked, again politely, that everyone else stay out of the discussion until the matter had been clarified. But our late unlamented intruder decided to ignore this and not only offered help but also made unnecessary comments about the moderation here - which comments became even more aggressive in various PM exchanges with the Mod team, resulting in his permanent removal from the community. And now you decide to lay into us as well. Let us deal with your points in order: "Is it not, in case of doupt for the writer?" No, it is up to the Mods to decide - when we require clarification we will intervene as I did above. "Dont ban people who wants to help". We do not - but we might well ban those who egregiously flout our explicit request not to offer help until the matter is cleared. "If you see or think womething is illegal, write it. Otherwise let people help". What do you think I did in my first intervention above? "I would rate the moderation as very bad". Your decision, but as I did exactly what you suggested would be the correct thing to do I feel your comment is illogical in the extreme. "I dont think that anyone will write here to help and risk a ban anytime soon, as it is already an old topic, maybe none.".. As the thread is now cleared we will soon see - but no-one risks a ban for helping now. "but great moderating! This is my opionion". Sarcasm is never a very successful form of wit. But I have wasted enough of this lovely morning on you already. I hope you do get a solution to your problem, but a word of warning: after the comments made above you have used up any flex we are prepared to give you, so please make sure you respect the forum rules form now on. M23 pixelsearch, Sidley and Musashi 3 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...
StefanM Posted August 23, 2022 Author Share Posted August 23, 2022 Nice feedbacks, as my thoughts... Thx a lot for the really helpful support. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now