Mister Snow
2011-07-04 10:47:25
If anyone thinks they are up for it, PM me and I can give more information.
2011-07-04 10:47:25
2011-07-04 11:45:17
From: antti miesWhat was the point in posting if you aren't going to share it? You just told everyone you have one that makes 1-3M/hour, but doesn't matter because you won't share it.
I made one in another bot but i'm not willing to share it. It does exactly what you said.
Only got it making 1-3M/hr. Of course it depends on the items you choose.
2011-07-04 12:25:26
2011-07-04 12:38:27
2011-07-04 12:49:35
2011-07-04 14:00:28
From: Coh3nIf I knew I could only make up to 3m/hr I wouldn't have made it in the first place. There is a point for ya.
What was the point in posting if you aren't going to share it? You just told everyone you have one that makes 1-3M/hour, but doesn't matter because you won't share it.
2011-07-04 16:22:27
2011-07-04 18:59:24
From: antti mies
If I knew I could only make up to 3m/hr I wouldn't have made it in the first place. There is a point for ya.
2011-07-04 19:43:15
2011-07-04 19:50:29
2011-07-04 20:24:31
2011-07-04 21:32:40
From: cause
This would be a sweet script. I don't really merch but would it follow daily trends, weekly or…monthly? Are there hourly trends?
2011-07-05 02:35:15
From: antti mies
I made one in another bot but i'm not willing to share it. It does exactly what you said.
Only got it making 1-3M/hr. Of course it depends on the items you choose.
2011-07-05 03:42:00
2011-07-05 10:50:34
2011-07-21 23:20:17
2011-07-21 23:32:00
2011-07-22 10:25:13
2011-07-25 13:16:38
2011-08-02 08:23:22
2011-08-03 00:01:37
From: Home
Tell me if I'm wrong. but is this what you wan't.
1. Check Prices for Specific item.
2. Buy them.
3. every 10 min sell them if prices are high?
4. Repeat ?
~Home
2011-10-28 08:34:25
2011-10-28 09:20:43
From: Mister Snow
Found someone making this script, but now it is no more thanks to jagex.
So…. I need another one.
2011-10-28 11:53:27
function CheckPrice(Item: string; HPrice, LPrice, Profit: integer): boolean;
var
rest, LoopBreaker: integer;
begin
if not InGE then exit;
Result := BuyItem(Item, EXTRA_5, HPrice);
// in case it doesn't manage to proceed...
if not Result then exit;
StartTimer(LoopBreaker);
repeat
Result := CollectItem(Item, rest);
until(Result)or(TimeoutTimer(LoopBreaker, 10*60*1000))
if not Result then exit;
HPrice := HPrice - rest;
Result := SellItem(Item, LESS_5, LPrice);
if not Result then exit;
StartTimer(LoopBreaker);
repeat
Result := CollectItem(Item, LPrice);
until(Result)or(TimeoutTimer(LoopBreaker, 10*60*1000))
if not Result then exit;
Profit := HPrice - LPrice;
end;
2011-10-29 11:20:01
From: Sir R. M8gic1an
Quickly wiped this up
function CheckPrice(Item: string; HPrice, LPrice, Profit: integer): boolean;
var
rest, LoopBreaker: integer;
begin
if not InGE then exit;
Result := BuyItem(Item, EXTRA_5, HPrice);
// in case it doesn't manage to proceed...
if not Result then exit;
StartTimer(LoopBreaker);
repeat
Result := CollectItem(Item, rest);
until(Result)or(TimeoutTimer(LoopBreaker, 10*60*1000))
if not Result then exit;
HPrice := HPrice - rest;
Result := SellItem(Item, LESS_5, LPrice);
if not Result then exit;
StartTimer(LoopBreaker);
repeat
Result := CollectItem(Item, LPrice);
until(Result)or(TimeoutTimer(LoopBreaker, 10*60*1000))
if not Result then exit;
Profit := HPrice - LPrice;
end;
Flipping the item will essentially be very similar to the above function. SRL has a GE.simba, so you can check that for useful functions..
Things like 'buyItem' should already exist within the include, so just make sure you find the correct one ;)
-RM
2011-10-29 11:31:55
From: blabla7
In the grandexchange.scar functions there is no way to check the amount of money received back, neiter is there in text.scar.
Could you please explain me how to do this?
2011-10-29 11:47:25
From: DeSnob
It may be a bit challenging to get it to work properly, but you could use the fonts to search for text on the screen.
2011-10-29 13:39:44
2011-10-30 05:34:18
From: mormonman
I made one of these with reflection….
2011-10-30 18:33:12
2011-10-30 19:04:58
From: Sir R. M8gic1an
check amount.simba for coin related functions
-RM
B := IntToBox(402, 280, 435, 315);
writeln(GetAmountBox(B));
2011-10-31 07:02:49
619237109 x Coins.I will want to do something like this:
r : String;
r:=GetLastChatMessage('Coins');
r := r - substring(-7) (to remove the last 7 digits).
2011-10-31 07:10:37
From: blabla7
I think I found a way.
I've tried messing around with text.scar, but I need some help.
Is there any way to check the chatbox's last message for a specific part of that string?
I would examine the coins, so it will for example sayI will want to do something like this:619237109 x Coins.
r : String;
r:=GetLastChatMessage('Coins');
r := r - substring(-7) (to remove the last 7 digits).
Something similar can be done in java, wondering how to do it in pascalscript…
function TrimLetters(s : string) : string;
var
LetterArray: TStringArray;
i: Integer;
begin
LetterArray := ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o',
'p','q','r','s','t','u','v','w','x','y','z', '.'];
result := s;
for i := 0 to Length(LetterArray) - 1 do
result := Replace(result, LetterArray[i], '', [rfReplaceAll, rfIgnoreCase]);
end;
begin
Writeln(TrimLetters('619237109 x Coins.'));
end. Can you post what you wan't the result be?2011-10-31 07:25:01
From: Home
Can you post what you wan't the result be?function TrimLetters(s : string) : string;
var
LetterArray: TStringArray;
i: Integer;
begin
LetterArray := ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o',
'p','q','r','s','t','u','v','w','x','y','z', '.'];
result := s;
for i := 0 to Length(LetterArray) - 1 do
result := Replace(result, LetterArray[i], '', [rfReplaceAll, rfIgnoreCase]);
end;
begin
Writeln(TrimLetters('619237109 x Coins.'));
end.
~Home
x Coins. from this string, so that the only part left is 6917239. I will then use strtoint(thestring) to store the amount of cash into an integer.LetterArray := ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o',
'p','q','r','s','t','u','v','w','x','y','z', '.']; to [LetterArray := ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o',
'p','q','r','s','t','u','v','w','x','y','z', '.', ' '];[ (note that I added the spaces) I will only have the numbers left. Now is there any way I can read the last message and store it in a string?2011-10-31 07:27:05
2011-10-31 07:44:39
From: Sir R. M8gic1an
i believe theres a function in simba to retrieve just the numbers from a string
-RM
2011-10-31 08:02:31
From: blabla7
That doesn't really matter as that problem is resolved now.
But I would still like to know how to copy the last servermessage into a string…
Please?:D
2011-10-31 08:12:05
2011-10-31 08:14:01
From: Home
Use GetChatBoxText :)
~Home
2011-10-31 08:23:00
From: Home
Can you post what you wan't the result be?function TrimLetters(s : string) : string;
var
LetterArray: TStringArray;
i: Integer;
begin
LetterArray := ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o',
'p','q','r','s','t','u','v','w','x','y','z', '.'];
result := s;
for i := 0 to Length(LetterArray) - 1 do
result := Replace(result, LetterArray[i], '', [rfReplaceAll, rfIgnoreCase]);
end;
begin
Writeln(TrimLetters('619237109 x Coins.'));
end.
~Home
Compiled successfully in 15 ms.
619237109
Successfully executed.
{.Include SRL/SRL.SCAR}I get
[Error] (13:80): Invalid number of parameters at line 12
Compiling failed.
function TrimLetters(s : string) : string;
var
LetterArray: TStringArray;
i: Integer;
begin
LetterArray := ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o',
'p','q','r','s','t','u','v','w','x','y','z', '.', ' ', 'A', 'B', 'C', 'D', 'E',
'F', 'G','H','I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'X', 'Y', 'Z'];
result := s;
for i := 0 to Length(LetterArray) - 1 do
result := Replace(result, LetterArray[i], '');
end;
Function CountMoney: boolean;
var
r : string;
x: integer;
begin
MouseItem(1,false);
wait(1000+random(200));
Chooseoption('Examine');
wait(1000+random(2000));
r := GetChatBoxText(8,clBlack);
x:= strtoint(TrimLetters(r));
writeln(x);
end;
Error: Exception: "?'??'4??" is an invalid integer at line 49I do understand the error. (by the way the 4 is correct).2011-11-01 08:24:50
2011-11-01 09:37:59
From: blabla7
BUMP with the same question.
2011-11-01 10:02:48
2011-11-01 10:19:14
From: Zyt3x
blabla7: Yes, unfortunately there is some troubles with Simba's OCR at the moment :(
Either that or the coordinates passed on to FindTextTPA in GetChatBoxText is off by some pixels..
If it's the OCR then there isn't much you can do, I'm afraid…
2011-11-01 10:29:47
2011-11-01 10:34:07
From: divina commedia
I made one of these in reflection a few years ago. It would be great to make one again. Just need to get into Pascalscript :L
2011-11-01 11:46:57
From: blabla7
its just all functions that I could use are broken…
2011-12-05 07:33:30
2011-12-05 13:50:41
From: Sir R. M8gic1an
Ok so yesterday I was flipping for a bit, mithril ores, to test out the concept and see how this works. I got dragged in into I guess what might've been a big mistake…. I was both buying (cheap) ABOVE MED PRICE and selling high, above med price.
Someone came, dumped ores at market price and I got f*cked. I'm guessing never buy above market price? Mithril Ores are on the rise, so I was like… yeh fair enough that they're buying above mid price… but then I saw through action the big flaw in that.
Should it be a sort of rule that if they're buying above market price then it's no good to flip? On the other hand, the price I as buying them at is now Market Price, so I'm all profit. What I'm thinking is that there might be a need to keep a few ores behind to monitor the market, cus we don't want to have goods sitting still in a script, and keeping some behind would allow us to know when the market is no longer favorable, switch items, and get back to that one later.
So an f2p version would probably merchant 3/4 items, and a p2p version would probably merchant 10 - 12 items, rotating them as the market floats.
~RM
2011-12-05 21:11:57
From: shstiger2009
You've got it pretty much, but I know when I flip, all I do is this.
1. Buy high.
2. Sell low.
At this point, you're going to lose money, whatever you're flipping.
3. Check my "history" and see what I bought and sold for. If I bought for 3,400 and sold for 2,800, there's my window. I then know I can buy at 2,850 and sell at 3,350. Those numbers are both 50 + and - the original values.
4. Buy whatever item it is at the low price, and sell at the high price.
What you said about buying above market price…sometimes it's actually good and means the item is rising. The key for a script would just be recognizing the number you buy high at and the number you sell low at, and buy at the low number and sell at the high number.
2011-12-05 22:13:31
From: smurg
That undercut is ridiculous, wtf.
Either cut it by 1gp or stay the same price.