Jump to content
Worthy

|w| Cow Killer [completely re-written 2.0]

Recommended Posts

On 1/4/2014 at 1:55 AM, Worthy said:

option

Hey man!

Got a weird request lmao. 

I can't code/ develop a script but am slowly learning and editing open source scripts to get my feet wet with a bit of trial and error. I've been trying to make a cowhide looter only script that didn't involve a GUI or combat so I could launch it through nRestocker and I haven't had much luck figuring it out. Totally understand if you don't want to send me the rewritten script or post it on github, just thought I'd ask and see if you could give me a few pointers as well! 

Thanks!

Link to post
Share on other sites
17 hours ago, hailsatan666 said:

Hey man!

Got a weird request lmao. 

I can't code/ develop a script but am slowly learning and editing open source scripts to get my feet wet with a bit of trial and error. I've been trying to make a cowhide looter only script that didn't involve a GUI or combat so I could launch it through nRestocker and I haven't had much luck figuring it out. Totally understand if you don't want to send me the rewritten script or post it on github, just thought I'd ask and see if you could give me a few pointers as well! 

Thanks!

Hey, may not be the answer you want. But you can join the TRiBot discord to ask for help whenever. You can also check out the scripting tutorials section. https://tribot.org/forums/forum/43-scripting-tutorials/

 

Need examples? Go ahead and check out approved Scripter Applications to see some source code as well as feedback on their work from other approved Scripters.

Link to post
Share on other sites
On 3/29/2020 at 1:10 AM, CQL said:

Hey, may not be the answer you want. But you can join the TRiBot discord to ask for help whenever. You can also check out the scripting tutorials section. https://tribot.org/forums/forum/43-scripting-tutorials/

 

Need examples? Go ahead and check out approved Scripter Applications to see some source code as well as feedback on their work from other approved Scripters.

Thanks man! Pretty much what I've been doing. Slowly but surely I'm getting there haha. Thanks for the advice tho!

Link to post
Share on other sites

I turned on bone bury/hide collection and the bot doesn't attack cows, spends most of the time collecting resources on a busy world. Maybe a feature to only collect from the cows it's killed would be appropriate. 

Also noticed time between kills is unnaturally long. Just looks fishy taking a solid 5 seconds to select another cow between kills. Will play around with the wait multiplier, currently have it set to default. 

Link to post
Share on other sites

Pretty awesome script in less populated worlds.

I know people have asked about range support, and I know that may be more complicated to script - but I think it maybe would not be too hard for magic support with just one tweak.

Instead up dumping the entire inventory into the bank, is it possible to tweak where it right-clicks and deposits just cowhides into the bank?

Awesome script, just one thing I noticed when using mage. 

Link to post
Share on other sites

The script is crashing immediately on Tribot 11.0.9.


[2020-06-13 03:04:56] An error has occurred: null
[2020-06-13 03:04:56] java.lang.reflect.InvocationTargetException: null
[2020-06-13 03:04:56]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[2020-06-13 03:04:56]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at java.lang.reflect.Constructor.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at obf.iq.BI(ng:243)
[2020-06-13 03:04:56]     at java.lang.Thread.run(Unknown Source)
[2020-06-13 03:04:56] java.lang.NullPointerException: null
[2020-06-13 03:04:56]     at javax.swing.text.JTextComponent.setCaretPosition(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.text.DefaultFormatter.positionCursorAtInitialLocation(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.text.DefaultFormatter.install(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.text.InternationalFormatter.install(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JFormattedTextField.setFormatter(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JFormattedTextField.setValue(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JFormattedTextField.setFormatterFactory(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JFormattedTextField.setValue(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner$DefaultEditor.<init>(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner$NumberEditor.<init>(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner$NumberEditor.<init>(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner$NumberEditor.<init>(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner.createEditor(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner.<init>(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner.<init>(Unknown Source)
[2020-06-13 03:04:56]     at scripts.cowkiller.gui.CowKillerGUI.H(CowKillerGUI.java:105)
[2020-06-13 03:04:56]     at scripts.cowkiller.gui.CowKillerGUI.<init>(CowKillerGUI.java:22)
[2020-06-13 03:04:56]     at scripts.cowkiller.CowKiller.<init>(CowKiller.java:36)
[2020-06-13 03:04:56]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[2020-06-13 03:04:56]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at java.lang.reflect.Constructor.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at obf.iq.BI(ng:243)
[2020-06-13 03:04:56]     at java.lang.Thread.run(Unknown Source)

Link to post
Share on other sites
17 minutes ago, demachinarum said:

The script is crashing immediately on Tribot 11.0.9.

  Reveal hidden contents


[2020-06-13 03:04:56] An error has occurred: null
[2020-06-13 03:04:56] java.lang.reflect.InvocationTargetException: null
[2020-06-13 03:04:56]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[2020-06-13 03:04:56]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at java.lang.reflect.Constructor.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at obf.iq.BI(ng:243)
[2020-06-13 03:04:56]     at java.lang.Thread.run(Unknown Source)
[2020-06-13 03:04:56] java.lang.NullPointerException: null
[2020-06-13 03:04:56]     at javax.swing.text.JTextComponent.setCaretPosition(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.text.DefaultFormatter.positionCursorAtInitialLocation(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.text.DefaultFormatter.install(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.text.InternationalFormatter.install(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JFormattedTextField.setFormatter(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JFormattedTextField.setValue(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JFormattedTextField.setFormatterFactory(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JFormattedTextField.setValue(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner$DefaultEditor.<init>(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner$NumberEditor.<init>(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner$NumberEditor.<init>(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner$NumberEditor.<init>(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner.createEditor(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner.<init>(Unknown Source)
[2020-06-13 03:04:56]     at javax.swing.JSpinner.<init>(Unknown Source)
[2020-06-13 03:04:56]     at scripts.cowkiller.gui.CowKillerGUI.H(CowKillerGUI.java:105)
[2020-06-13 03:04:56]     at scripts.cowkiller.gui.CowKillerGUI.<init>(CowKillerGUI.java:22)
[2020-06-13 03:04:56]     at scripts.cowkiller.CowKiller.<init>(CowKiller.java:36)
[2020-06-13 03:04:56]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[2020-06-13 03:04:56]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at java.lang.reflect.Constructor.newInstance(Unknown Source)
[2020-06-13 03:04:56]     at obf.iq.BI(ng:243)
[2020-06-13 03:04:56]     at java.lang.Thread.run(Unknown Source)

 

Fixed in v2.032

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Beg
      BEG Cooking by beg

      https://begtribot.github.io/tribot/scripts/cooking
      Free all-in-one progressive Cooking script.
      Supports rouges den, self-made fires, ranges and inventory make-item.
      Supports fish, pizzas, pies, wines, and more.
      Cooking methods
      1. Rogues den
      Cooks at Rogues den (Burthoupe) using the well-known permanent fire.
      2. Self-made fires
      Makes fire on a pre-established area close to the bank, and cooks on it. Mostly thinking about free-to-play users, however, included a few pay-to-play banks as well.
      Supported Banks:
      Varrock West, Varrock East, Edgeville, Grand Exchange, Falador West, Falador East, Draynor Village,  Duel Arena, Al-Kharid, Castle Wars, Catherby, Seers, Ardougne West, Ardougne East, Yanille, Nardah, Tzhaar City.
      3. Ranges
      Cooks food on a range/stove/oven.
      Supported Ranges:
      Al-Kharid, Lumbridge, Falador, Edgeville, Varrock East, Cooking Guild, Catherby, Nardah.
      4. Make-item
      Makes food using two ingredients on each other.
      Supported fish
      Shrimps, Anchovies, Karambwanji, Sardine, Karambwan, Herring, Mackerel, Trout, Cod, Pike, Salmon, Tuna, Lobster, Bass, Swordfish, Monkfish, Shark, Dark crab, Plain pizza (range only), Baked potato (range only), Sweetcorn (range only).
      Supported make-item food
      Jug of wine, Tuna potato, Pizza base, Incomplete pizza, Uncooked pizza, Anchovy pizza, Meat pizza, Pineapple pizza, Pastry dough, Pie shell, Uncooked berry pie, Uncooked meat pie, Uncooked apple pie, Raw mud pie, Raw garden pie, Raw fish pie, Raw wild pie, Raw summer pie.
      Progressive
      Progressive cooking, with up to 5 setup configurations to define different settings and upgrade your food as your cooking level goes up.

      User interface



      Paint
      Paint displays useful information about the script execution. It's dynamic according to the script configuration.
        Profiles
      Profiles allow you to bypass the configuration and save some time. Profiles are saved at ~/.tribot/beg/BEG Cooking/profiles.
      To load from arguments: 

      To load from user interface:
        Here's some profile examples which you can copy paste into your profiles folder: Level up to 99 cooking at Rouges den, upgrading food as it levels up.  99.json Make 5000 jug of wines and then 1000 anchovy pizzas.  tasks.json Executions
      Soon...
      Hiscores
      https://begtribot.github.io/tribot/scripts/cooking/ranking
    • By Beg
      BEG AIO Combat - Melee Range Magic by Beg
      All-In-One progressive Combat script.
      Supports almost all NPCs and locations, many different potions, special weapons, prayer, every equipment and inventory item.
      With looting, dwarf cannon, high alchemy, Guthans, death recovery, and some slayer features.
      And much more, check all features below.
      Features
      Most NPCs and locations. All configurable. Totally configurable inventory (and quantities), equipment and prayers. Safe spots. Configurable levels to train and leveling priorities. Dwarf cannon. High level alchemy. All combat potions, prayer, super restore, anti-poison, anti-fire, anti-vemon, antidote, energy, stamina potions and more. All prayers. All special weapons. All types of food. Bones to peaches tablets and spells. Reset aggression spots for sand crabs and such. Guthans. Looting based on item names, item ids or item values. Bury bones. Pick ammo. Extra storage (Looting bag, Gem back, Herb sack, Seed box) Basic support for MM2 caves. Bank when inventory is full, out of food, runes, ammo, potions or cannonballs. Bank after a certain value on inventory. World hopping to find less crowded worlds. Prayer altars. Equipment repair (Barrows, etc). House pools and Ferox Enclave stats recharge. Magic spells with auto-cast. Bandit store to unnote items. Deathwalk back to grave or use Death office. Custom items to grab from bank after death. Anti-pking in the wilderness. Death office tutorial. Slayer kill finishes (Bag of salt, Rock hammer, Rock thrownhammer, Ice cooler, Fungicide spray) Automatic settings such as auto-retaliate on/off, attack style, NPC and Player attack options, accept aid off. Progressive training. Link profiles all with different location, NPC, equipment, inventory and all other settings. Automated Grand exchange restock for missing items. Automated Muling for any item. Automatic membership. Small breaks. Configurable antiban settings. Configurable mouse speed, and many client options (maximize on end, disable graphics, etc) Ranking with kills, looting and runtime.  
      User interface

      Hiscores
      https://begtribot.github.io/tribot/scripts/combat/ranking
       


       
    • By Worthy
      AIO Constructor
      By Worthy
       
      Features
      Construct Any Item Including: Planks Bagged plants - FARMING XP! Refills watering cans in house sink Or fetches pre-filled watering cans from the bank Nails Marble Mythical cape
        Multiple Banking Methods Manual banking - Rimmington/Falador, Yanille Ring of Dueling and House Teleports Phials unnoting planks Servant fetch from bank Servant un-note items from inventory
        Synchronized Servant Support Cook Butler Demon Butler
        User Experience This entire script has been rewritten optimized for efficiency and flawlessness  Antiban Compliance (ABC2) Level 10/10 Quick and easy to use GUI setup Script arguments (skip GUI set-up) Slick mousepaint and paint Dynamic signature system (more info below) Hiscores page  
      Set-up
      Start with just a hammer and saw in Inventory. Only if using Servants have coins in Inventory too, or keep them in the servant's money pouch. If using Servants Un-noting have noted planks in Inventory too Only if using Phials Unnoting have coins and noted planks (just the type you are using) in Inventory too. Only if using RoD/Tele Banking have house tabs in Inventory too.  
      Recommended Items to Build
      Levels 1 - 19 → Crude Wooden Chairs (need 138 planks and nails) Levels 19 - 33 → Oak Chairs (need 238 oak planks) Levels 33 - 70  → Oak Larders Levels 70 - 99 → Oak Dungeon Doors 
      OR Levels 52 - 99 → Mahogany Tables (fastest if you have $$)
      OR Levels 47 - 99 → Mythical Capes (requires Dragon Slayer 2 but saves money)
      Creating a preset

      Make sure to create the preset using your mouse only! (no hot-keys).
       
      Notes
      If you find the bot is building and removing items very slowly, you can adjust the ABC2 slider in the second tab of the GUI.
      All you need to due is drag the slider ABC2 Reaction Durations towards the Fastest end.
      Similarly, if you find the bot's mouse is leaving the game too often, you can adjust the ABC2 Mouse Leave Game Frequency slider.
      The parameters for the random AFK frequency and duration (mean and standard deviation) determine how frequently the bot will randomly AFK and how often it will do so. To help visually the distribution of when and how long it will AFK, use this website: https://onlinestatbook.com/2/calculators/normal_dist.html and plug in the corresponding values for the mean and standard deviation (SD) to visualize the probability graph.

      For example, if the Random AFK Frequency is set to use a mean of 45 minutes and standard deviation (SD) of 15 minutes, the bot will pick a time to AFK based on this graph:

      Using the area probability on the link above, we can see there is a roughly 68% chance (the gray region), that the bot will decide to AFK between the 30 and 60 minute mark.
       
      Script Arguments
       
      Click to buy for a month or trial it for 1 day, for $1:
       
      Bulk auth discount available as well.
       
      Troubleshooting and Bug Reports
      If you are experiencing weird issues, I highly recommend running this jar to clear all existing caches:

      Check your hiscore ranking here!
      Grab your dynamic signature by modifying this url:
      http://www.worthy.rs/tribot-php/AIOConstructor/sigs/YOUR_TRIBOT_USERNAME_HERE.png All you need to do is change the part which says `YOUR_TRIBOT_USERNAME_HERE` to your actual TRiBot username!
       
      Happy Botting! 
      - Worthy
    • Guest
      By Guest
      Cow Killer, pretty simple.
      Kills cows in most parts of the map.
      The bot doesn't go outside the gate, so no worry about that.
    • By dax
      Click the spoiler for more progress reports!
       
       
       
      Posting a BUG REPORT
      Please read this and submit the report here.
      You can buy Credits with RSGP instantly here!
    • By Worthy
      AutoTalker Infinite
      By Worthy
       


      Features
       
      As many lines as you want to autotalk (will scroll down indefinitely) Custom time interval delay ABCL 10 Auto Accept Trades Alert with a popup window the accepted trade (perfect for leaving the bot running and doing something else, while it talks and accepts trades. It will then alert you a trade has been established, and you can take over).
       
      Steps
      Make sure to select the Trade tab when logged in:

      Click to add:


      Enjoy!

    • By gef30
      I've decided to update an old script i wrote 3 years ago, and here it is: Multi Fisher v2! Completely rewritten, with a full implementation of ABC2, Multi fisher allows you to fish anything, anywhere! 
      get it HERE
      Source code: https://github.com/frankkeuning/fisher
      Screenshot(s):
       
      Setup guide:
    • By J~J
      Repository link

      JJ's Fighter Pro is an AIO Fighter script: it can kill any monster that you want. You can also make a list of items to loot and select the food you want to eat. You can drink potions if needed, pick up and alch certain items, use special attacks, prioritize looting, etc. This is all configurable through the GUI. You can save your settings for future usage.
       
       
      Anti Ban Compliance implementation
      ABCL 10 has been implemented.
       
      Screenshots




       
      Statistics
      JJ's Fighter needs an internet connection to send script statistics to my server. The data is anonymous and you can check what it sends in bot debug.

      Example chart from 15/10/2013

       
      Features
      Melee, range, mage support Eating Looting Banking Bones to peaches XP checking Fast monster switching Dynamic mainloop Setting loading/saving  

      Changelog
  • Our picks

    • We've heard your complaints - the TRiBot API could be much easier to use. We've been dedicating our time to improving the scripter experience here and spent the past year working on a new and improved API - the TRiBot Script SDK.

       

      The TRiBot Script SDK is an easy-to-use library for building TRiBot scripts. It is the recommended approach to building scripts moving forward over the old TRiBot API. It contains all the core things you need to build a script, and a ton of additional helpful stuff to get you using your scripts quicker. See the documentation section for everything offered, and check out the brief overview link too.

       

      The SDK was announced in preview here:

       

      It is now officially released. The official release guarantees we will support backwards compatibility for some period of time. See the 'backwards compatibility' section below for more info.

       

      How to use:

      There is multiple options, listed in the order they are recommended.

      1) Use the gradle template mentioned below

      2) Obtain through gradle

      Add this dependency: api("org.tribot:tribot-script-sdk:+")

      Add this repository: maven("https://gitlab.com/api/v4/projects/20741387/packages/maven")

      3) Take from your local filesystem in your .tribot/install folder. For example, on windows, you'd find it at "C:\Users\[user]\AppData\Roaming\.tribot\install\tribot-client\lib\tribot-script-sdk-[version].jar"

       

      Documentation:

      Java docs: https://runeautomation.com/docs/sdk/javadocs/index.html?overview-summary.html

      Kotlin docs: https://runeautomation.com/docs/sdk/kdocs/index.html

       

      Backwards compatibility:

      We will be following a deprecation schedule whenever we perform a possible breaking change. We will deprecate the respective methods or classes and announce it in a topic. It will remain deprecated for some period of time (weeks or months), and then removed. This will give you time to fix anything, if we need to make a breaking change.

       

      Gradle template:

      Easily build scripts with a new pre-configured scripting gradle template

       

      Users of the current API:

      There is no plans to remove TRiBot API. It will still be available. However, non-critical bugs probably won't be fixed. The SDK does depend on some of the API so fixing some things in the SDK will indirectly fix the API. However, bugs that have existed in the API for awhile will likely not be fixed. It's recommended to use the SDK moving forward. Let us know if there's something the SDK is missing.

       

      Brief overview of the changes:

       

      Bug reports:

      Post bug reports in the bug reports section of the forums

       

       

      Let us know what your thoughts are! If you have questions, feel free to ask below or in discord.

       
      • 0 replies
    • Support for the gradle launcher is being dropped. Read more about the new launcher here.
      • 8 replies
    • What to expect from TRiBot moving forward.
      • 11 replies
    • TRiBot 12 Release Candidate

      The TRiBot team has been hard at work creating the last major version of TRiBot before the TRiBot X release. We've noticed many problems with TRiBot 11 with a lot of users preferring TRiBot 10 over 11. We've heard you, so we took TRiBot 10, added the new features introduced with 11, introduced some other new things, and created TRiBot 12. So without further adieu, here's TRiBot 12.
      • 40 replies
    • Gradle is a build tool used to accelerate developer productivity.

      We recently setup a Maven repository (TRiBot Central) to make it easier for scripters to create scripts. Check it out here: https://gitlab.com/trilez-software/tribot/tribot-central/-/packages

      Furthermore, we've released a simple Gradle project to make it easy to run TRiBot and develop scripts for it. Check it out here: https://gitlab.com/trilez-software/tribot/tribot-gradle-launcher

      The goals of TRiBot Central are to:

      Deliver updates to TRiBot faster


      Better organize TRiBot's dependencies (AKA dependancies)


      Make it easier to develop scripts for TRiBot


      Make it easier to use and run TRiBot


      Note: TRiBot won't be able to run scripts from within this project until TRiBot's next release.
      • 15 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...