PDA

View Full Version : [RS07][SMART] SaikekGulls - A Simple Yet Quick Seagull Killer



Saikek
03-28-2013, 06:47 AM
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
03-28-2013, 06:53 AM
This is really cool nice work!!!! :)

djmargus
03-28-2013, 10:11 PM
not good to use it i think, ppl conna report u to much !

Saikek
03-28-2013, 11:30 PM
Updated the script a bit, has been running flawless until it hits a random.

jaketuricchi
03-29-2013, 12:41 AM
who wants to kill seagulls tho?

Kindle
03-29-2013, 12:46 AM
In your OP it should be "ensure" not insure. Also, it seems that the mouse movements are a bit "bottish".

Saikek
03-29-2013, 01:59 AM
who wants to kill seagulls tho?
They are great for low level pures. Have 6-10hp, respawn quickly, and will never damage you.

mfreezy
03-29-2013, 05:35 AM
Testin out right now :) ill let ya know how it goes! thanks for the script.

mfreezy
03-29-2013, 05:58 AM
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
03-29-2013, 06:09 AM
Right. I noticed that and I'll work something out when I get the chance.

Frijj
03-29-2013, 05:31 PM
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
03-29-2013, 07:56 PM
cant launch with smart, just freezes there

aproxcv
03-29-2013, 07:58 PM
it loads new runescape not oldschool...

Saikek
03-30-2013, 05:35 AM
it loads new runescape not oldschool...
You need to set up Simba and SMART correctly then.

tekniqz
04-01-2013, 07:24 AM
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
04-01-2013, 10:35 AM
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
04-02-2013, 03:56 AM
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
04-02-2013, 09:03 AM
how to make this to launch old school runescape?

Saikek
04-02-2013, 12:41 PM
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
04-02-2013, 07:24 PM
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
04-03-2013, 12:44 AM
It loads the eoc version of runescape for me, anyone knows how to fix this?

Bearzs
04-04-2013, 03:33 PM
Same for me :(, Also i put every random event solver into 1 script that you can copy paste into any script :)

quickerthanu
04-04-2013, 03:45 PM
if i run it on old rs do i need to delete the (define smart8) in the script?

daniel133
04-11-2013, 02:46 AM
Mine goes over the seagulls with my cursor but it doesn't click them, do you know why?

poewns
04-12-2013, 04:51 PM
This guy hacked my account for 1m.
Don't use this guys.

joakimstorm
04-17-2013, 05:07 PM
This guy hacked my account for 1m.
Don't use this guys.
Nice assumption. _|_

mees94
04-20-2013, 04:51 PM
doesn't seem to work for me :(

I wana train my obby pure! :(:(

mees94
04-20-2013, 04:57 PM
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
04-24-2013, 03:07 AM
Yo, does this pick up arrows or knives?

tru3hunt
04-24-2013, 02:30 PM
well everything is good until i get a random and then i have to fix it

tru3hunt
04-24-2013, 02:32 PM
you have to fix your simba to work with 07rs read the guides

rivaldo
05-05-2013, 12:53 PM
[Error] C:\Simba\Includes\SRL/SRL/core/login.simba(738:3): Unknown identifier 'SetScreenName' at line 737

what is this for joke

Bearzs
07-03-2013, 12:36 AM
Scripts fucked...

Le_don
07-22-2013, 11:34 PM
Yo, does this pick up arrows or knives?

No.


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} ?


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
11-02-2013, 01:59 AM
I am getting this error?

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

Ashaman88
11-27-2013, 07:23 PM
P07include outdated. Please use official one - shoot me a PM when/if this is updated.