LUA - TP Hack

Posts 1–15 of 18 · Page 1 of 2
LUA - TP Hack
Many people have asked me in game for the code to my TP hack - This is a hack that is directional (meaning it TP's the direction that you aim) - here is the code I use for the hack

Code:
function skip() --performs the skip
  local xcoord=readFloat("[[[[[trove.exe+00E629C4]+0]+28]+BC]+4]+60") --Loading in the current xyz coords
  local ycoord=readFloat("[[[[[trove.exe+00E629C4]+0]+28]+BC]+4]+64")
  local zcoord=readFloat("[[[[[trove.exe+00E629C4]+0]+28]+BC]+4]+68")
  local xper=(readFloat("trove.exe+CF30B8"))*-1 --Loading in the direction player is pointing xyz
  local yper=readFloat("trove.exe+CF30BC")
  local zper=readFloat("trove.exe+CF30C0")
  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+00E629C4]+0]+28]+BC]+4]+60",xdest) --writing the new xyz coords
  writeFloat("[[[[[trove.exe+00E629C4]+0]+28]+BC]+4]+64",ydest)
  writeFloat("[[[[[trove.exe+00E629C4]+0]+28]+BC]+4]+68",zdest)
end

skipkey = createHotkey("skip",VK_3) --skip hotkey set to 3
If you have questions please feel free to post here or message me on ******* if you know who I am (but don't expect help on ******* unless I know who you are).


More code to come - superjump - Energylock - Geode speed hack
Teleports you back.
You likely have a number reversed somewhere - If you invert the 3 (to -3) which is the teleport distance I'm sure it would fix the issue, but it will make this read worse.
Update pls.
Updated
Code:
function skip() --performs the skip
  local xcoord=readFloat("[[[[[trove.exe+00E62A28]+0]+28]+BC]+4]+60")
  local ycoord=readFloat("[[[[[trove.exe+00E62A28]+0]+28]+BC]+4]+64")
  local zcoord=readFloat("[[[[[trove.exe+00E62A28]+0]+28]+BC]+4]+68")
  local xper=(readFloat("trove.exe+CDE228"))*-1
  local yper=readFloat("trove.exe+CDE22C")
  local zper=readFloat("trove.exe+CDE230")
  local xadd=xper*3
  local yadd=yper*3
  local zadd=zper*3
  local xdest=xcoord+xadd
  local ydest=ycoord+yadd
  local zdest=zcoord+zadd
  writeFloat("[[[[[trove.exe+00E62A28]+0]+28]+BC]+4]+60",xdest)
  writeFloat("[[[[[trove.exe+00E62A28]+0]+28]+BC]+4]+64",ydest)
  writeFloat("[[[[[trove.exe+00E62A28]+0]+28]+BC]+4]+68",zdest)
end
Update pls
Code:
function skip() --performs the skip
  local xcoord=readFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+60")
  local ycoord=readFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+64")
  local zcoord=readFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+68")
  local xper=(readFloat("trove.exe+CFA580"))*-1
  local yper=readFloat("trove.exe+CFA584")
  local zper=readFloat("trove.exe+CFA588")
  local xadd=xper*main.skipdist.text
  local yadd=yper*main.skipdist.text
  local zadd=zper*main.skipdist.text
  local xdest=xcoord+xadd
  local ydest=ycoord+yadd
  local zdest=zcoord+zadd
  writeFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+60",xdest)
  writeFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+64",ydest)
  writeFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+68",zdest)
end
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip()
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip()
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Quote Originally Posted by xppazar View Post
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip()
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip()
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
same error
Quote Originally Posted by AlexDeluxeN1 View Post
same error
either outdated version or trove isnt attached - not outdated, checked with mine
Are you sure you have CE attached to trove.exe?
Attached to trove. Error:[string "function skip() --performs the skip
..."]:8: attempt to index a nil value (global 'main')
Ahhh.. I know what I did wrong - I left the variable I use in my farming11 script in there - I copied this straight out of the script - Replace "main.skipdist.text" with whatever you want you TP distance to be - I recommend 3 - should look like

Code:
function skip() --performs the skip
  local xcoord=readFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+60")
  local ycoord=readFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+64")
  local zcoord=readFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+68")
  local xper=(readFloat("trove.exe+CFA580"))*-1
  local yper=readFloat("trove.exe+CFA584")
  local zper=readFloat("trove.exe+CFA588")
  local xadd=xper*3
  local yadd=yper*3
  local zadd=zper*3
  local xdest=xcoord+xadd
  local ydest=ycoord+yadd
  local zdest=zcoord+zadd
  writeFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+60",xdest)
  writeFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+64",ydest)
  writeFloat("[[[[[trove.exe+00E653D8]+0]+28]+BC]+4]+68",zdest)
end
its outdated atm

- - - Updated - - -

Quote Originally Posted by xppazar View Post
its outdated atm
Updated /12.08.2018/

function skip() --performs the skip
local xcoord=readFloat("[[[[[trove.exe+00E6CA40]+0]+28]+BC]+4]+60")
local ycoord=readFloat("[[[[[trove.exe+00E6CA40]+0]+28]+BC]+4]+64")
local zcoord=readFloat("[[[[[trove.exe+00E6CA40]+0]+28]+BC]+4]+68")
local xper=(readFloat("trove.exe+CFD454"))*-1
local yper=readFloat("trove.exe+CFD458")
local zper=readFloat("trove.exe+CFD45C")
local xadd=xper*3
local yadd=yper*3
local zadd=zper*3
local xdest=xcoord+xadd
local ydest=ycoord+yadd
local zdest=zcoord+zadd
writeFloat("[[[[[trove.exe+00E6CA40]+0]+28]+BC]+4]+60",xdest)
writeFloat("[[[[[trove.exe+00E6CA40]+0]+28]+BC]+4]+64",ydest)
writeFloat("[[[[[trove.exe+00E6CA40]+0]+28]+BC]+4]+68",zdest)
end

skipkey = createHotkey("skip",VK_3) --skip hotkey set to 3
Posts 1–15 of 18 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?