Incorrect usage, yes pull backs can stop you from trying to jump disconnect.
But they where actually made too stop speed hackers.
Your code is incomplete I believe.
You dont even know why its "incomplete".
Quote:
Originally Posted by Empty Project
Incomplete? How so? It works perfectly fine...
Reads the distance between the previous step and the new step, If too great it will pull you back. To tell you the truth this was created for the very purpose of stopping people for disconnecting. Show your code and tell me your purpose, I can speed perfectly fine on a server with pullback. This pullback has nothing to do with speeding, It does not calculate how fast they are going but how far they are going in one single jump. So in fact, Your definition of pull back is incorrect.
Indeed Zion was right...it is incomplete but he doesnt really know why its incomplete.
Quote:
Originally Posted by Empty Project
Code:
if (MyMath.PointDistance(PrevX, PrevY, NewX, NewY) > 15)
{
MyChar.Teleport(MyChar.LocMap, MyChar.LocX, MyChar.LocY);
SendPacket(General.MyPackets.SendMsg(MessageId,"SYSTEM", MyChar.Name, "PullBack!", 2011);
[B]retrun;
In case 133:
search for
You're comparing the nx, ny and ox, oy that you get from packets; One could just spoof the coordinates so it would fit your code. Instead of that you should check the nx and ny from the packet and ox and oy from your clients location.
New Private Server [Lands Of The Forgotten] 05/20/2008 - Conquer Online 2 - 5 Replies The private server we know as CoEstX is restarting !
The server is known as : Lands Of The Forgotten (CO testserver)
Website url : Lands of the Forgotten
Drop rates : Very High and Developed
Exp rates : 25 x
Max level : 135