Locked Home » Forums » Legacy & Archived » Archived Content » Tera Online » Tera Guides

TERA Hacking Guide - calcul distance between 2 Vectors : Tera Guides

Posted: June 18th, 2012
User avatar
Total Posts:2313 Joined:2004
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
Posted: March 12th, 2013
User avatar
Total Posts:160 Joined:2011
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.
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 1 guest
Locked