ProjectPact Posted July 1, 2015 Posted July 1, 2015 (edited) Sample code: if(!getInventory().contains(itemEquip)){ log("Ran out of " + itemEquip + ". Stopping script!"); stop(); } I'll have a full inventory of "itemEquip", yet it thinks I don't have any in my script and will just log me out. I'm using the mirror client on a Mac. (Already checked for misspelling in my code) EDIT: this doesn't mess up on injection though... Edited July 1, 2015 by ProjectPact 1
Developer MGI Posted July 2, 2015 Developer Posted July 2, 2015 Sample code: if(!getInventory().contains(itemEquip)){ log("Ran out of " + itemEquip + ". Stopping script!"); stop(); } I'll have a full inventory of "itemEquip", yet it thinks I don't have any in my script and will just log me out. I'm using the mirror client on a Mac. (Already checked for misspelling in my code) EDIT: this doesn't mess up on injection though... You are simply attaching to an already logged in/used client... please read instructions more carefully
Czar Posted July 2, 2015 Posted July 2, 2015 (edited) Never mind, thought this was the bug in the other section. Edited July 2, 2015 by Czar 1
Khaleesi Posted July 2, 2015 Posted July 2, 2015 (edited) You are simply attaching to an already logged in/used client... please read instructions more carefully The Item container of bank mess up sometimes, happends rarely though (Not sure about inventory container, didn't had issue with that) I got regular bug reports of my script saying the bank has run out of pure essence, even though the bank is open en the pure essence is visible in the bank. I debugged it and indeed the item container did not contain pure essence at that point. It can be fixed if you reopen the bank. Might something to look into Hope this post helped you a bit Khaleesi Edited July 2, 2015 by Khaleesi 1