1) I apologise for this, as I have seen a topic about it before however can't find it again for the life of me. My question is how to make it so I can delete the .jar files for re-compiling? I have tried stopping the script, refreshing etc. My compiler gives me the error it's unable to remove it, and I have to restart client every time to test scripts.
2) I'm looking into doing a project involving trading, I am trying to figure out how to detect whether the user is getting a trade request, I have been looking through http://osbot.org/api/org/osbot/rs07/api/Trade.html#getRequestListener() for some help but am struggling a bit to find what i'm after. I could see a way in which I could use maybe use getLastRequestingPlayer(), to implement this, but I had seen a similar program build in 1.0, which uses " public void onReceiveTrade(String traded) ", which would be a much neater way of doing things. An example code snippet for recognizing trade request, as well as detecting what item they have put up, would be awesome , thanks!
e/ As far as the detecting what they have put in inventory from what I understand from reading api documents, one way would be to use a offer container? From what i'm understanding I need to getTheirOffers(), then return the 1st one. can I put this container into somehing like Item[], then return item[0]? this is just my understanding from reading so far, and more info would be great.