 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Wed Mar 27, 2013 1:16 pm Post subject: |
|
|
Can you be specific?
What you mean "2" to take away the value?
You mean restore its original values?
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
VDV Newbie cheater
Reputation: -1
Joined: 09 Mar 2013 Posts: 19
|
Posted: Wed Mar 27, 2013 1:37 pm Post subject: |
|
|
Mother of hack wrote: | Can you be specific?
What you mean "2" to take away the value?
You mean restore its original values? |
no.
press 1 - there is a cycle "а, for example" - of the address (0h12345678 for example) with the value (float 1.02357, for example) is taken away permanently 0.1
press 2 - cycle "а" stops and starts the cycle "b" - to address (0h12345678 for example) with the value (float 1.02357, for example) are constantly added 0.1
Again, press 1 - Cycle "B" stops and starts the cycle "a"
that is, when you press the 1 - to take away the value of the address, pressing the 2 - to the address is added value.
|
|
Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Wed Mar 27, 2013 2:07 pm Post subject: |
|
|
How about this?
Code: | pressed = 0
Z = addresslist_getMemoryRecordByDescription(getAddressList(), "No description") -- your coord entery rename this according to its descriptions
function loop()
if (pressed==0) then
pressed = 0
elseif (pressed==1) then
value = memoryrecord_getValue(Z)
memoryrecord_setValue(Z, value+1)
elseif (pressed==2) then
value = memoryrecord_getValue(Z)
memoryrecord_setValue(Z, value-1)
end
end
function pressedVal()
if (pressed==0) then
pressed = 1
elseif (pressed==1) then
pressed = 2
else
pressed = 0
end
end
createHotkey(pressedVal, VK_1)
t=createTimer(nil, false)
timer_setInterval(t, 100)
timer_onTimer(t, loop)
timer_setEnabled(t, true) |
Press first time '1' to increase
Press second time '1' to decrease
Press third time '1' to stop.
P.S
you can always gimme some rep ;D.
And if you want more 'live' support add me via Skype (cheatertankionline), I'll help you out much quickly .
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
VDV Newbie cheater
Reputation: -1
Joined: 09 Mar 2013 Posts: 19
|
Posted: Thu Mar 28, 2013 9:50 am Post subject: |
|
|
Mother of hack wrote: | How about this?
Code: | pressed = 0
Z = addresslist_getMemoryRecordByDescription(getAddressList(), "No description") -- your coord entery rename this according to its descriptions
function loop()
if (pressed==0) then
pressed = 0
elseif (pressed==1) then
value = memoryrecord_getValue(Z)
memoryrecord_setValue(Z, value+1)
elseif (pressed==2) then
value = memoryrecord_getValue(Z)
memoryrecord_setValue(Z, value-1)
end
end
function pressedVal()
if (pressed==0) then
pressed = 1
elseif (pressed==1) then
pressed = 2
else
pressed = 0
end
end
createHotkey(pressedVal, VK_1)
t=createTimer(nil, false)
timer_setInterval(t, 100)
timer_onTimer(t, loop)
timer_setEnabled(t, true) |
Press first time '1' to increase
Press second time '1' to decrease
Press third time '1' to stop.
P.S
you can always gimme some rep ;D.
And if you want more 'live' support add me via Skype (cheatertankionline), I'll help you out much quickly . |
thank a lot!!!
need a little differently.
press hotkey 1 - Cycle "B" is over and started cycle "А"
press hotkey 2 - cycle "А" is over and started cycle "B"
|
|
Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Thu Mar 28, 2013 1:50 pm Post subject: |
|
|
Code: | pressed = 0
Z = addresslist_getMemoryRecordByDescription(getAddressList(), "No description") -- your coord entery rename this according to its descriptions
function loop()
if (pressed==0) then
pressed = 0
elseif (pressed==1) then
value = memoryrecord_getValue(Z)
memoryrecord_setValue(Z, value+0.1)
elseif (pressed==2) then
value = memoryrecord_getValue(Z)
memoryrecord_setValue(Z, value-0.1)
end
end
t=createTimer(nil, false)
timer_setInterval(t, 100)
timer_onTimer(t, loop)
timer_setEnabled(t, true)
function pressedVal()
Key1 = isKeyPressed(VK_1)
Key2 = isKeyPressed(VK_2)
if Key1==true then
pressed = 1
elseif Key2==true then
pressed = 2
end
end
KeyCheck=createTimer(nil, false)
timer_setInterval(KeyCheck, 100)
timer_onTimer(KeyCheck, pressedVal)
timer_setEnabled(KeyCheck, true) |
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Fri Mar 29, 2013 11:01 am Post subject: |
|
|
Code: | Z_cord = addresslist_getMemoryRecordByDescription(getAddressList(), "Z") -- Description of address Z
X_cord = addresslist_getMemoryRecordByDescription(getAddressList(), "X") -- Description of address X
Y_cord = addresslist_getMemoryRecordByDescription(getAddressList(), "Y") -- Description of address Y
function Hotkeys()
local Z_value = memoryrecord_getValue(Z_cord)
KeyI = isKeyPressed(VK_I)
KeyK = isKeyPressed(VK_K)
KeyJ = isKeyPressed(VK_J)
KeyL = isKeyPressed(VK_L)
Key1 = isKeyPressed(VK_1)
Key2 = isKeyPressed(VK_2)
-- front/back {
if KeyI==true then
X_value = memoryrecord_getValue(X_cord)
memoryrecord_setValue(X_cord, X_value+0.1)
elseif KeyK==true then
X_value = memoryrecord_getValue(X_cord)
memoryrecord_setValue(X_cord, X_value-0.1)
--}
-- Right/left {
elseif KeyJ==true then
Y_value = memoryrecord_getValue(Y_cord)
memoryrecord_setValue(Y_cord, Y_value+0.1)
elseif KeyL==true then
Y_value = memoryrecord_getValue(Y_cord)
memoryrecord_setValue(Y_cord, Y_value-0.1)
--}
-- Up/Down {
elseif Key1==true then
Z_value = memoryrecord_getValue(Z_cord)
memoryrecord_setValue(Z_cord, Z_value+0.1)
elseif Key2==true then
Z_value = memoryrecord_getValue(Z_cord)
memoryrecord_setValue(Z_cord, Z_value-0.1)
--}
end
end
t=createTimer(nil, false)
timer_setInterval(t, 35)
timer_onTimer(t, Hotkeys)
timer_setEnabled(t, true) |
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|