Developer Maxi Posted May 17, 2013 Developer Share Posted May 17, 2013 The release of the Randoms BETA caused some late night work for all of us and inevitably we managed to squeeze some very stupid bugs into the bot, caused by fatigue. We have fixed the following today: Some interactions were messed up, the source of this bug is found and fixed Something we did not have support for, but is quite crucial for some randoms, is mapping the correct option to the correct NPC in case you have multiple NPC's with the same id/name on the same tile. This is randomized to choose the wrong one every once in a while though, to prevent detectability because not a human on earth would be able to always click the correct option for the correct NPC Support for only main screen walking The first and third issue were causing a lot of randoms to fail every once in a while or permanently, whilst most of them have correct logic to actually finish the random. On another note, we have written and tested Surprise Exam so this one will be on the list. Also, I have all information needed for Evil Bob. We'll be focusing on fixing up the randoms for the rest of the day. Also some work on the SDN has been done today. It is now able to identify newly updated content to immediately pack it and make it available for the delivery over the network. Stay tuned, Maxi 1 Link to comment Share on other sites More sharing options...
Wizard Posted May 17, 2013 Share Posted May 17, 2013 Thanks for all your hard work, but what about the Areas? Link to comment Share on other sites More sharing options...
Led Zeppelin Posted May 17, 2013 Share Posted May 17, 2013 (edited) Thanks for the update! Much love! The Ganja Kiing Edited May 18, 2013 by GanjaKing Link to comment Share on other sites More sharing options...
Developer Maxi Posted May 17, 2013 Author Developer Share Posted May 17, 2013 Thanks for all your hard work, but what about the Areas? Show me how you are using area's. Link to comment Share on other sites More sharing options...
Wizard Posted May 17, 2013 Share Posted May 17, 2013 (edited) Show me how you are using area's. public static final Area SEERS_AREA_BANK = new Area(2721, 3494, 2729, 3490); script.client.getMyPlayer().isInArea(SEERS_AREA_BANK); // returns boolean(i use it in if) Worked fine in 1.4.x and now it doesnt work at all. Edited May 17, 2013 by Wiz Link to comment Share on other sites More sharing options...
Legit Posted May 17, 2013 Share Posted May 17, 2013 Thanks bro Link to comment Share on other sites More sharing options...
Jellybean Posted May 17, 2013 Share Posted May 17, 2013 So are these fixes already implimented in 1.5.5 or not yet? . Anyways, good job! Link to comment Share on other sites More sharing options...
Ambassador Posted May 17, 2013 Share Posted May 17, 2013 God dam. I want to donate. Putting so much work into it. Keep it up Link to comment Share on other sites More sharing options...
Developer Maxi Posted May 17, 2013 Author Developer Share Posted May 17, 2013 public static final Area SEERS_AREA_BANK = new Area(2721, 3494, 2729, 3490); script.client.getMyPlayer().isInArea(SEERS_AREA_BANK); // returns boolean(i use it in if) Worked fine in 1.4.x and now it doesnt work at all. The logic for Area's was flawed in earlier versions and seemed to work with that area initialization you have there, but look closely at it and you will see it's flawed. The Area constructor you are using, takes the left bottom corner as the first two argumentsand the right top corner as the remaining (both the first is x and the second is y). But it does actually also support it the other way around, in fact it grabs the smallest and the biggest of the two x and y variables to compose the corners. /** * The boundaries to initialize this area with. * @param x1 The bottom left x bound (inclusive). * @param y1 The bottom left y bound (inclusive). * @param x2 The top right x bound (inclusive). * @param y2 The top right y bound (inclusive). */ public Area(int x1, int y1, int x2, int y2) { In your declaration, your x1 is smaller than your x2, but your y1 is bigger than your y2, which is mixed up. I'm not sure what the actual area is you're trying to construct there, but the area used would be this: XXXXXXXXXXXXXXXXXXXXXXXXXXXX(2729, 3494) XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (2721, 3490) XXXXXXXXXXXXXXXXXXXXXXXXXXX 1 Link to comment Share on other sites More sharing options...
Ambassador Posted May 17, 2013 Share Posted May 17, 2013 yup donated. lul 1 Link to comment Share on other sites More sharing options...
Smart Posted May 17, 2013 Share Posted May 17, 2013 yup donated. lul Ill have to donate aswell when summer comes around. Can't spend as much time on here as I would like since finals are coming . Link to comment Share on other sites More sharing options...
qingqinghd Posted May 17, 2013 Share Posted May 17, 2013 just buy vips Link to comment Share on other sites More sharing options...
Q0te Posted May 17, 2013 Share Posted May 17, 2013 You guys are honestly the best, much thanks Link to comment Share on other sites More sharing options...
Ambassador Posted May 17, 2013 Share Posted May 17, 2013 Ill have to donate aswell when summer comes around. Can't spend as much time on here as I would like since finals are coming . That's exactly why I got it :p I don't have time to babysit bots. OSbot is great atm but dev. team keeps getting updates so frequently, I have no doubt OSbot will destroy other bots. Link to comment Share on other sites More sharing options...
Shrooms Posted May 19, 2013 Share Posted May 19, 2013 Great work maxi! Link to comment Share on other sites More sharing options...