m
new pointers?


getAutoAttachList().add("trove.exe") --attach to trove
function createTRadioButton(Parent)
local box = createComponentClass('TRadioButton', Parent)
box.Parent = Parent
return box
end
function skip() --performs the skip
local xcoord=readFloat("[[[[[trove.exe+00F35B8C]+0]+28]+C4]+4]+60") --Loading in the current xyz coords
local ycoord=readFloat("[[[[[trove.exe+00F35B8C]+0]+28]+C4]+4]+64")
local zcoord=readFloat("[[[[[trove.exe+00F35B8C]+0]+28]+C4]+4]+68")
local xper=readFloat("[[[[[trove.exe+00F35B8C]+4]+24]+84]+0]+100")
local yper=readFloat("[[[[[trove.exe+00F35B8C]+4]+24]+84]+0]+104")
local zper=readFloat("[[[[[trove.exe+00F35B8C]+4]+24]+84]+0]+108")
local xadd=xper*3 --calculating distance to be traveled in each direction/currently this travels 3 blocks whichever direction you point, the 3 could be replaced with a differnt number or a variable
local yadd=yper*3
local zadd=zper*3
local xdest=xcoord+xadd --calculating the new xyz coords
local ydest=ycoord+yadd
local zdest=zcoord+zadd
writeFloat("[[[[[trove.exe+00F35B8C]+0]+28]+C4]+4]+60",xdest) --Writes speed values
writeFloat("[[[[[trove.exe+00F35B8C]+0]+28]+C4]+4]+64",ydest)
writeFloat("[[[[[trove.exe+00F35B8C]+0]+28]+C4]+4]+68",zdest)
end
function jump() --boosts jumps for superjump
if main.superjump.checked==true then
writeFloat("[[[[[trove.exe+00F35B8C]+0]+28]+C4]+4]+94",15)
end
end
jumpkey = createHotkey("jump",VK_SPACE) --superjump hotkey
skipkey = createHotkey("skip",VK_3) --skip hotkey
function close() --on close for form
if etimer ~= nil then
etimer.destroy()
end
closeCE()
return caFree
end
main=createForm(true)
main.borderstyle=bsToolWindow
main.height=60
main.width=142
main.caption="skip and jump"
main.top=115
main.left=342
main.skiptext=createLabel(main)
main.skiptext.caption="Skip Distance"
main.skiptext.left=16
main.skiptext.top=10
main.skipdist=createEdit(main)
main.skipdist.text="3"
main.skipdist.left=90
main.skipdist.top=8
main.skipdist.width=24
main.jumptext=createLabel(main)
main.jumptext.caption="Superjump"
main.jumptext.left=16
main.jumptext.top=30
main.superjump=createCheckBox(main)
main.superjump.caption=nil
main.superjump.checked=false
main.superjump.left=90
main.superjump.top=30
main.OnClose = close
getAutoAttachList().add("trove.exe") --attach to trove
function createTRadioButton(Parent)
local box = createComponentClass('TRadioButton', Parent)
box.Parent = Parent
return box
end
function skip() --performs the skip
local xcoord=readFloat("[[[[[trove.exe+0106D48C]+0]+28]+C4]+4]+60") --Loading in the current xyz coords
local ycoord=readFloat("[[[[[trove.exe+0106D48C]+0]+28]+C4]+4]+64")
local zcoord=readFloat("[[[[[trove.exe+0106D48C]+0]+28]+C4]+4]+68")
local xper=readFloat("[[[[[trove.exe+0106D48C]+4]+24]+84]+0]+100")
local yper=readFloat("[[[[[trove.exe+0106D48C]+4]+24]+84]+0]+104")
local zper=readFloat("[[[[[trove.exe+0106D48C]+4]+24]+84]+0]+108")
local xadd=xper*3 --calculating distance to be traveled in each direction/currently this travels 3 blocks whichever direction you point, the 3 could be replaced with a differnt number or a variable
local yadd=yper*3
local zadd=zper*3
local xdest=xcoord+xadd --calculating the new xyz coords
local ydest=ycoord+yadd
local zdest=zcoord+zadd
writeFloat("[[[[[trove.exe+0106D48C]+0]+28]+C4]+4]+60",xdest) --Writes speed values
writeFloat("[[[[[trove.exe+0106D48C]+0]+28]+C4]+4]+64",ydest)
writeFloat("[[[[[trove.exe+0106D48C]+0]+28]+C4]+4]+68",zdest)
end
function jump() --boosts jumps for superjump
if main.superjump.checked==true then
writeFloat("[[[[[trove.exe+0106D48C]+0]+28]+C4]+4]+94",15)
end
end
jumpkey = createHotkey("jump",VK_SPACE) --superjump hotkey
skipkey = createHotkey("skip",VK_3) --skip hotkey
function close() --on close for form
if etimer ~= nil then
etimer.destroy()
end
closeCE()
return caFree
end
main=createForm(true)
main.borderstyle=bsToolWindow
main.height=60
main.width=142
main.caption="skip and jump"
main.top=115
main.left=342
main.skiptext=createLabel(main)
main.skiptext.caption="Skip Distance"
main.skiptext.left=16
main.skiptext.top=10
main.skipdist=createEdit(main)
main.skipdist.text="3"
main.skipdist.left=90
main.skipdist.top=8
main.skipdist.width=24
main.jumptext=createLabel(main)
main.jumptext.caption="Superjump"
main.jumptext.left=16
main.jumptext.top=30
main.superjump=createCheckBox(main)
main.superjump.caption=nil
main.superjump.checked=false
main.superjump.left=90
main.superjump.top=30
main.OnClose = close
getAutoAttachList().add("trove.exe") --attach to trove
function skip() --performs the skip
local xcoord=readFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+60") --Loading in the current xyz coords
local ycoord=readFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+64")
local zcoord=readFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+68")
local xper=readFloat("[[[[[trove.exe+00F3436C]+4]+24]+84]+0]+100")
local yper=readFloat("[[[[[trove.exe+00F3436C]+4]+24]+84]+0]+104")
local zper=readFloat("[[[[[trove.exe+00F3436C]+4]+24]+84]+0]+108")
local xadd=xper*3 --calculating distance to be traveled in each direction/currently this travels 3 blocks whichever direction you point, the 3 could be replaced with a differnt number or a variable
local yadd=yper*3
local zadd=zper*3
local xdest=xcoord+xadd --calculating the new xyz coords
local ydest=ycoord+yadd
local zdest=zcoord+zadd
writeFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+60",xdest) --Writes speed values
writeFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+64",ydest)
writeFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+68",zdest)
end
function sprint() --OP speedhack
if main.speedenable.checked == true then
local xper=readFloat("[[[[[trove.exe+00F3436C]+4]+24]+84]+0]+100")
local yper=readFloat("[[[[[trove.exe+00F3436C]+4]+24]+84]+0]+104")
local zper=readFloat("[[[[[trove.exe+00F3436C]+4]+24]+84]+0]+108")
local xaccel=xper * main.speedf.text
local yaccel=yper * main.speedf.text
local zaccel=zper * main.speedf.text
writeFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+90",xaccel)
writeFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+94",yaccel)
writeFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+98",zaccel)
end
end
function togglespeed() --speedhack toggle for hotkey
if main.speedenable.checked==true then
main.speedenable.checked=false
else
main.speedenable.checked=true
end
end
function jump() --boosts jumps for superjump
if main.superjump.checked==true then
writeFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+94",15)
end
end
function float() --superjump without the jump
writeFloat("[[[[[trove.exe+00F3436C]+0]+28]+C4]+4]+94",15)
end
skipkey = createHotkey("skip",VK_3) --skip hotkey
jumpkey = createHotkey("jump",VK_SPACE) --superjump hotkey
speedokey = createHotkey("togglespeed",VK_SHIFT) --speedhack on/off hotkey
speedkey = createHotkey("sprint",VK_SHIFT) --sprint hotkey
function close() --on close for form
closeCE()
return caFree
end
main=createForm(true)
main.borderstyle=bsToolWindow
main.height=135
main.width=142
main.left=342
main.top=115
main.caption="Farm's Trainer"
main.OnClose = close
main.speedenable=createLabel(main)
main.speedenable.caption=nil
main.speedenable.checked=false
main.speedenable.left=108
main.speedenable.top=40
main.jumptext=createLabel(main)
main.jumptext.caption="Superjump"
main.jumptext.left=28
main.jumptext.top=10
main.superjump=createCheckBox(main)
main.superjump.caption=nil
main.superjump.checked=false
main.superjump.left=108
main.superjump.top=10
main.speedf=createEdit(main)
main.speedf.text="30"
main.speedf.left=95
main.speedf.top=68
main.speedf.width=28
main.speedtexta=createLabel(main)
main.speedtexta.caption="Speedhack Hold Shift"
main.speedtexta.left=19
main.speedtexta.top=40
main.speedtextb=createLabel(main)
main.speedtextb.caption="Speed Set :"
main.speedtextb.left=34
main.speedtextb.top=70
main.skiptext=createLabel(main)
main.skiptext.caption="Skip Distance"
main.skiptext.left=22
main.skiptext.top=100
main.skipdist=createEdit(main)
main.skipdist.text="3"
main.skipdist.left=100
main.skipdist.top=100
main.skipdist.width=24
main.OnClose = close

