IkiritokunI Posted February 14, 2019 Share Posted February 14, 2019 Hey peeps, Trying to make priest in peril quest, but when you move down the ladder(at the temple dog) you get in an instance, that means coordinate always be different. Any1 know how to let the bot know he is downstairs so he can kill the dog? Quote Link to comment Share on other sites More sharing options...
Czar Posted February 14, 2019 Share Posted February 14, 2019 (edited) 14 minutes ago, IkiritokunI said: Hey peeps, Trying to make priest in peril quest, but when you move down the ladder(at the temple dog) you get in an instance, that means coordinate always be different. Any1 know how to let the bot know he is downstairs so he can kill the dog? Look for common entities that never change, e.g check for a nearby npc and a gate, or perhaps check the central objects (well, monuments, etc). Another way would be to store Position changes, look for when the player’s position changes by many tiles instantly, compare using #distance Edited February 14, 2019 by Czar Quote Link to comment Share on other sites More sharing options...
extatus Posted February 14, 2019 Share Posted February 14, 2019 If dog exists just kill it.. and after killing it -youll get a new config value. getConfigs().get(302) == 3 To teleport out, u could use monument as reference for u location? ur code should therefore never conflict until next varpbit value. Quote Link to comment Share on other sites More sharing options...
Explv Posted February 14, 2019 Share Posted February 14, 2019 The above, or use local coordinates, and translate them using map base X and base Y Quote Link to comment Share on other sites More sharing options...
IkiritokunI Posted February 15, 2019 Author Share Posted February 15, 2019 Thanks! I let you guys know if I fixt it! Quote Link to comment Share on other sites More sharing options...
IkiritokunI Posted April 22, 2019 Author Share Posted April 22, 2019 On 2/14/2019 at 5:40 PM, extatus said: If dog exists just kill it.. and after killing it -youll get a new config value. getConfigs().get(302) == 3 To teleport out, u could use monument as reference for u location? ur code should therefore never conflict until next varpbit value. ty.. worked Quote Link to comment Share on other sites More sharing options...