Oxyy Posted June 21, 2014 Share Posted June 21, 2014 I can't seem to figure out how to teleport with equipped jewelry like a ring of dueling or glory. The answer is probably glaringly obvious but a little help would be nice. Link to comment Share on other sites More sharing options...
Extreme Scripts Posted June 21, 2014 Share Posted June 21, 2014 You would need to interact with the rectangle destination. Link to comment Share on other sites More sharing options...
Joseph Posted June 21, 2014 Share Posted June 21, 2014 Osbot 2 Link to comment Share on other sites More sharing options...
Precise Posted June 21, 2014 Share Posted June 21, 2014 for OSBot 2, this should work: interfaces.get(equipment.getInterfaceId()).getChild(EquipmentSlot.RING.childId).interact("Action here"); Link to comment Share on other sites More sharing options...
Mysteryy Posted June 21, 2014 Share Posted June 21, 2014 I can't seem to figure out how to teleport with equipped jewelry like a ring of dueling or glory. The answer is probably glaringly obvious but a little help would be nice. Care to specify what version of OSB you are using? Link to comment Share on other sites More sharing options...
blabla123 Posted June 24, 2014 Share Posted June 24, 2014 Hi, can someone help me with this? I'm trying to check what I'm currenrly wearing onmy head (HAT slot). However the if statement is not returning true (which it should) : if(equipment.isWearingItem(EquipmentSlot.HAT)) { // this is returning false even when I'm wearing something log("we have something on the head"); String item = equipment.getItemInSlot(EquipmentSlot.HAT.slot).getName(); if(item.equals("whatever")) { // rest of the code Any help? Also, some equipment methods in the API require slot number. What is it? Is it ID from the interface debugger? This new osb2 equip API is way different than before. Link to comment Share on other sites More sharing options...
Joseph Posted June 25, 2014 Share Posted June 25, 2014 (edited) when the equipment method arugment ask for a slot depends if its an int then its EquipmentSlot.TYPE.slot, else if its a EquipmentSlot then its EquipmentSlot.TYPE i guess the methods is broken. i tryed out the method and it was return false so.. it isnt you Also its better if you do if(item.equalsIgnoreCase("whatever")) { Edited June 25, 2014 by josedpay Link to comment Share on other sites More sharing options...
blabla123 Posted June 25, 2014 Share Posted June 25, 2014 Yeah, thanks for clearing up the slot number thing for me. I've resigned on using those methods, had to go with a color picker instead... Hope this will get fixed. Link to comment Share on other sites More sharing options...