SRL Archive - First Scripts

Arrow Shafter


Iambubbleman

2012-02-04 14:36:59

-Null-

If found, please remove

oreokilla

2012-02-04 16:08:14

hi i was wondering what logs you were using to fletch with and do they actually sell once fletched? i mean easily at ge??

PatDuffy

2012-02-04 16:09:21

that makes 400k in 30 minutes….? WTH

It's just fletching shafts, I hope your calculations are off.

jctnd

2012-02-04 16:15:50

From: PatDuffy
that makes 400k in 30 minutes….? WTH

It's just fletching shafts, I hope your calculations are off.


na bro thats acully right X_X i put 18k shafts * 22 gp(cost of em) and i got 396k so if he was really makin 18k arrow shafts in 30min then thats right

cprince

2012-02-04 16:17:01

he calcs are off. I did the math. even at that fletching rate it maxes about 230k per hr profit

PatDuffy

2012-02-04 16:18:05

you forgot to subtract the value of the log itself

cprince

2012-02-04 16:18:38

From: jctnd
na bro thats acully right X_X i put 18k shafts * 22 gp(cost of em) and i got 396k so if he was really makin 18k arrow shafts in 30min then thats right


you are forgetting to add in the cost of the logs. which btw are not cheap anymore

Iambubbleman

2012-02-04 16:22:00

Well you have 27 Logs in your inventory, that yields 15 arrow shafts per log, you can finish 1 cycle in about a minute and ten seconds, 27 * 15 = 405 * 22 (Market Price Per shaft) = 8998 Gold pieces in 1 minute.

Now Selling at Market Takes a little bit of time, and 600k/hour is if you cut the logs yourself, if you buy the logs, its lower. There's an option on the script to declare if your buying the logs or not, which changes the Proggy.

Here's a proggy if your buying the logs

I hope you enjoy the script, if you have any suggestions feel free to post them.

fre

2012-02-04 17:41:30

Arrow shafts don't sell at 10M at a time.
U will make arrow shafts so fast that you can't sell them :)

Iambubbleman

2012-02-04 18:25:34

I'm fairly sure the GE limit for arrow shafts is 25k/4 Hours, and if you hit that limit and still are selling, just pull the offer out and add to it.

super powe14

2012-02-04 22:41:47

it keeps going to bank, selects the tab which the logs are in then says "out of logs, now shutting down" and log outs… any help?

Er1k

2012-02-04 23:00:35

Interestingly I took a request from one guy to make an arrowshafter. Guess you've beaten me to it :)

Nice first script, but I am sure you should use functions as a function instead of using them like procedures.

Example:

FindDTM(knife, x, y, MSX1, MSY1, MSX2, MSY2);
Mouse(x,y, 2, 2, true);
Wait(randomrange(1200, 1600));
FindDTM(Logs, x, y, MSX1, MSY1, MSX2, MSY2);
Mouse(x,y, 2, 2, False);
Wait(randomrange(1200, 1600));
ChooseOption('All L');
CloseWindow;

I want to stress that this is not wrong, but it might work unexpectedly. It is always a good idea to ask questions with if then statements and then decide what you should do.

Perhaps this?


if FindDTM(knife, x, y, MSX1, MSY1, MSX2, MSY2) then
begin
Mouse(x,y, 2, 2, true);
Wait(randomrange(1200, 1600));
if FindDTM(Logs, x, y, MSX1, MSY1, MSX2, MSY2) then
begin
Mouse(x,y, 2, 2, False);
Wait(randomrange(1200, 1600));
end;
if ChooseOption('All L') then
CloseWindow;
end;

And the money calculations. It should always be the profit/h, not revenue/h.

Iambubbleman

2012-02-05 03:37:00

From: nosaj.421
Interestingly I took a request from one guy to make an arrowshafter. Guess you've beaten me to it :)

Nice first script, but I am sure you should use functions as a function instead of using them like procedures.

Example:

FindDTM(knife, x, y, MSX1, MSY1, MSX2, MSY2);
Mouse(x,y, 2, 2, true);
Wait(randomrange(1200, 1600));
FindDTM(Logs, x, y, MSX1, MSY1, MSX2, MSY2);
Mouse(x,y, 2, 2, False);
Wait(randomrange(1200, 1600));
ChooseOption('All L');
CloseWindow;

I want to stress that this is not wrong, but it might work unexpectedly. It is always a good idea to ask questions with if then statements and then decide what you should do.

Perhaps this?


if FindDTM(knife, x, y, MSX1, MSY1, MSX2, MSY2) then
begin
Mouse(x,y, 2, 2, true);
Wait(randomrange(1200, 1600));
if FindDTM(Logs, x, y, MSX1, MSY1, MSX2, MSY2) then
begin
Mouse(x,y, 2, 2, False);
Wait(randomrange(1200, 1600));
end;
if ChooseOption('All L') then
CloseWindow;
end;

And the money calculations. It should always be the profit/h, not revenue/h.


Oh thank you, that really helps. I was under the impression that you had to have an else for every if..then…else statement.

Er1k

2012-02-05 07:48:57

From: Iambubbleman
Oh thank you, that really helps. I was under the impression that you had to have an else for every if..then…else statement.


Not necessarily. However for every function that returns a boolean I highly suggest you think twice before discarding the boolean and simply use it like a procedure. Usually the boolean is returned for a very good reason - you should do something about it, ie. failsafes.

Iambubbleman

2012-02-05 14:19:08

From: nosaj.421
Not necessarily. However for every function that returns a boolean I highly suggest you think twice before discarding the boolean and simply use it like a procedure. Usually the boolean is returned for a very good reason - you should do something about it, ie. failsafes.


Thanks again, adding some If, then's without the else, fixed a lot of issues! :D

hutt132

2012-02-05 15:33:50

Do the arrow shafts actually sell good? If they do then this script will be epic!

eXoTiK

2012-02-05 15:36:11

Your calculations ARE off btw.

Arrow shafts = 22 ea (15 shafts per log) = 330
Logs = 244 ea

Profit = 330 - 244 = 86 gp profit per log * 28 logs an inv = 2408 gp an inventory.

An inventory takes approximately 1 minute. 2408gp * 60 = 144,480 gp/hr.

Iambubbleman

2012-02-05 17:10:26

From: eXoTiK
Your calculations ARE off btw.

Arrow shafts = 22 ea (15 shafts per log) = 330
Logs = 244 ea

Profit = 330 - 244 = 86 gp profit per log * 28 logs an inv = 2408 gp an inventory.

An inventory takes approximately 1 minute. 2408gp * 60 = 144,480 gp/hr.


Please read the thread, we already established that there's a field on the script to declare if your buying logs or cutting them yourself :)

super powe14

2012-02-05 20:00:19

sometimes it has troubles detecting the bank color (it clicks on the floor and clicks walk here) then it pauses forever >.<

* im in varrock west bank btw

Iambubbleman

2012-02-05 20:38:46

From: super powe14
sometimes it has troubles detecting the bank color (it clicks on the floor and clicks walk here) then it pauses forever >.<

* im in varrock west bank btw


Here I'll try to fix the colors, At one point I found the perfect color so it would go straight to the bank

xNinjas

2012-02-06 03:48:23

i start it , it opens bank, Sits there , Types random Numbers and letters, withdraws logs ,opens bank deposted logs. Repeats .

ididitfortehlulz

2012-02-06 16:25:45

Doesn't do anything.
Sits at the bank doesn't click on it.

log says its going through cycles still.

Iambubbleman

2012-02-06 17:43:46

Fixed all known issues, now in 1.1

Please make sure you have at least 3 knives and that your items are in the correct inventory slots. Also please note the Script now runs in SoulWars to fix RandomEvent and Banking Issues.

mitcheee

2012-02-07 00:49:43

It withdraws knife then logs and then uses knife but doesnt click the logs? Then it tries to bank??

mitcheee

2012-02-07 00:55:20

From: mitcheee
It withdraws knife then logs and then uses knife but doesnt click the logs? Then it tries to bank??


dw.. got it

coolyboy

2012-02-12 14:59:58

the worst sscript every, dude it click random shit in my bank, cant find logs and is too slow

coolyboy

2012-02-12 15:04:06

this script is shit, dude

BobTheCat

2012-02-16 19:58:47

Nice script. The title information being a little misleading is forcing people to focus on correcting your math rather than give the scripting a little more credit, but I can understand where they're coming from.

Given the 25k sell limit and everything I consider this a good script for leveling up fletching or making some light cash and that's why I think its good, I'm not expecting it to be a huge money making method. :3

Iambubbleman

2012-02-16 20:01:17

From: coolyboy
this script is shit, dude


It's not like this is my very first script or anything….. :unsure: