seasons 4 Posted November 16, 2015 Author Share Posted November 16, 2015 (edited) Alright so "!getInventory().isFull()" is the key along with returning to the STATE "PICKING"? Other than that is your code just cleaner? Edited November 16, 2015 by seasons 4 Quote Link to comment Share on other sites More sharing options...
Explv Posted November 16, 2015 Share Posted November 16, 2015 Alright give me a sec to read this. I will probably have some more questions. especially why it just does some noob shit =P lol I have commented it to maybe help you understand Quote Link to comment Share on other sites More sharing options...
seasons 4 Posted November 16, 2015 Author Share Posted November 16, 2015 I have commented it to maybe help you understand This actually helped a ton, thank you. Sadly I have my Assc. in Programming and still struggle lol. Quote Link to comment Share on other sites More sharing options...
Explv Posted November 16, 2015 Share Posted November 16, 2015 This actually helped a ton, thank you. Sadly I have my Assc. in Programming and still struggle lol. No problem ^_^ Quote Link to comment Share on other sites More sharing options...
seasons 4 Posted November 16, 2015 Author Share Posted November 16, 2015 No problem So, I think that I'm going to stick closer to apaec's code while incorporating the having a full method then burying you used. Simply because the code that you wrote is missclicking alot(attacking, picking up other random stuff) and since i'm still newer to this I think i'll try to figure out why. next goal: printing exp/hr Quote Link to comment Share on other sites More sharing options...
Explv Posted November 16, 2015 Share Posted November 16, 2015 (edited) So, I think that I'm going to stick closer to apaec's code while incorporating the having a full method then burying you used. Simply because the code that you wrote is missclicking alot(attacking, picking up other random stuff) and since i'm still newer to this I think i'll try to figure out why. next goal: printing exp/hr That is probably because I didn't put in anything for bones.interact(); You need to specifiy the pick up action like bones.interact("Take"); To prevent it from clicking other stuff Edit: I fixed it Edit2: I also didn't really think about it, the bones when on the ground wont have the action "Bury", so I changed the filter Edited November 16, 2015 by Explv Quote Link to comment Share on other sites More sharing options...
seasons 4 Posted November 16, 2015 Author Share Posted November 16, 2015 That is probably because I didn't put in anything for bones.interact(); You need to specifiy the pick up action like bones.interact("Take"); To prevent it from clicking other stuff Edit: I fixed it Edit2: I also didn't really think about it, the bones when on the ground wont have the action "Bury", so I changed the filter O ok. so it was only seeing "Bones" and not "Take" Quote Link to comment Share on other sites More sharing options...