Bot Questions - Ballmover Maverick - Sun Mar 20, 2005 10:24 am Post subject: Ballmover
Hiya,
I am trying to make a plugin that moves a ball when it comes into an area and stops. However I am having some ball movement problems.
Sometimes the bot doesn't get the position right when the ball moves through the area, sometimes it gets the position of the ball as if its in the area while I am shooting the ball away outside the area... odd stuff.
EDIT: Forgot to say that bot also reports seeing the ball at the same position while it has moved meanwhile.
Anyway, I think the bot gets the position of the ball as you do on your radar when you are not near the ball. So I thought "lets have the bot spec the ball and then it should get the ball positions more often". However that didn't work. Now I am really puzzled how I can get the bot to get the positions more often.
Can someone help me with this?
P.S. I also tried 50% Packetloss's ballmover plugin and it had the same problem(s). Smong - Sun Mar 20, 2005 1:07 pm Post subject:
It is up to the client to calculate the ball's position. That's why there is so much fuss about aquiring the powerball friction formula.
Bak - Sun Mar 20, 2005 3:09 pm Post subject:
yes. The information you get in the packet is going to be the initial ball position and velocity, not the updated one. You can't get the bot to "spec" the ball as it doesn't know the forumla for updating the ball coordinates