SRL Archive - RS3 Utility Scripts

3Garrett3's Merchant Aid


3Garrett3

2014-11-26 22:39:34

3Garrett3's Merchant Aid
Current Version: July 2020
Last Update: July 8, 2020
Status: WORKING


Features
  • Recommends items which are good to invest in based on the Top 100 traded items.
  • Extremely customizable to suit investor risk appetite.
  • Expected profits are ~1-2% of invested cash per day (Ex. 1-2M per day on 100M investment)
  • Can manually blacklist items which are not worth trading. A suggested blacklist is included.
  • Filters members vs. non members items. Only recommends p2p items to members accounts.
  • Can be used to back check what profits you *could* have had over the last X days.
  • Saves all results in a .INI file

Script Setup
  • Download the script. Download SRL 6.9 from GitHub (ask on Discord if you need a link). SRL is used for array functions that are not Simba standard.
  • Go to this link and save the file as ge_limits.json in your scripts folder (same folder as the script).
  • Change any settings in lines 10-27.
  • If desired, change the settings in lines 31-44.
  • Press start. Initial startup takes ~5 minutes because it has to grab prices for 100 items from the RS website.
  • The script will print out buy/sell recommendations for the day. If you set saveDebug to True at line 43 then it will save the recommendations in a file.

Settings Explanation
  • isMember: Are you a Runescape P2P Member? It will only recommend P2P purchases for P2P players.
  • BuyPercentage: How many percent of your money are you willing to spend on one item? A lower number will reduce your risk, but higher values *may* increase profit.
  • StartCash: How much money are you starting with? After running the first time, the script will keep track of how much money you have spent and will save it to the INI file for the next use.
  • Backcheck Settings: This feature allows you to test the script against historical data. It will tell you how much profit you would have made over the amount of days specified.
  • Blacklist Settings: This feature allows you to prevent recommendations for items which do not change price. The default setting is false, because this lowers the profit slightly. The default list contains items which are historically not very profitable.
  • Algorithm Settings: The algorithms are used to determine which items are good buys and which are good sells. Current settings are used for short term trading (on average sells an item within a week of buying it). You can increase the settings if you desire long term trading. I suggest backchecking all new settings before actually investing. Default settings are the highest profit achieved over 500,000 iterations.
  • Sorting Settings: These settings are used to refine the list of items which are recommended to be bought. They detect price volatility and historic "scores" to determine which items are likely to make the most profit. The default settings were found to yield the highest profit in 500,000 iterations.

Limitations
  • RS only provides data for 160 days. Therefore back checking can not be run with more than 160 days.
  • This script cannot see the future. Expect ~50-60% of the trades will make money, ~30% will break even, and ~10-20% will lose money.
  • RS limits requests for prices. Changing the script from backchecking to not backchecking will force it to re-grab prices. Do not continually change this setting or you may cap out on price requests.

Version History
  • Alpha - First Public Release
  • Alpha Fix 1 - RSWiki Changed how they displayed trade limits
  • July 2020 - Changed to OSRS Merchant Aid and updated to work with Simba 1.4


Credits!
This script would certainly not exist without the help and support of @Incurable, who has put up with me for 2 months while making this.
HUGE thank you to @slacky for his inspiration with SimbaExt, his functions for grabbing prices from RS, and putting up with my dumb questions for 2 months.


I am 90% sure that this explanation is not sufficient to explain stuff. So just ask questions on the confusing parts.

Incurable

2014-11-26 23:17:43

About time, congrats for finally releasing something! :D

serajin

2014-11-27 00:16:21

Very cool looking! I know what I'm looking into over the holiday weekend. =P

WhatEva

2014-11-27 01:57:18

=D thanks been looking ever where for an eoc merching script

Frement

2014-11-27 02:59:15

Did you just seriously ask if there is an interest for an automatic money making machine?

Clarity

2014-11-27 04:02:24

Excellent, unique release. Congratulations! Sorry I was so delayed with my contributions, I'll pump them out soon.

3Garrett3

2014-11-27 10:42:18

From: Frement
Did you just seriously ask if there is an interest for an automatic money making machine?


Well.. I suppose I did. There are technically many more ways of making money, but when I figure out the logic to make automation work I'll definitely see it through.

From: Clarity
Excellent, unique release. Congratulations! Sorry I was so delayed with my contributions, I'll pump them out soon.


Thanks! Not having your code as a fall back forced me to learn even more about the functions I was looking for. Again, something I would never have thought about for regular RS scripts so it was extremely beneficial. I'll be looking through the SRL bankscreen and item detection logic for the GE stuff because the method I wrote up is not really up to par. If you were to release yours I would just have another resource to help learn faster!

From: serajin
Very cool looking! I know what I'm looking into over the holiday weekend. =P


Thanks! Let me know if it does anything wonky, it's relatively complex compared to what I normally write. I've been testing as I write but who knows! :p

Trollcrank

2014-11-27 20:57:57

I fear this script cuz I except some money bags to come through and set something like this up and make 100s of mils. Hopefully people will just ignore such an amazing script…Should be good for attracting new comers though :)

Ross

2014-11-27 22:31:05

Hell yeah man this is awesome! Congrats on the release! Been waiting on this.

getskilled

2014-11-28 12:04:21

Really do love this script. Only ran it a little bit but works like a charm. When i get a good bit of capital built up i'll be using this for sure.

3Garrett3

2014-11-28 12:30:33

From: Trollcrank
I fear this script cuz I except some money bags to come through and set something like this up and make 100s of mils. Hopefully people will just ignore such an amazing script…Should be good for attracting new comers though :)


Keep in mind that this is not automated, it simply tells you if an item is a good buy or sell and lets you make the decision. I'm pretty confident that people will have to be determined to gold farm with this.

From: Ross
Hell yeah man this is awesome! Congrats on the release! Been waiting on this.


From: getskilled
Really do love this script. Only ran it a little bit but works like a charm. When i get a good bit of capital built up i'll be using this for sure.


Thanks to both of you!

Obquility

2014-11-29 03:22:39

3Garret3, the script looks very complex, and I'm sure will be very helpful, Thanks. Unfortunately I'm aving a problem running this script at the moment, by putting is 25mil (25000000) into the starter money, I get this error:
Setting up INI file
Error: "25000000" is an invalid integer at line 1009
Execution failed.
I'm sorry if i sound demanding, annoying even, but I just can't get it to work- it looks great though!
Josh

bonsai

2014-11-29 06:31:48

From: jonesy259
3Garret3, the script looks very complex, and I'm sure will be very helpful, Thanks. Unfortunately I'm aving a problem running this script at the moment, by putting is 25mil (25000000000) into the starter money, I get this error:
Setting up INI file
Error: "25000000000" is an invalid integer at line 1009
Execution failed.
I'm sorry if i sound demanding, annoying even, but I just can't get it to work- it looks great though!
Josh


Um, that's 25 billion

Obquility

2014-11-29 06:34:38

Jeez, that's embarrassing
Thanks Bonsai:duh:
Edit: I was right :P Your quote is a bit different ;)

3Garrett3

2014-11-29 13:41:14

From: jonesy259
Jeez, that's embarrassing
Thanks Bonsai:duh:
Edit: I was right :P Your quote is a bit different ;)


Are you putting it in quotes?

The setup line should look like this:


startCash = 25000000; //In gp

That's all you need to change. I notice that the error is line 1009. That line is:


Self.Cash := strToInt(ReadINI('Portfolio', 'Cash', ScriptPath + GlobalSuffix));

Can you confirm that this line reads exactly that? It sounds like it's trying to take a string as an integer in the error. But the code clearly tells it to change from string to integer.

Confirm these two things for me and if they're both as I mentioned above we'll have to do some debugging. I can't manage to replicate the error.

Edit: If you haven't gotten the script to run at all, I suggest deleting the .INI file and when the script asks, click yes to "Is this your first time running the script" and it will re-create the INI file.

Obquility

2014-11-29 14:42:01

From: 3Garrett3
Are you putting it in quotes?

The setup line should look like this:


startCash = 25000000; //In gp

That's all you need to change. I notice that the error is line 1009. That line is:


Self.Cash := strToInt(ReadINI('Portfolio', 'Cash', ScriptPath + GlobalSuffix));

Can you confirm that this line reads exactly that? It sounds like it's trying to take a string as an integer in the error. But the code clearly tells it to change from string to integer.

Confirm these two things for me and if they're both as I mentioned above we'll have to do some debugging. I can't manage to replicate the error.

Edit: If you haven't gotten the script to run at all, I suggest deleting the .INI file and when the script asks, click yes to "Is this your first time running the script" and it will re-create the INI file.


Thanks for the help Garret, I'll try what you said as soon asI get home.
Thanks again for the help,
Josh

3Garrett3

2014-12-01 12:42:50

From: jonesy259
Thanks for the help Garret, I'll try what you said as soon asI get home.
Thanks again for the help,
Josh


So to confirm, did this work? I've been using it daily while attempting to figure out all of the data I need to save for automation and haven't run into any problems.

Obquility

2014-12-01 14:34:07

Yep it works great. Problem was I don't think the script can handle numbers like 25bil. But yes, its working fine.
Thanks Garret

3Garrett3

2014-12-01 15:06:06

From: jonesy259
Yep it works great. Problem was I don't think the script can handle numbers like 25bil. But yes, its working fine.
Thanks Garret


Good to hear! So this makes it that much harder to gold farm with the script. You can't be infinitely rich or Simba won't accept your inputs ;)

(In case anyone with 25B is reading, you stand to make approximately 250M ($100 USD) per day with this method assuming you trust the script with $10,000 worth of RSGP. That could be worth 78B after a year of investment (using weekly compound interest based on 115% anually), only $31,000 US worth of RSGP, based on about 30 minutes of investment per day. Assuming 2 years of constant investment, that would add up to 246B ($98,000 USD).)

*Disclaimer: I do not take responsibility for losing $10,000 USD worth of RSGP if the script does not perform as well in the future as it would have in the past! All values are theoretical and serve to illustrate the hilarious effect of compound interest.

Edit because of hilarious compound interest: The rate stated above would make you a millionaire assuming that RS existed for the next 10 years and RSGP is worth $0.40 USD when sold in such ridiculous bulk.

Edit again because some people are too literal: I do not suggest EVER buying (or risking) $10,000 worth of RSGP. Please do not do this.

Obquility

2014-12-01 15:30:12

Half the sites don't even buy gold for a good rate, with 100 gold farming bots they are good to go. I wish I was that rich though, I put 25bil instead of 2.5bil lol.

3Garrett3

2014-12-01 15:37:53

From: jonesy259
Half the sites don't even buy gold for a good rate, with 100 gold farming bots they are good to go. I wish I was that rich though, I put 25bil instead of 2.5bil lol.


I tested for 2 months with only 5M, so I have no idea how well this stuff scales up haha, I assume it gets pretty limited by the trade limit when you have that kind of money. I was gifted 20M to test once I released the script, and I'm not running into the trade limit for most items anyway. All back checking was done with 100M as the amount, just to see what happened and it seemed to work fine.

Obquility

2014-12-01 15:45:45

From: 3Garrett3
I tested for 2 months with only 5M, so I have no idea how well this stuff scales up haha, I assume it gets pretty limited by the trade limit when you have that kind of money. I was gifted 20M to test once I released the script, and I'm not running into the trade limit for most items anyway. All back checking was done with 100M as the amount, just to see what happened and it seemed to work fine.

Just a quick question, is there another script like this in the private section? You've got it labelled as merchant aid public- although not that I care cause its sexy enough as it is :)

3Garrett3

2014-12-01 16:07:05

From: jonesy259
Just a quick question, is there another script like this in the private section? You've got it labelled as merchant aid public- although not that I care cause its sexy enough as it is :)


It's public so that I remember to make any changes to the master copy, and don't accidentally edit the wrong file when I'm adding stuff. There is no other version of this released. If I ever to get automatic stuff working it would either be Jr or SRL Member though, because money printing machines shouldn't be public. Whenever that happens it will be mentioned in my signature though.

fastler

2014-12-01 19:05:51

Using 10m, almost randomly selecting which items to buy and which not, from one day to the next, I made about 500k, if I'm not mistaken. (Run-on sentence ftw)
I didn't buy and sell at market price though, I always pricechecked to get the best deal.

3Garrett3

2014-12-03 19:26:08

From: fastler
Using 10m, almost randomly selecting which items to buy and which not, from one day to the next, I made about 500k, if I'm not mistaken. (Run-on sentence ftw)
I didn't buy and sell at market price though, I always pricechecked to get the best deal.


I'm glad that it sounds like you're making good money from it.

Like I said, the benefit of having an *aid* rather than automatic is that it's uniquely tailored to each person's buying preferences. Some people (like you) prefer to do their research before buying and get the best price, some people (like me usually) just want to log in and make the offers and log out while they complete at market price. The benefit of using the top 100 traded items is that because of the huge volumes, you're pretty much guaranteed to make the buy/sell at market if you're willing to wait long enough (exceptions apply here obviously).

Tannex

2014-12-29 13:25:53

Hi, im getting an error and hoped you would take a look :)
Setting up INI file
Getting RS Prices, this may take a few minutes
Error: "" is an invalid integer at line 867
Execution failed.
The following bitmaps were not freed: [Minimap Mask]
the line of code:
Result.TradeLimit := StrtoInt(Between('data-limit="', '" style="display:none">', Page));

warlord94

2014-12-30 21:44:38

From: Tannex
Hi, im getting an error and hoped you would take a look :)
Setting up INI file
Getting RS Prices, this may take a few minutes
Error: "" is an invalid integer at line 867
Execution failed.
The following bitmaps were not freed: [Minimap Mask]
the line of code:
Result.TradeLimit := StrtoInt(Between('data-limit="', '" style="display:none">', Page));


Same problem here, tried fiddling around to the best of my knowledge and I couldn't get it to work.

zeinir

2015-01-01 01:59:01

Setting up INI file
Error: Unable to create file "C:\Users\\Desktop\Games\simba\MerchantBackCheck" at line 921
Execution failed.
The following bitmaps were not freed: [Minimap Mask]
Get this error everytime I try to start it.
    else WriteINI(Result[0][i], 'Member', (isMemberItem(Str, Result[0][i])), ScriptPath + GlobalSuffix)

3Garrett3

2015-01-02 17:10:03

The issues shown below have now been fixed and the script has been updated in the first post

From: Tannex
Hi, im getting an error and hoped you would take a look :)
Setting up INI file
Getting RS Prices, this may take a few minutes
Error: "" is an invalid integer at line 867
Execution failed.
The following bitmaps were not freed: [Minimap Mask]
the line of code:
Result.TradeLimit := StrtoInt(Between('data-limit="', '" style="display:none">', Page));


From: warlord94
Same problem here, tried fiddling around to the best of my knowledge and I couldn't get it to work.


Looks like RS is giving no prices. It's possible that they changed their limit on price grabs so now the script is running too many attempts and it's breaking the script. Looks like I'll need to find a work around sometime…

From: zeinir
Setting up INI file
Error: Unable to create file "C:\Users\\Desktop\Games\simba\MerchantBackCheck" at line 921
Execution failed.
The following bitmaps were not freed: [Minimap Mask]
Get this error everytime I try to start it.
    else WriteINI(Result[0][i], 'Member', (isMemberItem(Str, Result[0][i])), ScriptPath + GlobalSuffix)


That's because Simba can't create the file. You don't have simba installed to the default directory and that might be causing problems. The script however appears to be broken anyway.

Clarity

2015-01-18 09:22:31

GE Include now exists in SRL-6 thanks to @The Mayor :)

niels00o

2015-01-18 14:15:16

Nice, gonna check it out

3Garrett3

2015-01-19 10:08:10

From: Clarity
GE Include now exists in SRL-6 thanks to @The Mayor :)


Wait, where? Actually just in SRL now? This could be big. I might have to get off my lazy ass and work on the automatic mercher at some point now.

KeepBotting

2015-01-19 14:35:11

From: 3Garrett3
Wait, where? Actually just in SRL now? This could be big. I might have to get off my lazy ass and work on the automatic mercher at some point now.


Yes

Swatarianess

2015-01-22 18:14:09

From: 3Garrett3
Wait, where? Actually just in SRL now? This could be big. I might have to get off my lazy ass and work on the automatic mercher at some point now.


I implore you to do this, i've waited patiently for the time that you would rework it. :) PS. add some reflections to it because increase efficiency :)

KeepBotting

2015-01-22 18:18:49

From: Swatarianess
I implore you to do this, i've waited patiently for the time that you would rework it. :) PS. add some reflections to it because increase efficiency :)


Reflection for RS3 isn't a thing, and hasn't been for a number of years.

Swatarianess

2015-01-22 18:36:53

I was mistaken, I saw a thread talking about reflection but only for OSRS. Nevertheless, Grandexchange should be coming to OSRS soon according to a poll?

3Garrett3

2015-01-22 19:07:14

From: Swatarianess
I was mistaken, I saw a thread talking about reflection but only for OSRS. Nevertheless, Grandexchange should be coming to OSRS soon according to a poll?


I presume that the prices and interface will be different than the RS3 version. Depending on game mechanics it may be a simple port, but it will be hard to know until it happens.

nicky101

2015-01-25 20:09:24

testing it out as we speak, great scrip so far man. doing f2p merching.

Enigmatic

2015-01-27 10:07:24

Getting this error :/

[ATTACH=CONFIG]24904[/ATTACH]

Any fix?

3Garrett3

2015-01-27 10:22:14

From: ENIIIGMA
Getting this error :/

[ATTACH=CONFIG]24904[/ATTACH]

Any fix?


It looks like RS Wiki has again changed how they load trade limits, I should be able to fix this tomorrow evening if nobody else volunteers to look through the page source and find the proper link again.

Enigmatic

2015-01-28 03:34:55

From: 3Garrett3
It looks like RS Wiki has again changed how they load trade limits, I should be able to fix this tomorrow evening if nobody else volunteers to look through the page source and find the proper link again.


I would have done it for you if I could script. :/ But sadly I can't, but looking forward to update!

-ENIGMA

3Garrett3

2015-01-31 11:42:36

From: ENIIIGMA
I would have done it for you if I could script. :/ But sadly I can't, but looking forward to update!

-ENIGMA


I'm actually trying to figure out what the problem was here, I can't seem to duplicate it.

Try running it again, and if you can't get it to work you've got two options.

1) Go through the INI file (open with notepad) and check to see what item is missing a trade limit. Add the limit manually to match the format of the other items.
2) Delete the INI file (will delete all bought items from INI so I don't recommend if you're in the middle of merching stuff) and run the script again, saying "Yes" when it asks if this is the first time you're running the script.

savetehlemmings

2015-01-31 17:41:25

The problem is a script error on rswiki's exchange page for Araxyte arrow. I'll try to change it tomorrow, but no promises that I won't somehow fuck it up worse lol

–edit– on second thought, sharper minds may have to take a look

3Garrett3

2015-02-01 12:42:50

From: savetehlemmings
The problem is a script error on rswiki's exchange page for Araxyte arrow. I'll try to change it tomorrow, but no promises that I won't somehow fuck it up worse lol

–edit– on second thought, sharper minds may have to take a look


Is it just the Araxyte Arrow? I've never heard of it before, I'll take a look and see if it's different.

Edit:

I'm still getting the trade limit from it.. Can you confirm this is my script's problem or is it a problem caused by the RSWiki page?

savetehlemmings

2015-02-01 13:04:09

From: 3Garrett3
Is it just the Araxyte Arrow? I've never heard of it before, I'll take a look and see if it's different.

Edit:

I'm still getting the trade limit from it.. Can you confirm this is my script's problem or is it a problem caused by the RSWiki page?


…/wiki/Exchange:Araxyte_arrow

Yesterday it came up saying "Script error" with no information on the page. It was an RSWiki problem, not your script

3Garrett3

2015-02-01 13:10:50

From: savetehlemmings
…/wiki/Exchange:Araxyte_arrow

Yesterday it came up saying "Script error" with no information on the page. It was an RSWiki problem, not your script


Oh okay. It appears that today it works so it should be back in working order.

apple98

2015-02-01 16:10:34

mm useful

Battousai

2015-02-14 00:08:42

So uhm, I run the script, let it set everything up, Then it pops up asking if i wanna buy items or not, Then after going through all the pop ups, It just ends the script?

3Garrett3

2015-02-15 12:15:47

From: Battousai
So uhm, I run the script, let it set everything up, Then it pops up asking if i wanna buy items or not, Then after going through all the pop ups, It just ends the script?


Yes. It is a merchanting *AID* currently. The long-winded OP describes how it helps you pick items to buy and sell. If you say "yes" it assumes you buy the amount it recommends at market price. Then it saves that information and when you run it the next day it sees if it's time to sell any of those items.

I never quite figured out the logic for some of the rare exceptions that happen during merching so I didn't get around to automating everything.

elaatl

2015-02-20 02:52:31

This looks awesome will try this out when i come home :)

sekirei

2015-02-27 14:26:05

I had to tweak the code a little to fit my needs, but so far after a day with 1b I managed to make 60m not bad for doing almost nothing :P

3Garrett3

2015-02-27 14:57:25

From: sekirei
I had to tweak the code a little to fit my needs, but so far after a day with 1b I managed to make 60m not bad for doing almost nothing :P


One day, 60M, only 2.5M per hour. I guess if there's ever a way to farm with a script then someone will find it ;)

Just out of curiosity, what parts did you tweak? I'm always willing to learn more :)

o0Matthius0o

2015-03-01 18:07:46

What kind of merching is this script used for? Flipping the items it suggests instantly? Or doing short term merches where you hold on to the item for a day or 2. And how do we know at what point to sell? Just wondering. Im testing the script out now buying things randomly lol. Just want to make sure im not doing it wrong.

3Garrett3

2015-03-01 18:17:20

From: o0Matthius0o
What kind of merching is this script used for? Flipping the items it suggests instantly? Or doing short term merches where you hold on to the item for a day or 2. And how do we know at what point to sell? Just wondering. Im testing the script out now buying things randomly lol. Just want to make sure im not doing it wrong.


It is for short-term merching. It will suggest what to buy, and if you say "yes" it will save that you bought it at X price. The next day (after GE update) it will run through all the things you've bought and see if they should be sold or not. It will ask if you want to sell them, and if you do then it will save that they're gone too. Everything is saved in a file so that you can open/close Simba at will. Just be mindful that when it says "is this your first time" at the start, it will re-write the file so don't do that or it won't know when to tell you to sell.

o0Matthius0o

2015-03-01 18:26:41

From: 3Garrett3
It is for short-term merching. It will suggest what to buy, and if you say "yes" it will save that you bought it at X price. The next day (after GE update) it will run through all the things you've bought and see if they should be sold or not. It will ask if you want to sell them, and if you do then it will save that they're gone too. Everything is saved in a file so that you can open/close Simba at will. Just be mindful that when it says "is this your first time" at the start, it will re-write the file so don't do that or it won't know when to tell you to sell.


damn, thats pretty awesome. Thanks for the quick response. I am looking into making an auto mercher myself. So if you need any help let me know. I mean, you know way more than me, but i could do some of the menial tasks and learn from you.

RayAldeza

2015-03-12 21:56:55

This scripts buys and sells on its own?

3Garrett3

2015-03-13 09:46:00

From: RayAldeza
This scripts buys and sells on its own?


Nope, there's a plan in the future to make it do so, but I expect it will be released to SRL Members only.

Reveille

2015-03-14 19:02:37

If you keep making money, do you have to update the Cash amount in the script? Or does it keep account of your gains?

3Garrett3

2015-03-15 00:29:29

From: Reveille
If you keep making money, do you have to update the Cash amount in the script? Or does it keep account of your gains?


As long as you don't delete the INI file, it will keep track of your Cash based on what you answer "yes" to. If you sell an item, it will add to your cash and if you buy an item it will subtract from your cash.

Antonio

2015-03-16 19:15:50

Wait never mind i've fixed it :) Will report back with any profits!

3Garrett3

2015-03-16 19:20:49

From: Nice Balance Bro
Hmmm am I being dumb or?

Whenever I run this script this happens

Setting up INI file
Getting RS Prices, this may take a few minutes
Your portfolio would be worth: 277263799gp (177.26% increase) if you had invested over the last 160 days.
Successfully executed.


However nothing has popped up during this time it just stops after getting RS prices?


Depends on what kind of dumb you're suggesting you might be ;).

It sounds like you have it in "Backcheck" mode, in which it will simulate the last X days (a setting you determine) and tell you how much money you would have earned if you made all the investing decisions as recommended by the script.

To have it make recommendations you should turn "Backcheck" to false and when it says "is this the first time running this script" you say "yes". It will then grab prices again and say "would you like to buy X?" and you can determine yes or no. To be extremely clear, since a few people have asked recently, this is not automatic so you have to do the actual buying and selling in the GE by yourself.

Antonio

2015-03-16 19:21:50

From: 3Garrett3
Depends on what kind of dumb you're suggesting you might be ;).

It sounds like you have it in "Backcheck" mode, in which it will simulate the last X days (a setting you determine) and tell you how much money you would have earned if you made all the investing decisions as recommended by the script.

To have it make recommendations you should turn "Backcheck" to false and when it says "is this the first time running this script" you say "yes". It will then grab prices again and say "would you like to buy X?" and you can determine yes or no. To be extremely clear, since a few people have asked recently, this is not automatic so you have to do the actual buying and selling in the GE by yourself.



Alright so I got it to run however I get this error now:

[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
Error: "" is an invalid integer at line 997
Execution failed.


Line 997 is this

    Result[j] := StrToInt(tempPArr[j]);



Yeah I'm just running this to see how well it predicts the market :D

3Garrett3

2015-03-16 19:23:26

From: Nice Balance Bro
Alright so I got it to run however I get this error now:

[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
[Hint] NumSamples overflow: Could only gather -1 samples
Error: "" is an invalid integer at line 997
Execution failed.


Line 997 is this

Result[j] := StrToInt(tempPArr[j]);


In the OP:

"RS limits requests for prices. Changing the script from backchecking to not backchecking will force it to re-grab prices. Do not continually change this setting or you may cap out on price requests"

That's the error it gives when you've maxed out the server requests. Wait 10-15 minutes and it should work.

Antonio

2015-03-16 19:24:45

From: 3Garrett3
In the OP:

"RS limits requests for prices. Changing the script from backchecking to not backchecking will force it to re-grab prices. Do not continually change this setting or you may cap out on price requests"

That's the error it gives when you've maxed out the server requests. Wait 10-15 minutes and it should work.


Ahhh, perfect thanks bro :) I'll try it again tomorrow!

Chat

2015-03-19 19:55:57

Congrats on the first release!

P.S. This is a great looking script, might try some time. :)

knotted fear

2015-03-24 18:59:33

I'm gonna look into giving this a shot and see how things go, i'll report back to you once I do and let you know how it runs. Looking forward to making some money :p

Antonio

2015-03-25 09:39:15

I've used this on four items (I know not a great amount to test with) and all four items have continued to crash the day after I've bought into them. So at the moment I'm looking at around 300k loss which isn't a big deal but those four items I used were based on my own judgment and the scripts recommendation. I'm unsure how those items have crashed so hard though as they are pretty commonly traded items.

3Garrett3

2015-03-25 10:16:19

From: Nice Balance Bro
I've used this on four items (I know not a great amount to test with) and all four items have continued to crash the day after I've bought into them. So at the moment I'm looking at around 300k loss which isn't a big deal but those four items I used were based on my own judgment and the scripts recommendation. I'm unsure how those items have crashed so hard though as they are pretty commonly traded items.


Hmm, pretty small sample size so far, but keep in mind that by having 20 or so items you'll spread out the risk a lot more. I also suggest that this is short term investing, which means somewhere around the 5 day range. Hopefully they come up in the near future. It's extremely difficult to predict the future!

Antonio

2015-03-25 16:37:05

From: 3Garrett3
Hmm, pretty small sample size so far, but keep in mind that by having 20 or so items you'll spread out the risk a lot more. I also suggest that this is short term investing, which means somewhere around the 5 day range. Hopefully they come up in the near future. It's extremely difficult to predict the future!


Yeah i've had them for 2 days now so hopefully they rise within the next 3 was going to give it a week to see if the items are still going down or if they go back up so i'll report back in a few days!

killy1

2015-04-13 01:49:13

hey, i've just tried to set up the script for the first time and i got this error how would i go about fixing it?

[PHP]Setting up INI file
Getting RS Prices, this may take a few minutes
[Hint] NumSamples overflow: Could only gather -1 samples
Error: "" is an invalid integer at line 997
Execution failed.
The following bitmaps were not freed: [Minimap Mask][/PHP]

3Garrett3

2015-04-13 10:14:23

From: killy1
hey, i've just tried to set up the script for the first time and i got this error how would i go about fixing it?

[PHP]Setting up INI file
Getting RS Prices, this may take a few minutes
[Hint] NumSamples overflow: Could only gather -1 samples
Error: "" is an invalid integer at line 997
Execution failed.
The following bitmaps were not freed: [Minimap Mask][/PHP]


If this is the very first time you're running the script then it could be a little problem. That error means you've maxed out your RS price requests. If you actually ran the script once right before this, it would make sense. There is a warning in OP that tells you not to run the script over and over because RS has a limit of price grab requests. Try running the script again and see what happens.

rickhunley

2015-05-19 05:57:05

Quick question: Does the "first time using" terminology apply to each individual RS account you play with? i.e. Will it create a separate .ini file for each RS account you use with Simba? Bit of a noob here ha

3Garrett3

2015-05-19 10:01:13

From: rickhunley
Quick question: Does the "first time using" terminology apply to each individual RS account you play with? i.e. Will it create a separate .ini file for each RS account you use with Simba? Bit of a noob here ha


It will not create individual account .INI files, good question though. If you want to use two accounts I would suggest making separate folders, a copy of the script in each folder. It should save/load INI files from the folder the script is in, so they won't interfere with each other.

rickhunley

2015-05-21 06:27:19

From: 3Garrett3
It will not create individual account .INI files, good question though. If you want to use two accounts I would suggest making separate folders, a copy of the script in each folder. It should save/load INI files from the folder the script is in, so they won't interfere with each other.


Thanks for that. Is there a way to link our .ini to a stats website so we can compete against each other? Perhaps sometime in the future! Ha. I'm going to read through the script now. Does it take into account possible future variables such as double xp weekend etc? I'm interested in financial modelling. Incredible how the RS economy functions, 50K people online at any given time, all doing something…ha.

R3LAX

2015-06-07 09:04:26

Interesting script! Looking forward to testing it, provided it is still functional.

bucko

2015-10-12 00:47:06

From: Kratos
But for some reason it returns the correct values. Anyway, back to updating api parsing it is. Thanks so much for your help.


So do you have a working version of this again? If so :p pls share haha

Kratos

2015-10-12 09:13:08

Nope. Gave up when school started again. :(