Page 1 of 1

TERA Hacking Guide - calcul distance between 2 Vectors

Posted: June 18th, 2012, 7:31 am
by tault_Broden
This is helpful to anyone trying to create a tele bot, or other hacking interests.
Reversed from the function that set the crosshair distance, here is the C# implementation of what it do exactly :

Register to unlock hidden link PRIME_BBCODE_SPOILER:
float dx = X1 - X2;
float dy = Y1 - Y2;
float dz = Z1 - Z2;

double distance = Math.Sqrt((double)((dx * dx) + (dy * dy) + (dz * dz)));

distance = Math.Floor(distance);
distance = Math.Ceiling(distance * 0.04);
Register to unlock hidden link PRIME_BBCODE_SPOILER:

I'm sure it will be usefull for someone else

Re: TERA Hacking Guide - calcul distance between 2 Vectors

Posted: March 12th, 2013, 7:42 pm
by se7enthsin
Nope;

But if you have the offsets or could find me some offsets then yeah we could be making up some fly hacks fast travel hacks noclip. a few other things.

Teleport has a huge problem with rubber bands and !@#$%^* so its not worth even looking into.