Hello all,
after arround 4-5 Hours of hard learning, my bot works very simple.
Now i try to fix, that my Bot beheads all died mobs arround me...
There should be something like a range arround 50.
For Pick, it works. difference between x,y and some math ^^.
After a Mobs spawn / apear, i get x,y coords. But they walk arround. And thats the Problem. I recive 1 Packet (for exampe: Mob move: x=2 y=4) 3-4 times. How can i fix that problem?
My Try:
but i think i miss / count to much or less packets.
after getting aggro, i run around a little bit, kill the mob nearly me, and difference x is arround 8000
... Hope u can understand my english
after arround 4-5 Hours of hard learning, my bot works very simple.
Now i try to fix, that my Bot beheads all died mobs arround me...
There should be something like a range arround 50.
For Pick, it works. difference between x,y and some math ^^.
After a Mobs spawn / apear, i get x,y coords. But they walk arround. And thats the Problem. I recive 1 Packet (for exampe: Mob move: x=2 y=4) 3-4 times. How can i fix that problem?
My Try:
PHP Code:
if(lastMoveId!=id || lastMoveX != x || lastMoveY != y) //|| GetTickCount()< (lastMoveTime+150))
after getting aggro, i run around a little bit, kill the mob nearly me, and difference x is arround 8000
... Hope u can understand my english