SRL Archive - RS3 Outdated / Broken Scripts

[AK]Gold Ring Crafter [$]


Phran6

2010-01-20 00:52:34

[AK]Gold Ring Crafter


[LEFT]Feature:
- Multiplayer ( i havnt tested it ).
- Nice Progress report with up to date price.
- Srl AntiRandom.
- Resting if energie is low.
- very good walking procedure.
- other but i forgot.[/LEFT]



[LEFT]Setup:
- Put your player in bank or in furnace with a ring mould in inventory.
- Have gold bar visible in bank.
- Enter account information in Declareplayer procedure.
- Press play and enjoy[/LEFT]



Thing left to do:
- make it craft other jewellery and smelt ore into bar.
- reduce lag
- repair bug if you/I find any.



Credit:
- Alll irc people that helped me with noob question :)



Best progress report:



------------------------------------
[[[ ProgressReport ]]]
[[[ Worked for 41 Minutes and 55 Seconds]]]
------------------------------------
-> igmi
Ring crafted: 567
Exp gained: 8505
Exp/Hour: 12187
Profit made: 57834
Profit/Hour: 82870
Time ran: 41 min 52 sec
------------------------------------





Please post progress report if you use it and leave comment.

Cigue

2010-01-20 18:38:13

Sweet script! I gotta go for now but I'll test it as soon as I have time :)

Wanted

2010-01-20 18:45:26

Lol I just looked over the whole script, I thought you were a Junior member for some reason before opening it and the whole time I was like "wtf, how does he know this shit?!" then I click back on firefox and saw it was you and not this other person that wanted one of these. I haven't tested it yet but.

Nice work.

Heavenguard

2010-01-20 18:48:47

Wow… Beautiful techniques dude, i really would test this script if I could, but the code looks great. Nice job bro!

Frement

2010-01-20 18:50:13

Code is nice! This gave me some new ideas for location checking :)

Phran6

2010-01-20 19:23:46

nice to hear :)
all i need now is some ppl trying it :p

payton

2010-01-20 19:58:42

it wont detect when it is done making rings for me. i think you should add a failsafe that will walk it back to the bank, X seconds after clicking "all"

Payton

Phran6

2010-01-20 22:01:40

yeah true, ill fix that tomorow. how can i have forgoten that ? :duh:

payton

2010-01-20 22:37:08

i figured out that my problem was that after i level up it no longer counts down the number of bars left. another thing is that it usually picks the south banker witch could be a giveaway that it is not a human. otherwise it works great!!

Payton

Coh3n

2010-01-20 23:26:06

From: payton
i figured out that my problem was that after i level up it no longer counts down the number of bars left. another thing is that it usually picks the south banker witch could be a giveaway that it is not a human. otherwise it works great!!

Payton

Do you mean that it always picks the same banker? Or that it's picking the one furthest away? Because more often then not, legit players use the same bank booth if they're doing a repetitive task (i.e. Woodcutting, Crafting).

payton

2010-01-21 00:12:40

it picks the one the furtherest a way. turns out that after a while it starts to use the ones in the center of the bank. i have had it run north after using the furnace toward the cactus up there (only one time out of the half hour it ran)

Payton

Gu3st...

2010-01-21 06:23:02

Function GetIDPrice(ItemID: Integer): Integer;  // Credits to Camaro and TAD
Begin
Result := StrToInt(GetNumbers(between('Market price:</b>', '</span>', getpage('http://itemdb-rs.runescape.com/viewitem.ws?obj=' + IntToStr(ItemID)))));
End;

if ((CountInvItem('ringmould') = 1) and (CountInvItem('goldbar') = 27)) then
I see a flaw here.. What if the person has gotten a random and has a box in inv?

  FindDTM(mouldDTM, x, y, MIX1, MIY1, MIX2, MIY2);
RM:=CoordsToItem(X, Y);
What if it doesn't find the mould?
Same with
FindColors(Tpa,Col,MMX1,MMY1,MMX2,MMx1)

sk8terbitu

2010-01-21 12:27:17

nice

Gu3st...

2010-01-21 14:27:08

From: sk8terbitu
nice
I hope you know that posts like this is considered to be pure spam?
Posts like "nice" "cool" "lol" and such which aren't telling the OP anything isn't helpful at all.
Please write what you think is nice, or what's not nice

Phran6

2010-01-21 15:08:10

From: Zyt3x
Function GetIDPrice(ItemID: Integer): Integer;  // Credits to Camaro and TAD
Begin
Result := StrToInt(GetNumbers(between('Market price:</b>', '</span>', getpage('http://itemdb-rs.runescape.com/viewitem.ws?obj=' + IntToStr(ItemID)))));
End;

if ((CountInvItem('ringmould') = 1) and (CountInvItem('goldbar') = 27)) then
I see a flaw here.. What if the person has gotten a random and has a box in inv?

  FindDTM(mouldDTM, x, y, MIX1, MIY1, MIX2, MIY2);
RM:=CoordsToItem(X, Y);
What if it doesn't find the mould?
Same with
FindColors(Tpa,Col,MMX1,MMY1,MMX2,MMx1)


1: yeah ill change it, i didnt made it, i took it in the forum.

2: it will bank the box.

3: it try autocolor befor trying to find it, if autocolor fail then it return 0, the function will exit and result false.
 Col:= ACGreenWall
if Col > 0 then
begin
writeln('we found green wall color');
FindColors(Tpa,Col,MMX1,MMY1,MMX2,MMx1)


4: it wouldnt try to craft if there is no ring mould

————————–

Payton: ill fix the posible infinity loop and check my openbank function.

edit: when i went to fix the infinity loop i saw that there already have a timer !! and for the banker problem i dont understand since i did:
SortATPAFrom(Atpa, Point(MSCX, MSCY));
if you have any idea how to fix that ill be happy :)

Gu3st...

2010-01-21 16:18:33

What I meant is that you probably would want a if…then instead of relying on that they succeed (FindDTM(), FindColors())

Yush Dragon

2010-01-24 16:01:59

Great job mate !! (y)
Greets, YUSH ^^