andzelmaz Posted April 17, 2014 Posted April 17, 2014 hi, i'm writing script in wilderness and i need to deal with pkers. They usually do one time attack with maul when your hit points is low, and weaker bots sometimes are killed in one shot. What would be the best way to detect them?
Joseph Posted April 17, 2014 Posted April 17, 2014 Create an area. Get all local people within that area. Loop through them and remove your self.
andzelmaz Posted April 17, 2014 Author Posted April 17, 2014 is it possible to get their cmb level through api? so i could calculate whether they can attack my bot or not. I can't really find solution to find out their cmb lvl.
Swizzbeat Posted April 17, 2014 Posted April 17, 2014 is it possible to get their cmb level through api? so i could calculate whether they can attack my bot or not. I can't really find solution to find out their cmb lvl.You could calculate it by grabbing their stats off the highscores, but that's not really effective.Just check if there are any players in your area, whether or not you're under attack, which direction the other player is facing, etc.
Joseph Posted April 18, 2014 Posted April 18, 2014 (edited) I'm pretty sure I made a method for someone that asked a question just like this before. I'll see if I could find it. edit: here return a list of players in your area Edited April 19, 2014 by josedpay