SRL Archive - Reflection

[R2] Yago's Drink Buyer


Yago

2011-06-04 21:49:32

OK, Second Public Script.

Drink Buyer
Current Version: 0.3 ~~ (Updated 9/16/11)
By: Yago



Description: This Buys All The Different Types Of Drinks In The Falador Inn For A Profit.

Features:
  1. Different Drink Types.
  2. MultiPlayer.
  3. SMART Paint.
  4. Breaks.
  5. Relocation. (DeathWalk)
  6. AutoUpdater.
  7. SRL Stats.

Start-up:
  1. Start From Anywhere In Runescape With Move Than 3 Coins In Your Inventory And Nothing Else.
  2. Set The Constants Such As Breaks And AntiBan.
  3. Fill Out Declare Players Form. (Username and Password)
  4. Set The Drink To Buy. (Default Is Asgarnian Ale)
  5. Set The Time To Run. (Leave At 0 For Infinite Time)
  6. Set The Drink Amount To Buy. (Leave At 0 To Run Out)
  7. Make Sure In The Bank There Is Enough Room For Drinks Otherwise Depositing Will Fail.


Known Bugs/Errors :stirthepot:
  1. No Known Problems. Post If You Find Any.


Suggestions

  1. Suggestions Welcome!


Other:
Script Stats Page
++ Rep Me If You Feel Like It!!!


To Get Drink Buyer v0.3:
  1. Download It From The Attachment On The Bottom Of The Post.


Credits:
Special Thanks To All Those Who Let Me Use Their Functions!!!

Change Log

1. -- [I][B]18[/B] Views[/I] -- 06/04/11 v0.1 -- Script Released To Public.
2. -- 06/10/11 v0.2 -- Edited SMART Paint. Added Breaks Procedure I Forgot To Include In The First Version. Added A Profit Calculator.
3. -- 09/16.11 v0.3 -- Converted to Ref2. Removed a custom walking function.

Yago

2011-06-04 21:50:33

Top Progress Reports:


1.
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 6 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 11 hr 15 min 35 sec |
| Total Breaks Taken : 5 Breaks |
| Total Drinks Bought : 5076 |
| Total Profit : 837540 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: lshsisawe1 |
| |
| Reason : Unable To Open The Bank. |
| Time Active : 12 hr 13 min 16 sec |
| Breaks Taken : 5 Break(s) |
| Drink Type : MB |
| Drinks Bought : 5076 |
| Drinks Per Hour : 416 |
| Profit Per Drink : 165 |
| Profit : 837540 |
| Profit Per Hour : 68531 |
| |
*----------------------------------------------------------------*

2.
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 8 hr 11 min 29 sec |
| Total Drinks Bought : 3996 |
| Total Profit : 903096 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: ********** |
| |
| Reason : |
| Time Active : 8 hr 11 min 2 sec |
| Drink Type : AA |
| Drinks Bought : 3996 |
| Drinks Per Hour : 489 |
| Profit Per Drink : 226 |
| Profit : 903096 |
| Profit Per Hour : 110348 |
| |
*----------------------------------------------------------------*

3.


Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 5 hr 59 min 11 sec |
| Total Drinks Bought : 3672 |
| Total Profit : 829872 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: ********** |
| |
| Reason : |
| Time Active : 5 hr 58 min 18 sec |
| Drink Type : AA |
| Drinks Bought : 3672 |
| Drinks Per Hour : 615 |
| Profit Per Drink : 226 |
| Profit : 829872 |
| Profit Per Hour : 138968 |
| |
*----------------------------------------------------------------*

KingKong

2011-06-04 21:52:12

You forgot to attach the script lol.

Yago

2011-06-04 21:53:43

Yea lol I was waiting to get the thread before uploading the script so I can put the thread on the script way up at top. After I created it then I put it in the script and put the attachment up

KingKong

2011-06-04 21:58:11

whats the gp/hr for this?(how much drinks does it buy per hr?)

Yago

2011-06-04 22:08:19

I was averaging about 420 - 430 Drink Per Hour And

Asgarnian Ale is at 128 - 3 Coins for buying it. 125 Profit By 430 is 53750, which IMO is good money for No SKill Requirements or any lvl 3

Nava2

2011-06-04 22:43:54

From: Yago
I was averaging about 420 - 430 Drink Per Hour And

Asgarnian Ale is at 128 - 3 Coins for buying it. 125 Profit By 430 is 53750, which IMO is good money for No SKill Requirements or any lvl 3


Thats decent for a F2P no-skill requirement.. that is good to start off accounts if you don't want to transfer money over.

LolL

2011-06-05 12:49:15

I'm running it right now, so far so good :). You should add that to avoid being death-walked start in Falador West Bank. The paint looks very nice.

Also, I can't think of a SINGLE thing that makes more than 50k GP / h on F2P RS these days (maybe a Cockroach Soldier killer but that's it). Bots have really crashed prices virtually everywhere.

Edit: It left-clicked the banker (on accident I think) and started talking to him so the script stalled for a minute or two; add a failsafe for that.

Edit2: It said it failed to walk to the inn so you should make the script try multiple times for that. Here's where the script walked to: http://img845.imageshack.us/img845/8926/locq.jpg

Rich

2011-06-05 13:30:04

Just looked through the script and it looks fairly decent. As for adding stats, it's fairly simple. Just read this guide and you'll be sorted.

Yago

2011-06-05 13:42:11

From: Rich
Just looked through the script and it looks fairly decent. As for adding stats, it's fairly simple. Just read this guide and you'll be sorted.


I havent added stats yet cause I still need to request the variables.

Edit:

From: LolL
Edit: It left-clicked the banker (on accident I think) and started talking to him so the script stalled for a minute or two; add a failsafe for that.


Reflection Banking for falador west is a bit messed up. That should be a banking error… Ive notice it walk outside the bank sometimes.

From: Loll

Edit2: It said it failed to walk to the inn so you should make the script try multiple times for that. Here's where the script walked to: http://img845.imageshack.us/img845/8926/locq.jpg


edit: This honestly took me roughly 2 hours to make so I barely added fail-safes to it because it ran 2hrs + straight for me successfully. Ill make a few loops in-case walking fails. That's odd though that it would fail. Its IAMADAM's procedure and it has worked for me successfully, Ill add the fail-safes though.

LolL

2011-06-05 13:48:06

This script lacks a lot of failsafes. It recently stopped because it was unable to find the bank, yet the player was standing right in front of it. I haven't looked at the code, but you should implement a system like:

var
fails : Integer;
success : Boolean;
success := False;
for fails := 0 to 3 do
begin
if walkToBank then
begin
success := True;
Break;
end;
Sleep(RandomRange(1000, 2000));
end;
if not success then
begin
WriteLn('Failed to walk to da bank');
TerminateScript;
end;
success := False;
for fails := 0 to 3 do
begin
if openBank then
begin
success := True;
Break;
end;
Sleep(RandomRange(1000, 2000));
end;
if not success then
begin
WriteLn('Failed to open da bank');
TerminateScript;
end;
success := False;
for fails := 0 to 3 do
begin
if depositItems then
begin
success := True;
Break;
end;
Sleep(RandomRange(1000, 2000));
end;
if not success then
begin
WriteLn('Failed to deposit items');
TerminateScript;
end;
success := False;
//ETC ETC

This way, each action is given 4 tries to complete before the script stops. Remember to reset the success var.

I'm unsure of the demands on each drink, but AA seems to have very low demand and thus is not much of a money-maker.

Yago

2011-06-05 13:51:02

From: LolL
However, this script is not a money-maker. The demand for ales is extremely low as far as I can tell (correct me if I'm wrong). I tried to sell 100 AA at mid and only 4 would sell. Who knows how long it'll take to sell 100, maybe a week? I would recommend using a clay softener (King's is really good) that makes 40k GP / h instantly.


Try buying mind bombs then. They sold quickly for me and are only 20 coins less that Ales

Nose Smasher

2011-06-05 14:31:42

There is no one way to make money… as stated before bots have ruined any and every way of making money… which is why this script is awesome lol, it's unique! When are people going to learn that the only real way of making money is to use several techniques…

Any word on how well multi-player works? I'll set my army up and see how it goes :p

Yago

2011-06-05 14:41:57

From: Nose Smasher
There is no one way to make money… as stated before bots have ruined any and every way of making money… which is why this script is awesome lol, it's unique! When are people going to learn that the only real way of making money is to use several techniques…

Any word on how well multi-player works? I'll set my army up and see how it goes :p


I haven't tested multiplayer, but it has the same setup as my other script so it should work.

Yago

2011-06-05 17:48:27

WOw… I forgot to implement breaking to the script. I have the function and everything in just not the breaks… Next version will have stats and breaks and more failsafes.

Yago

2011-06-10 20:59:23

Update. Yago's Drink Buyer v0.2

Changes includes:

  • Edited SMART Paint.
  • Added Breaks Procedure I Forgot To Include In The First Version.
  • Added A Price Calculator.
  • Some more stuff…

Enjoy :spot:

Anyone Want To Get Me A Good Progress Report?

JiveTonto@Gmail.com

2011-06-10 22:33:58

ill do it for ya brb till it crashes ( hav e put 10mill in inventory )

Yago

2011-06-10 23:18:44

From: JiveTonto@Gmail.com
ill do it for ya brb till it crashes ( hav e put 10mill in inventory )


Lol thanks :)

JiveTonto@Gmail.com

2011-06-10 23:23:58

|—————————————————————-|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 40 min 14 sec |
| Total Drinks Bought : 270 |
| Total Profit : 31590 |
| |
|—————————————————————-|
| Individual Report: |
| |
| Player[0]: |
| |
| Reason : |
| Time Active : 39 min 14 sec |
| Drink Type : AA |
| Drinks Bought : 270 |
| Drinks Per Hour : 413 |
| Profit Per Drink : 117 |
| Profit : 31590 |
| Profit Per Hour : 48301 |
| |
*—————————————————————-*








just a teaser.still chugging along

Yago

2011-06-10 23:39:46

lol sure. How many hours or Ales you going for?

JiveTonto@Gmail.com

2011-06-10 23:54:33

till it crashes because of a glitch or random,im useing a mates account as he's away for 4 days lulz

JiveTonto@Gmail.com

2011-06-11 03:01:53

*—————————————————————-*
| Drink Buyer v 0.2 |
| By: Yago |
|—————————————————————-|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 4 hr 19 min 42 sec |
| Total Drinks Bought : 1782 |
| Total Profit : 208494 |
| |
|—————————————————————-|
| Individual Report: |
| |
| Player[0]: |
| |
| Reason : |
| Time Active : 4 hr 18 min 42 sec |
| Drink Type : AA |
| Drinks Bought : 1782 |
| Drinks Per Hour : 414 |
| Profit Per Drink : 117 |
| Profit : 208494 |
| Profit Per Hour : 48354 |
| |
*—————————————————————-*





stoped it because i want the account for other duties.lol very nice script and very stable



rep ++ for you

Yago

2011-06-11 11:48:24

From: JiveTonto@Gmail.com
*—————————————————————-*
| Drink Buyer v 0.2 |
| By: Yago |
|—————————————————————-|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 4 hr 19 min 42 sec |
| Total Drinks Bought : 1782 |
| Total Profit : 208494 |
| |
|—————————————————————-|
| Individual Report: |
| |
| Player[0]: unluckey |
| |
| Reason : |
| Time Active : 4 hr 18 min 42 sec |
| Drink Type : AA |
| Drinks Bought : 1782 |
| Drinks Per Hour : 414 |
| Profit Per Drink : 117 |
| Profit : 208494 |
| Profit Per Hour : 48354 |
| |
*—————————————————————-*





stoped it because i want the account for other duties.lol very nice script and very stable



rep ++ for you


Wow. Thanks-you very Much. I'll add it to the top progress reports.

Yago

2011-09-16 22:17:20

I don't know if people still use this or not because things don't sell quickly but updated this to R2…

euphemism

2011-09-16 23:44:14

I used it the other day, and it bought 2k gp worth of drinks before failing. They sold for 211k gp, which is quite the turn around.

Yago

2011-09-16 23:45:02

nice. How many hours was that run?

litoris

2011-09-17 02:43:21

Do you have any estimates on how much profit each drink brings? Having it in the first post would be useful :D

euphemism

2011-09-21 23:32:17

From: Yago
nice. How many hours was that run?


Unfortunately, I don't have that information.

bolshak25

2011-09-22 08:38:58


Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 5 hr 59 min 11 sec |
| Total Drinks Bought : 3672 |
| Total Profit : 829872 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: ********** |
| |
| Reason : |
| Time Active : 5 hr 58 min 18 sec |
| Drink Type : AA |
| Drinks Bought : 3672 |
| Drinks Per Hour : 615 |
| Profit Per Drink : 226 |
| Profit : 829872 |
| Profit Per Hour : 138968 |
| |
*----------------------------------------------------------------*
[R_OpenBankBooth] Unable to find the bank UpText
[Reflection] The Inventory interface doesn't exist!

spammed that last line for 3 hours
i was in the bar when i logged in
nice script running again

euphemism

2011-09-22 10:43:41

From: bolshak25


spammed that last line for 3 hours
i was in the bar when i logged in
nice script running again


I am getting that whenever I run R_FindRandoms in the script I am working on. I do not think it is a problem with Yago's Drink Buyer.

YoHoJo

2011-09-22 14:37:56

@BloShank25
"Profit Per Hour : 138968"
WOW really? With what drink?
E: Oh I see, 'AA' whatever that stands for.

litoris

2011-09-22 14:41:08

From: YoHoJo
@BloShank25
"Profit Per Hour : 138968"
WOW really? With what drink?
E: Oh I see, 'AA' whatever that stands for.


Based on the price per drink, seems like asgarnian ale.

I highly doubt it sells at mid price though.

euphemism

2011-09-22 14:58:12

From: litoris
Based on the price per drink, seems like asgarnian ale.

I highly doubt it sells at mid price though.


It does, just very slowly.

bolshak25

2011-09-22 15:47:15

it spammed that because my account logged out for one reason or another.
so far ive bought 7k, and i had 90k in the inv, so in the end ill have 30k to slowly sell

E:

Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 8 hr 11 min 29 sec |
| Total Drinks Bought : 3996 |
| Total Profit : 903096 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: ********** |
| |
| Reason : |
| Time Active : 8 hr 11 min 2 sec |
| Drink Type : AA |
| Drinks Bought : 3996 |
| Drinks Per Hour : 489 |
| Profit Per Drink : 226 |
| Profit : 903096 |
| Profit Per Hour : 110348 |
| |
*----------------------------------------------------------------*


better proggy

Yago

2011-09-22 17:09:58

From: bolshak25
it spammed that because my account logged out for one reason or another.


ouch OK, so I've got an infinite loop somewhere. I don't know if the profit per hour is that high. Last time I tried I was getting around 40k/hour.

AA is asgarnian ale

Edit: Added Your proggies to the main post
Edit: THe looping was probably due to the 6 hour automatic logout

bolshak25

2011-09-22 17:16:21

both times thats started, is in the bar. somehow it lags to lobby then it tweaks like that till i stop it. maybe add a check for lobby? and can it display how long until the next break?
profit actually is that high because aa sells at 230 something right now. probably extrememly slow though

Yago

2011-09-22 17:20:15

ok then change the line 983-984 to
end else if not (Goals and R_LoggedIn) then
NextPlayer(Players[CurrentPlayer].Strings[0] = '')

see if that helps

bolshak25

2011-09-23 23:07:09


Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 6 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 11 hr 15 min 35 sec |
| Total Breaks Taken : 5 Breaks |
| Total Drinks Bought : 5076 |
| Total Profit : 837540 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: ********** |
| |
| Reason : Unable To Open The Bank. |
| Time Active : 12 hr 13 min 16 sec |
| Breaks Taken : 5 Break(s) |
| Drink Type : MB |
| Drinks Bought : 5076 |
| Drinks Per Hour : 416 |
| Profit Per Drink : 165 |
| Profit : 837540 |
| Profit Per Hour : 68531 |
| |
*----------------------------------------------------------------*
so far ive made back my original investment and doubled it easily. switching around which drinks so i dont sit with one type forever

somehow it banked my coins. no idea. just sayin

Yago

2011-09-24 13:22:45

Wow that's the best proggy so far. Do you have the debug for when it banked your coins?

bolshak25

2011-09-24 14:42:25

sadly i dont. and the new prog will be the best so far 15.5 hrs

Yago

2011-09-24 19:52:55

Wow great. I made this a while ago, but do the drinks still sell good in the G.E?

Edit: Did you add this to the script?

end else if not (Goals and R_LoggedIn) then
NextPlayer(Players[CurrentPlayer].Strings[0] = '')

if you did and it works better let me know.

bolshak25

2011-09-24 20:39:50

that actually made me log out after 17 min and 2 hrs on the runs i tried. if it were to lag at all, then that would log it out.
the newest upload v3 is running great and the drinks are seeming to sell. ill manually stop it after 24 hr proggy. 21.5 hrs as we speak

Yago

2011-09-24 20:50:48

wow great. Are you using SRL Stats? It'd be great to know how much profit you have made off of this.

bolshak25

2011-09-24 21:27:51

yeah, im using stats 22.33 hours

bolshak25

2011-09-24 23:25:24

yes im double posting, but its so you see the 24 hour proggy i think im going to give it a rest but ill come back for some more money later, amazing script!

Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 12 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 24 hr 10 min 28 sec |
| Total Breaks Taken : 12 Breaks |
| Total Drinks Bought : 8861 |
| Total Profit : 1462065 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: ********** |
| |
| Reason : Manually Terminated. |
| Time Active : 24 hr 6 min 21 sec |
| Breaks Taken : 12 Break(s) |
| Drink Type : MB |
| Drinks Bought : 8861 |
| Drinks Per Hour : 368 |
| Profit Per Drink : 165 |
| Profit : 1462065 |
| Profit Per Hour : 60652 |
| |
*----------------------------------------------------------------*

bevardis

2011-09-25 03:47:41

When I used it, it didn't switch players

Yago

2011-09-25 12:29:05

From: bevardis
When I used it, it didn't switch players


I was messing around with the multiplayer stuff in the script to see if it could pass the 6 hour logout. I know it works good with singleplayers, thanks for bringing this up.

Did you set any goals, such as a time limit it the amounts of drinks to buy? If so did the player reach that goal?

Yago

2011-09-25 17:33:16

From: bevardis
When I used it, it didn't switch players


Double Post…

Can you change lines 980-987 to this:

if (Goals) then
begin
EndScript('Reached All Set Goals.');
NextPlayer(False);
end else if R_LoggedIn then
NextPlayer(Players[CurrentPlayer].Strings[0] = '')
else
NextPlayer(False);

Let me know if that helps or not.

YoHoJo

2011-09-26 15:17:25

How should I set the up so that when it uses multilayer that it doesn't break, but switches to the next player every X minutes?

Is this correct?

TakeBreaks      = True;        // Set To True To Take Breaks.
BreakAfter = 120; // Time To Run Script Before Taking A Break.
BreakTime = 0; // How Long To Take A Break (Plus Randomness).
BreakRandomness = 0; // Randomness Used When Breaking.

E: Ever since I started using multiplayer the break handler is messed up:

I tried using the above settings and
TakeBreaks      = True;        // Set To True To Take Breaks.
BreakAfter = 120; // Time To Run Script Before Taking A Break.
BreakTime = 10; // How Long To Take A Break (Plus Randomness).
BreakRandomness = 3; // Randomness Used When Breaking.

When using single player last night the above settings worked just fine. Hmm?

Along with breaks not working, multiplayer also causes script to lag during entire runtime.

Love the script and idea!

P.S. Psst everyone who's buying AA, lets all sell it at MID or +5% and KEEP the price of it high and keep our profit high!

Jakkle

2011-09-26 17:33:53

From: YoHoJo
How should I set the up so that when it uses multilayer that it doesn't break, but switches to the next player every X minutes?

Is this correct?

TakeBreaks      = True;        // Set To True To Take Breaks.
BreakAfter = 120; // Time To Run Script Before Taking A Break.
BreakTime = 0; // How Long To Take A Break (Plus Randomness).
BreakRandomness = 0; // Randomness Used When Breaking.

E: Ever since I started using multiplayer the break handler is messed up:


I tried using the above settings and
TakeBreaks      = True;        // Set To True To Take Breaks.
BreakAfter = 120; // Time To Run Script Before Taking A Break.
BreakTime = 10; // How Long To Take A Break (Plus Randomness).
BreakRandomness = 3; // Randomness Used When Breaking.

When using single player last night the above settings worked just fine. Hmm?

Along with breaks not working, multiplayer also causes script to lag during entire runtime.

Love the script and idea!

P.S. Psst everyone who's buying AA, lets all sell it at MID or +5% and KEEP the price of it high and keep our profit high!


If this script is using the break handler by echo_ then its known it don't work with multi player. Also PlayerWorked seems to only record the time from when the player last logged in and not from when it originally logged in, after using the same break handler.

Yago

2011-09-26 23:31:00

Ill takeba look at multiplayer and the break stuff soon. Now school has gotten my hands tied. Also, the breaking system is Echo's…

YoHoJo

2011-09-27 03:21:20

Four Different Progress Reports.

Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 1 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 3 hr 58 min 42 sec |
| Total Breaks Taken : 1 Breaks |
| Total Drinks Bought : 1647 |
| Total Profit : 378810 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: |
| |
| Reason : |
| Time Active : 3 hr 57 min 58 sec |
| Breaks Taken : 1 Break(s) |
| Drink Type : AA |
| Drinks Bought : 1647 |
| Drinks Per Hour : 416 |
| Profit Per Drink : 230 |
| Profit : 378810 |
| Profit Per Hour : 95511 |
| |
*----------------------------------------------------------------*

Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 2 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 4 hr 6 min 43 sec |
| Total Breaks Taken : 2 Breaks |
| Total Drinks Bought : 1728 |
| Total Profit : 397440 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: |
| |
| Reason : |
| Time Active : 4 hr 5 min 43 sec |
| Breaks Taken : 2 Break(s) |
| Drink Type : AA |
| Drinks Bought : 1728 |
| Drinks Per Hour : 422 |
| Profit Per Drink : 230 |
| Profit : 397440 |
| Profit Per Hour : 97048 |
| |
*----------------------------------------------------------------*

Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 1 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 3 hr 55 min 51 sec |
| Total Breaks Taken : 1 Breaks |
| Total Drinks Bought : 1917 |
| Total Profit : 440910 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: |
| |
| Reason : |
| Time Active : 3 hr 55 min 5 sec |
| Breaks Taken : 1 Break(s) |
| Drink Type : AA |
| Drinks Bought : 1917 |
| Drinks Per Hour : 490 |
| Profit Per Drink : 230 |
| Profit : 440910 |
| Profit Per Hour : 112526 |
| |
*----------------------------------------------------------------*

Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 1 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 3 hr 49 min 28 sec |
| Total Breaks Taken : 1 Breaks |
| Total Drinks Bought : 2079 |
| Total Profit : 478170 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: |
| |
| Reason : |
| Time Active : 3 hr 48 min 47 sec |
| Breaks Taken : 1 Break(s) |
| Drink Type : AA |
| Drinks Bought : 2079 |
| Drinks Per Hour : 546 |
| Profit Per Drink : 230 |
| Profit : 478170 |
| Profit Per Hour : 125401 |
| |
*----------------------------------------------------------------*

Thanks! Love it :D.

Jakkle

2011-09-27 11:57:02

YoHoJo You left your names in the proggy bro
Edit: and in your other post

Home

2011-09-27 14:20:00

From: Jakkle
YoHoJo You left your names in the proggy bro
Edit: and in your other post


Tried to remove all Usernames. Jakkle if you find some where more. Please inform.


~Home

litoris

2011-09-27 15:07:57

From: Home
Tried to remove all Usernames. Jakkle if you find some where more. Please inform.


~Home


They are all gone now, gj. Nice accounts though Yohojo, what do you use to train them? Some rsbuddy scripts I suppose due to the dung levels.

YoHoJo

2011-09-27 17:17:26

MSI, Powerbot (Dung, Crafting, WC), PMS (My olde power miner), Tarajunky's Chicken Killer (oudated), Strongholder from SRL, and that's all I can remember. :D

sf411

2011-09-27 17:21:03

From: YoHoJo
MSI, Powerbot (Dung, Crafting, WC), PMS (My olde power miner), Tarajunky's Chicken Killer (oudated), Strongholder from SRL, and that's all I can remember. :D


Why do you use Powerbot for those skills? Personally, I have never used it.

YoHoJo

2011-09-27 19:13:35

Fast, efficient, easy to setup and use, lots of scripts, I like a lot of the GUI/Progress reprots, lot of scripts there do a lot more than scripts here. I still <3 SRL forever though! :D

Here's another

Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 3 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 7 hr 52 min 28 sec |
| Total Breaks Taken : 3 Breaks |
| Total Drinks Bought : 3855 |
| Total Profit : 871230 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: |
| |
| Reason : Manually Terminated. |
| Time Active : 7 hr 50 min 54 sec |
| Breaks Taken : 3 Break(s) |
| Drink Type : AA |
| Drinks Bought : 3855 |
| Drinks Per Hour : 492 |
| Profit Per Drink : 226 |
| Profit : 871230 |
| Profit Per Hour : 111005 |
| |
*----------------------------------------------------------------*

Jakkle

2011-09-27 19:44:26

From: Home
Tried to remove all Usernames. Jakkle if you find some where more. Please inform.


~Home


Ok I will report to you and harry in future.

YoHoJo

2011-09-27 23:36:05

Mid price is currently at 229gp but I am selling them slowly but surely at 240gp.
Let's try to keep prices up!

Everything was fine though because they were logged out, I believe my internet went down/I lost connection for a little while, this happens when I loose my internet.

All is going well!

Three More. These three got spammed
[Reflection] The Inventory interface doesn't exist!
[Reflection] The Inventory interface doesn't exist!
[Reflection] The Inventory interface doesn't exist!
[Reflection] The Inventory interface doesn't exist!
[Reflection] The Inventory interface doesn't exist!
[Reflection] The Inventory interface doesn't exist!
[Reflection] The Inventory interface doesn't exist!
[Reflection] The Inventory interface doesn't exist!

*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 5 hr 34 min 11 sec |
| Total Breaks Taken : 2 Breaks |
| Total Drinks Bought : 1972 |
| Total Profit : 445672 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: |
| |
| Reason : Manually Terminated. |
| Time Active : 5 hr 32 min 46 sec |
| Breaks Taken : 2 Break(s) |
| Drink Type : AA |
| Drinks Bought : 1972 |
| Drinks Per Hour : 356 |
| Profit Per Drink : 226 |
| Profit : 445672 |
| Profit Per Hour : 80359 |
| |
*----------------------------------------------------------------*

*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 5 hr 32 min 25 sec |
| Total Breaks Taken : 2 Breaks |
| Total Drinks Bought : 2355 |
| Total Profit : 532230 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: |
| |
| Reason : Manually Terminated. |
| Time Active : 5 hr 31 min 19 sec |
| Breaks Taken : 2 Break(s) |
| Drink Type : AA |
| Drinks Bought : 2355 |
| Drinks Per Hour : 427 |
| Profit Per Drink : 226 |
| Profit : 532230 |
| Profit Per Hour : 96382 |
| |
*----------------------------------------------------------------*

*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 5 hr 31 min 1 sec |
| Total Breaks Taken : 2 Breaks |
| Total Drinks Bought : 2383 |
| Total Profit : 538558 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: |
| |
| Reason : Manually Terminated. |
| Time Active : 5 hr 7 min 43 sec |
| Breaks Taken : 2 Break(s) |
| Drink Type : AA |
| Drinks Bought : 2383 |
| Drinks Per Hour : 465 |
| Profit Per Drink : 226 |
| Profit : 538558 |
| Profit Per Hour : 105009 |
| |
*----------------------------------------------------------------*

YoHoJo

2011-10-02 03:51:52


*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 3 hr 47 min 12 sec |
| Total Breaks Taken : 1 Breaks |
| Total Drinks Bought : 1736 |
| Total Profit : 260400 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: *** |
| |
| Reason : Manually Terminated. |
| Time Active : 3 hr 45 min 44 sec |
| Breaks Taken : 1 Break(s) |
| Drink Type : MB |
| Drinks Bought : 1736 |
| Drinks Per Hour : 462 |
| Profit Per Drink : 150 |
| Profit : 260400 |
| Profit Per Hour : 69211 |
| |
*----------------------------------------------------------------*


Note: Mind Bombs have mid price of 153 but will easily sell at 160-170 with patience, so be patient! :D

litoris

2011-10-02 04:16:12

From: YoHoJo

*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 3 hr 47 min 12 sec |
| Total Breaks Taken : 1 Breaks |
| Total Drinks Bought : 1736 |
| Total Profit : 260400 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: *** |
| |
| Reason : Manually Terminated. |
| Time Active : 3 hr 45 min 44 sec |
| Breaks Taken : 1 Break(s) |
| Drink Type : MB |
| Drinks Bought : 1736 |
| Drinks Per Hour : 462 |
| Profit Per Drink : 150 |
| Profit : 260400 |
| Profit Per Hour : 69211 |
| |
*----------------------------------------------------------------*


Note: Mind Bombs have mid price of 153 but will easily sell at 160-170 with patience, so be patient! :D

Why do you do mind bombs at all? Isn't AA like +100gp/each?

YoHoJo

2011-10-02 05:44:42

AA was at ~240gp each a few days ago, the highest price in 180 days. It is now falling, and fast. Currently it is at a mid price of 218gp and if it keeps going on the path it's on it will go quite a bit lower I believe.

I'm just seeing how Mind Bombs are going and what I can get away selling them at. Like I said I'm currently selling them at ~20gp above mid at 170gp each and they are going just fine, who knows how high I/we can get them potentially :].

So basically AA is +40gp/ea (or less).

I'm just experimenting around with stuff, but yeah most likely I'm going to switch back to AA (until/if they fall under 170ea, then I'll stop).

Thanks for looking out for me :D.

Heavenzeyez1

2011-10-03 01:12:16

*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 7 hr 45 min 23 sec |
| Total Breaks Taken : 7 Breaks |
| Total Drinks Bought : 3456 |
| Total Profit : 708480 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: *** |
| |
| Reason : Manually Terminated. |
| Time Active : 7 hr 42 min 36 sec |
| Breaks Taken : 7 Break(s) |
| Drink Type : AA |
| Drinks Bought : 3456 |
| Drinks Per Hour : 449 |
| Profit Per Drink : 205 |
| Profit : 708480 |
| Profit Per Hour : 91890 |
| |
*----------------------------------------------------------------*
Much love, this script is flawless.
~Eerik.

Yago

2011-10-03 14:55:47

Thank-you. If you guys have any suggestions or any feedback let me know.

YoHoJo

2011-10-03 15:38:25

Ale is falling like crazy. It better not be you guys selling it under mid!
http://services.runescape.com/m=itemdb_rs/Asgarnian_ale/viewitem.ws?obj=1905

Heavenzeyez1

2011-10-03 15:50:04

Yes! Don't sell under mid, please! :)

~Eerik.

YoHoJo

2011-10-03 20:08:53

It is possible that prices are falling because of 'other' players but I haven't seen a script like this before/on other forums so I'm pretty sure we here are the largest suppliers/generators of these drinks so cam everyone please sell drinks at mid/higher please? If you keep underselling like this the profit will just get lower and lower and soon be very small.

I used to be able to sell AA and MB at +10 or +20gp each overnight, now I can't even sell at mid overnight!

Sorry to complain so much but I'm looking out fit the good of all of us here, keeping prices up will keep everyone happy and rich!

mormonman

2011-10-03 20:12:20

From: YoHoJo
It is possible that prices are falling because of 'other' players but I haven't seen a script like this before/on other forums so I'm pretty sure we here are the largest suppliers/generators of these drinks so cam everyone please sell drinks at mid/higher please? If you keep underselling like this the profit will just get lower and lower and soon be very small.

I used to be able to sell AA and MB at +10 or +20gp each overnight, now I can't even sell at mid overnight!

Sorry to complain so much but I'm looking out fit the good of all of us here, keeping prices up will keep everyone happy and rich!


It's just how supply and demand works.

legoace

2011-10-03 20:23:25

It's simple supply and demand. Once people realize they can insta-buy for mid they will try lower, therefore driving the price down eventually.

Also there was another script on here that did this, I still have it and converted it to R2. I can easily run like 12 Simbas at once with it lol.

Yago

2011-10-03 20:51:18

This apparently was around 100k per hournorequirements but obviously something like that wouldn't last… Don't worry about prices… soon people will forget about this method and the prices may rise…

Leech while it lasts :)

P.s. I probably only made around 500k gp with this when ale was at 100gp

YoHoJo

2011-10-03 22:04:54

From: mormonman
It's just how supply and demand works.


Yeah but if I'm selling at mid and leaving it alone for a long time and it's not selling that means people are selling below mid, which is bad.

From: legoace
It's simple supply and demand. Once people realize they can insta-buy for mid they will try lower, therefore driving the price down eventually.


If they just try lower, but don't get any then the price will not go lower.
But if they try lower and actaully get them (meaning people are selling under mid, like they are) then the price will go lower, like it is.

If everyone sells for higher and is patient about it the price will rise over time.

Jakkle

2011-10-04 03:49:22

Best way to find out if people are selling lower is buy some your self and see what price someone is selling it for.

litoris

2011-10-04 12:31:24

From: Jakkle
Best way to find out if people are selling lower is buy some your self and see what price someone is selling it for.


Yep, like trying buying one for 300 gp and see what it buys for… and then sell it all at that.

Or, just use mindbombs which are pretty stable.

BTW, I think they were being merched.

Heavenzeyez1

2011-10-04 14:49:51

*----------------------------------------------------------------*
| Drink Buyer v 0.3 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 11 hr 59 min 34 sec |
| Total Breaks Taken : 12 Breaks |
| Total Drinks Bought : 4413 |
| Total Profit : 856122 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]: *** |
| |
| Reason : Manually Terminated. |
| Time Active : 11 hr 54 min 23 sec |
| Breaks Taken : 12 Break(s) |
| Drink Type : AA |
| Drinks Bought : 4413 |
| Drinks Per Hour : 371 |
| Profit Per Drink : 194 |
| Profit : 856122 |
| Profit Per Hour : 71904 |
| |
*----------------------------------------------------------------*

Thanks,
I keep selling them @ mid, please others do so aswell! :)

~Eerik.

Heavenzeyez1

2011-10-05 00:37:46

Sorry for double post, but can't run it anymore, it keeps switching between quest and inv tabs…

~Eerik.

Yago

2011-10-05 08:09:52

Its the hooks. Don't worry they'll be fixed shortly.

pyroryan

2011-10-05 09:24:55

From: Yago
Its the hooks. Don't worry they'll be fixed shortly.


Wasn't the hooks, it was the interface ID changes.

Heavenzeyez1

2011-10-05 13:55:49

Thank you guys for so fast and nice work!!! :)
Runs well again! :)

~Eerik.

Yago

2011-10-05 15:10:58

From: pyroryan
Wasn't the hooks, it was the interface ID changes.


Thanks Ryan :)

Heavenzeyez1

2011-10-06 08:42:05

How should I use it multiplayer? Idk if it's multiplayer or not, but when I switch it to break @ 60 min, it says: "time till break left: 358252" or something like that and it crashes after like running 1h…

~Eerik.

YoHoJo

2011-10-06 12:49:51

Read earlier posts. Break handler/script doesn't really support multiplayer.

Heavenzeyez1

2011-10-06 14:59:24

From: YoHoJo
Read earlier posts. Break handler/script doesn't really support multiplayer.


Thank you, sir! :)

~Eerik.

nickrules

2011-10-06 17:34:37

I had a 12 hour report (using a [barely] modified version of your script, so that it would check that it's still where it should be). I hit ctrl+c, closed the window and went to paste it.


but nothing pasted D:

I'll get a new one some far off day. And I'll do a better job of using the clipboard this time :redface:

YoHoJo

2011-10-06 17:55:23

Asgarnian ale:

Yago

2011-10-06 18:57:44

From: nickrules
I had a 12 hour report (using a [barely] modified version of your script, so that it would check that it's still where it should be). I hit ctrl+c, closed the window and went to paste it.


but nothing pasted D:

I'll get a new one some far off day. And I'll do a better job of using the clipboard this time :redface:


Lol its ok. Good to know people like the script.

From: Heavenzeyez1
How should I use it multiplayer? Idk if it's multiplayer or not, but when I switch it to break @ 60 min, it says: "time till break left: 358252" or something like that and it crashes after like running 1h…

~Eerik.


Yeah that's something I still have to work on when I find the time.

ry0240

2011-10-09 04:23:29

I get this in the debug right after it logs into the account
World: 19, Players: 557, Members: False, PvP: False
World 19 selected.
Error: Exception: Access violation at line 90
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
Then the inventory file of reflection pops up and line 90 is
          Temp := SmartGetFieldArrayString(Item, hook_interface_Actions, I);                  

mormonman

2011-10-09 04:57:38

Open up simba then load the script.

YoHoJo

2011-10-09 05:29:14

Asgarnian ale:

Heavenzeyez1

2011-10-10 03:41:46

Why do ppl sell with lower than mid? -.-

~Eerik.

litoris

2011-10-10 10:31:27

From: Heavenzeyez1
Why do ppl sell with lower than mid? -.-

~Eerik.


Because goldfarmers want quick money?
It is not the botters anyway,ales were being merched.

Heavenzeyez1

2011-10-11 17:21:17

Error: Exception: Access violation at line 296
The line is:
 TheName := Lowercase(Trim(SmartGetFieldString(NPCDef, hook_npcdef_Name)));                           
~Eerik.

ry0240

2011-10-11 17:29:19

From: Heavenzeyez1
Error: Exception: Access violation at line 296
The line is:
 TheName := Lowercase(Trim(SmartGetFieldString(NPCDef, hook_npcdef_Name)));                           
~Eerik.


Follow that, it should stop if you do it that way.

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

Heavenzeyez1

2011-10-12 02:33:05

Thank you, but why does the Simba crash so often?? I canät get any overnight runs, because when I wake up the Simba is closed… :(

~Eerik.

litoris

2011-10-12 10:08:18

From: Heavenzeyez1
Thank you, but why does the Simba crash so often?? I canät get any overnight runs, because when I wake up the Simba is closed… :(

~Eerik.


Probably this: http://villavu.com/forum/showthread.php?t=66994

Harry

2011-10-12 10:17:20

From: litoris
Probably this: http://villavu.com/forum/showthread.php?t=66994

No, that prevents crashes, yet they still happen quite a bit. It's due to Java JNI errors, and that's what the Reflection dev team is/was doing to fix it… don't know what their current status is on it. It's weird though, as it works fine for mormonman (see the 150+ hr proggies on my PSWC and guardkiller thread). :/

CaptainCraven

2011-10-17 19:14:24

Any update here? I love this script, but with its constant crashes, its not worth the time. : (

Yago

2011-10-17 20:45:50

A new SIMBA was released that should fix all crashes… Try updating SIMBA.
Its not the script that crashing, but instead the program.