SRL Archive - OSR Outdated / Broken Scripts

[RS07][SMART] SaikekGulls - A Simple Yet Quick Seagull Killer


Saikek

2013-03-28 02:47:42

SaikekGulls

A quick and simple seagull killer.
Version: 0.2 Beta


Hello, I would just like to say this is my first release of a script to the community. I made this for my pure so I myself use this a lot. Since this is a first general public release on my behalf I do not expect it to be flawless and it should be monitored regardless for random events. That being said the scripts does its task and it does it well, I hope you will agree and expect to see more updates and scripts from me!

Features
  • SMART Compatible for RS07
  • Simplistic Anti-ban system
  • Quick at attacking and detecting current player-state
  • Multiple failsafes to ensure account security.
The Script
program SaikekGulls;
{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//DO NOT EDIT THESE UNLESS YOU KNOW WHAT YOU ARE EDITING!
var
GFailSafe: Integer;
const
HPCOLOUR = 65280;
GULLCOLOUR1 = 6402024;
GULLCOLOUR2 = 4475209;
GFAILSAFE_THRESHOLD = 25;

//Begin User-config. Please provide your username and password.
procedure P07_DeclarePlayer;
begin
P07_PlayerName := ''; //Your username here.
P07_PlayerPass := ''; //Your password here.
end;
//End User-config

//Simple function which checks for HPCOLOUR in a defined area.
//May bug out when multiple players are in area.
function InCombat: Boolean;
var x, y: Integer;
begin
if(FindColor(x, y, HPCOLOUR, 200, 100, 300, 200)) then
Result := true
else
Result := false
end;

//Searches for and attacks seagull, easy enough? Searches for GULLCOLOUR1 and GULLCOLOUR2
//Provides for two failsafes when searching and waiting on combat to begin.
procedure AttackGull;
var x, y, failsafe: Integer;
begin
if(not InCombat) then
begin
if(P07_FindObjCustom(x, y, ['ttack', 'eagull'], [GULLCOLOUR1, GULLCOLOUR2], 6)) then
begin
GFailSafe := 0;
P07_MouseBox(x, y, x, y, mouse_left);
repeat
wait(randomrange(300,800));
inc(failsafe);
until((InCombat) or (failsafe >= 5));
end else
begin
writeln('No Seagull found.');
P07_MakeCompassDegree(randomrange(0,360));
inc(GFailSafe);
end;
end;
end;

//Gets our current in-game state.
function GetState: Integer;
begin
if (GFailSafe >= GFAILSAFE_THRESHOLD) then
Result := 3
else if(not P07_LoggedIn) then
Result := 2
else if(InCombat) then
Result := 1
else if(not InCombat) then
Result := 0
end;

//Sets camera angle to maximum and sets auto-retaliate.
procedure Setup;
var x, y: Integer;
begin
P07_MakeCameraAngleHigh;
wait(randomrange(300,500));
P07_AutoRetaliate(true);
wait(randomrange(300,500));
P07_TabInventoryTab(4);
P07_MakeCompassDegree(0);
end;

//Our quick and simple anti-ban. Could use some work.
procedure AntiBan;
var ran1, ran2: Integer;
begin
ran1 := random(800);
if(ran1 <= 5) then
begin
writeln('Anti-Ban Engaged.');
ran2 := random(10);
case(ran2) of
1: BoredHuman;
2: RandomRClick;
3: wait(1500 + randomrange(1000,3000));
4: BoredHuman;
5: PickUpMouse;
6: wait(1500 + randomrange(1000,3000));
7: RandomRClick;
8: P07_HoverSkill('Hitpoints', randomrange(500,1500));
9: P07_HoverSkill('Strength', randomrange(500,1500));
end;
end;
end;

begin
SetupSRL;
P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
wait(1000);
if(P07_LoggedIn) then
Setup;
while(GFailSafe < GFAILSAFE_THRESHOLD) do
begin
case (GetState) of
0:
begin
AttackGull;
wait(randomrange(500,1000));
end;
1:
begin
AntiBan;
wait(randomrange(50,200));
end;
2:
begin
P07_LoginPlayer;
wait(randomrange(300,800));
Setup;
end;
3:
begin
break;
end;
end;
end;
writeln('FailSafe initiated! Possibly stuck or in random? Terminating script.');
TerminateScript;
end.
You must start this at the seagulls in Port Sarim, either logged in or out.

GitHub link(For quick and easy updates for my scripts):
https://github.com/Inseighn/SaikekScripts

My scripts will always be open-source as I am always open to any suggestions! And please report bugs!

Runehack123

2013-03-28 02:53:04

This is really cool nice work!!!! :)

djmargus

2013-03-28 18:11:29

not good to use it i think, ppl conna report u to much !

Saikek

2013-03-28 19:30:58

Updated the script a bit, has been running flawless until it hits a random.

jaketuricchi

2013-03-28 20:41:42

who wants to kill seagulls tho?

Kindle

2013-03-28 20:46:11

In your OP it should be "ensure" not insure. Also, it seems that the mouse movements are a bit "bottish".

Saikek

2013-03-28 21:59:15

From: jaketuricchi
who wants to kill seagulls tho?

They are great for low level pures. Have 6-10hp, respawn quickly, and will never damage you.

mfreezy

2013-03-29 01:35:39

Testin out right now :) ill let ya know how it goes! thanks for the script.

mfreezy

2013-03-29 01:58:32

it seems to be running really well. the only thing i suggest is because the seagulls have a long death animation, if there is a way for you to make the script attack the next gull once their health is all red, it would greatly improve xp/hr. cause it sits there and waits for the gull to disappear before moving onto the next one. overall good job though man :)

Saikek

2013-03-29 02:09:21

Right. I noticed that and I'll work something out when I get the chance.

Frijj

2013-03-29 13:31:25

Was working well so i went afk for about 10 minutes came back and i was in lumbridge killing a rat, A random must have killed me.

aproxcv

2013-03-29 15:56:01

cant launch with smart, just freezes there

aproxcv

2013-03-29 15:58:52

it loads new runescape not oldschool…

Saikek

2013-03-30 01:35:59

From: aproxcv
it loads new runescape not oldschool…

You need to set up Simba and SMART correctly then.

tekniqz

2013-04-01 03:24:17

umm no, its setup perfectly fine and your script loads reg rs. soz to say mate but you should listen to the ppl using it and not be rude about it. you should take a look

mfreezy

2013-04-01 06:35:36

From: tekniqz
umm no, its setup perfectly fine and your script loads reg rs. soz to say mate but you should listen to the ppl using it and not be rude about it. you should take a look

bro your shit isn't set up right. its not his script's fault.

sillyfrog

2013-04-01 23:56:20

I just made a new pure and used this to get 1-25 str! It works great.
I babysat for awhile and noticed that sometimes the anti-ban that clicks skill guide will sometimes not close. Hitting the "X" will return script to working again.
I left for ~20 minutes, came back and I was fighting the goblins northwest of the gulls. I was around 1/2 HP. Maybe this is what is sending you folks to Lum. It is efficient for low level pures but I would not recommend using it once you reach a decent level as it does not have human-like mouse and it is a known spot for bots. However most people that pass by are there to travel and use the ports, they won't be there for long so its not dangerous in my mind.

Overall, great script that gets the job done. Thanks Saikek!!! Happy botting.

aproxcv

2013-04-02 05:03:47

how to make this to launch old school runescape?

Saikek

2013-04-02 08:41:27

From: sillyfrog
I just made a new pure and used this to get 1-25 str! It works great.
I babysat for awhile and noticed that sometimes the anti-ban that clicks skill guide will sometimes not close. Hitting the "X" will return script to working again.
I left for ~20 minutes, came back and I was fighting the goblins northwest of the gulls. I was around 1/2 HP. Maybe this is what is sending you folks to Lum. It is efficient for low level pures but I would not recommend using it once you reach a decent level as it does not have human-like mouse and it is a known spot for bots. However most people that pass by are there to travel and use the ports, they won't be there for long so its not dangerous in my mind.

Overall, great script that gets the job done. Thanks Saikek!!! Happy botting.


Wasn't aware of that. I've been working on a larger script so I haven't felt the need to update this one but if it is being used by enough people I'll add some extra failsafes and make it a bit more human like.

Bearzs

2013-04-02 15:24:41

Why does no one have Randoms solver, I mean just get someone to write the script and add it to all your scripts :/

alex_l

2013-04-02 20:44:58

It loads the eoc version of runescape for me, anyone knows how to fix this?

Bearzs

2013-04-04 11:33:44

Same for me :(, Also i put every random event solver into 1 script that you can copy paste into any script :)

quickerthanu

2013-04-04 11:45:28

if i run it on old rs do i need to delete the (define smart8) in the script?

daniel133

2013-04-10 22:46:37

Mine goes over the seagulls with my cursor but it doesn't click them, do you know why?

poewns

2013-04-12 12:51:36

This guy hacked my account for 1m.
Don't use this guys.

joakimstorm

2013-04-17 13:07:22

From: poewns
This guy hacked my account for 1m.
Don't use this guys.

Nice assumption. _|_

mees94

2013-04-20 12:51:08

doesn't seem to work for me :(

I wana train my obby pure! :(:(

mees94

2013-04-20 12:57:54

why does it open EOC rs and not OSRS?

What is this :( other scripts like fightcavers have no problem and open OSRS client

How to solve this? Thanks.

nareg

2013-04-23 23:07:24

Yo, does this pick up arrows or knives?

tru3hunt

2013-04-24 10:30:40

well everything is good until i get a random and then i have to fix it

tru3hunt

2013-04-24 10:32:40

you have to fix your simba to work with 07rs read the guides

rivaldo

2013-05-05 08:53:07

[Error] C:\Simba\Includes\SRL/SRL/core/login.simba(738:3): Unknown identifier 'SetScreenName' at line 737

what is this for joke

Bearzs

2013-07-02 20:36:48

Scripts fucked…

Le_don

2013-07-22 19:34:44

From: nareg
Yo, does this pick up arrows or knives?


No.

From: mees94
why does it open EOC rs and not OSRS?

What is this :( other scripts like fightcavers have no problem and open OSRS client

How to solve this? Thanks.


Change {$DEFINE SMART8} to {$DEFINE SMART} ?

From: poewns
This guy hacked my account for 1m.
Don't use this guys.


This script is safe.

@OP - I'm using parts of your script to help me create a monk killer. Hope you don't mind.

Bearzs

2013-11-01 21:59:32

I am getting this error?

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

Ashaman88

2013-11-27 14:23:00

P07include outdated. Please use official one - shoot me a PM when/if this is updated.