- Joined
- Jul 17, 2007
- Messages
- 665
- Reaction score
- 104
Hi where can check the min max region (example between -3200 and +3200, between -5000 and +5000) i looking for convert coords into ingame position for 1.4.2
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!very cool, it is worksstatic QString ConvertToClientX(double x)
{
double cx = 400 + std::trunc(x * 0.1);
return QString::number(cx);
}
static QString ConvertToClientY(double y)
{
double cy = std::trunc(y * 0.1);
return QString::number(cy);
}
static QString ConvertToClientZ(double z)
{
double cz = 550 + std::trunc(z * 0.1);
return QString::number(cz);
}