IniRead, MAddress, %A_ProgramFiles%zoom.ini, section1, MAddress
if MAddress=Error
{
MAddress:=0x45EE0C
IniWrite,%MAddress% , %A_ProgramFiles%zoom.ini, section1, MAddress
}
winget, iddd, ID, [Conquer2.0]
TID := DllCall("GetWindowThreadProcessId", "int", iddd, "UInt *", PID, "UInt")
ProcessHandle := DllCall("OpenProcess", "int", 2035711, "char", 0, "UInt", PID, "UInt")
varsetcapacity(input, 4)
input:=2937027434
function := DllCall("WriteProcessMemory", "UInt", ProcessHandle, "UInt", MAddress, "Uint*", input, "Uint", 4, "Uint *", 0)
DllCall("CloseHandle", "int", ProcessHandle)
Dynamic Memory Allocation.Quote:
MushyPeas@
thats fine, as u can see, i give up on figuring that already
however if someone can detect it, i am gladly to change my ELSE to a background/minimize bot
what exactly is DMA anyways?
the goldguard one is actually quite simple if one have cheatengine...
just search goldguard as text and change it to space
resummon guard, done
I already posted AHK memory writing code long ago though.. so I don't see what I could learn from you doing the same :PQuote:
MushyPeas@
i just edit my last post if u would like how i make a edit memory ahk program
next time i will try is to make a search memory ahk program like cheatengine...
of course not something that big, but like given a range, find that text or int
Well I'll be working a bit on my own project of defeating some DMA values, planning to learn more about DLL injection, probably won't put too much work in during the holidays though.Quote:
MushyPeas@
my archer just turn 120 and i switch back to bow
so i dont think i will use ELSE anytime soon
that means the update is not going to happen unless someone have new ideas/bugs
;----Put the MapItemIcon.ani file on desktop
;----It takes 10mins for my laptop P42.8Ghz to edit all 60000+ lines
line=1
loop 70000
{
anb:=ana
FileReadLine, ana, %A_Desktop%MapItemIcon.ani, %line%
StringGetPos, pos, ana, 8]
StringGetPos, poss, ana, 9]
line++
if ana !=
{
if ana = %anb%
{
msgbox, done!
exitapp
return
}
}
if poss > 1
{
FileAppend, %ana%`n,%A_Desktop%MapItemIconEDIT.ani
FileAppend, FrameAmount=1`n,%A_Desktop%MapItemIconEDIT.ani
FileAppend, Frame0=data/MapItemIcon/test.dds`n,%A_Desktop%MapItemIconEDIT.ani
line+=2
}
else if pos > 1
{
FileAppend, %ana%`n,%A_Desktop%MapItemIconEDIT.ani
FileAppend, FrameAmount=1`n,%A_Desktop%MapItemIconEDIT.ani
FileAppend, Frame0=data/MapItemIcon/test.dds`n,%A_Desktop%MapItemIconEDIT.ani
line+=2
}
else
{
FileAppend, %ana%`n,%A_Desktop%MapItemIconEDIT.ani
}
}
msgbox, done