Outrage Host

[RS3] Outrage Chicken Slayer

Recommended Posts

Outrage Chicken Slayer Is Available On The SDN :D

 

Outrage Chicken Slayer is a simple chicken killing script that can either be run on both p2p or f2p.


Features:

  • Kills Chickens
  • Picks up Feathers
  • Simple Ban-Evasion (adding more to it later)
  • Detects if you are trapped outside of the gate and opens it
  • Tracks chickens killed, total feathers collected, and money made

Start Up:

  • Disable loot menu in settings (the one that asks if you'd like to loot all)
  • Start script here



    jWUNuDd.png

 

Progress Reports:

9erFz3G.png

jJnyjei.png

V3xrA0Z.png

XHNOCO4.png
 

 

I used @SirFancyGmer's Chicken slaying paint for my paint :3 all creds for that is to him (changed it quite a bit)!

Github: https://github.com/OutrageHost/powerbot_scripting/tree/master/OutrageHost/fighter

Edited by Outrage Host

Share this post


Link to post


Mooshe   

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Chicken.java#L21

You don't check if the NPC selection is empty, so if it is, it will return nil, and cause your script to keep trying to turn to Tile -1, -1, -1.

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Chicken.java#L26

You don't need to hover before interacting; interact() will handle that.

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Chicken.java#L27

Change this to chicken.interact("Attack", "Chicken"), so it won't try to attack anything else standing on top of it.

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Chicken.java#L28

RSBot will properly handle reaction times; you don't need to have this.

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Chicken.java#L32

You should use log instead of System.out.

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Gate.java

You should be setting bounds before interacting with the gate, or you will get a lot of misclicks.

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Gate.java#L15

You don't need to select all of the objects within the entire region; use ctx.objects.select(15) in order to limit to a 15-tile radius. If you know the static tile the gate is located at, use Objects#select(Locatable, int).

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Gate.java#L16

Make sure it has the action "Open" before trying to open the gate, otherwise, you'll end up trying to open an already opened gate, and it won't work.

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Gate.java#L22

You're reselecting all of the objects again right after selecting it via activate(); this is a very intense function, and you don't have to do it again. just use ctx.objects.peek() instead of poll(), so you keep the selection and the first item in the query.

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Chicken_Feathers.java#L20

Doing this fetches the price all of the time. You don't need to fetch it more than once per session.

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Chicken_Feathers.java#L22

You need to select the ground items before trying to filter them, otherwise you'll just get nil.

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Chicken_Feathers.java#L24-L45

All of this is repetitive. Here is a simplified version:

if(!feather.inViewport())
    ctx.camera turnTo(feather);
int totalFeathers = ctx.backpack.select().name("Feather").count(true);
if(feather.interact("Take", "Feather"))
    totalFeathers++;
Fighter.currentFeathers += totalFeathers;

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Fighter.java#L25-L28

You can set this to integers, and just paint it, for example, g.drawString("Chickens killed: "+Fighter.chickensKilled, 15, 55);

 

https://github.com/OutrageHost/powerbot/blob/master/OutrageHost/fighter/Antiban.java#L19

There is a 0.1% chance of this executing, so I don't really see the point of it.

 

--

 

The script itself looks decent; I hope to see a PR submitted to the Open SDN for this soon. :)

Edited by Mooshe

Share this post


Link to post

Stuff

 

Thanks a lot for all the advice! I will implement all these things for sure asap :D Working with Coma right now to put this on the public sdn :D

 

Oh and you would be surprised how often the antiban function comes into effect. With those odds i should start gambling :D

Edited by Outrage Host

Share this post


Link to post

The bot only attacks, it doesnt pickup feathers. Am i doing something wrong?

 

On all the accounts ive tested it picks up feathers! Keep in mind it picks up feathers only after every ten kills!

Edited by Outrage Host

Share this post


Link to post

This script is extrememly slow. Does not pick up feathers very effieciently.


Can you pm me some info on the rates you are getting... I get around 1800 feathers per hour on my accounts!

Share this post


Link to post

nope does not pick up feathers. 21 kills and still not one feather picked up. Are you supposed to use old RS or can this be used with RS3?


Rs3.... I'll look into what's happening. For now try using legacy mode and tell me if it helps!

Share this post


Link to post

My only issue is that the kill counter doesn't always update. ive had times where it says I only killed 9 chickens when I have actually killed 100+ chickens

 

maybe in the future add customization like:

pick up feathers after X kills

xp gained

xp per hr

estimated feathers per hr

estimated kills per hr

Edited by Vailsixclaw

Share this post


Link to post

My only issue is that the kill counter doesn't always update. ive had times where it says I only killed 9 chickens when I have actually killed 100+ chickens

 

maybe in the future add customization like:

pick up feathers after X kills

xp gained

xp per hr

estimated feathers per hr

estimated kills per hr

I have added all your suggestions to my to-do list :D

Share this post


Link to post

Once you click *add* on the script you are after how do you get it working/come up on the bot clinet. every time i bring it up it says no scripts would you like to add some and takes me too the bot webpage with all the diffrent type of scripts. can somone please help me

 

Share this post


Link to post

Can you send a screenshot of your settings I cannot  see the button that you were referring to from " Disable loot menu in settings (the one that asks if you'd like to loot all) " 

Share this post


Link to post
axis08   

so mine doesnt pick up feathers. i got 100 kills and no feathers, which was a bit lame, but i still appreciated the levels i got in constitution and str ;D not sure if im a massive dildo and have some loot setting wrong so its not picking up feathers or something, but if someone knows, you'd be a champion

Share this post


Link to post

If the bot is not picking up feathers go to your game play settings and change to the legacy interface and legacy combat. It will then pick up feathers every 10 kills. 

Share this post


Link to post

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