SRL Archive - OSR Outdated / Broken Scripts

[MoneyMaking] The Mighty Al-Kharid Silk buyer!


Zorgatone

2013-03-12 21:30:12

OUTDATED/BROKEN
[MoneyMaking] The Mighty Al-Kharid Silk buyer v0.4![NO ANTI-LEECH!]

Welcome everybody,
I'm very happy to announce to you all my very first script release!

What does this script do? This script will buy silk for you at 3gp from the Al-Kharid silk vendor, which you can then sell in Ardougne for the amazing price of 60gp! The neat profit is 57gp/silk.
The bot will get 1 silk everytime until the bag is full (27-28 slots), and it will bank them at Al-Kharid.

This script should make from 30-40k/h up to 100k/h (theorical).. I've tested the script on about 20 accounts; please report any bugs that you have found, the most of the bugs that I've found have been fixed.

Guide: Start in Al-Kharid Bank with an empty inventory (28 free tabs) and make sure to have enough money on the first bank screen (default tab), preferably on the first/second row/column.

EDIT: I didn't noticed that there was another script like this already, anyway I've started to work on this the 1st March, 2013.. When there weren't any script to do this.. The Walking part is still bugging out sometimes, please report me any fix for that.. Thank you

EDIT2: SRL-OSR needs some minor fixes because it won't compile on Simba, I've set up mine to work in 2 minutes and for now you still need to figure out on your own what is wrong in that code but this is not Anti-Leech because I didn't write that code. You can still use the previous version 1.2.. Those fixes can be made by any average simba user that knows a bunch of things about srl.

[more information coming]

I hope you'll enjoy this :D

There are two versions, one is a test and uses SRL-OSR from the SRL official repository that is still in development (https://github.com/SRL/SRL-OSR), the other one uses P07Include from @DannyRS that is unofficial (http://villavu.com/forum/showthread.php?t=96863&highlight=P07Include).
Custom SPS map: https://mega.co.nz/#!oJBw2BgJ!cVnk7XNMPSXASkVvT6vWuxQDs7NcygEr6ruh-D9_XQs (don't ask me why this map is ugly… This one here was a test, because I was making a better one: http://img831.imageshack.us/img831/1852/alkharid2007.png that isn't working, I don't really know why)

Also a Silk seller is coming soon!

[ATTACH]19880[/ATTACH]
[ATTACH]19881[/ATTACH]
[ATTACH]19884[/ATTACH]

PS: I'm not mother language, please report any grammar/spelling errors on the thread.. Peace! :spot:

Zorgatone

2013-03-12 22:00:05

[—reserved—]

IMPORTANT UPDATE: I've noticed that the 0.4 version that uses SPS was using a wrong map that I've uploaded and have been resized.. I'm uploading the correct version

A set-up guide is coming, hold on..

itsblown

2013-03-12 22:16:38

Exception in Script: Unable to find file '07symbol.simba' used from 'C:\Simba\Scripts\silktrader - 1.2.simba'

Zorgatone

2013-03-12 22:18:39

From: itsblown
Exception in Script: Unable to find file '07symbol.simba' used from 'C:\Simba\Scripts\silktrader - 1.2.simba'


I'm sorry I'm uploading that file as well, I forgot about that..

EDIT: done, put it in your C:/Simba/Includes/ folder

My_Sp3c_Ftw

2013-03-12 22:22:09

Thanks, do we put it in any of the folders in the includes folder, or just leave it in includes folder next to the p07?

Zorgatone

2013-03-12 22:25:39

From: My_Sp3c_Ftw
Thanks, do we put it in any of the folders in the includes folder, or just leave it in includes folder next to the p07?


Just put my 07Symbol.simba Include in C:/Simba/Includes/ and check to have also DannyRS P07Include etc..

09ghost90

2013-03-12 22:29:58

It goes to the Okay Sounds Fine Screen and then reclicks the show trader not allowing the person to purchase the silk

Zorgatone

2013-03-12 22:33:11

From: 09ghost90
It goes to the Okay Sounds Fine Screen and then reclicks the show trader not allowing the person to purchase the silk


Which one of the two versions are you using? I know that I had some problems like that sometimes when it was clicking too fast with the previous versions, try with the test-07scape-SRL_OSR-silktrader_0.4.simba that is newer..

09ghost90

2013-03-12 22:45:28

Yea I'm using the old one sorry

Zorgatone

2013-03-12 22:47:24

From: 09ghost90
Yea I'm using the old one sorry


My Bad, I started a new count with the new test version that starts again from zero point (0.x).. This may cause mistakes.

Zorgatone

2013-03-12 23:31:23

IMPORTANT UPDATE (sorry for double-posting): I haven't released the fixes that I made for SRL-OSR in order to run my scripts, I'll release that when I'll see enough requests on this thread

rs cheata

2013-03-13 00:49:43

it doesn't withdraw any money then tries to buy silk without any o.0

Would appreciate a fix, thanks :)

Shmo

2013-03-13 01:35:02

Using unnofficial P07 include and when I try to run script I get

[Error] C:\Simba\Includes\SRL\SRL\misc\SmartParams.Simba(293:131): Invalid number of parameters at line 292
Compiling failed.

peronigood

2013-03-13 02:21:31

Would like the SRL-OSR fix, other than that the bot keeps spamming the silk trader spitting out 'unable to detect trader face' in the log. or something similar to that.

Zorgatone

2013-03-13 07:56:10

From: rs cheata
it doesn't withdraw any money then tries to buy silk without any o.0

Would appreciate a fix, thanks :)


Sometimes it does this bug… I'm already adding a function to double check if it has withdrawed the money

dudz

2013-03-13 08:31:40

really looking forward seeing this script! will test it.

edit: changed the facecolour in script, works now. 1 note: it often clicks too fast, making it reclick the conversation before finishing buying. 1 out of 4 conversations started also succeed.

09ghost90

2013-03-13 08:35:53

I would like srl-osr if possible.

My_Sp3c_Ftw

2013-03-13 09:15:09

What's DannyRS's P07 include called? Getting a little confused

Zorgatone

2013-03-13 11:17:13

From: My_Sp3c_Ftw
What's DannyRS's P07 include called? Getting a little confused


You need this: http://villavu.com/forum/showthread.php?t=96863

From: dudz
really looking forward seeing this script! will test it.

edit: changed the facecolour in script, works now. 1 note: it often clicks too fast, making it reclick the conversation before finishing buying. 1 out of 4 conversations started also succeed.


Which one of the two scripts are you using? the 1.2 is outdated try the 0.4

g4eore4g

2013-03-13 11:21:20

Thanks for the script, but how is this 30-40k/h? I only managed to make about 300 silks/h, which equals 18k/h. Not to mention that I also need to sell them.

dudz

2013-03-13 12:56:54

From: Zorgatone

Which one of the two scripts are you using? the 1.2 is outdated try the 0.4


tried using the 0.4, got this error:
[Error] C:\Simba\Includes\SRL-OSR/SRL/core/text.simba(805:13): Unknown identifier 'UpChars07' at line 804

zackthewack

2013-03-13 15:16:45

From: Zorgatone
[MoneyMaking] The Mighty Al-Kharid Silk buyer v0.4![NO ANTI-LEECH!]

Welcome everybody,
I'm very happy to announce to you all my very first script release!

What does this script do? This script will buy silk for you at 3gp from the Al-Kharid silk vendor, which you can then sell in Ardougne for the amazing price of 60gp! The neat profit is 57gp/silk.
The bot will get 1 silk everytime until the bag is full (27-28 slots), and it will bank them at Al-Kharid.

This script should make from 30-40k/h up to 100k/h (theorical).. I've tested the script on about 20 accounts; please report any bugs that you have found, the most of the bugs that I've found have been fixed.

Guide: Start in Al-Kharid Bank with an empty inventory (28 free tabs) and make sure to have enough money on the first bank screen (default tab), preferably on the first/second row/column.

EDIT: I didn't noticed that there was another script like this already, anyway I've started to work on this the 1st March, 2013.. When there weren't any script to do this.. The Walking part is still bugging out sometimes, please report me any fix for that.. Thank you

EDIT2: SRL-OSR needs some minor fixes because it won't compile on Simba, I've set up mine to work in 2 minutes and for now you still need to figure out on your own what is wrong in that code but this is not Anti-Leech because I didn't write that code. You can still use the previous version 1.2.. Those fixes can be made by any average simba user that knows a bunch of things about srl.

[more information coming]

I hope you'll enjoy this :D

There are two versions, one is a test and uses SRL-OSR from the SRL official repository that is still in development (https://github.com/SRL/SRL-OSR), the other one uses P07Include from @DannyRS that is unofficial (http://villavu.com/forum/showthread.php?t=96863&highlight=P07Include).
Custom SPS map: http://img35.imageshack.us/img35/1381/customalkharid.png (don't ask me why this map is ugly… This one here was a test, because I was making a better one: http://img831.imageshack.us/img831/1852/alkharid2007.png that isn't working, I don't really know why)

Also a Silk seller is coming soon!

[ATTACH]19880[/ATTACH]
[ATTACH]19881[/ATTACH]
[ATTACH]19884[/ATTACH]

PS: I'm not mother language, please report any grammar/spelling errors on the thread.. Peace! :spot:



Haha. You can copy and paste that. Fixed some of the grammatical errors for you since you kind of asked someone to if they would.

Other than that, I like the script. I'm in the process if making a script, but I cannot get the DTM method to work. Unless I have to alter the 07 include myself to get it to work with the DTM..?

EDIT: I spelled "of" wrong. Be sure to read over what I wrote for you, lmao.

Hamish

2013-03-13 15:26:50

Using the p07Include version and it's working pretty decent although the walkings a bit off. An OSR include version would be sick!

bovman11

2013-03-13 15:40:36

Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Failed to find the color, no result.
Im at the bankSuccessfully executed.




help me please

Zorgatone

2013-03-13 18:56:57

From: zackthewack
Haha. You can copy and paste that. Fixed some of the grammatical errors for you since you kind of asked someone to if they would.

Other than that, I like the script. I'm in the process if making a script, but I cannot get the DTM method to work. Unless I have to alter the 07 include myself to get it to work with the DTM..?

EDIT: I spelled "of" wrong. Be sure to read over what I wrote for you, lmao.


Thank you.. I'll correct it ASAP..

From: dudz
tried using the 0.4, got this error:
[Error] C:\Simba\Includes\SRL-OSR/SRL/core/text.simba(805:13): Unknown identifier 'UpChars07' at line 804


However the errors in SRL-OSR were just some: UpChars07 that isn't correct and you have to type "UpChars07" and you have to put the correct fonts in the simba folder.. Some functions are taken from DannyRS P07Include as well

Bucks

2013-03-13 20:25:40

If there is the slightest bit of lag during the dialogue it skips a couple of purchases. Would it be possible to slow the clicking down a little bit?

peronigood

2013-03-13 20:31:32

From: Bucks
If there is the slightest bit of lag during the dialogue it skips a couple of purchases. Would it be possible to slow the clicking down a little bit?

Hi Bucks, please replace your shop trader dialogue method with this
	// one                                      Do you want to buy any fine silks?
x := 300;
y := 450;
MMouse(x,y, 3,3);
Wait(1000);
ClickMouse2(Mouse_left);
// two Select an Option [ How much are they? | No. Silk doesn't suit me. ]
x := 300;
y := 400;

MMouse(x,y, 3,3);
Wait(1000);
ClickMouse2(Mouse_left);
// three How much are they?
x := 215;
y := 450;
MMouse(x,y, 3,3);
Wait(1002);
ClickMouse2(Mouse_left);
// four 3gp
x := 300;
y := 450;
MMouse(x,y, 3,3);
Wait(1003);
ClickMouse2(Mouse_left);
// five Select an Option [ No. That's too much for me. | Okay, that sounds good. ]
x := 250;
y := 435;
MMouse(x,y, 4,4);
Wait(1003);
ClickMouse2(Mouse_left);
// six Okay, that sounds good.
x := 215;
y := 450;
MMouse(x,y, 3,3);
Wait(1004);
ClickMouse2(Mouse_left);
// seven You buy some silk for 3gp.
x := 215;
y := 450;
MMouse(x,y, 3,3);
Wait(1004);
ClickMouse2(Mouse_left);

your lag problem should be solved

Bucks

2013-03-13 20:51:38

From: peronigood


your lag problem should be solved


That, it is. Much appreciated!

Bucks

2013-03-13 22:49:33

Forgetting money/grabbing a random item from bank very often. I got rid of everything in my bank except for coins and the silk but still happens.

Any temporary fixes?

Shmo

2013-03-13 22:59:28

From: Shmo
Using unnofficial P07 include and when I try to run script I get

[Error] C:\Simba\Includes\SRL\SRL\misc\SmartParams.Simba(293:131): Invalid number of parameters at line 292
Compiling failed.


Zorgatone, what do I need to fix in line 292?

peronigood

2013-03-13 23:15:30

From: Bucks
Forgetting money/grabbing a random item from bank very often. I got rid of everything in my bank except for coins and the silk but still happens.

Any temporary fixes?


Bucks,
Please remove the
function MoneyColorInv: Integer; and function MoneyColorBank: Integer;
functions
(will post what you need to remove below)

function MoneyColorInv: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.04, 0.97);

if not (FindColorsTolerance(arP, 3131122, MIX1, MIY1, MIX2, MIY2, 9)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('MoneyColorInv = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('MoneyColorInv failed in finding the color.');
end;

and also any code thats referring to them.
(I will post what to remove below this)

If FindColorTolerance(x, y, MoneyColorInv, 546, 200, 736, 466, 36) then
begin
MMouse(x,y, 3,3);
if(IsUpTextMultiCustom(['oins', 'Coins'])) then
begin
ClickMouse2(Mouse_Right);
MMouse(x, y + 66, 3, 3);
ClickMouse2(Mouse_Left);
end
end;
// until ((IsUpTextMultiCustom(['oins', 'Coins'])));

maxtries := 0;
repeat
If FindColorTolerance(x, y, MoneyColorBank, 18, 27, 502, 326, 36) then
begin
MMouse(x,y, 3,3);
if(IsUpTextMultiCustom(['oins', 'Coins'])) then
begin
writeln('lmao'+inttostr(maxtries));
ClickMouse2(Mouse_Right);
MMouse(x, y + 90, 3, 3);
ClickMouse2(Mouse_Left);
wait(1500);
Typesend('84');
break;
end else
begin
maxtries := maxtries + 1;
wait(250);
continue;
end;
end;
until (maxtries = 10);

Because of this, it wont deposit or go to withdraw money from the bank. IT WILL STILL GO TO THE BANK AND DEPOSIT THE SILK, JUST NOT WITHDRAW OR DEPOSIT ANY MONEY. so you will need to have around 5k(or your desired amount of gold) in your first inventory slot when purchasing silk.

My_Sp3c_Ftw

2013-03-13 23:20:00

One of the best scripts going tbh, lasts the longest by far for me personally.

>>>>>>>>>>NOW JUST WAITING ON ARDOUGNE SILK SELLER<<<<<<<<<<

Will be peak when you release that second script, cannot wait!

Bucks

2013-03-13 23:43:54

From: peronigood

Because of this, it wont deposit or go to withdraw money from the bank, so you will need to have around 5k(or your desired amount of gold) in your first inventory slot when purchasing silk.


Flawless! Totally thought it would just buy silk over and over without banking.

Thanks a ton.

peronigood

2013-03-14 00:13:41

From: Bucks
Flawless! Totally thought it would just buy silk over and over without banking.

Thanks a ton.


sorry i should have made it clearer, it will still bank, just not try to deposit or withdraw any gold

but your welcome :)

Bucks

2013-03-14 00:35:28

From: peronigood
sorry i should have made it clearer, it will still bank, just not try to deposit or withdraw any gold

but your welcome :)


I just died twice lol…

Accidentally misclicked the man maybe? or evil chicken perhaps?

killyoulol

2013-03-14 00:42:59

From: Shmo
Zorgatone, what do I need to fix in line 292?


You don't need to compile smart params.

Bucks

2013-03-14 01:57:24

Any idea why all of a sudden I'm just spam clicking the silk guy?

Edit: Bot turned the brightness down so the colour was off.

peronigood

2013-03-14 02:43:10

From: Bucks
I just died twice lol…

Accidentally misclicked the man maybe? or evil chicken perhaps?


I havent yet died, however i must admit I havent had any sort of random event for 21 hours. (weird i know)

Bucks

2013-03-14 03:32:15

From: peronigood
I havent yet died, however i must admit I havent had any sort of random event for 21 hours. (weird i know)


It was from attacking one of the men. I equipped a bow now, but I keep finding myself on the utilities screen (brightness, music, run, etc.) with a pile of silk under me. How could I make sure the script stays on the inventory tab?

Zorgatone

2013-03-14 07:05:19

From: peronigood
Hi Bucks, please replace your shop trader dialogue method with this
	// one                                      Do you want to buy any fine silks?
x := 300;
y := 450;
MMouse(x,y, 3,3);
Wait(1000);
ClickMouse2(Mouse_left);
// two Select an Option [ How much are they? | No. Silk doesn't suit me. ]
x := 300;
y := 400;

MMouse(x,y, 3,3);
Wait(1000);
ClickMouse2(Mouse_left);
// three How much are they?
x := 215;
y := 450;
MMouse(x,y, 3,3);
Wait(1002);
ClickMouse2(Mouse_left);
// four 3gp
x := 300;
y := 450;
MMouse(x,y, 3,3);
Wait(1003);
ClickMouse2(Mouse_left);
// five Select an Option [ No. That's too much for me. | Okay, that sounds good. ]
x := 250;
y := 435;
MMouse(x,y, 4,4);
Wait(1003);
ClickMouse2(Mouse_left);
// six Okay, that sounds good.
x := 215;
y := 450;
MMouse(x,y, 3,3);
Wait(1004);
ClickMouse2(Mouse_left);
// seven You buy some silk for 3gp.
x := 215;
y := 450;
MMouse(x,y, 3,3);
Wait(1004);
ClickMouse2(Mouse_left);

your lag problem should be solved


Well this fix is useful to not miss one click ever, but it will produce half of the silk, as you increase the wait timers.. It's ok if it misses a couple of clicks every 28 silk, it's still faster than wait one second for every click.. This may depend on your internet connection speed indeed.

From: Bucks
Forgetting money/grabbing a random item from bank very often. I got rid of everything in my bank except for coins and the silk but still happens.

Any temporary fixes?


The version 0.4 shouldn't miss the money from the bank, please inform me if you're using this version.. I'll update my script to fix this if so.

From: Shmo
Zorgatone, what do I need to fix in line 292?


Line 292 of what file?

From: peronigood
Bucks,
Please remove the
function MoneyColorInv: Integer; and function MoneyColorBank: Integer;
functions
(will post what you need to remove below)

function MoneyColorInv: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.04, 0.97);

if not (FindColorsTolerance(arP, 3131122, MIX1, MIY1, MIX2, MIY2, 9)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('MoneyColorInv = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('MoneyColorInv failed in finding the color.');
end;

and also any code thats referring to them.
(I will post what to remove below this)

If FindColorTolerance(x, y, MoneyColorInv, 546, 200, 736, 466, 36) then
begin
MMouse(x,y, 3,3);
if(IsUpTextMultiCustom(['oins', 'Coins'])) then
begin
ClickMouse2(Mouse_Right);
MMouse(x, y + 66, 3, 3);
ClickMouse2(Mouse_Left);
end
end;
// until ((IsUpTextMultiCustom(['oins', 'Coins'])));

maxtries := 0;
repeat
If FindColorTolerance(x, y, MoneyColorBank, 18, 27, 502, 326, 36) then
begin
MMouse(x,y, 3,3);
if(IsUpTextMultiCustom(['oins', 'Coins'])) then
begin
writeln('lmao'+inttostr(maxtries));
ClickMouse2(Mouse_Right);
MMouse(x, y + 90, 3, 3);
ClickMouse2(Mouse_Left);
wait(1500);
Typesend('84');
break;
end else
begin
maxtries := maxtries + 1;
wait(250);
continue;
end;
end;
until (maxtries = 10);

Because of this, it wont deposit or go to withdraw money from the bank. IT WILL STILL GO TO THE BANK AND DEPOSIT THE SILK, JUST NOT WITHDRAW OR DEPOSIT ANY MONEY. so you will need to have around 5k(or your desired amount of gold) in your first inventory slot when purchasing silk.


I don't recommend to do this as you will attack the men sometimes, or you can lose your money for some reason, and 5k is too low to run for some hours.. You will need about 20k, and do not put all them in the inventory..

From: My_Sp3c_Ftw
One of the best scripts going tbh, lasts the longest by far for me personally.

>>>>>>>>>>NOW JUST WAITING ON ARDOUGNE SILK SELLER<<<<<<<<<<

Will be peak when you release that second script, cannot wait!


Thanks, I appreciate this.. I'm still fixing some bugs because this script isn't ready 100%..

From: Bucks
Flawless! Totally thought it would just buy silk over and over without banking.

Thanks a ton.


No problem :D

From: peronigood
sorry i should have made it clearer, it will still bank, just not try to deposit or withdraw any gold

but your welcome :)


I repeat, you may lose your money if you don't leave them in your bank.. My script will withdraw 81-84 gps every trip (I don't remember if 81 or 84 right now, but the amount needed to buy exactly 28 silk).

From: Bucks
I just died twice lol…

Accidentally misclicked the man maybe? or evil chicken perhaps?


I don't really know why it does that.. I've put a check in version 0.4 to check if the uptext is the silk trader and not a man.. But I'll add combat detection to run away in case of need, or to kill the npcs, because it will try to buy silk even if under attack atm.

From: Bucks
Any idea why all of a sudden I'm just spam clicking the silk guy?

Edit: Bot turned the brightness down so the colour was off.


Yes, please use this script with max brightness.. :P

From: peronigood
I havent yet died, however i must admit I havent had any sort of random event for 21 hours. (weird i know)


Yes, I haven't wrote it yet, but this script will not get randoms as long as you are moving all the time and buying the silk quickly.. :D

From: Bucks
It was from attacking one of the men. I equipped a bow now, but I keep finding myself on the utilities screen (brightness, music, run, etc.) with a pile of silk under me. How could I make sure the script stays on the inventory tab?


Really? It's weird.. Have you put the brightness at maximum? :S

From: Bucks
If there is the slightest bit of lag during the dialogue it skips a couple of purchases. Would it be possible to slow the clicking down a little bit?


If I slow the clicking it will make less gp/h, it's ok if it misses some clicks sometimes.. If I add some milliseconds it will still miss sometimes, but I can't put 1 second and more between every click because it will produce half of the gp/h.. I've tested this on 24 bots and I can say that now it makes a decent amount of money even missing the silk sometimes..

From: g4eore4g
Thanks for the script, but how is this 30-40k/h? I only managed to make about 300 silks/h, which equals 18k/h. Not to mention that I also need to sell them.


I'm making also the selling part, don't worry :D
Right now I'm quite busy and I don't have an ETA yet.. However check your runescape settings, you should be able to make at least 25k/h in the wrost case..

From: Hamish
Using the p07Include version and it's working pretty decent although the walkings a bit off. An OSR include version would be sick!


I've made already an OSR include version, check the version 0.4 that is newer.. :P

From: bovman11
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Failed to find the color, no result.
Im at the bankSuccessfully executed.




help me please


Have you put the brightness at maximum? It works well for me..

browncat

2013-03-14 12:14:24

what setup did I go wrong to get this error message?
Invalid number of parameters at line 292

Line 292: Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '');

Hamish

2013-03-14 13:43:10

Awesome script! Was having difficulty running it last night but I realised that was because my brightness would randomly change its setting, very strange.

The walking is a bit strange, for me it walks in the bottom left corner of the house next to the silk stall before it finally moves to the stall, but it's no big issue.

edit; Just noticed it sometimes forgets to bank and goes back to the stall and tries to buy more with a full inventory

dofkiuxas

2013-03-14 21:14:38

when I turn on this script, its going to al kharid duel arena…

Shmo

2013-03-14 21:28:25

From: browncat
what setup did I go wrong to get this error message?
Invalid number of parameters at line 292

Line 292: Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '');


At beginning of script delete the 8 from Smart8. That was my issue as I'm only running SMART

Zorgatone

2013-03-15 13:59:30

From: browncat
what setup did I go wrong to get this error message?
Invalid number of parameters at line 292

Line 292: Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '');


Yes, change {$DEFINE SMART8} to {$DEFINE SMART}.

From: Hamish
Awesome script! Was having difficulty running it last night but I realised that was because my brightness would randomly change its setting, very strange.

The walking is a bit strange, for me it walks in the bottom left corner of the house next to the silk stall before it finally moves to the stall, but it's no big issue.

edit; Just noticed it sometimes forgets to bank and goes back to the stall and tries to buy more with a full inventory


Your brightess won't be changed if you don't do the logout correctly.. When you close the bot without logging out it won't save your RS settings..
Yes, sorry for that banking bug.. I need to double check if it banked correctly..
Well, the walking maybe strange due to SPS with 07scape that will rotate at +-20 degrees the minimap randomly if you're running the version 0.4, or it will click the symbols on the minimap if you use the version 1.2 that is older than the 0.4..
Try both if you can setup SRL-OSR

From: dofkiuxas
when I turn on this script, its going to al kharid duel arena…

Sometimes happens with both versions… This will not be very frequent but it's a problem in recognizing the desert map when RuneScape messes up with the minimap colors, and both of my scripts will fail in some cases… I'm still searching for a better method to walk with 07scape..

trick821

2013-03-15 18:18:18

Exception in Script: Unable to find file 'SRL-OSR/SRl.simba' used from 'C:\Users\Måns\Downloads\test-07scape-SRL_OSR-silktrader_0.4.simba' Please help

zakum777

2013-03-16 06:21:50

I start it and this is what i get

Paired with SMART[4492]
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Failed to find the color, no result.
I cant find the bank
I cant find the first spot
Successfully executed.

Zorgatone

2013-03-16 08:32:52

From: trick821
Exception in Script: Unable to find file 'SRL-OSR/SRl.simba' used from 'C:\Users\Måns\Downloads\test-07scape-SRL_OSR-silktrader_0.4.simba' Please help


I said in the requirements that you need SRL-OSR.. It's all in the first post.

From: zakum777
I start it and this is what i get

Paired with SMART[4492]
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
Failed to find the color, no result.
I cant find the bank
I cant find the first spot
Successfully executed.


Are you starting it at the Al-Kharid Bank with the brightness maxed?

daqaq

2013-03-16 08:41:41

i get this when i try to compliy Exception in Script: Unable to find file '07symbol.simba' used from 'C:\Simba\Scripts\silktrader - 1.2 (1).simba'

Verminaard

2013-03-16 14:36:51

I'm new to Simba, but have been figuring things out so far as to get a script working for me. However, I can't get this one to work and I would really like to use the P07 0.4 since the 1.2 takes weird walking paths and sometimes doesn't enter the bank at all. I tried to get the SRL-OSR thing from https://github.com/SRL/SRL-OSR but I have no idea what I'm looking for there. I do get this error message:
Exception in Script: Unable to find file 'SRL-OSR/SRl.simba' used from 'C:\Simba\Scripts\test-07scape-SRL_OSR-silktrader_0.4.simba'
I normally try to figure things out on my own (read old posts and answers) but I just can't seem to figure out how to get it to work. I have the updated include from Danny's thread also. I followed all of Yohojo's video tutorials to set up everything correctly (like I said, I can get most scripts to run).
Any hints or something?

christian1

2013-03-16 15:38:31

Works really well I got 300 silk in less than 30 mins and I didn't even have to monitor whats going on,30-40k per hour is spot on.

Only thing I'll say is that sometimes it goes to the bank and doesn't deposit the silk and goes back to buy more with a full inv but it fixes itself so it's not too bad

xxkillaa125

2013-03-16 17:53:34

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

H_N

2013-03-16 18:11:17

From: xxkillaa125
Exception in Script: Unable to find file 'P07Include.Simba' used from ''


You need to download the P07Include.

These threads should help you;

http://villavu.com/forum/showthread.php?t=97599

http://villavu.com/forum/showthread.php?t=97786

Lillie_Services

2013-03-16 18:51:43

Hmmmm script won't bank?
I've tried both with and without cash on me and it rarely banks…

If I start with no cash on me, it doesn't even withdraws cash.

H_N

2013-03-16 18:56:24

From: Lillie_Services
Hmmmm script won't bank?
I've tried both with and without cash on me and it rarely banks…

If I start with no cash on me, it doesn't even withdraws cash.


You need to edit the colours, mine seems to be inaccurate when buying the silk, i'm just messing about with it now.

Lillie_Services

2013-03-16 19:12:11

From: H_N
You need to edit the colours, mine seems to be inaccurate when buying the silk, i'm just messing about with it now.


Mine seems alright buying silks, though it always leaves the bank without deposing the silks nor picking up money and then it does the run…
I tried to edit the colors for the money and bankbooth but it doesn't work. :(

Driice

2013-03-17 14:47:09

From: Zorgatone
IMPORTANT UPDATE (sorry for double-posting): I haven't released the fixes that I made for SRL-OSR in order to run my scripts, I'll release that when I'll see enough requests on this thread


I would appreciate this with Danny's include. :)

sirrasmusdk

2013-03-17 16:54:48

Well the script works perfect, only thing is the speed can be optimized and more perfected while still doing antiban =)

KingReset

2013-03-17 17:10:11

Edit: nevermind fixed.

Anyways bot working fine :) just some delays where the clicks go fast that prevents me from buying silk

kerusia

2013-03-17 18:22:49

I'm getting this error message:

Exception in Script: Unable to find file 'SRL-OSR/SRl.simba' used from 'C:\Simba\Scripts\test-07scape-SRL_OSR-silktrader_0.4.simba'

I don't really know what to do about that?

trancebreak

2013-03-18 04:01:18

When the bot is in the dialogue with the silk trader it skips the last option to actually buy the silk "Okay, that sounds good". Haven't bought one piece of silk in so many attempts. Is there a fix? (Brightness is at max on RS). The error is: Failed to find the face in the dialog, no result. I'm using the older version of the script, because when I try to use the new version I get the same error as the poster above

litoris

2013-03-18 04:38:21

You guys need to download SRL-OSR. I have instructions on this post: http://villavu.com/forum/showthread.php?t=98595&p=1194641#post1194641

Zorgatone

2013-03-18 06:36:28

Sorry for the delay.. I will reply to all your posts after some hours, this evening..
Regards

LynxS

2013-03-18 14:56:18

Hey Zorgatone,
Been using the script :) it's a nice skeleton. iunno why your delays are 7 seconds though on the path finding >_<
Is there any update on the ardougne seller? thanks again :)

notrevan

2013-03-18 16:51:04

Sometimes I'm seeing the bot skip through the dialogue and then start over a couple of times in a row. Or the bot will go through the entire dialogue and then not click to receive the silk on the last part of the dialogue. Other than that the bot seems to be running perfectly. Great job on this bot! I am really new to these forums and if anyone could pm me on how I could start learning how to remove anti leeches it would be very appreciated. I'd love to learn a little and maybe make some of my own scripts I just don't know where to read up on the information.

LynxS

2013-03-19 05:56:38

From: notrevan
Sometimes I'm seeing the bot skip through the dialogue and then start over a couple of times in a row. Or the bot will go through the entire dialogue and then not click to receive the silk on the last part of the dialogue. Other than that the bot seems to be running perfectly. Great job on this bot! I am really new to these forums and if anyone could pm me on how I could start learning how to remove anti leeches it would be very appreciated. I'd love to learn a little and maybe make some of my own scripts I just don't know where to read up on the information.


Reading is key, if you read page 2 of this thread, you'd see the fix for the delay and dialogue issues :P. Theres a section on learning to antileech all throughout the forum, seek and you will find.

poopeyman

2013-03-21 20:24:23

After 3 hours of setting up the bot and actually getting this script to work, EVERY SINGLE TIME it walks to the duel arena for no apparent reason after it is full of silk. EVERY SINGLE TIME.

My_Sp3c_Ftw

2013-03-22 15:08:19

Sir,


How is the script for selling the silk at ardougne coming a long? Surely it would be an easier script to write and certainly a quicker process? Please write back I'm interested in your progress!


Thanks

sven555

2013-03-24 14:43:37

Hi there!
Great job on the script, except the only problem is that the bot can't bank properly because they have changed the bank options.
So you just have to click on the bank booth to access your bank.

DannyDee

2013-03-25 17:59:03

With the .04 version I got several different errors each time I tried to run it. Not I am getting these errors with the 1.2 ::

Exception in Script: Too many nested include files while processing 'SRL/SRL.Simba' from 'C:\Simba\Includes\SRL/SRL/core/simba.simba'

::

I've gotten that from other scripts today too, what do I need to do?

.04 errors after clicking run twice::


[Error] C:\Simba\Includes\SPS/SPS.simba(357:9): Unknown identifier 'ClickNorth' at line 356
Compiling failed.
[Error] C:\Simba\Includes\SPS\SPS.simba(52:35): Unknown identifier 'MMCX' at line 51
Compiling failed.


::

wolfguy7

2013-03-25 18:25:45

Selling silk would be awesome :)

Parality

2013-03-25 20:50:08

From: DannyDee
With the .04 version I got several different errors each time I tried to run it. Not I am getting these errors with the 1.2 ::

Exception in Script: Too many nested include files while processing 'SRL/SRL.Simba' from 'C:\Simba\Includes\SRL/SRL/core/simba.simba'

::

I've gotten that from other scripts today too, what do I need to do?

.04 errors after clicking run twice::


[Error] C:\Simba\Includes\SPS/SPS.simba(357:9): Unknown identifier 'ClickNorth' at line 356
Compiling failed.
[Error] C:\Simba\Includes\SPS\SPS.simba(52:35): Unknown identifier 'MMCX' at line 51
Compiling failed.


::


Got the same problem.. fix please?

From: Verminaard
I'm new to Simba, but have been figuring things out so far as to get a script working for me. However, I can't get this one to work and I would really like to use the P07 0.4 since the 1.2 takes weird walking paths and sometimes doesn't enter the bank at all. I tried to get the SRL-OSR thing from https://github.com/SRL/SRL-OSR but I have no idea what I'm looking for there. I do get this error message:
Exception in Script: Unable to find file 'SRL-OSR/SRl.simba' used from 'C:\Simba\Scripts\test-07scape-SRL_OSR-silktrader_0.4.simba'
I normally try to figure things out on my own (read old posts and answers) but I just can't seem to figure out how to get it to work. I have the updated include from Danny's thread also. I followed all of Yohojo's video tutorials to set up everything correctly (like I said, I can get most scripts to run).
Any hints or something?


Look at original post, get the SRL_OSR at the link he posted.

DannyDee

2013-03-25 21:05:27

I managed to get the 1.2 version working after redoing the entire Simba set-up but it clicks too fast for my computer I think. Doesn't give it enough time to click the right response. It's been running for 3 minutes now and only has 4 silk in the inventory. Where can I slow the mouse click speed in the script?

Tonyfernandez

2013-03-25 22:09:01

looks good, please make a seling script!!! Its highly needed

erickho123

2013-03-25 22:22:01

Getting these errors:
[Error] C:\Simba\Includes\SPS/SPS.simba(357:9): Unknown identifier 'ClickNorth' at line 356
Compiling failed.
[Error] C:\Simba\Includes\SPS\SPS.simba(52:35): Unknown identifier 'MMCX' at line 51
Compiling failed.

Just started with simba, so it might just be on my end, any suggestions?

edit: read ur edit, i guess i wont be using the srl-ors until it's fixed, because i don't have a single clue on how to fix it.. :{

Sjoe

2013-03-25 22:22:50

From: erickho123
Getting these errors:
[Error] C:\Simba\Includes\SPS/SPS.simba(357:9): Unknown identifier 'ClickNorth' at line 356
Compiling failed.
[Error] C:\Simba\Includes\SPS\SPS.simba(52:35): Unknown identifier 'MMCX' at line 51
Compiling failed.

Just started with simba, so it might just be on my end, any suggestions?


wth did u do wrong LOL

erickho123

2013-03-25 22:27:55

From: Sjoekeloe
wth did u do wrong LOL


What's so funny? Didn't really understand what you said :S

Wikkedninja

2013-03-25 22:34:52

script dose not withdraw money from the bank iv tried changing the bank color and still nothing please fix

Tonyfernandez

2013-03-25 23:15:31

From: Wikkedninja
script dose not withdraw money from the bank iv tried changing the bank color and still nothing please fix


is this true? DAMN I WAS WILLING TO TRY IT OUT LOL

deathcrow

2013-03-25 23:20:11

Thanks!

It is a nice script and it bought the first inventory of silk flawlessly. However, after returning to the bank it failed to open it to deposit the silk and then began to go back to the silk trader to buy more silk even though it still had a full inventory.

Maybe consider adding a fail-safe so that it won't leave the bank until the inventory has no more silk in it?

Zorgatone

2013-03-26 02:26:39

Sorry guys for the long wait.. I'm not mantaining it atm, since I've got no time for it actually.. I need some more skills to improve this that I haven't yet..

If someone has got some advices/corrections or anything, I'm happy to hear them :)

willywonka99

2013-03-26 05:07:10

can somebody please fix this so it works ? :)

MuffinMan

2013-03-26 06:33:54

After the one click banking method this script is not working.

simbapang

2013-03-26 08:27:30

Good script, but fails when banking…all it needs to do is click on the bank, instead it right clicks into nowhere land.

deathcrow

2013-03-26 10:30:03

From: simbapang
Good script, but fails when banking…all it needs to do is click on the bank, instead it right clicks into nowhere land.


Wouldn't be too hard for you to edit it yourself to get it to bank properly. :)

If you don't know how to do that or where to start, I recommend checking out some of the tutorials.

simbapang

2013-03-26 12:04:41

From: deathcrow
Wouldn't be too hard for you to edit it yourself to get it to bank properly. :)

If you don't know how to do that or where to start, I recommend checking out some of the tutorials.


I'm currently looking into scripting at the moment, as I have the willingness to learn unlike many others. However, it's still your script and you should still fix it :)

aproxcv

2013-03-26 12:07:34

you guys should make coal miner at mining guild, and banker, that would be awesome!

deathcrow

2013-03-26 12:14:00

From: simbapang
I'm currently looking into scripting at the moment, as I have the willingness to learn unlike many others. However, it's still your script and you should still fix it :)


Not my script. =p

Sometimes people become busy in real life or preoccupied with other projects that take priority over something like this. So the only option people have other than fixing the problem themselves is to simply be patient and wait for the original scripter to find the time to make any fixes/updates to their script.

Glad to see that you are interested in learning how to script.

I recommend taking a look at these threads:
http://villavu.com/forum/showthread.php?t=69179
http://villavu.com/forum/showthread.php?t=58935

Zorgatone

2013-03-26 15:08:28

From: deathcrow
Not my script. =p

Sometimes people become busy in real life or preoccupied with other projects that take priority over something like this. So the only option people have other than fixing the problem themselves is to simply be patient and wait for the original scripter to find the time to make any fixes/updates to their script.

Glad to see that you are interested in learning how to script.

I recommend taking a look at these threads:
http://villavu.com/forum/showthread.php?t=69179
http://villavu.com/forum/showthread.php?t=58935


Thanks for the support

OriginalGM

2013-03-26 22:23:29

Hey everyone, I did not take the time to read through the posts since im lazy and want to better this code lol. basically i just wanted to state out for the record that if anyone needs this working, i have recompiled a sh*t ton in this .simba since Zorgatone had many, many bugs.

Zorgatone i give you props, you did a decent job, but its a real mess when looking at the code. i mean you have shit placed improperly and not in order lol, so i have to jump around to get to things.
other than that, major fixes i have done are "removed excess movement to shops(going to cookery, then to furnace, etc.) so it goes from first spot cookery, to scimitar, directly to silk trader and vice-versa for walk back.
im working on the bank bug currently, it is very unstable due to the fact that it does not check if you have money in your invo and does not withdraw money from the bank when script is initialized.
also working on banking silks, fairly easy fix though its just off centered when picking open bank, it picks "walk here" instead and then try to bank all the silks which in some cases may drop your silks instead and then it thinks its an empty invo and walks to the silk trader and buys silk and keeps buying and waste your money when you have a full invo and all the silk goes on the ground lol.

so those are my minor tweaks im working on, if its okay with Zorgatone ill release the "fixed" version of this, including a lot more anti-bans and anti-randoms and random event doers.
Cheers

*edit
also im going to add in alot of random mouse movements since i see very vague movements, and that leads to detection by jagex and further more a ban. random mouse movements make it look more legit and more human-like :D

willywonka99

2013-03-27 04:15:12

tysm! ^

iMute

2013-03-27 10:25:17

So which files do we download. Sorry it's not clear.

mr_shakazulu

2013-03-27 12:51:02

From: erickho123
Getting these errors:
[Error] C:\Simba\Includes\SPS/SPS.simba(357:9): Unknown identifier 'ClickNorth' at line 356
Compiling failed.
[Error] C:\Simba\Includes\SPS\SPS.simba(52:35): Unknown identifier 'MMCX' at line 51
Compiling failed.

Just started with simba, so it might just be on my end, any suggestions?

edit: read ur edit, i guess i wont be using the srl-ors until it's fixed, because i don't have a single clue on how to fix it.. :{
I am having the same problem. We need help and a fix

cotton1212

2013-03-27 18:56:14

Hey, core rewrote the script for me to use SRL-OSR instead of p07include. Hopefully this can be useful to someone:


program silktrader;

{$DEFINE SMART8}
{$I SRL-OSR/SRL.simba}

procedure MyFlag;
begin
wait(1250);
Flag;
end;

function FindVendor(var fx, fy: Integer): Boolean;var
arP: TPointArray;
ararP: T2DPointArray;
tmpCTS, i, arL: Integer;
P: TPoint;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 0.44);

if not(FindColorsTolerance(arP, 9323663, MSX1, MSY1, MSX2, MSY2, 21)) then
begin
Writeln('Failed to find the vendor, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

SortTPAFrom(arP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
Result := True;
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindVendor could not find vendor.');
Exit;
end;

GetMousePos(fx, fy);
end;

function FindVendorPants(var fx, fy: Integer): Boolean;
var
arP: TPointArray;
ararP: T2DPointArray;
tmpCTS, i, arL: Integer;
P: TPoint;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.06, 0.27);

if not(FindColorsTolerance(arP, 10121596, MSx1, MSY1, MSx2, MSY2, 22)) then
begin
Writeln('Failed to find the vendor, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

SortTPAFrom(arP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
Result := True;
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindVendorPants could not find vendor pants.');
Exit;
end;

GetMousePos(fx, fy);
end;

Procedure Path;
var
x, y : Integer;
contin : boolean;
begin
MakeCompass('n');

If FindSymbol(x, y, Symbol_Bank) then
begin
writeln('Im at the bank');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the bank');
end;

x := MMCX + 25;
y := MMY1 + 23;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If FindSymbol(x, y, Symbol_Cookery) or FindSymbol(x, y, Symbol_KebabShop) or FindSymbol(x, y, Symbol_Furnace) then
begin
writeln('Walking to first spot');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the first spot');
x := MMCX + 15;
y := MMY1 + 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If FindSymbol(x, y, Symbol_Tanner) then
begin
writeln('Walking to tanner');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
wait(7000);
writeln('lolol');
x := MMCX + 30;
y := MMY1 + 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If false and FindSymbol(x, y, Symbol_ScimitarShop) then //always false
begin
writeln('Walking to the scimitar shop');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
x := MMCX + 50;
y := MMY1 + 70;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

x := MMCX + 30;
y := MMY1 + 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If FindSymbol(x, y, Symbol_Cookery) then
begin
writeln('Walking to the Cookery');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the Cookery');
end;

contin := false;
Repeat
If FindSymbol(x, y, Symbol_SilkStall) then
begin
writeln('Walking to the SilkStall');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
contin := false;
end else
begin
writeln('I cant find the SilkStall');
contin := true;
end;
Until not contin;

end;

Procedure PathReversed;
var
x, y : Integer;
contin : boolean;
begin
SetAngle(SRL_ANGLE_HIGH);
MakeCompass('n');

wait(1500);

If FindSymbol(x, y, Symbol_SilkStall) then
begin
writeln('Walking to the SilkStall');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
contin := false;
end else
begin
writeln('I cant find the SilkStall');
contin := true;
end;

If FindSymbol(x, y, Symbol_Cookery) then
begin
writeln('Walking to the Cookery');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the Cookery');
end;

x := MMCX - 30;
y := MMY2 - 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If false and FindSymbol(x, y, Symbol_ScimitarShop) then //always false
begin
writeln('Walking to the scimitar shop');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
x := MMCX - 50;
y := MMY2 - 70;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If FindSymbol(x, y, Symbol_Tanner) then
begin
writeln('Walking to tanner');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
wait(7000);
writeln('lolol');
x := MMCX - 30;
y := MMY2 - 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If FindSymbol(x, y, Symbol_Cookery) or FindSymbol(x, y, Symbol_KebabShop) or FindSymbol(x, y, Symbol_Furnace) then
begin
writeln('Walking to first spot');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the first spot');
x := MMCX - 15;
y := MMY2 - 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

x := MMCX - 25;
y := MMY2 - 23;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If FindSymbol(x, y, Symbol_Bank) then
begin
writeln('Im at the bank');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the bank');
end;

end;

function BankBoothColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.06, 0.41);

if not (FindColorsTolerance(arP, 4220043, MSX1, MSY1, MSX2, MSY2, 2)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('BankBoothColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('BankBoothColor failed in finding the color.');
end;

function FaceColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.04, 0.10);

if not (FindColorsTolerance(arP, 3890561, MCx1, MCy1, MCx2, MCy2, 16)) then
begin
Writeln('Failed to find the face in the dialog, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('FaceColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('FaceColor failed in finding the face in the dialog.');
end;

function isopenchat : boolean;
var
temp : boolean;
x, y : integer;
begin
temp := false;

if (not(FaceColor = 0)) and FindColorTolerance(x, y, FaceColor, 0, 338, 519, 478, 8) then
temp := true;

result := temp;
end;

function MoneyColorInv: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 0.40);

if not (FindColorsTolerance(arP, 958665, MIX1, MIY1, MIX2, MIY2, 24)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('MoneyColorInv = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('MoneyColorInv failed in finding the color.');
end;

function MoneyColorBank: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 0.62);

if not (FindColorsTolerance(arP, 1294063, MSX1, MSY1, MSX2, MSY2, 15)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('MoneyColorBank = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('MoneyColorBank failed in finding the color.');
end;

Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
Players[0].Name :='Your Username';
Players[0].Pass :='Your Password';
End;

function RedButtonColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 0.11);

if not (FindColorsTolerance(arP, 1908867, MIx1, MIY1, MIx2, MIy2, 8)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('RedButtonColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('RedButtonColor failed in finding the color.');
end;

Procedure CheckRun;
var
x,y : Integer;
begin

GameTab(12);

if FindColorTolerance(x, y, RedButtonColor, 615,407, 670,458, 8) then
begin
end else
begin
MMouse(643, 433,3,3);
ClickMouse2(Mouse_Left);
end;


GameTab(4);
end;

var
x, y : Integer;
SilkDTM : Integer;
Begin

SetupSRL;
DeclarePlayers;
ActivateClient;
Wait(2000);
If (Not LoggedIn) Then
LogInPlayer;
SetAngle(SRL_ANGLE_HIGH);
MakeCompass('n');
//SetupSRL;

while(true) do
BEGIN

Wait(750);

CheckRun;
Path;

wait(750);

While not InvFull do
Begin
Repeat
if FindVendor(x,y) then
begin

MMouse(x, y, 3, 3);
if(pos('an',GetUpText)=0) then
ClickMouse2(Mouse_left);
wait(150);
if isopenchat then
begin
break;
end
else
continue;
SetupSRL;
end;
until false;

//Wait(400);


// one
x := 307;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// two
x := 261;
y := 403;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// three
x := 214;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// four
x := 307;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// five
x := 258;
y := 437;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// six
x := 214;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// seven
x := 307;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

End;

SetAngle(SRL_ANGLE_HIGH);
MakeCompass('n');

CheckRun;
PathReversed;

Wait(1500);

//x := 124;
//y := 234+20;

If FindColorTolerance(x, y, BankBoothColor, MSX1, MSy1, MSX2, MSY2, 3) then
begin
wait(750);
MMouse(x + 35,y, 3,3);
wait(750);
ClickMouse2(Mouse_right);
wait(750);
MMouse(x, y + 40, 3, 3);
wait(750);
ClickMouse2(Mouse_left);
end;

SilkDTM := DTMFromString('mlwAAAHicY2dgYMhjYmBIBuICIC4D4gogTgfiDCB+BpR/D8XPgfguED8B4ltAvHZRJ5BkxIr5gSQrDoxdBwRDAQDymgts');

Wait(2500);

if FindDTM(SilkDTM, x, y, 546, 200, 736, 466) then
begin
MMouse(x,y, 3,3);
ClickMouse2(Mouse_Right);
MMouse(x, y + 67, 3, 3);
ClickMouse2(Mouse_Left);
end;

FreeDTM(SilkDTM);

If FindColorTolerance(x, y, MoneyColorInv, 546, 200, 736, 466, 3) then
begin
MMouse(x,y, 3,3);
ClickMouse2(Mouse_Right);
MMouse(x, y + 66, 3, 3);
ClickMouse2(Mouse_Left);
end;

If FindColorTolerance(x, y, MoneyColorBank, 18, 27, 502, 326, 3) then
begin
MMouse(x,y, 3,3);
ClickMouse2(Mouse_Right);
MMouse(x, y + 90, 3, 3);
ClickMouse2(Mouse_Left);
wait(1500);
Typesend('84');
end;

END; // lmao

End.

My_Sp3c_Ftw

2013-03-27 23:40:29

Praying for the release of this silk seller

ploxxxxxxxxxxxxxxxxxxxxxxxxxxxx

iMute

2013-03-27 23:57:35

Please make a seller soon I have 30k silk i need to sell..

Zarqua

2013-03-29 06:29:48

From: cotton1212
Hey, core rewrote the script for me to use SRL-OSR instead of p07include. Hopefully this can be useful to someone:


program silktrader;

{$DEFINE SMART8}
{$I SRL-OSR/SRL.simba}

procedure MyFlag;
begin
wait(1250);
Flag;
end;

function FindVendor(var fx, fy: Integer): Boolean;var
arP: TPointArray;
ararP: T2DPointArray;
tmpCTS, i, arL: Integer;
P: TPoint;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 0.44);

if not(FindColorsTolerance(arP, 9323663, MSX1, MSY1, MSX2, MSY2, 21)) then
begin
Writeln('Failed to find the vendor, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

SortTPAFrom(arP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
Result := True;
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindVendor could not find vendor.');
Exit;
end;

GetMousePos(fx, fy);
end;

function FindVendorPants(var fx, fy: Integer): Boolean;
var
arP: TPointArray;
ararP: T2DPointArray;
tmpCTS, i, arL: Integer;
P: TPoint;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.06, 0.27);

if not(FindColorsTolerance(arP, 10121596, MSx1, MSY1, MSx2, MSY2, 22)) then
begin
Writeln('Failed to find the vendor, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

SortTPAFrom(arP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
Result := True;
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindVendorPants could not find vendor pants.');
Exit;
end;

GetMousePos(fx, fy);
end;

Procedure Path;
var
x, y : Integer;
contin : boolean;
begin
MakeCompass('n');

If FindSymbol(x, y, Symbol_Bank) then
begin
writeln('Im at the bank');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the bank');
end;

x := MMCX + 25;
y := MMY1 + 23;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If FindSymbol(x, y, Symbol_Cookery) or FindSymbol(x, y, Symbol_KebabShop) or FindSymbol(x, y, Symbol_Furnace) then
begin
writeln('Walking to first spot');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the first spot');
x := MMCX + 15;
y := MMY1 + 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If FindSymbol(x, y, Symbol_Tanner) then
begin
writeln('Walking to tanner');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
wait(7000);
writeln('lolol');
x := MMCX + 30;
y := MMY1 + 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If false and FindSymbol(x, y, Symbol_ScimitarShop) then //always false
begin
writeln('Walking to the scimitar shop');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
x := MMCX + 50;
y := MMY1 + 70;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

x := MMCX + 30;
y := MMY1 + 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If FindSymbol(x, y, Symbol_Cookery) then
begin
writeln('Walking to the Cookery');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the Cookery');
end;

contin := false;
Repeat
If FindSymbol(x, y, Symbol_SilkStall) then
begin
writeln('Walking to the SilkStall');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
contin := false;
end else
begin
writeln('I cant find the SilkStall');
contin := true;
end;
Until not contin;

end;

Procedure PathReversed;
var
x, y : Integer;
contin : boolean;
begin
SetAngle(SRL_ANGLE_HIGH);
MakeCompass('n');

wait(1500);

If FindSymbol(x, y, Symbol_SilkStall) then
begin
writeln('Walking to the SilkStall');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
contin := false;
end else
begin
writeln('I cant find the SilkStall');
contin := true;
end;

If FindSymbol(x, y, Symbol_Cookery) then
begin
writeln('Walking to the Cookery');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the Cookery');
end;

x := MMCX - 30;
y := MMY2 - 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If false and FindSymbol(x, y, Symbol_ScimitarShop) then //always false
begin
writeln('Walking to the scimitar shop');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
x := MMCX - 50;
y := MMY2 - 70;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If FindSymbol(x, y, Symbol_Tanner) then
begin
writeln('Walking to tanner');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
wait(7000);
writeln('lolol');
x := MMCX - 30;
y := MMY2 - 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If FindSymbol(x, y, Symbol_Cookery) or FindSymbol(x, y, Symbol_KebabShop) or FindSymbol(x, y, Symbol_Furnace) then
begin
writeln('Walking to first spot');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the first spot');
x := MMCX - 15;
y := MMY2 - 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

x := MMCX - 25;
y := MMY2 - 23;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If FindSymbol(x, y, Symbol_Bank) then
begin
writeln('Im at the bank');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the bank');
end;

end;

function BankBoothColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.06, 0.41);

if not (FindColorsTolerance(arP, 4220043, MSX1, MSY1, MSX2, MSY2, 2)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('BankBoothColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('BankBoothColor failed in finding the color.');
end;

function FaceColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.04, 0.10);

if not (FindColorsTolerance(arP, 3890561, MCx1, MCy1, MCx2, MCy2, 16)) then
begin
Writeln('Failed to find the face in the dialog, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('FaceColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('FaceColor failed in finding the face in the dialog.');
end;

function isopenchat : boolean;
var
temp : boolean;
x, y : integer;
begin
temp := false;

if (not(FaceColor = 0)) and FindColorTolerance(x, y, FaceColor, 0, 338, 519, 478, 8) then
temp := true;

result := temp;
end;

function MoneyColorInv: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 0.40);

if not (FindColorsTolerance(arP, 958665, MIX1, MIY1, MIX2, MIY2, 24)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('MoneyColorInv = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('MoneyColorInv failed in finding the color.');
end;

function MoneyColorBank: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 0.62);

if not (FindColorsTolerance(arP, 1294063, MSX1, MSY1, MSX2, MSY2, 15)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('MoneyColorBank = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('MoneyColorBank failed in finding the color.');
end;

Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
Players[0].Name :='Your Username';
Players[0].Pass :='Your Password';
End;

function RedButtonColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 0.11);

if not (FindColorsTolerance(arP, 1908867, MIx1, MIY1, MIx2, MIy2, 8)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('RedButtonColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('RedButtonColor failed in finding the color.');
end;

Procedure CheckRun;
var
x,y : Integer;
begin

GameTab(12);

if FindColorTolerance(x, y, RedButtonColor, 615,407, 670,458, 8) then
begin
end else
begin
MMouse(643, 433,3,3);
ClickMouse2(Mouse_Left);
end;


GameTab(4);
end;

var
x, y : Integer;
SilkDTM : Integer;
Begin

SetupSRL;
DeclarePlayers;
ActivateClient;
Wait(2000);
If (Not LoggedIn) Then
LogInPlayer;
SetAngle(SRL_ANGLE_HIGH);
MakeCompass('n');
//SetupSRL;

while(true) do
BEGIN

Wait(750);

CheckRun;
Path;

wait(750);

While not InvFull do
Begin
Repeat
if FindVendor(x,y) then
begin

MMouse(x, y, 3, 3);
if(pos('an',GetUpText)=0) then
ClickMouse2(Mouse_left);
wait(150);
if isopenchat then
begin
break;
end
else
continue;
SetupSRL;
end;
until false;

//Wait(400);


// one
x := 307;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// two
x := 261;
y := 403;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// three
x := 214;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// four
x := 307;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// five
x := 258;
y := 437;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// six
x := 214;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// seven
x := 307;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

End;

SetAngle(SRL_ANGLE_HIGH);
MakeCompass('n');

CheckRun;
PathReversed;

Wait(1500);

//x := 124;
//y := 234+20;

If FindColorTolerance(x, y, BankBoothColor, MSX1, MSy1, MSX2, MSY2, 3) then
begin
wait(750);
MMouse(x + 35,y, 3,3);
wait(750);
ClickMouse2(Mouse_right);
wait(750);
MMouse(x, y + 40, 3, 3);
wait(750);
ClickMouse2(Mouse_left);
end;

SilkDTM := DTMFromString('mlwAAAHicY2dgYMhjYmBIBuICIC4D4gogTgfiDCB+BpR/D8XPgfguED8B4ltAvHZRJ5BkxIr5gSQrDoxdBwRDAQDymgts');

Wait(2500);

if FindDTM(SilkDTM, x, y, 546, 200, 736, 466) then
begin
MMouse(x,y, 3,3);
ClickMouse2(Mouse_Right);
MMouse(x, y + 67, 3, 3);
ClickMouse2(Mouse_Left);
end;

FreeDTM(SilkDTM);

If FindColorTolerance(x, y, MoneyColorInv, 546, 200, 736, 466, 3) then
begin
MMouse(x,y, 3,3);
ClickMouse2(Mouse_Right);
MMouse(x, y + 66, 3, 3);
ClickMouse2(Mouse_Left);
end;

If FindColorTolerance(x, y, MoneyColorBank, 18, 27, 502, 326, 3) then
begin
MMouse(x,y, 3,3);
ClickMouse2(Mouse_Right);
MMouse(x, y + 90, 3, 3);
ClickMouse2(Mouse_Left);
wait(1500);
Typesend('84');
end;

END; // lmao

End.


The script doesn't work and i have SRL-OSR installed correctly.
It gives me the error:
[Warning] C:\Simba\Scripts\silk-buyer-seller-osr.simba(157:14): Calculation always evaluates to False at line 156
[Warning] C:\Simba\Scripts\silk-buyer-seller-osr.simba(247:14): Calculation always evaluates to False at line 246
Compiled successfully in 421 ms.
SRL Compiled in 0 msec
** Smart Cannot Spawn Clients **
Successfully executed.

cylegend

2013-03-31 05:57:06

This script is dead isnt it?

theusername

2013-04-01 08:48:05

starts smart with eoc client, if I pre-open oldschool client it just stands there doing nothing. I've tried other scripts and they work.

MaetNameno

2013-04-02 22:00:17

I get it to work fine but it does not bank at all just right clicks then selects the walk here. If I knew how to I would but this script could use some cleaning up, everything is out of order and really hard to sort through. Also there is a lot of unnecessary walking. Just my 2 cents, you did better than I could do so props :)

My_Sp3c_Ftw

2013-04-05 17:00:46

Please make silk seller

Stoic

2013-04-06 07:38:41

how many silks can it buy per hour?

Zack1000

2013-04-11 17:18:03

How do I fix this?
[Error] C:\Simba\Includes\P07Include.Simba(105:10): Duplicate identifier 'P07_GETUPTEXT' at line 104
Compiling failed.

ThaPimpShrimp

2013-04-14 21:15:59

I realize this isn't the place for this, but I figure I'll post it here in hopes that it will reach the users using this script easier than the marketplace.

I'll purchase ALL silk, feel free to pm me and we can come up with a price.

I'll remove this post if asked my a moderator.

shwobo

2013-04-24 11:37:15

wtf is with all the "Walking to the tanner, cookery" and then he walks to the silk? And most of the time the bot glitches and he doesn't buy squat.

Ian

2013-04-24 12:15:17

From: shwobo
wtf is with all the "Walking to the tanner, cookery" and then he walks to the silk? And most of the time the bot glitches and he doesn't buy squat.


That would be called debug. It's helpful to post it when reporting a bug.

shwobo

2013-04-24 16:33:05

From: BMWxi
That would be called debug. It's helpful to post it when reporting a bug.


I know, what I meant was why does the bot walk around all of Al Kharid instead of directly going to the silk-trader?…

Ian

2013-04-24 16:49:03

From: shwobo
I know, what I meant was why does the bot walk around all of Al Kharid instead of directly going to the silk-trader?…


Does it just walk past them on the way to the silk trader? It probably goes straight to the trader but the debug wasn't phrased very well.

phat808

2013-04-29 23:19:15

All I gatta say…

Loading extension C:\Simba\Extensions\associate.sex
Extension Enabled
Loading extension C:\Simba\Extensions\extension.sex
Extension Enabled
Extensions Updater Enabled!
Loading extension C:\Simba\Extensions\srl.sex
Extension Enabled
SRL Updater Enabled!
Plugins Updater Enabled!
SPS Updater Enabled!
MSI Updater Enabled!
Simba news:

Simba 0.99 has been released. The release pages will be updated in a few
days.

The latest Simba is Simba 992. Changes from 991 are mostly just lape
updates: http://villavu.com/forum/showthread.php?t=94351


Thank you for using Simba,
Hakuna Matata.

New window: 1706164
[Warning] C:\Users\Daniel\Downloads\silktrader - 1.2.simba(160:11): Calculation always evaluates to False at line 159
[Warning] C:\Users\Daniel\Downloads\silktrader - 1.2.simba(250:11): Calculation always evaluates to False at line 249
Compiled successfully in 436 ms.
SRL Compiled in 0 msec
Loading SMART: http://oldschool33.runescape.com/j1
Successfully executed.
[Warning] C:\Users\Daniel\Downloads\silktrader - 1.2.simba(160:11): Calculation always evaluates to False at line 159
[Warning] C:\Users\Daniel\Downloads\silktrader - 1.2.simba(250:11): Calculation always evaluates to False at line 249
Compiled successfully in 436 ms.
SRL Compiled in 0 msec
Loading SMART: http://oldschool33.runescape.com/j1
Checking P07Include VersionNumber
Local : 1.7 / Latest : 1.7
You Have The Latest Version of P07Include
RedButtonColor = 2369440
Im at the bank
Walking to first spot
Walking to tanner
Walking to the Cookery
Walking to the SilkStall
Error: Exception: Font [P07UpChars] not found. at line 108
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, SRL - Options Bitmap]

rivaldo

2013-05-05 03:55:55

Man really wtf it loads normal runescape

Zorgatone

2013-05-31 08:45:57

From: OriginalGM
Hey everyone, I did not take the time to read through the posts since im lazy and want to better this code lol. basically i just wanted to state out for the record that if anyone needs this working, i have recompiled a sh*t ton in this .simba since Zorgatone had many, many bugs.

Zorgatone i give you props, you did a decent job, but its a real mess when looking at the code. i mean you have shit placed improperly and not in order lol, so i have to jump around to get to things.
other than that, major fixes i have done are "removed excess movement to shops(going to cookery, then to furnace, etc.) so it goes from first spot cookery, to scimitar, directly to silk trader and vice-versa for walk back.
im working on the bank bug currently, it is very unstable due to the fact that it does not check if you have money in your invo and does not withdraw money from the bank when script is initialized.
also working on banking silks, fairly easy fix though its just off centered when picking open bank, it picks "walk here" instead and then try to bank all the silks which in some cases may drop your silks instead and then it thinks its an empty invo and walks to the silk trader and buys silk and keeps buying and waste your money when you have a full invo and all the silk goes on the ground lol.

so those are my minor tweaks im working on, if its okay with Zorgatone ill release the "fixed" version of this, including a lot more anti-bans and anti-randoms and random event doers.
Cheers

*edit
also im going to add in alot of random mouse movements since i see very vague movements, and that leads to detection by jagex and further more a ban. random mouse movements make it look more legit and more human-like :D


Yeah I know this is what I was using.. this was not supposed to be released to public

EDIT: Ok, anyone is authorized to use this script, giving proper credits to the script writer

Zorgatone

2013-05-31 08:49:03

From: cotton1212
Hey, core rewrote the script for me to use SRL-OSR instead of p07include. Hopefully this can be useful to someone:


program silktrader;

{$DEFINE SMART8}
{$I SRL-OSR/SRL.simba}

procedure MyFlag;
begin
wait(1250);
Flag;
end;

function FindVendor(var fx, fy: Integer): Boolean;var
arP: TPointArray;
ararP: T2DPointArray;
tmpCTS, i, arL: Integer;
P: TPoint;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 0.44);

if not(FindColorsTolerance(arP, 9323663, MSX1, MSY1, MSX2, MSY2, 21)) then
begin
Writeln('Failed to find the vendor, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

SortTPAFrom(arP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
Result := True;
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindVendor could not find vendor.');
Exit;
end;

GetMousePos(fx, fy);
end;

function FindVendorPants(var fx, fy: Integer): Boolean;
var
arP: TPointArray;
ararP: T2DPointArray;
tmpCTS, i, arL: Integer;
P: TPoint;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.06, 0.27);

if not(FindColorsTolerance(arP, 10121596, MSx1, MSY1, MSx2, MSY2, 22)) then
begin
Writeln('Failed to find the vendor, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

SortTPAFrom(arP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
Result := True;
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindVendorPants could not find vendor pants.');
Exit;
end;

GetMousePos(fx, fy);
end;

Procedure Path;
var
x, y : Integer;
contin : boolean;
begin
MakeCompass('n');

If FindSymbol(x, y, Symbol_Bank) then
begin
writeln('Im at the bank');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the bank');
end;

x := MMCX + 25;
y := MMY1 + 23;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If FindSymbol(x, y, Symbol_Cookery) or FindSymbol(x, y, Symbol_KebabShop) or FindSymbol(x, y, Symbol_Furnace) then
begin
writeln('Walking to first spot');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the first spot');
x := MMCX + 15;
y := MMY1 + 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If FindSymbol(x, y, Symbol_Tanner) then
begin
writeln('Walking to tanner');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
wait(7000);
writeln('lolol');
x := MMCX + 30;
y := MMY1 + 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If false and FindSymbol(x, y, Symbol_ScimitarShop) then //always false
begin
writeln('Walking to the scimitar shop');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
x := MMCX + 50;
y := MMY1 + 70;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

x := MMCX + 30;
y := MMY1 + 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If FindSymbol(x, y, Symbol_Cookery) then
begin
writeln('Walking to the Cookery');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the Cookery');
end;

contin := false;
Repeat
If FindSymbol(x, y, Symbol_SilkStall) then
begin
writeln('Walking to the SilkStall');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
contin := false;
end else
begin
writeln('I cant find the SilkStall');
contin := true;
end;
Until not contin;

end;

Procedure PathReversed;
var
x, y : Integer;
contin : boolean;
begin
SetAngle(SRL_ANGLE_HIGH);
MakeCompass('n');

wait(1500);

If FindSymbol(x, y, Symbol_SilkStall) then
begin
writeln('Walking to the SilkStall');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
contin := false;
end else
begin
writeln('I cant find the SilkStall');
contin := true;
end;

If FindSymbol(x, y, Symbol_Cookery) then
begin
writeln('Walking to the Cookery');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the Cookery');
end;

x := MMCX - 30;
y := MMY2 - 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If false and FindSymbol(x, y, Symbol_ScimitarShop) then //always false
begin
writeln('Walking to the scimitar shop');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
x := MMCX - 50;
y := MMY2 - 70;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If FindSymbol(x, y, Symbol_Tanner) then
begin
writeln('Walking to tanner');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
wait(7000);
writeln('lolol');
x := MMCX - 30;
y := MMY2 - 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

If FindSymbol(x, y, Symbol_Cookery) or FindSymbol(x, y, Symbol_KebabShop) or FindSymbol(x, y, Symbol_Furnace) then
begin
writeln('Walking to first spot');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the first spot');
x := MMCX - 15;
y := MMY2 - 30;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end;

x := MMCX - 25;
y := MMY2 - 23;
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;

If FindSymbol(x, y, Symbol_Bank) then
begin
writeln('Im at the bank');
MMouse(x, y, 3, 3);
ClickMouse2(Mouse_Left);
MyFlag;
end else
begin
writeln('I cant find the bank');
end;

end;

function BankBoothColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.06, 0.41);

if not (FindColorsTolerance(arP, 4220043, MSX1, MSY1, MSX2, MSY2, 2)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('BankBoothColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('BankBoothColor failed in finding the color.');
end;

function FaceColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.04, 0.10);

if not (FindColorsTolerance(arP, 3890561, MCx1, MCy1, MCx2, MCy2, 16)) then
begin
Writeln('Failed to find the face in the dialog, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('FaceColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('FaceColor failed in finding the face in the dialog.');
end;

function isopenchat : boolean;
var
temp : boolean;
x, y : integer;
begin
temp := false;

if (not(FaceColor = 0)) and FindColorTolerance(x, y, FaceColor, 0, 338, 519, 478, 8) then
temp := true;

result := temp;
end;

function MoneyColorInv: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 0.40);

if not (FindColorsTolerance(arP, 958665, MIX1, MIY1, MIX2, MIY2, 24)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('MoneyColorInv = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('MoneyColorInv failed in finding the color.');
end;

function MoneyColorBank: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 0.62);

if not (FindColorsTolerance(arP, 1294063, MSX1, MSY1, MSX2, MSY2, 15)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('MoneyColorBank = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('MoneyColorBank failed in finding the color.');
end;

Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
Players[0].Name :='Your Username';
Players[0].Pass :='Your Password';
End;

function RedButtonColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 0.11);

if not (FindColorsTolerance(arP, 1908867, MIx1, MIY1, MIx2, MIy2, 8)) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('RedButtonColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
Writeln('RedButtonColor failed in finding the color.');
end;

Procedure CheckRun;
var
x,y : Integer;
begin

GameTab(12);

if FindColorTolerance(x, y, RedButtonColor, 615,407, 670,458, 8) then
begin
end else
begin
MMouse(643, 433,3,3);
ClickMouse2(Mouse_Left);
end;


GameTab(4);
end;

var
x, y : Integer;
SilkDTM : Integer;
Begin

SetupSRL;
DeclarePlayers;
ActivateClient;
Wait(2000);
If (Not LoggedIn) Then
LogInPlayer;
SetAngle(SRL_ANGLE_HIGH);
MakeCompass('n');
//SetupSRL;

while(true) do
BEGIN

Wait(750);

CheckRun;
Path;

wait(750);

While not InvFull do
Begin
Repeat
if FindVendor(x,y) then
begin

MMouse(x, y, 3, 3);
if(pos('an',GetUpText)=0) then
ClickMouse2(Mouse_left);
wait(150);
if isopenchat then
begin
break;
end
else
continue;
SetupSRL;
end;
until false;

//Wait(400);


// one
x := 307;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// two
x := 261;
y := 403;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// three
x := 214;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// four
x := 307;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// five
x := 258;
y := 437;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// six
x := 214;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

// seven
x := 307;
y := 453;

MMouse(x,y, 3,3);
Wait(400);
ClickMouse2(Mouse_left);

End;

SetAngle(SRL_ANGLE_HIGH);
MakeCompass('n');

CheckRun;
PathReversed;

Wait(1500);

//x := 124;
//y := 234+20;

If FindColorTolerance(x, y, BankBoothColor, MSX1, MSy1, MSX2, MSY2, 3) then
begin
wait(750);
MMouse(x + 35,y, 3,3);
wait(750);
ClickMouse2(Mouse_right);
wait(750);
MMouse(x, y + 40, 3, 3);
wait(750);
ClickMouse2(Mouse_left);
end;

SilkDTM := DTMFromString('mlwAAAHicY2dgYMhjYmBIBuICIC4D4gogTgfiDCB+BpR/D8XPgfguED8B4ltAvHZRJ5BkxIr5gSQrDoxdBwRDAQDymgts');

Wait(2500);

if FindDTM(SilkDTM, x, y, 546, 200, 736, 466) then
begin
MMouse(x,y, 3,3);
ClickMouse2(Mouse_Right);
MMouse(x, y + 67, 3, 3);
ClickMouse2(Mouse_Left);
end;

FreeDTM(SilkDTM);

If FindColorTolerance(x, y, MoneyColorInv, 546, 200, 736, 466, 3) then
begin
MMouse(x,y, 3,3);
ClickMouse2(Mouse_Right);
MMouse(x, y + 66, 3, 3);
ClickMouse2(Mouse_Left);
end;

If FindColorTolerance(x, y, MoneyColorBank, 18, 27, 502, 326, 3) then
begin
MMouse(x,y, 3,3);
ClickMouse2(Mouse_Right);
MMouse(x, y + 90, 3, 3);
ClickMouse2(Mouse_Left);
wait(1500);
Typesend('84');
end;

END; // lmao

End.


I had already a SRL_OSR version released on this thread

Zorgatone

2013-05-31 08:50:59

From: rivaldo
Man really wtf it loads normal runescape


you need to setup it for 07, use P07include or SRL_OSR

cruelty1345

2013-06-03 18:31:16

No silk seller?

randy123

2013-06-12 23:26:10

how do i long in on the script ?

gf grizzly

2013-07-29 17:47:51

[Error] C:\Simba\Includes\SPS/SPS.simba(357:9): Unknown identifier 'ClickNorth' at line 356

kadonker

2013-11-07 17:15:14

I get the same error! fairly new to simba but i have SRL and as far as I know SPS configured correctly. Did you geta solution to this?

Zorgatone

2013-11-08 09:00:10

From: kadonker
I get the same error! fairly new to simba but i have SRL and as far as I know SPS configured correctly. Did you geta solution to this?


This script is outdated/broken, it was written for SRL-OSR (experimental) / SRL5 like a year ago, and it won't work if not updated for new SRL6/SRL-OSR(stable).. I'm not maintaining this script anymore for now. I'm still learning the new changes in simba & scripting for both RS3/OSR.

Peace

S_rose94

2013-11-08 11:40:47

Unfortunatly this script no longer works

n0m

2013-11-11 20:35:15

Nice Script!