SRL Archive - OSR Outdated / Broken Scripts

[RS07][SMART] SaikekChickens - A fast chicken killer with feather pick-up support


Saikek

2013-03-29 00:47:22

SaikekChickens
Version: 0.3

A very simple chicken killer with minimal anti-ban. All I did was convert my seagull scripts to chickens and add a looting procedure. Lets me know how it works out!
Should work anywhere, have only tested it south of falador though.
UPDATED: Now uses SRL-OSR
I have updated the script to use the SRL-OSR libraries which means you must have them installed properly for the script to work. I did this for the anti-random support and I'd rather use an official library that is regularly updated. Also remember to check the github link for the latest and greatest revisions.

GitHub Link:
https://github.com/Inseighn/SaikekScripts/blob/master/SaikekChickens.simba

Deni_mulic

2013-03-29 01:00:00

I suggest you add
{$I SRL-OSR/SRL.Simba}
that way you can at least call FindNormalRandoms at the start of each AttackChicken loop.

Saikek

2013-03-29 01:02:42

From: Deni_mulic
I suggest you add
{$I SRL-OSR/SRL.Simba}
that way you can at least call FindNormalRandoms at the start of each AttackChicken loop.

I wasn't aware that any random detection existed at the moment, but I will add. Thanks!

boomboomtucki

2013-03-29 09:15:40

Finally a chicken killer that picks up feathers. Thanks!

Saikek

2013-03-29 11:53:47

Updated. Now uses the official srl-osr library.

djmargus

2013-03-29 12:14:31

Nice work ;)

ehloco

2013-03-29 12:52:36

Thank you!

I adjusted the colors with the dropped and now there are less "No chickens found. Rotating camera" messages.

I was wondering how I can add to the minimal anti-ban. Maybe a hover over def and hitpoint xp. Any suggestions with this?

Saikek

2013-03-29 13:03:45

From: ehloco
Thank you!

I adjusted the colors with the dropped and now there are less "No chickens found. Rotating camera" messages.

I was wondering how I can add to the minimal anti-ban. Maybe a hover over def and hitpoint xp. Any suggestions with this?


Yes the colors I used are for the south falador area and I have found out that the chickens in other areas have different colors. The anti ban method already supports hovering over a random combat skill (strength, attack, defence, range, hit points) check the RandomCombatSkill function.

ehloco

2013-03-29 13:34:10

From: Saikek
Yes the colors I used are for the south falador area and I have found out that the chickens in other areas have different colors. The anti ban method already supports hovering over a random combat skill (strength, attack, defence, range, hit points) check the RandomCombatSkill function.


Ah, i see. Random running too.

It clicks on the skills though. Which basically disables the script from taking any other action.

I changed this to true, should it be false to avoid clicking?

8: HoverSkill(RandomCombatSkill, true);

The timings are great, much better than the autofighter I was using.

Saikek

2013-03-29 14:05:07

From: ehloco
Ah, i see. Random running too.

It clicks on the skills though. Which basically disables the script from taking any other action.

I changed this to true, should it be false to avoid clicking?

8: HoverSkill(RandomCombatSkill, true);

The timings are great, much better than the autofighter I was using.


The walking is due to srl-osr. Not sure exactly why it is causing it to walk around I believe it is something to do with FindNormalRandoms though. The HoverSkill should be set to false.
I'm headed to work at the moment and won't be able to look further into it until I get back.

blakyn

2013-03-29 14:29:41

will it automatically just stay on the skill you want to train?

Saikek

2013-03-29 14:35:05

From: blakyn
will it automatically just stay on the skill you want to train?


It does not change the fighting style. You should already have your weapon and fighting style set before starting.

blakyn

2013-03-29 14:54:26

alright ill have a proggy up soon. it isworking flawwwwlesssssss atm ;D

matty521521

2013-03-29 17:59:50

Okay so is player Nick your username ingame, without the first letter? Im sorta confused lol

Saikek

2013-03-29 19:13:02

From: matty521521
Okay so is player Nick your username ingame, without the first letter? Im sorta confused lol

It is 3-4 characters of your in game name. Do not use the first character in your name though.

gotitko

2013-03-29 19:18:16

This is pretty good script doesnt miss click Nice job

Saikek

2013-03-30 13:14:55

Fixed the random running.

Runehack123

2013-03-30 13:18:57

nice another chicken killer I will defnitely
enjoy this one:)

and good yoU USE SRL OSR NICE
random solving? :p awesome

Saikek

2013-03-30 13:24:52

From: Runehack123
nice another chicken killer I will defnitely
enjoy this one:)

and good yoU USE SRL OSR NICE
random solving? :p awesome


It solves the randoms that SRL-OSR has implemented. I have done no further implementation of random events other than allowing SRL-OSR to solve what it can.

Runehack123

2013-03-30 13:28:53

From: Saikek
It solves the randoms that SRL-OSR has implemented. I have done no further implementation of random events other than allowing SRL-OSR to solve what it can.


that's really impressive though since you still need to implement it correctly etcc
and not many people know how so good job man

Saikek

2013-03-30 13:31:11

When I get time I plan to add bank support after so many feathers just in case it happens to die to a random. Have essays to write at the moment so it won't be until maybe tomorrow.

leftysoulz

2013-03-30 14:33:49

Unable to find file 'SRL-OSR/SRL.Simba' used from ''

matthew1993

2013-03-30 20:28:07

Hey love your script might need a little work added this my self probably worth the add in the main script:

  Logout;
wait(1000);
writeln('Failsafe logged you out.');

Making your code this:

  writeln('FailSafe initiated! Possibly stuck or in random? Terminating script.');
Logout;
wait(1000);
writeln('Failsafe logged you out.');
TerminateScript;

Saikek

2013-03-30 21:20:23

From: matthew1993
Hey love your script might need a little work added this my self probably worth the add in the main script:

  Logout;
wait(1000);
writeln('Failsafe logged you out.');

Making your code this:

  writeln('FailSafe initiated! Possibly stuck or in random? Terminating script.');
Logout;
wait(1000);
writeln('Failsafe logged you out.');
TerminateScript;


Didn't know a logout method existed I am still new to the SRL API. Thanks!

cassius

2013-03-31 05:20:21

I keep getting error at line 155 "SetScreenName"

matthew1993

2013-03-31 11:37:32

From: Saikek
Didn't know a logout method existed I am still new to the SRL API. Thanks!


I saw that there was a LogIn method so I just searched and found the LogOut ;)
Good luck on your scripts! They seem promising!

Flames

2013-03-31 13:16:15

Thanks mate, nice working script.

D_OctoRr

2013-03-31 14:53:09

Not sure which chicken pen this is for, but I'm using the lumby one and it just rotates the camera..

urbenx

2013-04-01 13:53:53

keep having this error:
Error: Exception: Mask is invalid. Width/Height: (9,6). WhiteHi/BlackHi: (-1,53) at line 781
The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap]

please help!

leftysoulz

2013-04-03 12:06:22

loads up eoc bro, how do i fix

chuckle

2013-04-04 20:08:31

From: leftysoulz
loads up eoc bro, how do i fix

try to put in {$DEFINE SMART8} and not {$DEFINE SMART} (eoc)

GetHyper

2013-04-07 04:12:14

Works well, thanks!

Mikkoz99

2013-04-09 11:31:53

Died with my 3k arrows.
What the **** man?!
Cb: 55

Mikkoz99

2013-04-09 11:33:04

Never should have tried this
All I wanted to get was 20 ranging

purpleguy0

2013-04-09 12:47:45

there is no link to get the script?

snarffsnarff

2013-04-10 20:45:40

The only problem is that it runs behind the chicken farm every minute or two

Crazed

2013-04-11 03:01:06

Running this script on a fresh account with 5 attack 1 strength. Will report sometime tomorrow the stats and feathers your script obtains for me.

Wirezzz

2013-04-13 06:00:01

I get this error when I try to run that script:
[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(241:156): Invalid number of parameters at line 240
Compiling failed.

Wirezzz

2013-04-13 06:08:09

Now it gives me this error:
[Error] C:\Simba\Includes\SRL-OSR/SRL/core/flag.simba(96:20): Unknown identifier 'bmpMinimapMask' at line 95
Compiling failed.

KruelOxygen

2013-04-13 14:58:49

To all the people getting errors, the majority of your errors aren't script based, when I started botting 07 I got many of the same errors, just look them up on google or use the search function on the forums.

Here is the Old School Help forums where all of your errors can be answered, most by the three stickies.
http://villavu.com/forum/forumdisplay.php?f=519

KruelOxygen

2013-04-13 15:02:50

@Mikkoz99

…Don't blame the author of the script for your mistake. Scripts are still in the beginning stages and aren't that advanced yet, so they don't support random events, which is my guess of what killed you. Also you should never take a lot of money out while botting (i.e arrows, runes, ect.) unless you're babysitting your bot. Also for starting range I recommend using a crossbow and bolts as the crossbow is like 50gp and bolts are 1gp ea from the range shop in Varrock. That way if you die you will lose only 1-2k.

k1ller25

2013-04-14 03:31:53

Please try and update script to own chicken's quicker

she allon me

2013-04-15 10:07:53

help

Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from ''

kylep

2013-04-16 19:15:45

ran this script a few times works ok. changed colors as it couldnt find chickens after awhile but i also died 2 times from randoms :/

Chicago Bull

2013-04-20 14:10:16

I'm planning on making a staker apart from my main and I'm going to use this script to start it out… hopefully it detects randoms successfully so I don't die a lot lol.. thanks. :)

awong

2013-04-21 13:55:40

some tips for your script

First of all the anti-random precedure is not done properly

if(not InCombat) then
FindNormalRandoms;
if(PICKUP_FEATHERS) then

what hapepns if its a combat random? if it only checks randoms while not in combat then a combat random will kill it i went back to my screen with half hp from a security gaurd random killing me.

also to improve it you can make it pick up and bury bones :p either then that good job :)

phat808

2013-04-22 22:46:00

add evil chicken support please.

musput

2013-04-23 16:43:14

i keep getting (_ Didn't find chick colors. _) any suggestion on to fix this?

Gojira

2013-04-26 05:58:59

A quick tip for anyone using this bot:

Type ::toggleroof once before starting the bot.
This way, you can kill the chickens under the roof regardless of the point of view.

saradomin 7x

2013-04-28 15:23:09

Hey, just wanted to say great script, runs without error!
the only thing that really caught my attention was that if I was on a world with 5+ others killing chickens and not picking up feathers the script tends to just run purely for feather collection and practically stops killing hahaha. But great script nonetheless :) thanks!

saradomin 7x

2013-04-28 15:24:17

From: musput
i keep getting (_ Didn't find chick colors. _) any suggestion on to fix this?


use the eyedropper tool to re-select color? re-copy script?

voidzz

2013-05-15 20:24:05

this is very good script however if your training on the chickens in lumb it takes so much time to attack 1 chicken and move to to the other is there a way to fix this?

forexample in a 10 second span the bot kills 1 chicken which normally take 1-2 seconds.

bcrunkle

2013-05-17 02:49:19

Doesn't work at all.

Just says it can't find any chickens then dies. What gives ?

kocke

2013-05-18 10:42:20

Flawless script good work

skautas

2013-05-18 19:00:20

Works good. I removed pick up and antiban for faster exp rates. But still great script :)

JKLO

2013-06-13 11:11:49

Plant random currently not working.

Riylo69

2013-06-14 13:54:36

yay time to get some fethas

JKLO

2013-06-14 15:55:43

i LOVE the script, but i noticed it isn't as fast as i had hoped. Is there a way to speed up the process and increase the accuracy?

Sometimes i would literally go 2 minutes without killing a single chicken. I'm in a empty world so other players wouldn't be the issue.

brian87

2013-06-19 21:05:44

Error: Exception: The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]
[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228
Compiling failed.

sal man

2013-06-19 22:55:48

Appreciation for scripts like these, keep up the good work :P

Lazslo

2013-06-26 09:13:58

thanks got 50 strength

MrKaljula

2013-06-28 11:01:49

From: leftysoulz
Unable to find file 'SRL-OSR/SRL.Simba' used from ''


okei i found problem, there where helping thread thanks for this script, working well

Von_Bobbeh

2013-06-30 20:16:38

Using it in north lumby, it works great so long as the gate is closed and you adjust the colours.

I sped up some of the wait times just a hair, more of a human pace I might say.

Thanks I like the script!

NoneofTheAbove

2013-07-02 17:26:33

Thanks for the script it is very fluent as long as the gates are closed. I may edit the wait times abit to make it more human like. THANKS!

Bearzs

2014-02-23 21:24:05

Link is broken.

bization

2014-09-01 18:19:04

@Bearzs why bump such an old post

bization

2014-09-01 18:21:58

you bumped a 2013 thread..