YA
grats
2011-12-05 04:42:57
Please refer to the new thread here:
http://villavu.com/forum/showthread.php?p=899046all other versions are obsolete!
Thank you for over 250downloads of the beta versions!
Flight
2011-12-05 04:53:46
Wohoo Grat's first script, look at that! Congratulations on the release man. :)
grats
2011-12-05 04:56:38
From: Flight
Wohoo Grat's first script, look at that! Congratulations on the release man. :)
thanks hoping to fix those things in my first post then add stats and just a counter to count how many yaks dead
then should be good for the actual fighting scripts section :P
oh and breaks
onilika
2011-12-05 05:04:20
Nicely done grats! You making improvements! :D
Grats on your first release :)
Use this function, why?
Because currently your function does not check if there is an item in that InvSpot
This will.
Function Eat(What: String): Boolean;
var
I: Integer;
begin
Result := False;
for i := 1 to 28 do
if ExistsItem(i) then
begin
InvMouse(I, 3);
if IsUpText(What) then
begin
ClickMouse2(True);
Wait(RandomRange(350, 525));
Result := True;
Exit;
end else
Continue;
end;
end;
~Home
grats
2011-12-05 05:47:23
oh ok :p
thanks
could you help me with the health procedure?
trials6112
2011-12-05 05:49:32
Just wondering whats the rough exp an hour with fighting yaks?
grats
2011-12-05 05:51:41
From: trials6112
Just wondering whats the rough exp an hour with fighting yaks?
not sure, depends on how hard you hit
they have very high life and low defense / low attack so they're good for just pounding on with a good weapon
the script itself is pretty fast at attacking yaks constantly
trials6112
2011-12-05 05:55:13
ok with say an 88 def account with full drag, with fury. and blessed spirit shield.
whats the likely eating rate on food?
Just so i know, and can i leave it with an over night run?
grats
2011-12-05 05:57:45
0
with full rune and 55 defense I ran it till runescape kicked me off and my life never went below max (no food in inventory)
it doesn't have breaks yet though I don't know if you'd want to run it without being there, still kind of beta stages
You don't really need that HP check function. I merged them into one.
If HPPercent is < 50 then it begins.
If InvEmpty it will logout, else it will start doing eating procedure.
Function Eat(What: String): Boolean;
var
I: Integer;
begin
Result := False;
If Not LoggedIn then Exit;
if (HPPercent < 50) then
If InvEmpty then Logout
else
for i := 1 to 28 do
begin
InvMouse(I, 3);
if IsUpText(What) then
begin
ClickMouse2(True);
Wait(RandomRange(350, 525));
Result := True;
Exit;
end else
Continue;
end;
end;
~Home
trials6112
2011-12-05 06:03:45
mm kk, grats what wep and what str were you and what was your exp an hour?
grats
2011-12-05 06:10:10
Thanks home!!!!!
From: trials6112
mm kk, grats what wep and what str were you and what was your exp an hour?
You can take the new script, it should now eat food when at 50% life so you can put a few pieces in your inventory and then it'll logout if it runs out.. (with dragon I highly doubt you'll ever lose any life)
I have a whip and 65-70 strength in 3 minutes I got about 2k exp so about 40k exp an hour
sry I haven't looked at exp till just now, I was more making sure the other stuff worked lol
49188 / hour now
trials6112
2011-12-05 06:32:26
ok so with 90 str i should get like 60k-80k exp an hour?
grats
2011-12-05 06:34:41
From: trials6112
ok so with 90 str i should get like 60k-80k exp an hour?
yea probably a bit
just reset your exp counter and let it go for 10 minutes and multiply that by 6, should be "about" how much you'll get
trials6112
2011-12-05 06:36:02
ok thanks again mate.
=)
Also i am going to pm you in regards to something.
grats
2011-12-05 06:39:38
Alright, I don't recommend running it when you're not there though some problems may occur somewhere and I wouldn't want your account to get in trouble =[
trials6112
2011-12-05 06:40:33
mm, maybe i will monitor it than. =/
grats
2011-12-05 06:44:06
From: trials6112
mm, maybe i will monitor it than. =/
yea check it at least every 30 minutes, the eating and stuff works fine I'm just worried about something breaking :p
trials6112
2011-12-05 07:08:16
in regards to?
grats
2011-12-05 07:09:46
human break from SRL gets an error once in every 20 times it gets called… and then it just spins the camera and the script shuts off
so far that's the only problem I see that can interrupt stuff
the script is just released so I want users to be cautious
trials6112
2011-12-05 07:18:05
ok, well i will run a test. possibly tomorrow if that's the case
trials6112
2011-12-06 04:28:50
just went to place the script in Simba, and it would not allow me to paste it =/ is there a script file download link?
It should allow you to paste it. Maybe you aren't removing this part that is default before you paste the script?
program new;
begin
end.
Try to remove that and then paste the script
From: trials6112
just went to place the script in Simba, and it would not allow me to paste it =/ is there a script file download link?
trials6112
2011-12-06 04:39:59
I did and i am able to paste only a line. =/ which wont work i dont understand it
trials6112
2011-12-06 04:45:25
is it at all possible to convert this script into a direct download link?
Here you go:
http://www.mediafire.com/?kycy9hws3sa7kvbIf Grats would like me to remove the link to download his script, I will be happy to oblige.
From: trials6112
is it at all possible to convert this script into a direct download link?
trials6112
2011-12-06 05:20:39
thanks heaps man. =)
Tempt
2011-12-06 05:26:22
Trials you're funny :P I'll test the script for you too btw, posting back with results in about 3 days.
trials6112
2011-12-06 05:30:10
Ok the only glitch i found so far is that you cannot wear a berserker helm or else your script will not attack has some slight problems with the whip. /
but it is acceptable/ =) thank heaps
ok second thing, my blessed spirit shield causes the script to malfunction. but i will just change to a different shield after i run a few hours test
ok changed to rune full and obby shield now it's working flawlessly =)
Swagger
2011-12-06 22:42:39
Glad you made this script - I'm sure lots of people are going to be training at yaks now! Without bots there were only 1-2 people per world lol.
Gratz ;)
phamxboa
2011-12-07 00:52:09
it messes up. it confuses the drops as the actual yaks. so maybe you could fix that
grats
2011-12-07 04:03:11
ran it for 4 hours straight and like 3 hours, should be good… most of you probably won't ever need to eat so you can run it forever
if you do have worse gear than full rune just watch it every once in a while and let me know if it eats correctly
From: trials6112
ok second thing, my blessed spirit shield causes the script to malfunction. but i will just change to a different shield after i run a few hours test
what problems did you have with that and berserker helm exactly?
From: RISK
Here you go: http://www.mediafire.com/?kycy9hws3sa7kvb
If Grats would like me to remove the link to download his script, I will be happy to oblige.
I'll add it to the script to the first post, will make the thread in the fighting section in about a week because then I have no class and actually have free time to do stuff lol
trials6112
2011-12-07 08:07:48
The colour aspect of the items/
thedude
2011-12-07 10:30:35
Awesome script. However, simba does not seem to finish the randoms. Is this because of simba or the script? Also, what about adding a feature of logging off randomly to prevent randoms?
grats
2011-12-07 10:47:41
ah well it looks for uptext, as far as changing the color.. can't really do that since the yaks are that color =/
it shouldn't click though unless it has the uptext of attack yak or whatever
From: thedude
Awesome script. However, simba does not seem to finish the randoms. Is this because of simba or the script? Also, what about adding a feature of logging off randomly to prevent randoms?
yea breaks will come up in about a week, my last day of class is monday and I'll be able to add some cool stuff
SRL is the problem, the devs are working on randoms.. see a lot of stuff in scripts are all part of the library "SRL" and we just call in functions to scripts, put them in correct order etc etc and you got your script
GreenZombie
2011-12-07 12:11:16
I will run this overnight. What do you recommend me to wear?
High defence armor or low defence armor?
grats
2011-12-07 13:48:25
From: GreenZombie
I will run this overnight. What do you recommend me to wear?
High defence armor or low defence armor?
high defense is always good isn't it?
with full rune + I don't think yaks can do any damage to you, got some dragon on now instead of full rune and they haven't hit me once in like 7 hours lol
GreenZombie
2011-12-07 13:54:51
Im getting like 45k total xp per hour on a realy slow computer.
My stats are 87-88atk 79-80 str.
Thanks
grats
2011-12-07 15:29:50
nice sounds pretty good
will speed it up a bit when schools out, I got a good handful of things planned for it
Yakman
2011-12-07 15:48:59
A script that kills yaks?
I'm rather worried about this..
shstiger2009
2011-12-07 15:58:38
From: Yakman
A script that kills yaks?
I'm rather worried about this..
LOL. I needed that.
Anyway, script seems awesome, will be testing soon!
GreenZombie
2011-12-07 16:09:05
Waiting time after killing the yak seems to be even longer than killing the yak. Also it could be better if the bot does "Randoms" like opening prayer tab or checking experience while its fighting. I wont run this bot over night today but Ill try it as soon as it gets a lil bit faster :)
Edit:
Also I got reported some many times using this bot so its better for me not to bot this so much
Swagger
2011-12-07 18:31:02
People can also use a regen brace which heals you quite quickly + good strength bonus. It's also quite cheap if I remember right.
trials6112
2011-12-07 19:32:32
180k or so but its down to like 125k atm i think =)
I always use when i afk train on bandits.
grats
2011-12-08 03:36:21
From: GreenZombie
Waiting time after killing the yak seems to be even longer than killing the yak. Also it could be better if the bot does "Randoms" like opening prayer tab or checking experience while its fighting. I wont run this bot over night today but Ill try it as soon as it gets a lil bit faster :)
Edit:
Also I got reported some many times using this bot so its better for me not to bot this so much
yea fixing that up a bit now.. one of the big problems is the 'infight' function that checks if we're in combat waits for the players health bar to disappear.. which adds quite a bit of time
From: Yakman
A script that kills yaks?
I'm rather worried about this..
the boss of the yaks!!!! we'll need strength potions guys!
nathan lad
2011-12-10 03:05:10
really like the script no need for ought fancy when yaks r gr8 exp… but like u said already. u probz need speed up the interval between fights
translateservererror
2011-12-10 07:50:30
yes speed it up plz
and it get lots of hide for me…
nathan lad
2011-12-10 08:32:00
the pickin up of hides doesnt really matter eventually ure inv will fill with hides and ure remaining food, dont see it making any difference to hwo the script runs
grats
2011-12-10 09:16:22
From: nathan lad
the pickin up of hides doesnt really matter eventually ure inv will fill with hides and ure remaining food, dont see it making any difference to hwo the script runs
yea I wasn't worried about that, mis-clicking is going to happen.. it'd only slow it down if I took time to drop the hides
going to upload a slightly faster version in a few mins
new version on OP version 0.3
takes out boredhuman antiban and adds some different ones that are quicker
testing it, it seems pretty fast.. one of the major speed issues is - the infight waits till our players life bar is gone before it starts to look for another yak.. so I'll definitely fix that so it looks for our life bar + enemies life bar.. and if enemies isn't there then it searches for a yak, should be quite a bit faster
trials6112
2011-12-10 09:45:57
im currently gettin in excess of 70-80k an hour exp =)
With the changes i self implemented onto this script.
Works wonderfully now, as it did before just now though it allows me to get more exp per hour.
grats
2011-12-10 09:48:06
From: trials6112
im currently gettin in excess of 70-80k an hour exp =)
With the changes i self implemented onto this script.
Works wonderfully now, as it did before just now though it allows me to get more exp per hour.
you've talked about your changes like 20 times, are you going to post it or just talk about it?
trials6112
2011-12-10 09:50:09
ahh, sorry.
Its just simple but i will post it =)
program YakAttack;
{$DEFINE SMART}{$DEFINE CRASHSMART}
{$i SRL\SRL.scar}
{$i SRL/SRL/skill/fighting.scar}
///////////////////////////////////
//start setup
///////////////////////////////////
const
//change to the smart world you want. Having the same world in all your scripts allows you to change scripts without smart restarting.
SWorld = 15;
//Speed of your mouse, default is good!
MSpeed = 13;
procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
With Players[0] Do
Begin
Name := ''; //Player username.
Pass := ''; //Player password.
Nick := ''; //Player nickname - 3-4 letters of Player username.
Active := True;
End;
End;
///////////////////////////////////
//end setup
///////////////////////////////////
procedure SetupChar;
begin
SetAngle(True);
MakeCompass('N');
Retaliate(True);
end;
procedure MSI_RandomFKey;
var
i, randInt, randKey, currTab: Integer;
keys: array[0..4] of Word;
begin
currTab := GetCurrentTab(); // Get the current tab player is on
keys[0] := VK_F1;
keys[1] := VK_F2;
keys[2] := VK_F3;
keys[3] := VK_F4;
keys[4] := VK_F5;
randInt := Random(6);
case randInt of
0..4:
begin
KeyDown(keys[randInt]);
wait(35+random(85));
KeyUp(keys[randInt]);
end;
else
for i := 1 to 3 do
begin
randKey := Random(5);
KeyDown(keys[randKey]);
wait(35+random(85));
KeyUp(keys[randKey]);
end;
end;
wait(75+random(100));
GameTab(currTab); // Reset to starting tab
end;
//random antibans to use
procedure GAntiBan;
begin
writeln('Choosing random antiban');
case random(10) of
0 : begin
writeln('Random click selected');
RandomRClick;
end;
1 : begin
writeln('Random movement selected');
RandomMovement;
end;
2 : begin
writeln('Bored human selected');
BoredHuman;
end;
3 : begin
writeln('Prayer tab selected');
GameTab(27);
Wait(randomrange(100,300));
end;
4 : begin
writeln('Random Angle selected');
RandomAngle(True);
end;
5 : begin
writeln('Random Fkey selected');
MSI_RandomFKey;
end;
6 : begin
writeln('Hover Skill (HP) selected');
HoverSkill(skill_hitpoints,false);
Wait(randomrange(100,300));
end;
7 : begin
writeln('Game Tab selected');
GameTab(21);
end;
8 : begin
writeln('Pickup Mouse selected');
PickUpMouse;
end;
9 : begin
writeln('Random wait selected');
Wait(randomrange(100,200));
end;
end;
Wait(randomrange(100,200));
end;
//thanks flight! and home!
Function Eat(What: String): Boolean;
var
I: Integer;
begin
Result := False;
If Not LoggedIn then Exit;
if (HPPercent < 50) then
If InvEmpty then Logout
else
for i := 1 to 28 do
begin
InvMouse(I, 3);
if IsUpText(What) then
begin
ClickMouse2(True);
Wait(RandomRange(150, 225));
Result := True;
Exit;
end else
Continue;
end;
end;
//from flight, thanks!
Function FindObjSimple_F(Colors: TIntegerArray; TheUpText: TStringArray; midx, midy: integer): Boolean;
Var
T,i,X,Y: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
Begin
MarkTime(T);
Repeat
SetArrayLength(ATPA, Length(Colors));
for i := 0 to High(Colors) do
FindColorsSpiralTolerance(midx, midy, ATPA, Colors, MSX1, MSY1, MSX2, MSY2, 5);
TPA := MergeATPA(ATPA);
ATPA := TPAtoATPAEx(TPA, 15, 15);
SortATPAFrom(ATPA, Point(MSCX, MSCY));
if (Length(ATPA) = 0) then
Exit;
MiddleTPAEx(ATPA[0], x, y);
if (TimeFromMark(T) > 3000) then
Exit;
MMouse(x, y, 10, 10);
Wait(randomrange(115,225));
If(IsUpTextMultiCustom(TheUpText)) then
begin
ClickMouse2(True);
if DidRedClick then
begin
Result := True;
Break;
end;
end;
Until(Result)
end;
//used to add chatbox text after 'someone else is fighting that' so it doesn't loop
procedure GetOutF;
begin
case random(2) of
0 : begin
KeyDown(VK_Tab);
wait(35+random(100));
wait(35+random(100));
KeyUp(VK_Tab);
wait(25+random(70));
wait(35+random(100));
end;
1 : begin
ExamineInv;
end;
end;
end;
//Less likely to use one of the GAntiBan's
Procedure RAntiBan;
begin
case random(4) of
0 : begin
writeln('Random Wait AntiBan');
Wait(randomrange(100,300));
end;
1 : begin
GAntiBan;
end;
2 : begin
writeln('Pickup mouse random wait');
Wait(randomrange(100,300));
PickUpMouse;
Wait(randomrange(100,250));
end;
3 : begin
writeln('Pickup mouse multi');
Wait(randomrange(100,300));
PickUpMouse;
Wait(randomrange(100,300));
PickUpMouse;
Wait(randomrange(100,300));
end;
end;
end;
//finding and killing yaks
procedure KillYak;
var
sX,sY: Integer;
label
fighting;
begin
if FindObjSimple_F([1053721, 6777452], ['ttck','ak'], MSCX, MSCY) then
writeln('Attacking Yak!');
fighting:
While IsMoving do
wait(1);
wait(randomrange(100,300));
if FindBlackChatMessage('omeone else is fighting') then
begin
writeln('Someone else is controlling the population of this yak!');
case random(4) of
0 : begin
sX := MSX1;
sY := MSY1;
end;
1 : begin
sX := MSX1;
sY := MSY2;
end;
2 : begin
sX := MSX2;
sY := MSY1;
end;
3 : begin
sX := MSX2;
sY := MSY2;
end;
end;
if FindObjSimple_F([4869718, 1908774], ['ttck','ak'], sX, sY) then
GetOutF;
goto fighting;
end else
begin
if InFight then
begin
repeat
FindNormalRandoms;
writeln('fighting…');
Wait(randomrange(100,200));
Eat('Eat');
until (not InFight) or (Not LoggedIn)
end;
writeln('Another Yak down, billions to go');
wait(randomrange(100,200));
end;
end;
//script startup
procedure Startup;
begin
Smart_Server := SWorld;
Smart_Members:= true;
Smart_Signed := true;
Smart_SuperDetail := false;
SetupSRL;
DeclarePlayers;
LogInPlayer;
MouseSpeed := MSpeed;
wait(100+random(100));
end;
begin
Startup;
SetupChar;
repeat
KillYak;
findnormalrandoms;
until not LoggedIn
writeln('stopping script');
TerminateScript;
end.
grats
2011-12-10 09:52:44
making the waits shorter doesn't speed it up that much.. I had to increase them to speed it up - less long antibans
that's why I'm taking out things like boredhuman
nathan lad
2011-12-10 09:54:07
hope this change can be implemented if its succesful
btw is there no way to code for the bot to attack once the character stops animating?
trials6112
2011-12-10 09:56:53
yeah its sped it up more than enough from 55k an hour to 75k an hour exp. 20k an hour exp difference.
grats
2011-12-10 09:58:40
your shorter wait version is giving me about half the exp I get with 0.3
by shortening the wait, you increase the amount of antibans.. which actually makes the waits a lot longer
From: nathan lad
hope this change can be implemented if its succesful
btw is there no way to code for the bot to attack once the character stops animating?
redownload 0.3, I just changed 2 lines real fast
I'll add some stuff later this week so it instantly starts attacking a yak once it's done fighting
nathan lad
2011-12-10 10:08:30
thanks a lot man, ill try it now
grats
2011-12-10 10:14:23
From: nathan lad
thanks a lot man, ill try it now
yea I'm bummed about the waiting till life bar is gone to start fighting, one of the problems with SRL is that.. it doesn't have good color fighting procedures
trials6112
2011-12-10 11:56:48
yeah , it was eating lobs on me after every kill =/
V0.3 i mean.
Back to my edited version for now.
grats
2011-12-10 12:21:19
what? nothing changed for eating
post the debug box plz? I can't reproduce your error
nathan lad
2011-12-11 03:07:35
i used the new version im not sure if its quicker or not as it still waits for ure health bar to disappear, perhaps it is now quicker in its reaction time afterwards, it seems so
grats
2011-12-11 08:52:02
From: nathan lad
i used the new version im not sure if its quicker or not as it still waits for ure health bar to disappear, perhaps it is now quicker in its reaction time afterwards, it seems so
That's exactly what I said like 2 posts up -.-
infight is something I'll have to fix, not really sure how
omegaangelz
2011-12-11 09:01:30
checking if infight without checking for an hp bar seems to be the main thing slowing down the xp/hour. Its effective, but could be more efficient. I am not sure how well Scar is at detecting animations. possibly something to do with pixelshifting, but I'm mostly talking out my ass lol. Looks like a promising script though, would someone please inform me where yaks are, so that I may test it out? I've never found them lol
grats
2011-12-11 09:05:43
From: omegaangelz
checking if infight without checking for an hp bar seems to be the main thing slowing down the xp/hour. Its effective, but could be more efficient. I am not sure how well Scar is at detecting animations. possibly something to do with pixelshifting, but I'm mostly talking out my ass lol. Looks like a promising script though, would someone please inform me where yaks are, so that I may test it out? I've never found them lol
http://runescape.wikia.com/wiki/Neitiznotthat's where yaks are
when this script gets put in the real scripts section (once I add more stuff) I'll have a tutorial on how to get there etc
I'm planning on doing something that like.. detects your HP bar and the closest one to you, and if yours is the only one that appears then it'll return false so it starts looking for a new target to attack.. instead of only looking at your hp bar
omegaangelz
2011-12-11 09:19:31
Damn havent dont fremenick isles lol. I'll look into it. That is a brilliant work around though! Kind of the way a miner detects the nearest ore, and when it attemts to detect and its no longer present, then it selects a new ore, your script would select a new yak. Idk if that might make it easier for you to implement to base it on a method such as that, but hopefully my input helps :)
nathan lad
2011-12-11 13:21:52
fremmy isles doesnt need to be completed just started to the point where u speak to the king of jatizo. dnt bother gettin the stuff he wants just leave jatz and go to neitz
'Toxin
2011-12-11 13:27:11
Grats, this script is pretty sweet. I'm working on a new barrows pure so I may give this a try . Thanks bud. :)
Ran for an hour, 50k ish exp, was pretty smooth no problems so far.
Narcle
2011-12-11 14:49:26
@grats
You can snag my fighting stuff from Fast Fighter / NAF for InFight, IsFightAt and FightOnScreen I would suggest. :)
Make sure you find the TBox that I use with it.
grats
2011-12-11 17:05:49
From: Narcle
@grats
You can snag my fighting stuff from Fast Fighter / NAF for InFight, IsFightAt and FightOnScreen I would suggest. :)
Make sure you find the TBox that I use with it.
Oh you made one that is better? sweet!!! thanks!
I'll look into it in a bit, working on school finals stuff, only 2 days left :spot:
From: ofc
Ran for an hour, 50k ish exp, was pretty smooth no problems so far.
holy crap dave where have you been!?!?!
From: grats
holy crap dave where have you been!?!?!
been busy at work and stuff, kinda starting to slow down now so I'm back etc…
How you been?
sofaking
2011-12-12 01:28:24
Hey, I've used it for a few mins and noticed that it will pick up yak hair and hide quite frequently. About 15 minutes in, about 14 yak hides/hairs in invent. Otherwise, good script; nice work and thanks.
Tempt
2011-12-12 10:38:21
From: sofaking
Hey, I've used it for a few mins and noticed that it will pick up yak hair and hide quite frequently. About 15 minutes in, about 14 yak hides/hairs in invent. Otherwise, good script; nice work and thanks.
This is just because the colours that the bot looks for on yaks are simmilar to those of the hairs / hides. You can safely edit the colours (play around with them) until the bot only clicks yaks. However jagex seems to be changing the colours in-game so you might have to re-do this process every now and then.
*btw OP. I love your script. It's got me about 3m xp so far, I've made a few tweaks since the day you posted it, and am working on making a GDK with your script as the skeleton! Trials has probably mentioned it somewhere.
for antibans, All you need to do with them in my opinion is make them occur far less and you'll be fine. As too much anti-ban isn't human :)
I'll post up a stolen procedure from narcle's fast-fighter to help with the infight.
As a small proggy type thing, The most I've ran it for so far, is about 16 hours with the modded {CRASHSMART} .Bat file, It works amazingly. Thankyou.
OConnor
2011-12-12 14:13:55
I've been using this script and its very useful, I've just upgraded to bandos chestplate/tassets and berserker helm using whip. When I run the script now it just constantly clicks my armour and whip thinking its fighting? Other than that it runs fine. I guess its to do with similar colours, but is there a fix?
grats
2011-12-12 19:01:43
From: ofc
been busy at work and stuff, kinda starting to slow down now so I'm back etc…
How you been?
Pretty much the same, glad schools done today! got 1 online test to take and I'll be done! I love the slow down
will have my new computer up so you'll see me on IM again lol
From: Tempt
This is just because the colours that the bot looks for on yaks are simmilar to those of the hairs / hides. You can safely edit the colours (play around with them) until the bot only clicks yaks. However jagex seems to be changing the colours in-game so you might have to re-do this process every now and then.
*btw OP. I love your script. It's got me about 3m xp so far, I've made a few tweaks since the day you posted it, and am working on making a GDK with your script as the skeleton! Trials has probably mentioned it somewhere.
for antibans, All you need to do with them in my opinion is make them occur far less and you'll be fine. As too much anti-ban isn't human :)
I'll post up a stolen procedure from narcle's fast-fighter to help with the infight.
As a small proggy type thing, The most I've ran it for so far, is about 16 hours with the modded {CRASHSMART} .Bat file, It works amazingly. Thankyou.
yea something I did in 0.3 is reduced them a LOT, but they'll get reduced more in up coming versions!
From: sofaking
Hey, I've used it for a few mins and noticed that it will pick up yak hair and hide quite frequently. About 15 minutes in, about 14 yak hides/hairs in invent. Otherwise, good script; nice work and thanks.
that's a misclick of a yak sometimes.. it's really something I'll probably never fix since the colors are so similar, it doesn't have a negative effect at all
From: TIEST0
I've been using this script and its very useful, I've just upgraded to bandos chestplate/tassets and berserker helm using whip. When I run the script now it just constantly clicks my armour and whip thinking its fighting? Other than that it runs fine. I guess its to do with similar colours, but is there a fix?
it clicks your whip? I've used a whip for 30+ hours never seen that
does it actually click, or does it just mouse over? thanks
sahibjs
2011-12-12 20:51:23
this might be one of the stupidest questions you've ever seen, but which one of the attachments is the most recent version, the first or the second?
Flight
2011-12-12 20:58:29
From: sahibjs
this might be one of the stupidest questions you've ever seen, but which one of the attachments is the most recent version, the first or the second?
The last attachment is almost always the most recent one. Try downloading that one and see how it works for ya.
grats
2011-12-12 20:59:23
yea the 3,0 one is the most recent
the other one is the first time I did it, that one sucks lol
sahibjs
2011-12-12 22:21:14
thank ye!
I'll be getting 99 range and strength hopefully in a few days with this (:
some suggestions :
faster attack time between yaks
make it stop attacking other people's yaks
it tries to pick up yak hairs sometimes
other than these minor issues (which shouldn't pose a problem anytime soon), this script is great!
OConnor
2011-12-13 01:26:55
From: grats
it clicks your whip? I've used a whip for 30+ hours never seen that
does it actually click, or does it just mouse over? thanks
Yeah, moves the mouse around it slightly, and clicks a few times. Then goes back to clicking my bandos armour? was working great with my dragon a few days ago by the way.
gothical
2011-12-13 19:31:24
This was working when Narcle's fast fighter wasnt working with Yak's. I'm not sure how though but this website is providing full proof training … after the bot nuke .. lol
Jack512
2011-12-14 02:07:19
pretty awesome script, all id like to see added is less time spent on anti-ban and a counter/stats which you have planned anyways :3
good job bro.
DarkCoder
2011-12-14 15:16:57
BEST SCRIPT EVER! - Well maybe a tad over the top but you get what I mean :D
I must be getting in the 50k region an hour with this…
One problem is when other players wear bersker helmets the script likes to check them out a lot.
it gets stuck on my tasset sometimes, clicks it a shit load etc…
grats
2011-12-14 21:06:33
oh yea, I recommend using dragon and whip maybe.. some red gear
seems the brownish gear messes it up a bit, I'll have to go over it and fix it during winter break, wish I had more free time =[
From: grats
oh yea, I recommend using dragon and whip maybe.. some red gear
seems the brownish gear messes it up a bit, I'll have to go over it and fix it during winter break, wish I had more free time =[
ofc, t4t, etc…
Unknown
2011-12-15 00:40:08
Nice script. When it kills a yak, it takes quite a long time to find another.
LemonHaze
2011-12-15 08:12:17
nice script mate.
gothical
2011-12-16 13:44:25
Just to let ppl know, I'm using colors 2961716 and 4541264. Works far better and rarely clicks unnecessary stuffs. Just edit in //finding and killing yaks.
DarkCoder
2011-12-17 08:37:04
From: ___3w
Nice script. When it kills a yak, it takes quite a long time to find another.
That is because it has to wait untill the damage counter above your head disappears.
LemonHaze
2011-12-17 09:44:43
Breaks would be nice, except from that the script is awesome, if you can fix that damage count thing then this script is perfect :p
laakerules
2011-12-17 10:54:40
One issue, wearing bandos and slayer helm just makes it move the curser around me.
Sharp wind70
2011-12-18 04:45:47
Nice script, luv it, could you make it please abit faster? Because when the yak is down bot still waits like 5 seconds to attack another one
aklobat
2011-12-20 03:20:22
Great Script works fine but i found something wrong with the color. When wearing warrior helm it spam clicks on your head. Nothing major just had to resort to wearing d med -.-. well good luck fixing and thanks for the great script.
DarkCoder
2011-12-20 12:21:09
From: aklobat
Great Script works fine but i found something wrong with the color. When wearing warrior helm it spam clicks on your head. Nothing major just had to resort to wearing d med -.-. well good luck fixing and thanks for the great script.
Fix - don't wear a warriors helm ;) But what if other players are wearing them….
This is a problem although might be a task and a half to sort out, good luck!
grats
2011-12-20 12:26:17
lol yea sorry guys, christmas and all that fun stuff, with bunch of family.. not too much time to do anything with this
come january 3rd -ish I'll have a week of free time, should be able to speed it up a bit.. the colors might change, so you can find the KillYak procedure and change the colors in there, (two colors are there) to whatever the yak is and it might help as for the clicking on your head, it shouldn't unless it finds the uptext so not sure why it does that but I'll figure it out :P
weeps
2011-12-20 14:07:42
Great script. Slow try to make it faster tho.
laakerules
2011-12-20 20:24:24
Hey Great Script man, im editing it a lil bit just to figure out this simba scripting. If anyone wants it faster, change line 308 to 323
end else
begin
if InFight then
begin
repeat
FindNormalRandoms;
writeln('fighting…');
Wait(randomrange(300,500));
Eat('Eat');
RAntiBan;
until (not InFight) or (Not LoggedIn)
end;
writeln('Another Yak down, billions to go');
wait(randomrange(200,400));
end;
end;
Into
end;
end;
That makes it a lil bit faster because it doesnt wait for your hp bar to dissapear! it clicks yak rite when the one your fighting dissapears like when it turns clearer untill gone! i did this havent gotten banned and make about 14k more xp an hour! :)
grats
2011-12-20 20:28:20
lol you can edit it all you like, that takes out eating and checking if it's in combat at all, so it's just clicking yaks it finds
laakerules
2011-12-20 20:34:31
Ya, well with dragon or on and spectral with whip and 93 str i dont need to eat at yaks! :P
grats
2011-12-20 20:40:28
From: laakerules
Ya, well with dragon or on and spectral with whip and 93 str i dont need to eat at yaks! :P
yea that's how the script originally was
and I agree lol.. I'll later make it so you can disable the checking stuff like "speedkill" on or off, or something
eating I just figured maybe some lower levels or some pures with no defense might use it xD, when I get back from winter break I'll be changing it up
laakerules
2011-12-20 20:44:53
Haha k sweet, overall the script is extremely well written. I was trying to add a sorta different antiban i saw on a burrying bones script where it puts verbs together in sentences and stuff! Just simple stuff like My cat just peed. or Family Guy is so funny. It worked but people just started asking me questions about what i said! :P so it didnt work with the community!
grats
2011-12-20 20:46:47
rofl "my dog just shit on my desk!"
laakerules
2011-12-20 20:54:24
Ya it did stuff like that! Have you thought of making a hill giant charm collecting script?
grats
2011-12-20 20:59:26
nope never been around there, is that wilderness?
laakerules
2011-12-20 21:28:09
Nope, its directly south west of the grand exchange. Its a shed that requires a key, but theres hill giants down there, the hill giants are really good exp. and they have drops other than hair hide and bones!
On the yak bot, would it work to make it only click if it says "Yak (level"
That might solve the issue of it picking up items!
grats
2011-12-20 21:31:35
Yea, I noticed 0.3 doesn't
change it to say "Yak" instead of "ak" this way it doesn't mouse over that one dude who's way up in the north east corner
make sure it's cap
laakerules
2011-12-20 21:33:20
Ya, i changed it to look for "ak (level: 22)" and its working a lil faster, but doest pick up anything!!!!
aklobat
2011-12-21 00:47:42
From: DarkCoder
Fix - don't wear a warriors helm ;) But what if other players are wearing them….
This is a problem although might be a task and a half to sort out, good luck!
got stuck there aswell lol, there was a guy using range and he had archers helm on, -.-, my guy was just like clicking on it continually… so i just world hopped. i think all fremmenik helm except for neitiznot stuff it up.
laakerules
2011-12-21 11:04:20
Does anyone know the dll used to run the SMART program through simba?
Ive tested this script and have runned it for about 1hr now and all I can say that it works great!!
Only thing to mention is that it tries to ''focus'' my skill cape as if it were an yak
aklobat
2011-12-21 17:12:34
Heres something that could be annoying. Check the picture…
laakerules
2011-12-21 18:00:35
Erke, its because it notices the color and either it wont pick up your cape, and yaks or itll pick up both.And aklobat, go into the script down to where it says fightingyak, look for a part where it says 'ttack' , 'ak'
Change both of the sections that have that code from 'ak' to 'Yak'
grats
2011-12-21 18:18:30
From: aklobat
Heres something that could be annoying. Check the picture…
we already talked about that a few posts up
go to the killyak procedure and change the "ak" uptext to "Yak" in there, you'll see it.. it's blue colored and it says 'ak' make sure the Y is caps
I'll release a quick 0.4 tonight sometime with a few quik fixes
From: Erke
Ive tested this script and have runned it for about 1hr now and all I can say that it works great!!
Only thing to mention is that it tries to ''focus'' my skill cape as if it were an yak
yea colors are the same =[
laakerules
2011-12-21 18:53:25
Hey gratz, do you know why my SMART wont startup unless its in safe mode. Like something to do with .dll file, error 1723
grats
2011-12-21 19:08:47
From: laakerules
Hey gratz, do you know why my SMART wont startup unless its in safe mode. Like something to do with .dll file, error 1723
unless what's in safemode? your runescape… or windows?
and does it say what .dll error it's getting? I know of a few I've seen over the years with simba, it usually says the exact dll
grats
2011-12-21 20:00:21
4.0 is up, someone test if your brown armors get clicked anymore (yes it will mouse over your armors that are the same color as yaks, not sure if it is possible to change that.. due to the fact that it searches for the color.)
but it hopefully / should not click it anymore!
also, so far it isn't picking up ground stuff.. so that might be fixed too
5,0 will come out hopefully soon and will have a speed increase for picking yaks after the fight has ended. (soon as in.. I hope to do it tonight if narcle is around to help me with his functions)
4,0 also has a nice setting at the top to have way less antiban, 20 so far is good.. but if you go up to 40 you'll rarely( very rarely) do antiban.. but as I said, so far 20 works great and doesn't do it too much at all.
aklobat
2011-12-21 20:11:19
with mouse speed what is fast and what is slow? i know that 9 is default but does that mean 10 is faster and 8 is slower… i want really fast mouse speed. Thanks in advance
grats
2011-12-21 20:13:53
From: aklobat
with mouse speed what is fast and what is slow? i know that 9 is default but does that mean 10 is faster and 8 is slower… i want really fast mouse speed. Thanks in advance
yea I wrote it there in 4,0 it's more friendly
higher = faster, I recommend 9 - 13, 13 being faster
you can go to like 15 see how fast it is, if you think it's too fast (unhuman) then you can make it lower
laakerules
2011-12-21 21:14:32
lol i use 25, its about the same speed that i canusually do with my mouse. And grats, i just rebooted my laptop with the disks, ill have to startover on my script but that wont be hard! :/
grats
2011-12-21 21:21:38
that's where I am with my mouse but I don't find it human like lol
use the 4,0.. set the random to like 100 and it'll be the same as your script was pretty much, besides the infight
gonna change that then it'll be super fast
laakerules
2011-12-21 21:26:52
Haha ok, oh and im giving you credits in my script im making! Ya, except if its too inhuman then jagex spots it immediately! :P
laakerules
2011-12-21 21:34:29
Just tried it with bandos, semi works goes over for like a second but doesnt stay there. Hmm, how good would the attack method be if it switched to a new yak when the one dissapeared instead of the hp dissapearing!
grats
2011-12-21 21:51:46
when health bar disappeared is far more efficient imo.. and narcle said I could use his function, hopefully that's loads faster
laakerules
2011-12-21 21:59:14
Ya narcles is near immediate after death, i was looking at it, its quite nice also!
grats
2011-12-21 22:42:09
yea I think his is taking over the SRL's so I'll add it then.. it's way better for sure
laakerules
2011-12-21 23:00:24
Ya, im having major issues with mine rite now! Im implementing many factors into it and then nothing works! :( if i just keep it at one factor with no option choice then its good!
grats
2011-12-22 02:35:21
SUPER happy to release 5.0!!!!!! everyone get it!!! huge speed increases!!! thanks narcle for the SRL fighting.scar update!! big improvements~
next to add on the list
counting how many yaks we kill
breaks based on x amount of yaks killed
stats
weeps
2011-12-22 03:00:48
Im getting a error at line 327.
until (not InFight) or (not OthersInFight) or (not LoggedIn)
Compiling failed.
However the script is much better, fast and better overall. GJ!
Synikk
2011-12-22 03:48:44
the script is great the only thing that i would urge you to do is make a true or false for eating food so people can decide whether they want to. Also the bot tries to eat food even when your full hp. Another thing is, it never clicks eat. for some reason it clicks examine.
grats
2011-12-22 03:49:07
From: Iownage
Im getting a error at line 327.
until (not InFight) or (not OthersInFight) or (not LoggedIn)
Compiling failed.
However the script is much better, fast and better overall. GJ!
if you get an error how do you know it's faster O_O?
and you need to update SRL
From: Synikk
the script is great the only thing that i would urge you to do is make a true or false for eating food so people can decide whether they want to. Also the bot tries to eat food even when your full hp. Another thing is, it never clicks eat. for some reason it clicks examine.
are you sure it isn't doing the examineinv? the script doesn't eat unless you go under 50% life, it doesn't even check for food until then
weeps
2011-12-22 05:15:16
From: grats
if you get an error how do you know it's faster O_O?
and you need to update SRL
are you sure it isn't doing the examineinv? the script doesn't eat unless you go under 50% life, it doesn't even check for food until then
I deleted it =). But the bot keep eating all food even if my heath is full =/
grats
2011-12-22 14:02:45
that might mean the hp checking is broken or something..
in the "KillYak" procedure, find "Eat('Eat'); and delete it, that'll stop checking for food
it's about line 325
you got to watch your character, it won't eat after that
I have no idea why it isn't working.. sounds like HPPercent broke from an update maybe, I'll fight naked on my character and see if I can see if it works for me
make sure your SRL is updated
From: grats
SUPER happy to release 5.0!!!!!! everyone get it!!! huge speed increases!!! thanks narcle for the SRL fighting.scar update!! big improvements~
next to add on the list
counting how many yaks we kill
breaks based on x amount of yaks killed
stats
inc(dead);
Writeln('Fucked ' + inttostr(dead) + ' yaks');
If (Dead = 999); then Wussybreak;
shstiger2009
2011-12-22 14:25:20
Grats, it's so much faster/better with 5.0. Great, great script. Thank you. :)
grats
2011-12-22 14:51:09
From: wyn10
inc(dead);
Writeln('Fucked ' + inttostr(dead) + ' yaks');
If (Dead = 999); then Wussybreak;
hehehe
I have to go now, will be home in about 10 days..
I'll come check out the forums, just going to visit some family
From: shstiger2009
Grats, it's so much faster/better with 5.0. Great, great script. Thank you. :)
yep, thank narcle for his SRL update, he added a huge speed increasing function that I now use in the script, that's why it's faster
gothical
2011-12-27 18:48:33
Its definitely a lot faster that I remember. Thanks.
Synikk
2011-12-28 08:54:53
grats, grats this script is amazing. Ive been running it about 21 hours a day and those three hours and when im asleep and i get a random or something.
1.) Its never messed up
2.) I removed all the antiban for myself, i did get an increased amount of randoms (2 a day) but the xp per hour went up to 70k for me
3.) i divided my xp gained from yaks by the xp gained per yak and found out i have killed over 4000 xD
4.) I really think this script should be put into the fighting section
5.) Lastly the one thing i suggest you do is incorporate the anti-ban in with the killing because what i found is that you get about 1/6th less of the xp because the script pauses to anti-ban then starts again. What i suggest is to incorporate a random timer into the yak killing procedure that moves angle after clicking on a yak. Im not saying completely remove the antiban procedure. BUT i would suggest that you tone down checking tabs into 1 every 100-150 kills cause realistically you wouldnt check your xp tab every ~10 kills.
What i would do (this is just a suggestion) is in the antiban procedure on have one where you check a stat (safer to make in constitution because you always gain xp for that) and thats it. Then incorperate an angle change into the yak killing procedure like explained above. I would also remove all the other parts to the anti-ban procedure because honestly who sways their mouse on the rs screen? that anti-ban swaying thing slows it down a lot and doesnt even seem that human to me especially as you see everything stop then it sways then everything goes back to normal.
Let me know what you think and sorry for blabbing on like that. Great script
Jack512
2011-12-28 11:35:05
i agree with synikk, script is tons better from when i first started using it, you've improved it loads, the anti ban does slow down things a bit and could be more streamlined though, but the script is great and works a charm.
GreenZombie
2011-12-28 11:40:12
From: Synikk
grats, grats this script is amazing. Ive been running it about 21 hours a day and those three hours and when im asleep and i get a random or something.
1.) Its never messed up
2.) I removed all the antiban for myself, i did get an increased amount of randoms (2 a day) but the xp per hour went up to 70k for me
3.) i divided my xp gained from yaks by the xp gained per yak and found out i have killed over 4000 xD
4.) I really think this script should be put into the fighting section
5.) Lastly the one thing i suggest you do is incorporate the anti-ban in with the killing because what i found is that you get about 1/6th less of the xp because the script pauses to anti-ban then starts again. What i suggest is to incorporate a random timer into the yak killing procedure that moves angle after clicking on a yak. Im not saying completely remove the antiban procedure. BUT i would suggest that you tone down checking tabs into 1 every 100-150 kills cause realistically you wouldnt check your xp tab every ~10 kills.
What i would do (this is just a suggestion) is in the antiban procedure on have one where you check a stat (safer to make in constitution because you always gain xp for that) and thats it. Then incorperate an angle change into the yak killing procedure like explained above. I would also remove all the other parts to the anti-ban procedure because honestly who sways their mouse on the rs screen? that anti-ban swaying thing slows it down a lot and doesnt even seem that human to me especially as you see everything stop then it sways then everything goes back to normal.
Let me know what you think and sorry for blabbing on like that. Great script
I request permission to edit the script and post it here :) . Good job man
Sharp wind70
2011-12-29 05:01:58
THX vm! script is now alot faster!, ur awesome scripter, best script ever!
Grihmm
2011-12-29 06:33:29
Would this be part of an addition to add in how many you have killed so far?
procedure HowManyHaveBeenKilled;
var
Kills: Integer;
begin
repeat
Inc(Kills);
Writeln('You have killed ' + IntToStr(Kills) + ' Yak(s)');
until(Kills = 9999);
end;
This part would go in the actual script.
if (KillYak) then
HowManyHaveBeenKilled
Edit: Btw, I have been using this script about half an hour, and it works perfectly. It is one of the best I have used so far. The only problem I can see is that it sometimes picks up yak hair because it is the same color. However, it doesn't affect the script's performance so it doesn't matter. Good job.
Edit2: I found one bug; if someone wearing a fremmenik helm (archer's, berserker, warrior) is in the same area, the cursor will hover on their head.
Synikk
2011-12-30 02:12:02
Someone gave me bad rep for suggesting some changes.. wow
Grihmm
2011-12-30 12:09:15
Reputation doesn't matter. Don't worry about it.
grats
2012-01-02 22:45:40
hey guys just got home about 30 minutes ago :p
@synikk they probably did that because all the stuff you said has been suggested or it already does that stuff, like it only does antibans while it is fighting.. sometimes the long ones just carry over into after it's done fighting.
thank you Grihmm for that procedure I'll check it out tomorrow probably, adding yaks killed was something I was going to do so that helps out
Grihmm
2012-01-03 02:19:50
That was only part of one. I doubt that would work as is.
drawboy11
2012-01-04 18:45:35
From: Synikk
Someone gave me bad rep for suggesting some changes.. wow
I think the changes were very well thought out and that was some good feedback, Im editing the script for personal use with your suggestions. Thanks(:
gothical
2012-01-05 09:09:03
TYVM grats!!!!!!! Got 99 str a few mins ago using this. Started from 91 str but was using controlled with whip so took a bit longer. Thanks again :DDDDDD.
shstiger2009
2012-01-05 10:23:29
From: gothical
TYVM grats!!!!!!! Got 99 str a few mins ago using this. Started from 91 str but was using controlled with whip so took a bit longer. Thanks again :DDDDDD.
Wow, sweet! How long did it take you, and what was your average XP/hr?
Synyster
2012-01-06 02:19:16
Thank. You. So. Much. <3
gothical
2012-01-06 10:46:41
Doing controlled, it took me roughly 15 days(I use a VPS) I suppose if i did it just str, wouldve taken me 5 days. When it wasn't stopped by randoms I was getting an average of 50-55k xp/hr. Next step - 99 atk :) got 95 atm.
chan1146
2012-01-06 17:21:28
I.Love.You.
RuNnNy
2012-01-07 10:41:26
is there any need of babysitting or is it flawless?
Has anyone put overload support in here?
If not, I'm gonna do it later.
1a2b3c4d5e
2012-01-07 22:36:17
shitttttttttttttttttttttttttttttttttttttttttttttttttttttt
Synikk
2012-01-07 22:46:13
We need to start enforcing some kind of spam punishment i mean come on this is ridiculous
gothical
2012-01-09 15:49:40
You need to babysit for randoms as there is no way around it.
drawboy11
2012-01-13 22:02:43
Gratz, I edited in Echo_'s Breakhandler and got it working. May I repost it on your thread?
Poofhead
2012-01-14 00:58:52
Hello. I am getting this:
Exception in Script: Unable to find file 'SRL\SRL.scar' used from ''
I have updated everything yet I am consistently receiving that message.
mevsjad
2012-01-15 10:07:05
Can anyone update this for srl 5
Georg
2012-01-15 12:27:49
Okei its easy just change these
{$i SRL\SRL.scar}
{$i SRL/SRL/skill/fighting.scar}
into this
{$i SRL\SRL.simba}
{$i SRL/SRL/skill/fighting.simba}
and this
begin
SetAngle(True);
MakeCompass('N');
Retaliate(True);
end;
into this
begin
SetupSRL();
SetAngle(0);
ClickNorth(0);
end;
mevsjad
2012-01-15 13:58:50
kk
done worked
This is the first script I tried in the last few months that wasnt my own. I must say I am very impressed by the script, however I will not be using it unless I can successfully fix a few things. You have already mentioned some of these on page one:
-Faster Yak finding
-It can accidently attack another yak before finishing the one you are already killing, making the xp rate slower due to 'failed attacks'.
-Needs a better method than 'examine' to figure out someone else is fighting the NPC. I find it very suspicious.
-Hovers mouse on characters head a lot (tried both pale and super black skin)
-Accidently spoke to NPC once, but doesent seem to be a serious problem.
-(In my opinion) Way too frequent anti-bans. No real player compromises XP over checking skills etc. :-) The script did more anti-bans than attacking yaks.
Please take this as constructive criticism, as I believe this script can semi-easily be improved to an extend where it will perform very, very smoothly.
YoHoJo
2012-01-19 23:33:55
Closed on request.
Look in fighting section for updated thread.