daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Tue Aug 21, 2012 3:07 am Post subject: Increase value with slider [value type is double] |
|
|
Hey,
I was wondering if its possible to increase value that its type is double
So I got the following AA
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(_aob1,9A 99 99 99 99 99 C9 3F 9E EF A7 C6 4B 37 D9 3F 12 83 C0 CA A1 45 DE 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F0 3F 00 00 00 00 00 00 F8 3F 00 00 00 00 00 00 F0 3F 66 66 66 66 66 66 D6 3F)
_aob1:
db 7B 14 AE 47 E1 7A 84 3F 00 00 00 00 00 00 08 40 00 00 00 00 00 00 08 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14 40 00 00 00 00 00 00 00 40 00 00 00 00 00 00 14 40
[DISABLE]
//code from here till the end of the code will be used to disable the cheat |
I was wondering if I can add a slider to the trainer that will increase the value by 0.05.
Do I need convert this to LUA?
Code: | function CEButton1Click(sender)
showMessage("START?")
results=AOBScan("9A 99 99 99 99 99 C9 3F 9E EF A7 C6 4B 37 D9 3F 12 83 C0 CA A1 45 DE 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F0 3F 00 00 00 00 00 00 F8 3F 00 00 00 00 00 00 F0 3F 66 66 66 66 66 66 D6 3F")
if (results~=nil) then
count=stringlist_getCount(results)
if (count>0) then
for i = 0, (count-1), 1 do
address =stringlist_getString(results,i)
pause()
writeBytes(address, 0x7B 0x14 0xAE 0x47 0xE1 0x7A 0x84 0x3F 0x00 0x00 0x00 0x00 0x00 0x00 0x08 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x08 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x14 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x14 0x40)
unpause()
end
end
object_destroy(results)
results=nil
end
showMessage("Success")
end |
So if I do that..
I have track bar
Code: | function CETrackBar1Change(sender)
//Here I don't know what to do..like what to write..
end |
the real values of this at the
start is 0.2
then 0.394
then 0.473 (or values that close to that)
then value 0
again value 0
then value 1
then value 1.5
and again 1
(I wrote from membery, so it might not be exacly this.)
So besically I want it to increase 0.394 and 0.473 by 0.05 when when dragging to each station (no idea how explain but I hope you got my point).
|
|