Christbru Newbie cheater
Reputation: 0
Joined: 11 Jan 2013 Posts: 15
|
Posted: Mon Jan 14, 2013 6:42 am Post subject: Attempting to make a D3D playerlist... |
|
|
I am trying to create a list from d3d that when one of the people's names are clicked, it changes the array of bytes from '80 41...' to '80 AA...' so that it will kill that player, I'm trying to make it myself by following viewtopic.php?t=560818 but I have gotten kinda lost... is there anyone who can help me through it?
What is being searched:
80 41 00 00 80 3F 00 00 C8 42 00 00 C8 42 01 00
What it is being altered to:
80 AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA
wait 1 second..
80 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
Code: |
KillTitleText=d3dhook_createTextContainer(titlefontmap,205,(Y_Pos-titleheight),'Kill list [Refresh]')
playTexts = {}
function refreshKillPlayerList()
for i=1, #playTexts do
object_destroy(playTexts[i])
end
ms = createMemScan()
memscan_firstScan(ms, soExactValue, vtByteArray, rtRounded, "80 41 00 00 80 3F 00 00 C8 42 00 00 C8 42 01 00", "", 0x01000000, 0x7fffffff, "*X*C*W", fsmNotAligned, "", true, false, false, false)
memscan_waitTillDone(ms)
fl = createFoundList(ms)
foundlist_initialize(fl)
num = foundlist_getCount(fl)
for x=0, (num-1) do
(playerText..(x+1))=d3dhook_createTextContainer(fontmap,201,Y_Pos,'Player')
table.Append(playTexts,(playerText..(x+1)))
(memrec..(x+1))foundlist_getAddress(fl, x)
end
pbgheight = (20*(num+1))
end
function killPlayer(textClicked)
end
function objectclick(object, x, y)
if (string.sub(object,1,10)=="playerText") then
killPlayer(object)
end
if object==KillTitleText) then
refreshKillPlayerList()
end
end
d3dhook_onClick(objectclick)
|
[EDIT]
All I really need is to know how to read/write the array of bytes that comes up.
|
|