SRL Archive - RS3 Outdated / Broken Scripts

sDatChurner


(s)okkr7

2012-06-16 19:49:50

sDatChurner


If a mod could move this to the broken/outdated scripts section that'd be great. Moving on to better things


Description:

Churns Cheese Wheels from Buckets of Milk at the Cook's Guild.


Requirements:

Be a Member to Runescape.

A little start up cash!

Access to Cook's Guild below Grand Exchange

A Chef's Hat equipped!


Features added so far:
  • Near Perfect Timing (non-lagg)
  • Random Wait Times
  • AntiBan!
  • Failsafes almost everywhere.
  • Searching Bank Feature (Put milks anywhere you want to!)

[LEFT]Script done. AntiLeech is put in :) Let's just say you have to fix the walking TO the guild. Other than that, the initial release is out! Enjoy![/LEFT]

Edit: Put the attached map in path C:/Simba/includes/sps/img/runescape_other

(s)okkr7

2012-06-16 22:58:24

Ran into a little problem with entering the guild itself, and climbing the stairs. If anyone can skype me and help me out, that'd be great. I tried doing normal DTM's as usual. Tried ACA, too many similar colors. Even tried a bitmap, and nothing happened. If anyone could help, let me know!

King

2012-06-16 23:51:05

From: Sokkr7
Ran into a little problem with entering the guild itself, and climbing the stairs. If anyone can skype me and help me out, that'd be great. I tried doing normal DTM's as usual. Tried ACA, too many similar colors. Even tried a bitmap, and nothing happened. If anyone could help, let me know!


You should take a look at this script http://villavu.com/forum/showthread.php?t=82896

The object finding is phenomenal, however are you going to put anti-leech into this? I would highly suggest putting some very clever anti leech into as this will probably kill prices and this is a good method :P I think it would be better for the prices if there was anti leech(; Anyways look at his object finding for rocks, it blew me away, and works beautifully.

(s)okkr7

2012-06-17 00:14:20

From: SRLKing
You should take a look at this script http://villavu.com/forum/showthread.php?t=82896

The object finding is phenomenal, however are you going to put anti-leech into this? I would highly suggest putting some very clever anti leech into as this will probably kill prices and this is a good method :P I think it would be better for the prices if there was anti leech(; Anyways look at his object finding for rocks, it blew me away, and works beautifully.


Yeah I can't read his code. I guess it's just the way I code, but that is a bunch of scramble to me. Thanks for the tips, though :)

King

2012-06-17 00:26:07

From: Sokkr7
Yeah I can't read his code. I guess it's just the way I code, but that is a bunch of scramble to me. Thanks for the tips, though :)


I can try and make a working function for it if you like? I have to be to work at 5am tomorrow so it wouldn't be until tomorrow night. I would suggest asking puton for help, he is the one that made the AIO stronghold, I'm sure he would be able to help you.

Recursive

2012-06-17 00:31:00

You can try using findObjEx. It is a bit more limited than findobj but with a little manipulation of the camera, it makes those similar color areas a breeze to find stuff in.

[LEFT]
(*
FindObjEx
~~~~~~~~~

.. code-block:: pascal

function FindObjEx(var cx, cy: Integer; Text: TStringArray; Color: TIntegerArray;
Tol, Step, xs, ys, xe, ye: Integer): Boolean;

Searches for an object using an array of colors and texts within the area
you specify. Will start searching from the middle and returns true if found.
Parameters:

- cx, cy: Coordinate Position of object if result is true
- Text: Array of string you want to search for
- Color: Array of colors you want to search for
- Tol: Tolerance of the colors you will allow
- Step: How big you want to make the search squares.
50 = Default. 30-70 Recommended
- xs, ys, xe, ye: Bounds you want to search in

.. note::

by Starblaster100


Example:

.. code-block:: pascal

*)
function FindObjEx(var cx, cy: Integer; Text: TStringArray; Color: TIntegerArray;
Tol, Step, xs, ys, xe, ye: Integer): Boolean;
var
CurX, CurY, a, b, c, i: Integer;
Start: Boolean;
begin
for b := 0 to (GetArrayLength(Color)-1) do
begin
if (FindColorSpiralTolerance(cx, cy, color[b], xs, ys, xe, ye, Tol)) then
begin
Start := True;
Break;
end;
end;
if (Start) then
begin
CurX := Round((xs + xe) div 2);
CurY := Round((ys + ye) div 2) - Step;
i := 1;
repeat
for c := 1 to i do
begin
case a of
0: begin //To allow for beginning offset and loop
a := a + 1;
i := 0;
CurY := CurY + Step;
end;
1: CurX := CurX + Step;
2: CurY := CurY - Step;
3: CurX := CurX - Step;
4: CurY := CurY + Step;
end;
if (CurX >= xs) and (CurX <= xe) and (CurY >= ys) and (CurY <= ye) then
begin
try
for b := 0 to (GetArrayLength(Color)-1) do
begin
if (FindColorTolerance(cx, cy, Color[b], CurX-(Step div 2), CurY-(Step div 2), CurX+(Step div 2), CurY+(Step div 2), Tol)) then
begin
MMouse(cx, cy, 3, 3);
If (WaitUptextMulti(Text, 300)) then
begin
GetMousePos(cx, cy);
Result := True;
Exit;
end;
end;
end;
except
end;
end;
end;
a := a + 1;
if a mod 5 = 0 then a := 1;
if (a = 1) or (a = 3) then i := i + 1;
until (Result) or ((CurX > xe) and (CurY > ye))
end;
end;
[/LEFT]




Example of use

[LEFT]
FindObjEx(px,py,['Ope', 'n Doo'],[3358795,33424846,3358796], 5, 5, 257, 164,300, 300)
[/LEFT]

(s)okkr7

2012-06-17 00:43:55

From: Chig
You can try using findObjEx. It is a bit more limited than findobj but with a little manipulation of the camera, it makes those similar color areas a breeze to find stuff in.

[LEFT]
(*
FindObjEx
~~~~~~~~~

.. code-block:: pascal

function FindObjEx(var cx, cy: Integer; Text: TStringArray; Color: TIntegerArray;
Tol, Step, xs, ys, xe, ye: Integer): Boolean;

Searches for an object using an array of colors and texts within the area
you specify. Will start searching from the middle and returns true if found.
Parameters:

- cx, cy: Coordinate Position of object if result is true
- Text: Array of string you want to search for
- Color: Array of colors you want to search for
- Tol: Tolerance of the colors you will allow
- Step: How big you want to make the search squares.
50 = Default. 30-70 Recommended
- xs, ys, xe, ye: Bounds you want to search in

.. note::

by Starblaster100


Example:

.. code-block:: pascal

*)
function FindObjEx(var cx, cy: Integer; Text: TStringArray; Color: TIntegerArray;
Tol, Step, xs, ys, xe, ye: Integer): Boolean;
var
CurX, CurY, a, b, c, i: Integer;
Start: Boolean;
begin
for b := 0 to (GetArrayLength(Color)-1) do
begin
if (FindColorSpiralTolerance(cx, cy, color[b], xs, ys, xe, ye, Tol)) then
begin
Start := True;
Break;
end;
end;
if (Start) then
begin
CurX := Round((xs + xe) div 2);
CurY := Round((ys + ye) div 2) - Step;
i := 1;
repeat
for c := 1 to i do
begin
case a of
0: begin //To allow for beginning offset and loop
a := a + 1;
i := 0;
CurY := CurY + Step;
end;
1: CurX := CurX + Step;
2: CurY := CurY - Step;
3: CurX := CurX - Step;
4: CurY := CurY + Step;
end;
if (CurX >= xs) and (CurX <= xe) and (CurY >= ys) and (CurY <= ye) then
begin
try
for b := 0 to (GetArrayLength(Color)-1) do
begin
if (FindColorTolerance(cx, cy, Color[b], CurX-(Step div 2), CurY-(Step div 2), CurX+(Step div 2), CurY+(Step div 2), Tol)) then
begin
MMouse(cx, cy, 3, 3);
If (WaitUptextMulti(Text, 300)) then
begin
GetMousePos(cx, cy);
Result := True;
Exit;
end;
end;
end;
except
end;
end;
end;
a := a + 1;
if a mod 5 = 0 then a := 1;
if (a = 1) or (a = 3) then i := i + 1;
until (Result) or ((CurX > xe) and (CurY > ye))
end;
end;
[/LEFT]




Example of use

[LEFT]
FindObjEx(px,py,['Ope', 'n Doo'],[3358795,33424846,3358796], 5, 5, 257, 164,300, 300)
[/LEFT]


Hey thanks I was actually thinking about this function, can you either skype or tv me to explain it a little bit? I got it to work, but it won't recognize the door at all..

(s)okkr7

2012-06-17 00:59:22

here's a picture of the problem..

Recursive

2012-06-17 02:00:10

Don't double post, use the EDIT button.

I hope you didn't use the function I posted above to find the door you are looking for cause that code is for the door in castle wars.

I will try and do this for you tonight before I go to bed then I will post the solution here

E: Use the sps maps posted below

[LEFT]
[LEFT]
FindObjEx(cx, cy, ['Ope', 'n Doo'], [670539,4088689,1590097], 12, 12, 404, 475, 411, 478);
{The last 4 numbers indicates the location of the door on your screen. First 2 = top left coordinates and the other 2 is the bottom right. If it is still not working properly then switch the both sets but keep their order}
[/LEFT]

[/LEFT]

(s)okkr7

2012-06-17 02:32:09

From: Chig
Don't double post, use the EDIT button.

I hope you didn't use the function I posted above to find the door you are looking for cause that code is for the door in castle wars.

I will try and do this for you tonight before I go to bed then I will post the solution here

E: Use the sps maps posted below

[LEFT]
[LEFT]
FindObjEx(cx, cy, ['Ope', 'n Doo'], [670539,4088689,1590097], 12, 12, 404, 475, 411, 478);
{The last 4 numbers indicates the location of the door on your screen. First 2 = top left coordinates and the other 2 is the bottom right. If it is still not working properly then switch the both sets but keep their order}
[/LEFT]

[/LEFT]


Wow can't think you enough, credits to you in script for sure. :)

Edit: spelling fail, thank^*

pranav1359

2012-06-17 11:53:02

where is the download for this script?

Element17

2012-06-17 12:06:49

From: pranav1359
where is the download for this script?


Wow…read OP dude.


To OP This is a good idea, but I don't think the price of cheese will crash as it was used like shards as trading for money. I'm not sure if this is still the case, but you have high enough summon you can also use an albino rat and use the scroll to get cheese as well.

(s)okkr7

2012-06-17 12:36:57

From: 14578
Wow…read OP dude.


To OP This is a good idea, but I don't think the price of cheese will crash as it was used like shards as trading for money. I'm not sure if this is still the case, but you have high enough summon you can also use an albino rat and use the scroll to get cheese as well.


I was also thinking of this, but from one bucket of milk you get anywhere from 5-28 pieces of cheese. With 14 bucket/invy there's no way you can LOSE gp from this script, unless cheese goes to 1gp each. (Which I doubt will happen)

Element17

2012-06-17 13:22:43

I got an idea and I'll help you with it once you finish this script. Potential to make a lot of money. PM when you are done with this script or if you need help. I'll try and help.

King

2012-06-17 13:56:58

I would honestly keep this private, members or that good old anti leech(; This is a very good and steady source of cash, please dont ruin it for those of us who use it(: Also, Im glad that the door is working now(:

(s)okkr7

2012-06-17 18:32:48

From: SRLKing
I would honestly keep this private, members or that good old anti leech(; This is a very good and steady source of cash, please dont ruin it for those of us who use it(: Also, Im glad that the door is working now(:


I like contributing to the community, what can I say? ;) If you want I can add an anti-leech, but personally I'm not a fan (as I know how it feels to not know how to figure it out). Plus, I'm not that popular of a scripter, so… don't worry :garfield:

Sir Ducksworthy

2012-06-17 18:34:09

Can this seriously make 300k-400k n hr?

(s)okkr7

2012-06-17 18:35:04

From: leetsxc
Can this seriously make 300k-400k n hr?


Yeah probably more tbh..

Edit: Try it yourself, buy 14 buckets of milk, take it to the cooks guild (wearing a chefs hat) and climb once, churn the 14 into cheese wheels.

Once at the bank, deposit all but 4, and right click one > slice all. repeat this for all 14

Calculate the profit.

King

2012-06-17 18:40:04

From: Sokkr7
I like contributing to the community, what can I say? ;) If you want I can add an anti-leech, but personally I'm not a fan (as I know how it feels to not know how to figure it out). Plus, I'm not that popular of a scripter, so… don't worry :garfield:


I agree, I know how that feels as well. I would put some simple things in there, that require minimal effort to find and can be fixed just from watching YoHoJo's first scripting tutorial? I would think it would be nice to have a little, as the most damage would come form the people unwilling to figure it out. Also, I would put this in the cooking section as it is relatively good free exp for F2P and most gold farmers wont look there(; I'm just hoping to keep the method alive :P

Iambubbleman

2012-06-17 21:39:45

Will this have the option to bank in the guild itself as well as GE or VWB? Sadly I'm not kewl enough to be able to go inside the bank in the guild.

(s)okkr7

2012-06-17 23:53:15

From: Iambubbleman
Will this have the option to bank in the guild itself as well as GE or VWB? Sadly I'm not kewl enough to be able to go inside the bank in the guild.


Yes! the banking inside the guild feature will not be in the first version (as I figured most people will not have had those tasks done, including me!) I plan to finish them later, and implement in the later version though, good question :)

demoniste

2012-06-18 02:04:20

Like others said, I think it's a better idea to release your script for aply to slr member or if you put it public add a nice anti leach…

any money making thing on simba will bring too many gold farmers and slowly destroy the nice dev community imho

(s)okkr7

2012-06-18 02:18:11

From: demoniste
Like others said, I think it's a better idea to release your script for aply to slr member or if you put it public add a nice anti leach…

any money making thing on simba will bring too many gold farmers and slowly destroy the nice dev community imho


I don't think this is quite the quality they are expecting for SRL membership, correct me if I'm wrong by all means, but thanks. Upon request I'll add an anti-leech. If this script seems to be not as popular as I had hoped, I'll remove it. (Maybe even make a poll for the decision!)

Eustass

2012-06-18 07:24:30

Nice idea man, i would love to try your script
looking forward to it

Iambubbleman

2012-06-18 17:38:48

I know from Nebula your scripts have to be really damn good to get accepted into SRL members, I know he had a monkfisher that kicked ass as well as a sorc garden bot that used SPS to find the witch deals and know how to avoid them.

Though I'm very excited for this release :3 I could see finding the ladder and finding the door being real hoes to overcome as the colors of both of those are very similar to other things in the immediate area.

thewant

2012-06-18 23:13:42

Yeah, add a nice anti leech to it. I'm in the progress of learning how to code. It would be a bit good training for me when I try to solve your anti-leech.

(s)okkr7

2012-06-19 12:38:14

Saw that sps1's maps were currently outdated, so going to have to make a custom SPS map, which is all I have left to do. Sadly my Internet is down for a couple days, so I'll have to wait.

Edit: Back online.

(s)okkr7

2012-06-22 07:00:54

Sorry for the awful wait time everyone. I haven't had enough time to sit down at my computer and just script in awhile. Tonight, if not, then tomorrow morning will be my deadline. Expect an initial release around then. Thanks for all the support.

l337murd3r

2012-06-22 10:04:26

looks really nice cant wait!

GL with getting it done

Eustass

2012-06-22 16:37:34

From: Sokkr7
Sorry for the awful wait time everyone. I haven't had enough time to sit down at my computer and just script in awhile. Tonight, if not, then tomorrow morning will be my deadline. Expect an initial release around then. Thanks for all the support.


take your time , dont push it too much
and best of luck m8

(s)okkr7

2012-06-24 20:36:28

Released. Good luck all on the anti-leech.

Help is only a PM away ;)

Werttit

2012-06-26 07:36:36

Is the "Identifier expected" at the last line part of the anti-leech?

(s)okkr7

2012-06-26 13:12:49

From: Werttit
Is the "Identifier expected" at the last line part of the anti-leech?


Yes ;)

Werttit

2012-06-26 16:48:05

I see, no more of that error.

Now, it's trying to use a SPS map that doesn't exist. "cooksguild", is this a custom one or another antileech.. :blink:

(s)okkr7

2012-06-26 16:50:47

From: Werttit
I see, no more of that error.

Now, it's trying to use a SPS map that doesn't exist. "cooksguild", is this a custom one or another antileech.. :blink:


Ah shit lol, tysm. Updated OP to include that map

King

2012-06-26 17:34:06

Looks nice! Ill try it out and fix the walking lol.

E* You can use my walking and custom SPS map if you like, it is very stable from my testing.

(s)okkr7

2012-06-26 20:15:49

From: SRLKing
Looks nice! Ill try it out and fix the walking lol.

E* You can use my walking and custom SPS map if you like, it is very stable from my testing.


Just release your own script if you'd like. I'm sorry, but I created an anti-leech for a reason.

Werttit

2012-06-27 03:45:06

So, it works for me once, takes 14 milk in the start, goes and churns them.

When it goes back to the bank, it just quickly visits there. It Doesn't even open the bank, and then walks back, past the cooking guild to Barbarian village, where I've stopped the script.

(s)okkr7

2012-06-27 11:52:29

From: Werttit
So, it works for me once, takes 14 milk in the start, goes and churns them.

When it goes back to the bank, it just quickly visits there. It Doesn't even open the bank, and then walks back, past the cooking guild to Barbarian village, where I've stopped the script.


Yeah I had that problem because SPS is messed up at this spot. It's also part of the anti-leech a little bit

Seinfeld

2012-06-27 15:26:10

The script won't even start, someone wrong with the 205 line. Idk.

(s)okkr7

2012-06-27 17:11:00

From: Seinfeld
The script won't even start, someone wrong with the 205 line. Idk.


Please read the OP before posting pointless stuff.

Misanthropic91

2012-06-28 14:50:59

From: Sokkr7
Please read the OP before posting pointless stuff.


I have the same problem and i didnt get any wiser from the OP, am i blind or just stupid?

I logged out while standing infront of the cook's guild, how do i fix the walking to the guild?

(s)okkr7

2012-06-28 17:39:29

From: Misanthropic91
I have the same problem and i didnt get any wiser from the OP, am i blind or just stupid?

I logged out while standing infront of the cook's guild, how do i fix the walking to the guild?


Using SPS, Look up a guide here on the site :)

Misanthropic91

2012-06-29 07:49:27

From: Sokkr7
Using SPS, Look up a guide here on the site :)


Can't find it, not sure what to look for either. Complete noob in all of this sorry.

Could you link me to the guide you mean?

(s)okkr7

2012-06-29 11:40:52

Will be updating OP with a new version of this script WITHOUT an anti-leech. Seems this script won't really be that popular, so it won't matter :P check back every so often!

Element17

2012-06-29 20:19:22

Are you clicking static coords?

(s)okkr7

2012-06-30 00:59:44

From: 14578
Are you clicking static coords?


No, i'm rewriting the entire script sometime within the week anyway. I've learned so much more since I wrote this.

(s)okkr7

2012-07-09 19:11:57

If a mod could move this to the broken/outdated scripts section that'd be great. Moving on to better things :)