SRL Archive - First Scripts

GrinderPRO


Waffle

2012-01-05 21:17:58

This is my first attempt at scripting with Simba, even though I basically wrote nothing myself.

This script is heavily based off of Neeger's Herblore PRO, i.e. 99% of it was written by him originally. I took the skeleton of that script and modified it so you can grind items with a pestle and mortar.

I do not claim anything in this script as my own except the DTM's that come with it. I am releasing this for convenience, not for plagiarism.

-GrinderPRO-

Be sure to have pestle and mortar in your tool-belt. Otherwise, the script will just click an item in your inventory and do nothing.

This script has setup in the code. Set up player info in DeclarePlayers. Un-comment the bank you want to use, and make sure all others are commented out. Same goes for the item you want to crush.

Items that this script grinds include:

If the item you want to grind is not included in the list above, either request it in this thread or add the DTM yourself.
_______________

Here's a sample proggy I ran earlier today:
---===GrinderPRO by Waffle alpha v0.1===---        
-> Running for: 1 Hours, 45 Minutes and 30 Seconds
-> Crushed: 6468 items
-> That is: 3678 per hour
-> Post Reports/Bugs to: no thread yet

Successfully executed.
_______________

Known issues/peculiarities:
  1. Sometimes it says it can't find the DTM, after working perfectly for x-amount of time. I'm not sure if this is an issue with the script or an issue with the DTM.
  2. It always clicks the 14th item position. This is because that is where Neeger's MakePotions method clicks. My next-to-nothing knowledge of Pascal prevented me from changing that to the first inventory spot at the moment. Perhaps in a later update I will change this, but as the script stands right now, it works fine for what I need it to do.

kingsleyeng

2012-02-29 03:36:39

good job will test out when i got for 99 herb