You can prevent aimbots with olly, by editing conquer.exe?
public int getWalkDirection()
{
int Direction = 5;
if (hero.xCoord != 0)
{
if (hero.yCoord > hero.oldY && hero.xCoord > hero.oldX)
Direction = 7;
else if (hero.yCoord == hero.oldY && hero.xCoord > hero.oldX)
Direction = 6;
else if (hero.xCoord < hero.oldX && hero.yCoord < hero.oldY)
Direction = 3;
else if (hero.xCoord < hero.oldX && hero.yCoord == hero.oldY)
Direction = 2;
else if (hero.oldX == hero.xCoord && hero.yCoord < hero.oldY)
Direction = 4;
else if (hero.xCoord > hero.oldX && hero.yCoord < hero.oldY)
Direction = 5;
else if (hero.xCoord < hero.oldX && hero.yCoord > hero.oldY)
Direction = 1;
else if (hero.oldX == hero.xCoord && hero.oldY < hero.yCoord)
Direction = 0;
}
return Direction;
}
else if (hero.xCoord < hero.oldX && hero.yCoord > hero.oldY)
updateX = hero.xCoord - 1;
updateY = hero.yCoord + 1;
Ur awsome :)Quote:
You could tell the server to add coords
That's an example of getting walk direction, but you could change that to return X + 1, Y + 1 or however you need it.Code:public int getWalkDirection() { int Direction = 5; if (hero.xCoord != 0) { if (hero.yCoord > hero.oldY && hero.xCoord > hero.oldX) Direction = 7; else if (hero.yCoord == hero.oldY && hero.xCoord > hero.oldX) Direction = 6; else if (hero.xCoord < hero.oldX && hero.yCoord < hero.oldY) Direction = 3; else if (hero.xCoord < hero.oldX && hero.yCoord == hero.oldY) Direction = 2; else if (hero.oldX == hero.xCoord && hero.yCoord < hero.oldY) Direction = 4; else if (hero.xCoord > hero.oldX && hero.yCoord < hero.oldY) Direction = 5; else if (hero.xCoord < hero.oldX && hero.yCoord > hero.oldY) Direction = 1; else if (hero.oldX == hero.xCoord && hero.oldY < hero.yCoord) Direction = 0; } return Direction; }
so here's an example
So you'll just want to update the position server sided, but don't send new position to the client.Code:else if (hero.xCoord < hero.oldX && hero.yCoord > hero.oldY) updateX = hero.xCoord - 1; updateY = hero.yCoord + 1;
I guarantee you people will moan about their FBs going through the target rather than being aimbotted if someone were to do this, lol.Quote:
You could tell the server to add coords
...
That's an example of getting walk direction, but you could change that to return X + 1, Y + 1 or however you need it.
so here's an example
...
So you'll just want to update the position server sided, but don't send new position to the client.