SRL Archive - RS3 Outdated / Broken Scripts

[V]WB [P]ower [S]mither


Raskolnikov

2012-05-25 20:01:11

VPS (VWB Power Smither)

Welcome to the VPS beta. This script will smith any bar into anything you desire, all in West Varrock.

Instructions:
Put your bars in the very first slot of the bank.
Take out a hammer and put it in your first inventory slot. (or use the one in a toolbelt)
Take out 27 (28 if using toolbelt) bars and put those in the other inventory slots.
Start anywhere in Varrock West Bank where you can see the anvil on your minimap.
Start the script!

Right now, it is in beta. So it's really appreciated if you can post the debug when it messes up or even when it goes really well!

Thanks, and have fun!

Version History:
V0.11: Added support for toolbelt hammer, fixed a few bugs. Added run energy setting.
V0.111: Added support for SRL Stats.
V0.2: Sacred Clay Hammer, much faster, bug stomping.

Kyle Undefined

2012-05-25 20:06:41

This has been requested a lot! Cool release! :)

Why not use the hammer in the toolbelt, then you can carry 28 bars :p

Raskolnikov

2012-05-25 20:09:10

From: Kyle Undefined
This has been requested a lot! Cool release! :)

Why not use the hammer in the toolbelt, then you can carry 28 bars :p


I didn't know that was a feature. I'm quite behind the times. I'll support it in the next version!

I've noticed it requested and I just sat down and made it!

deazed

2012-05-25 20:40:00

Thanks a lot for this! Will try really soon.

DRose

2012-05-25 20:41:35

Been waiting for this xD Thanks a lot :) Will try when I get home :P

ZenoKurosagi

2012-05-25 21:06:27

When withdrawing it only left clicks and withdraws 1 bar. When you add in the use of the toolbelt hammer can you switch it to deposit all button? As of now it'll deposit any leftover bars in the inventory.

Hadley

2012-05-25 21:19:21

From: ZenoKurosagi
When withdrawing it only left clicks and withdraws 1 bar. When you add in the use of the toolbelt hammer can you switch it to deposit all button? As of now it'll deposit any leftover bars in the inventory.


I had the same problem at first but It seems to be fixed, make it so:

Change line 218 from:
Withdraw(0, 0, 1);  
To
Withdraw(0, 0, 25);  //Or whatever number of bars your making per load

and btw it's running great right now! :D

Edit: a few 'non-major' things i'm noticing are after all the bars have been smithed at the anvil, the script will click the anvil again (only once) even when no bars are in the inventory. Also, when smithing platebody's, the script will click the bottom scrollbar arrow of the smithing menu everytime after it clicks the anvil, even when the menu's side bar is scrolled down to the very bottom. (I hope that makes sence).

and… The script wont re-enable the 'run' after your energy is back to 100%.

Gucci

2012-05-26 01:09:22

Nice i was working on something like this but only for steel platebody's ;)

Raskolnikov

2012-05-26 01:52:11

From: ZenoKurosagi
When withdrawing it only left clicks and withdraws 1 bar. When you add in the use of the toolbelt hammer can you switch it to deposit all button? As of now it'll deposit any leftover bars in the inventory.


Ah, I apologize for that mistake. That was me testing on individual bars. I'll fix it and reupload.

Also, I'm going to program the toolbelt hammer. This'll all be up in 10.

Edit:

All updated. Added support for the toolbelt hammer (albeit without being tested) and setting run after banking. Also fixed the withdraw bug.

Hadley

2012-05-26 04:11:48

———————————-
——–Thanks for using!———
——-XXXXXXXXXX SMITHER!!!——
61 loads done!
———————————-

so far so good! :D Might try for 6 hours tomorrow.

Raskolnikov

2012-05-26 04:44:05

^Thanks! I hope it's working out for you!

Well, another version is up. Features SRL stats. I'm going to bed now, so I'll answer any questions in the morning.

Thanks everyone.

Neega Rose

2012-05-26 06:19:13

thanks a ton for the release

LemonHaze

2012-05-26 06:46:29

nice script!
Testing it right now :)

ZenoKurosagi

2012-05-26 10:54:01

I had to adjust some of the wait times to speed it up. Running perfectly now. Very nice script.

Raskolnikov

2012-05-27 01:57:13

Alright, haven't seen stats update so it must not be working. I'll see what I can do.

Thanks to all that have provided feedback!

newb cheater

2012-05-27 11:35:24

Hi, just wondering if you would add a feature to support sacred clay hammer. It would halve the cost and time. Just a suggestion :)

Kyle Undefined

2012-05-27 16:10:58

That shouldn't be too hard to add :)

Raskolnikov

2012-05-27 23:54:17

I'll work on it right now. Thanks for the suggestion.

ABC!

2012-05-28 05:23:16

I have too adjusted some of the timing settings, but it still takes along time to bank,other than that nice script!

K_Byrd

2012-05-28 19:17:30

The bot gets stuck when he goes to bank. He moves all the way up to the highest bank booth away from the anvil and he can't see it in the minimap no more so he doesn't go back. Maybe make it set at banking in the lowest bank booth closest to the anvil would be a good idea. That would make it pretty human like as most of the power smithers do :)

Hadley

2012-05-29 00:16:31

From: K_Byrd
The bot gets stuck when he goes to bank. He moves all the way up to the highest bank booth away from the anvil and he can't see it in the minimap no more so he doesn't go back. Maybe make it set at banking in the lowest bank booth closest to the anvil would be a good idea. That would make it pretty human like as most of the power smithers do :)


It's based on where the mini-map icons are, if you re-login the icons will be in different places, do that until your happy with where both the icon locations are on the mini-map.

Raskolnikov

2012-05-29 01:16:33

I can probably fix this by having it search for the dungeon icon first. I'll test it and post it tomorrow.

LIM

2012-05-31 07:06:27

nice script :)
still moves a bit botlike though, and the xp/hour isnt that high

Raskolnikov

2012-05-31 09:06:02

From: LIM
nice script :)
still moves a bit botlike though, and the xp/hour isnt that high


Yeah, I'm working on it. I'll probably have an update tonight with sacred clay hammers and a lot less wait.

Rincewind

2012-05-31 22:02:29

a bit slow, but the only one that works for me. nice job

Raskolnikov

2012-05-31 23:22:52

Alright, the update's being posted. I'm dropping the nosmart support. If you want it, go ahead and PM me and I'll help you out with that.

Sacred clay hammer support was added.
It should also be MUCH faster. I've decreased the waits by a lot.

Hadley

2012-06-01 01:31:12

did you get rid of the "//Seconds to wait after smithing. You might need to adjust this." setting?

after the smithing screen it clicks the bank right away before it makes anything.

Raskolnikov

2012-06-01 02:26:53

From: Hadley
did you get rid of the "//Seconds to wait after smithing. You might need to adjust this." setting?

after the smithing screen it clicks the bank right away before it makes anything.


Yeah, that's because i fat fingered and forgot to put the time in seconds. It's fixed now in the OP.

Hadley

2012-06-01 03:34:48

haha ok, will check it out tomorrow. :tongue: thanks!

Hadley

2012-06-01 14:22:56

Seems to be working good so far, it's alot faster! One thing I still needed to tweak was the
While (TimeFromMark(Time) <= ((42*1500)/(Players[CurrentPlayer].Integers[1]))) do

42*1500 seems to work good for plates. :)

hunters

2012-06-05 16:39:00

sometimes it doesn't find anvil because it to far away from smithing building anyway to fix?
EDIT: got that to work fine but sometimes when it goes to put how many to do it does it to fast before box comes up.

Pascal Riddles

2012-06-07 11:33:09

i think u made it color blind it is horrible at finding banker, its timers is so off with plate bodies and jsu keeps messing up

Kyle Undefined

2012-06-07 12:51:57

From: sit blackboy
i think u made it color blind it is horrible at finding banker, its timers is so off with plate bodies and jsu keeps messing up


If you haven't noticed, the bankers were updated.

snowver

2012-06-09 14:45:34

———————————-
——–Thanks for using!———
——-XXXXXXXXXX SMITHER!!!——
3 loads done!
———————————-
———————————-
——–Thanks for using!———
——-XXXXXXXXXX SMITHER!!!——
3 loads done!
———————————-
Successfully executed.


Pros:
-Banking is flawless for me.. no real problems there but may develop later
-Walking to and from the bank is decent.. lots of misclicks etc

Cons:
-Instead of "Smith All" it's "Smith X" and I can't smith anything because it closes the interface when it hits that
-Platebody smithing is terrible
-In other words it just banks goes to smith screen then closes interface repeats

Run S Kape

2012-06-10 17:08:49

From: snowver
———————————-

-Instead of "Smith All" it's "Smith X" and I can't smith anything because it closes the interface when it hits that
-Platebody smithing is terrible
-In other words it just banks goes to smith screen then closes interface repeats


Just change at line 141 to

if ChooseOption('ake All') then




……………………………….

Masterstroke

2012-06-12 11:45:30

got stuck at the bank, it clicked talk to banker and never retried to bank

gtr34

2012-06-14 08:58:03

Some 1 for f sake fix the scripts….!!!!

Kyle Undefined

2012-06-14 10:28:48

As stated in the other thread, calm down.

SwagDaddy

2012-06-14 10:43:44

With a few little changes I'm running it fine now, on steel platebody's

truelyricsx

2012-06-24 10:32:31

this script sucks.

Run S Kape

2012-06-24 14:18:11

Is it so difficult varrock west smither to make , i have used both scripts , there are always some or the other errors. I know you guys are trying hard to make it work. If these scripts get fixed it would be very nice.




…………………………………….

perfectd3

2012-07-09 03:12:08

So, I know everyone is complaining & not really posting anything constructive, but when I went into the script to try & tweak it to work with Platebodies, (I'm a complete novice, but can usually find a way around some buggy shit sometimes) It just broke even more.

begin
Items[0] := ['Dagger', 'Axe', 'Mace', 'Med', 'bolts', 'Sword', 'Nails',
'Studs', 'Arrow tips', 'Scimitar', 'limbs', 'Longsword',
'knife', 'Full helm', 'Square', 'Lantern', 'Warhammer',
'Battleaxe'];

Items[1] := ['Chain', 'Kite', '2-h', 'skirt', 'legs', 'Platebody'];

if InStrArrEx(Item, Items[0], W) then
Z := 0
else
if InStrArrEx(Item, Items[1], W) then
begin
Scroll := True
Z := 1;
end else
begin
srl_Warn('SmithItem', 'Invalid smithable item', warn_Warning);
Exit;
end;

if Scroll then
FixSmith(True);

if FindText(X, Y, Items[z][w], StatChars, MSX1, MSY1, MSX2, MSY2) then
begin
Mouse(X + 3, Y + 3, 4, 4, False);
if ChooseOption('ake all Platebodies') then
begin
Wait(1000 + Random(50));
TypeSend(Amount);
Result := True;
end;
end;
end;

[if ChooseOption('ake all Platebodies') then…]
^— this was one thing I tried to edit, but broke it after I added "platebodies", however the "ake all" instead of "ake X" did change it for the better a little bit, and responds a little better at the anvil. What I'm having issues with, edited or not, is when you go to make the platebodies, it right clicks the icon, but the SMART mouse just moves away from the menu icon after it right clicks the Platebody.

I also tried changing
Wait(1000 + Random(50));
(obviously I changed it from 550), and it didn't do anything either.

What I'm ATTEMPTING to accomplish is trying to make the mouse wait to move away, until it either finds an option, or doesn't load one quick enough, (just as if it there was a wait function before the mouse moved.) But I don't know where else I can edit/start editing/what do since I'm just a novice.

Am I missing something completely vital here?
-Thanks, Perfectd3

11:10PM Edit:
Going to attempt to edit the text from 'Platebodies' to 'Platebody' based off of what I'm reading from the head of this part of the script. Again, I'm just dinking around here and really don't know what I'm doing. Hopefully I'll notice any difference; for better or worse.

11:31PM Edit:
That didn't change anything much, still in the same situation.

perfectd3

2012-07-09 18:37:04

I got it 'working' earlier, & was able to make around two Platebodies a trip, then would bank too soon. After that, it got a little buggy, so I'm still tweaking this thing.

perfectd3

2012-07-09 22:03:52

[YOUTUBE]http://youtu.be/_RFHUqxdWoA[/YOUTUBE]

http://www.mediafire.com/?iuctnxjkc22uhoc

http://youtu.be/_RFHUqxdWoA

Somewhat working script.

It smiths bodies, & banks them.

A bit buggy, but working:
    sometimes it's derpy with the bankers, just give it a little time. sometimes it will get stuck in the script, in which it has a failsafe, (sorta) that will reset itself to certain spots in the script.

Will post more when I find more.

James Cash

2012-09-02 04:19:27

One problem, it only does 3 platebodies each inventory rather than 5..
Also, when ti opens the smith page thing, it always scrolls down even though it's at the bottom already and fi passes the first bankers in the building it goes weird and you have to put him back in that place