Search found 202 matches
- 22 May 2021, 05:11
- Forum: Ask for Help (v1)
- Topic: Array of bytes scan Topic is solved
- Replies: 5
- Views: 691
Re: Array of bytes scan Topic is solved
There are specific pattern scan methods in the class which utilise machine code. These will be orders of magnitude faster and they should avoid other issues which can happen when blindly reading addresses incrementally. mem := new _ClassMemory("ahk_exe MyProcessName.exe", "", hProcessCopy) pattern :...
- 06 Mar 2021, 23:14
- Forum: Gaming Help (v1)
- Topic: result of address <classMemory>RHCP Topic is solved
- Replies: 43
- Views: 2638
Re: result of address <classMemory>RHCP Topic is solved
Are those screenshots above from characters that have weird values in their names? now one more question how do i not appear who is with 65535 Sorry, I misread this before. So you just want to prevent characters with a pos of 65535 from being displayed? I assume they are dead. Is this what you want?...
- 05 Mar 2021, 21:52
- Forum: Gaming Help (v1)
- Topic: result of address <classMemory>RHCP Topic is solved
- Replies: 43
- Views: 2638
Re: result of address <classMemory>RHCP Topic is solved
Can you show me the values of the address in the cheat engine memory viewer. Select the address in cheat engine then press ctrl + b. Then scroll up one line or two lines in the memory viewer before taking the screenshot - I want to see the bytes both before and after the address. Do this both for th...
- 05 Mar 2021, 10:25
- Forum: Gaming Help (v1)
- Topic: result of address <classMemory>RHCP Topic is solved
- Replies: 43
- Views: 2638
- 05 Mar 2021, 09:47
- Forum: Gaming Help (v1)
- Topic: result of address <classMemory>RHCP Topic is solved
- Replies: 43
- Views: 2638
Re: result of address <classMemory>RHCP Topic is solved
In cheat engine, all addresses are in HEX and they are NOT prefixed '0x'. For example, in the cheat engine screenshot one of the addresses is '1135690 + 18'. These are both hex numbers, and so in AHK they need to be written as '0x1135690 + 0x18' Lets keep things very simple for a start. Once you get...
- 17 Dec 2020, 19:48
- Forum: Gaming Help (v1)
- Topic: help with memory value
- Replies: 3
- Views: 426
Re: help with memory value
It's hard to tell when you don't post the full script. But that will never work, as you have an error in the readmemory function() return NumGet(result,, type) ;Returning it in the desired data type. That line should be replaced with return result The ' type "*" ', in the RPM DLLCall is already perf...
- 03 Apr 2020, 11:05
- Forum: Ask for Help (v1)
- Topic: Reading memory with base address leading to .dll
- Replies: 2
- Views: 1758
Re: Reading memory with base address leading to .dll
This should work with ahk 64 bit. #SingleInstance Force #Include <classMemory> ; Available from https://github.com/Kalamity/classMemory if !A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" exitapp } if (_ClassMemory.__Class != "_ClassMemory") { msgbox class memory not correctly installed. ExitApp } mem :...
- 15 Dec 2019, 08:52
- Forum: Ask for Help (v1)
- Topic: Can't close excel without saving Topic is solved
- Replies: 12
- Views: 4236
Re: Can't close excel without saving Topic is solved
Also try:
Code: Select all
xlApp.DisplayAlerts := False
xlApp.ActiveDocument.Close(False) ; *** this is what fixed it for me in the past
xlApp.quit()
- 24 Oct 2019, 05:06
- Forum: Ask for Help (v1)
- Topic: Classmemory readbytes Topic is solved
- Replies: 2
- Views: 1196
Re: Classmemory readbytes Topic is solved
You're reading the memory as a string. The 00 byte in a string acts as a null terminator, i.e. it ends the string. What are you trying to do with the string of hex bytes after you read it? https://i.imgur.com/5IDwX2W.png calc.readRaw(0x283E85E1196, myBuffer, 10) msgbox % bufferToHex(myBuffer, 10) bu...
- 20 Oct 2019, 10:28
- Forum: Ask for Help (v1)
- Topic: Kalamity classMemory Help Topic is solved
- Replies: 4
- Views: 1044
Re: Kalamity classMemory Help Topic is solved
You need to use the 64 bit version of AHK, as the game itself is 64 bit.
- 20 Oct 2019, 02:58
- Forum: Ask for Help (v1)
- Topic: Kalamity classMemory Help Topic is solved
- Replies: 4
- Views: 1044
Re: Kalamity classMemory Help Topic is solved
Are you using the 64 bit version of AHK?
- 15 Oct 2019, 06:48
- Forum: Gaming Help (v1)
- Topic: Memory script help Topic is solved
- Replies: 2
- Views: 1532
Re: Memory script help Topic is solved
Something like this: #SingleInstance Force #Include <classMemory> if !A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" exitapp } if (_ClassMemory.__Class != "_ClassMemory") { msgbox class memory not correctly installed. ExitApp } _ClassMemory.setSeDebugPrivilege() ; Required - must be first thing called ...
- 22 Sep 2019, 06:31
- Forum: Ask for Help (v1)
- Topic: Need Help with classMemory.ahk (RHCP!) with modulePatternScan
- Replies: 3
- Views: 1724
Re: Need Help with classMemory.ahk (RHCP!) with modulePatternScan
#Include <classMemory> _classmemory.setSeDebugPrivilege() if !A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" ExitApp } if (_ClassMemory.__Class != "_ClassMemory") { msgbox class memory not correctly installed. ExitApp } ; I don't know if you removed it on purpose in your posted code snippet, ; but you...
- 29 Jun 2019, 14:14
- Forum: Ask for Help (v1)
- Topic: RHCP Classmemory
- Replies: 6
- Views: 2872
Re: RHCP Classmemory
What is this supposed to do, besides change the English text to look like Japanese characters instead? UFT-8 I understand as English, and reads perfectly for what I'm trying to accomplish. It still refuses to show text beyond the first encountered null. The first picture you posted shows Unicode (U...
- 28 Jun 2019, 00:18
- Forum: Ask for Help (v1)
- Topic: RHCP Classmemory
- Replies: 6
- Views: 2872
Re: RHCP Classmemory
The first string is unicode.
Try:
Try:
Code: Select all
Exile := poe.readString(0x7FFB69C3AE78,, encoding := "UTF-16")
- 27 Mar 2019, 06:43
- Forum: Ask for Help (v1)
- Topic: Memory address value to GUI for flightsim gauge
- Replies: 12
- Views: 3190
Re: Memory address value to GUI for flightsim gauge
You need to find the address of "sceneman.dll", not the process for that pointer i.e. msgbox % "base address: " mem.BaseAddress . "`nModleaddress: " mem.getModuleBaseAddress("sceneman.dll") gInd := mem.read(mem.getModuleBaseAddress("sceneman.dll") + 0x0004F318, "Double", 0x8, 0x630, 0x7D8, 0x18, 0x6...
- 12 Mar 2019, 22:02
- Forum: Ask for Help (v1)
- Topic: Memory address value to GUI for flightsim gauge
- Replies: 12
- Views: 3190
Re: Memory address value to GUI for flightsim gauge
It's because you're trying to read a double (8 bytes) and that function reads 4 bytes from memory.
Try something like:
Try something like:
address := mem.modulePatternScan(, aPattern*)
msgbox % value := mem.read(address, "Double")
- 11 Mar 2019, 15:43
- Forum: Ask for Help (v1)
- Topic: Memory address value to GUI for flightsim gauge
- Replies: 12
- Views: 3190
Re: Memory address value to GUI for flightsim gauge
Try using " _ClassMemory.setSeDebugPrivilege()" before calling new. E.g #include classMemory.ahk if !A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" ExitApp } if (_ClassMemory.__Class != "_ClassMemory") { msgbox class memory not correctly installed. ExitApp } _ClassMemory.setSeDebugPrivilege() WinGet, P...
- 30 Jan 2019, 07:55
- Forum: Ask for Help (v1)
- Topic: classMemory writeString problem Topic is solved
- Replies: 3
- Views: 1042
Re: classMemory writeString problem Topic is solved
You may have also forgot to change mem.baseaddress to sim.baseaddress.
Code: Select all
sim.writeString(sim.BaseAddress + 0x004A2870, "SJ_Spit_CanopyClose.wav", "utf-8", 0x48, 0x30, 0x0, 0x20, 0x60)
- 01 Nov 2018, 08:49
- Forum: Ask for Help (v1)
- Topic: Kalamity Library - WriteBytes Topic is solved
- Replies: 3
- Views: 1407
Re: Kalamity Library - WriteBytes Topic is solved
Add the following method to classMemory, i.e. place the method inside the actual class. writeHexString(address, hexString, aOffsets*) { AOBPattern := this.hexStringToPattern(hexString) if !IsObject(AOBPattern) return AOBPattern sizeBytes := this.getNeedleFromAOBPattern("", buffer, AOBPattern*) retur...