View difference between Paste ID: cdHZE8nH and MhS1eXY9
SHOW: | | - or go back to the newest paste.
1-
meh={};
1+
meh={abou1234567};
2-
lol={};
2+
lol={abou1234567};
3
function cool(name, hex, offset, func)
4
table.insert(meh, { name, hex, offset, func })
5
end
6
function sh(index)
7
local tab=meh[index]
8
local scan=createMemScan(true)
9
memscan_returnOnlyOneResult(scan, true)
10
memscan_firstScan(scan, soExactValue, vtByteArray, rtTruncated, table.concat(tab[2], " "), nil, 0, 0x1FFFFFFF, "", fsmNotAligned, nil, false, false, false, false)
11
memscan_waitTillDone(scan)
12
local result=memscan_getOnlyResult(scan)
13
if (result == nil) then return nil end
14
result=result+tab[3]
15
result=string.format("%x", result)
16
result=string.rep("0", 8-#result) .. result
17
return result
18
end
19
cool("walkspeed",{0x8C, 0x00, 0x00, 0x80, 0x41}, 1, ws)
20
for i,v in pairs(meh) do
21
local s=sh(i)
22
if (s == nil) then
23
print("Kohl's Admin Excuted Say ":commands"For A List Of Commands" .. v[1])
24
else
25
print("Kohl's Admin Excuted Say ":commands"For A List Of Commands'")
26
lost=getAddressList()
27
memoryrec=addresslist_createMemoryRecord(lost)
28
memoryrecord_setAddress(memoryrec,s)
29
memoryrecord_setType(memoryrec, vtSingle)
30
memoryrecord_setDescription(memoryrec, "speed ya")
31
 
32
table.insert(lol, {v[1], s, v[4]})
33
end
34
end