Everything posted by Merccy
-
Grievous's Graphics
Amazing! Just some advice for further paint, Do something more with the text
-
Wanting to create Scripts - Bots
http://osbot.org/forum/topic/5038-osbot-programming-tutorials-series/
-
Grievous's Graphics
A paint for a gem miner Must contain: runtime / mined / mined/h / exp / exp hour / levels gained / current level / profit (not in this particular order)
-
AIOCooker - Will cook everything at multiple locations
Could you please hide the chat paint and tell me what is there when you succesfully cook a tuna.
-
Rate The User Before You
0/10 It is a girl and girls don't exist on the interwebs
- Cod on pc
- gCutter [From 1 - 99] [Draynor]
-
AIOCooker - Will cook everything at multiple locations
Nice! I'm currently testing the combat detection.
-
Shop Interface (just like Bank but then for shops!)
Thanks QBot it still uses rectangles but with some maths it will automatically make them according to the slotID.
-
Shop Interface (just like Bank but then for shops!)
Thank you . Hopefully OSBot will implement this soon™
- Yum or Yuck
-
Shop Interface (just like Bank but then for shops!)
Thanks!
-
Shop Interface (just like Bank but then for shops!)
Hello, This snippet is for people that want to interact easily with shops (like a general shop, runes shop, etc...). The commands are very similar to bank and to start of you import the source/jar and make a new shop: Shop s = new Shop(this); // This must be a script object so your main file does fine! if (s.isOpen()){ // And close the shop immediately s.close(); } As you can see the isOpen method is there just like the one in the bank class. Next you can get a ShopItem by using this methods: ShopItem[] allItems = s.getAllShopItems(); ShopItem itemSlot4 = s.getShopItem(4); //4 is the slotID you can debug that by using the store debugger ShopItem hammer = s.getShopItemByName("Hammer"); // Wont break on patches ShopItem byId = s.getShopItemByID(123); // You can use it if you want but you should prefer ByName And for the final part you can interact with the shop items. itemSlot4.value(); // Wont return a value you must catch it in your onMessage(String s) itemSlot4.buy1(); hammer.buy5(); byId.buy10() int amountOfHammers = hammer.getAmount(); String hammerName = hammer.getName(); int hammerId = hammer.getID(); int hammerSlotID = hammer.getSlotID(); // You can also get the slot rectangle if you need it for painting: Rectangle rect = hammer.slot; Now you can buy stuff from the store! Remember: the ShopItem won't update you need to refresh it everytime by using hammer = s.getShopItemByName("Hammer"); (for example) There are also a few commands you can use for the shop like getting the shopname: // First check if the shop is open s.updateShopName(); s.updateInstructions(); String shopName = s.getShopName(); String instructions = s.getInstructions(); Screens (using the ShopDebugger): Download (jar): http://uppit.com/v6mr2nxmamsm/Shop.jar Source (pastebin): Shop.java: http://pastebin.com/1ud3N67r ShopItem.java: http://pastebin.com/5aNZZXkJ If you use the source then make a new package called com.merccy.Shop and place the Shop.java and ShopItem.java there! Download ShopDebugger (jar): http://uppit.com/68erm8t8a9bh/ShopDebugger.jar Credits: Jelknab - Gave me his debugger which contained the search for item loop (which I modified) XavierM - Told me that you would just have to use the x/y for clicking the items. Goodluck
- AIO Walking Class (doens't glitch on break)
-
Rate The User Before You
10/10 would bang
- Abuse's AutoTyper
-
[C# Tool Release] Emu's Legit Alcher
Just a note here this isn't allowed by Jagex too
-
Zybez Price Checker
Funny that the things you listed here are also true if we are talking about you: 1) Grow up and learn that not everything is about money 2) Yup I'm not a native speaker but at-least my pronunciation is a bit better and I can quote a message from you aswell: "First of Grow up" 3) Get some respect for people: You must earn it and money hungry people like you don't deserve it. 4) Java conventions, sorry that I don't code in Java normally but luckily eclipse will take care of it. By the way, your conventions aren't right either so please shut up. Why would you add a fifth point if the only thing you type is ...
-
Zybez Price Checker
So you are an liar? But you can tell the truth about me because I don't really care what you say about me. Oh so you said it was better maybe not but it is? "So much code for a simple checker xD You can do it with half the code." Edit: Please continue this with private messages
-
Zybez Price Checker
So what? Im not talking about my code and never said that was perfect. Tyluur just said the truth but you can't deal with it and must complain about his code.
-
AIOCooker - Will cook everything at multiple locations
V1.1: Added Rogues Den and increased overall experience which will give you an improvement of approx. 10-25% XP/h
-
Easy walking with TilePaths
So your other code was generated?
-
Zybez Price Checker
No man let's share some shitty code that will people teach them things wrong and how they shouldn't share good code.
- Chat help
-
AIOCooker - Will cook everything at multiple locations
Rogues Den which will be supported tomorrow. Currentlt only varrock is supported