Eidolic Posted May 19, 2017 Share Posted May 19, 2017 (edited) As of today my script is no longer working. From looking at the debugger the issue in my script seems to be coming from any instance of getEquipment(). I have been using this script for the past week with no changes for 10 hours plus. Has anything changed? To be specific I am trying to use it to bank using a ring of dueling I am wearing. Something like this: getEquipment().interact(EquipmentSlot.RING, "Clan Wars"); Edited May 19, 2017 by Eidolic Quote Link to comment Share on other sites More sharing options...
Adept Posted May 19, 2017 Share Posted May 19, 2017 I second this. Occasionally, getEquipment() returns null for me. Quote Link to comment Share on other sites More sharing options...
Explv Posted May 19, 2017 Share Posted May 19, 2017 Is the equipment tab open while you are getting these errors? Quote Link to comment Share on other sites More sharing options...
Eidolic Posted May 19, 2017 Author Share Posted May 19, 2017 38 minutes ago, Explv said: Is the equipment tab open while you are getting these errors? Update: I am an idiot and my game was in resizable. Is there some kind of check I can put in my script to change it from resizable to fixed onstart? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 19, 2017 Share Posted May 19, 2017 1 hour ago, Explv said: Is the equipment tab open while you are getting these errors? Does it need to be open? Quote Link to comment Share on other sites More sharing options...
Teek Posted May 20, 2017 Share Posted May 20, 2017 if it returns null.. try using.. if (getEquipment() != null) { //code??? } Quote Link to comment Share on other sites More sharing options...
Zappster Posted May 20, 2017 Share Posted May 20, 2017 3 hours ago, Explv said: Is the equipment tab open while you are getting these errors? The method switches to equipment tab itself 1 Quote Link to comment Share on other sites More sharing options...