Sweet Kharid Smelter
dudesareus
2007-04-03 09:44:11
SCRIPT UPDATE NOW COMPLETE! ENJOY!
Current Script Name : Sweet Multi-Smelter
Version : 3.4
Creator : 100% By Dudesareus except for FindFastRandoms function
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Sweet Kharid Smelter REMAKE!
Start in any bank booth in Al Kharid.
32 True Bit, V-Bright!
YOU CAN NOW HAVE YOUR ORES ANYWHERE YOU WANT IN THE BANK!
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Has:
Antiban.
Anti-Randoms
Great Walking!
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Currently Only Supports:
Bronze, Iron, Steel, Mithril, Adamant, and Rune!
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
If you are wondering what is coming in the future, please read the future updates in the script.
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Please post Proggys and Bugs.
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Sweet Multi Smelter REMAKE! Includes;
Completely updated! Everything redone, please make sure your main ore is in the first bank slot, and the secondary (Such as Coal, or Tin or Copper) in the second bank slot!
V2 Update!
Should now smelt and go back bank and do everything right, have fun!
V3 Update!
COMPLETELY RUNS!
V4 Update!
You can now have your ores anywhere in the bank! It tells you how many bars you smelted and an estimate to how much exp you have gained!
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Santa_Clause
2007-04-03 09:50:27
Just A Suggestion, Not Many People Smelt Iron These Days Because It's Pathetic…50% Chance! I Recommend Your Next Version Makes Steel Bars Because They Are Most Popular…Also…Multiplayer Would Be Nice…
A G E N T
2007-04-03 10:55:10
Looks very good, I can't try it yet because I only have coal, but no iron. I would just recommend a few things:
- Standards: Read up on this article, http://wiki.srl-forums.com/index.php/Scripting_Standards , you did a good job with semicolons and capitalization and suchlike, but your indentation levels and column alignment are off.
- Walking w/Color & Mouse: Glancing at your WalkToFurnace, I think you would be better off using: (FindSymbol(x,y,'furnace')) because the other condition you have (FindMMColor(x,y,481263)) will likely not work and will just slow down your script overall. This is because the colours on the minimap do change, and thus a fixed colour value will not always work.
I'm afraid you may have to rewrite procedure HalfWayBack because of this.
Overall, very good work, keep it up and you will soon have a very reliable script!
dudesareus
2007-04-03 14:45:04
Version 1.0 now out, I have not tested, just please post any bugs you may encounter!
Bobzilla69
2007-04-05 03:33:32
tryed to run it and i got a error
[Runtime Error] : Out Of Range in line 34 in script
dudesareus
2007-04-05 08:50:07
Alright thanks for the post, let me see…………………
……..
……..
……..
Alright, so thats in the player setup, you obviously tried to remove some of the characters by changing this:
HowManyPlayers :=4; //Number of Players your using
If you change that to 1, you have to remove players 1-3, or you can just leave the players there and change this on players 1+ to false:
Players[1].Active :=True; //Only one player for now so just leave
Hope I helped :D
dudesareus
2007-04-07 09:37:42
Version 2.5 now release, lets hope these bitmaps work :D
dudesareus
2007-04-10 15:26:43
Version 3.0 now should work, I found out that I was using the wrong brightness!
wired16
2007-04-10 22:28:55
doenst work… i set it up then it just stays outside the RS window and moves up and down really quick
dudesareus
2007-04-11 16:06:51
I think I know whats wrong, I have some of the colors still set in v-bright.
dimitjeeuuhh
2007-04-15 09:37:53
me to first everything goes like it should go it goes to options and then looks if the brightness if OK and then it goes out of the RS screen and moves up and down really quick, reallly weird. O.O
dudesareus
2007-04-15 12:22:29
Hmmm, Maybe SCAR only supports stuff in v-bright, I've been working on my script and I'm hoping I will have all bugs worked out really soon, sorry about that!
OOOOOOOOOOOOH! I KNOW WHATS WRONG! OpenBankQuiet(); is for v-bright only, I'll have to work on my own Banking Procedure!
dudesareus
2007-04-18 17:35:51
Version 3.8a and 3.8b now released, lets hope one of them FINALLY work!
dagr81s
2007-04-18 23:34:47
Failed when compiling
Line 52: [Error] (17629:1): Unknown identifier 'Ore' in script C:\Documents and Settings\Owner\Desktop\Sweet Multi Smelter v3.8b.scar
this is what i got when i tried this…and u have
Ore := DTMFromString('78DA6394626060106340038C30C4F01F0818E' +
'5810C612C6AE02490560012D204D428030909FC6A00038F04E2');
dudesareus
2007-04-19 08:42:01
Alright, sorry bout this, in line 29 you'll see this……
Copper, Tin, Iron, Coal, Mithril, Adamant, Rune, Blurite, Silver, Gold : integer;
Just get rid of Copper, Tin, Iron, Coal, Mithril, Adamant, Rune, Blurite, Silver, and Gold and instead put Ore, so it will look like this
Ore : integer;
Sorry for the inconvenience!
Failed when compiling
Line 226: [Error] (18129:18): Unknown identifier 'iron' in script C:\Program Files\SCAR 2.03\Scripts\Sweet Multi Smelter v3.8b.scar
=\ Would love to try it for you..
When I put back in what you said to take out (The whole line of Bronze, Iron, ect), I got this error. Not sure what its telling me…
Line 811: [Error] (18714:1): Unknown identifier 'BankLocation' in script C:\Program Files\SCAR 2.03\Scripts\Sweet Multi Smelter v3.8b.scar
lolpie
2007-04-19 17:50:07
Awsome script! Downloaded it today and got this:
Progress Report:
We have been Smelting for 01:22:44
Made about 297 Steel bars.
Gained 5346 experience
Only got lost twice on that account. I smithed 269 bars, but it gave says 297..whatever, that is unimportant. Also, after it solves a random, it thinks its at the bank and starts looking for it..otherwise it's amazing! GJ
dudesareus
2007-04-19 18:39:45
I think you got the wrong topic………..
lolpie
2007-04-19 19:10:55
Me? I got that progress report using your smelter…*confused*
dudesareus
2007-04-19 19:22:48
But my progress reports are like this:
[ ]~~~Sweet Multi Smelter~~~[ ]
[ ]-----For Al Kharid-----[ ]
[ ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[ ]
|------Made By Dudesareus!------|
Time Running: 7 Seconds
Loads Done: 0 Loads
[ ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[ ]
dudesareus
2007-04-19 19:24:00
IN 3.8A AND 3.8B! MAKE SURE YOU REMOVE THE FOLLOWING PROCEDURE OUT OF THE MAIN LOOP AT THE BOTTOM!
SetBrightness;
I forgot to remove that! Sorry for any inconvenience!
dagr81s
2007-04-19 21:44:55
thanks for the help, i dont know anythinb about scripting….
and would u know where i could learn the language (guide / tutorial)?…
would be appriciated
lolpie
2007-04-20 15:04:35
Huh. Well apparently I can't read lol
FineDreadHawk
2007-04-28 14:48:13
It doesn't find the ores and then it doesn't even report that it didn't find them.
How I can tell is it opens bank waits 2 seconds closes bank then sits there, idles out then mouse keeps moving back and fourth between Runescape R and to the right of Existing User.
Also while looking at your script isn't just a waste of CPU and Memory to be doing 5 things in the progress report.
Procedure NeatProggy;
begin
ClearDebug;
Writeln(' [ ]~~~Sweet Multi Smelter~~~[ ]');
Writeln(' [ ]-~-~-For Al ');
Wait(250);
ClearDebug;
Writeln(' [ ]~~~Sweet Multi Smelter~~~[ ]');
Writeln(' Kharid-~-~-[ ]');
Wait(250);
ClearDebug;
Writeln(' [ ]~~~Sweet Multi Smelter~~~[ ]');
Writeln(' [ ]-~-~-For Al ');
Wait(250);
ClearDebug;
Writeln(' [ ]~~~Sweet Multi Smelter~~~[ ]');
Writeln(' Kharid-~-~-[ ]');
Wait(250);
ClearDebug;
Writeln(' [ ]~~~Sweet Multi Smelter~~~[ ]');
Writeln(' [ ]-~-~-For Al ');
Wait(250);
ClearDebug;
Writeln(' [ ]~~~Sweet Multi Smelter~~~[ ]');
Writeln(' Kharid-~-~-[ ]');
Wait(250);
ClearDebug;
Writeln(' [ ]~~~Sweet Multi Smelter~~~[ ]');
Writeln(' [ ]-~-~-For Al ');
Wait(250);
ClearDebug;
Writeln(' [ ]~~~Sweet Multi Smelter~~~[ ]');
Writeln(' Kharid-~-~-[ ]');
Wait(250);
ClearDebug;
Writeln(' [ ]~~~Sweet Multi Smelter~~~[ ]');
Writeln(' [ ]-~-~-For Al Kharid-~-~-[ ]');
end;
Most ppl won't even play attention to it only the end result, making everything before
Writeln(' [ ]~~~Sweet Multi Smelter~~~[ ]');
Writeln(' [ ]-~-~-For Al Kharid-~-~-[ ]');
Useless and Pointless.
Also that latter gets cleared again by the DudeProgReport, making it even more useless.
And you really shouldn't use SendKeys for if I'm not mistaken it types that instantly, making it kind've obvious. Altough the only time it uses SendKeys is while typing numbers. Also typing 999 every time it goes to furance is obvious to. Should've just done 28. Or 14 or 8 Depending on the ore.
This is just a guess but what happens when you level noticed it doesn't have anything detecting this so the click to continue would stay up and you would not finish smelting that load. So it would wait until it said run out in chat and that wouldn't happen if you level in the middle of smelting causing it to idle and log out.
All that is what I have gathered from 3.8B
usercookie69
2007-04-28 20:33:06
nice but i would make the abvoe cahanges and also why not make so that you can make cannonballs 2? all people have to do is put teh mold in the 28th slot and remove the bars or even smith teh steel abrs then right into the cannonballs :-O good luck with that :)
also using forms so people do't have to edit the code is even nicer :) you could make some money that way :)
ccmatrixfan
2007-05-01 18:36:43
I can't get it to work.. it comes up with this error:
Failed when compiling
Line 797: [Error] (15385:8): Identifier expected in script C:\Program Files\SCAR 3.05\Scripts\Sweet Multi Smelter.scar
haxal
2007-05-04 10:28:59
always have the same problem
Line 831: [Error] (18734:1): Unknown identifier 'SetBrightness' in script
my srl is 3.6
rader720
2007-05-05 00:04:36
@ haxal: read the posts
From: dudesareus
IN 3.8A AND 3.8B! MAKE SURE YOU REMOVE THE FOLLOWING PROCEDURE OUT OF THE MAIN LOOP AT THE BOTTOM!
SetBrightness;
I forgot to remove that! Sorry for any inconvenience!
aidan asian
2007-05-05 16:43:29
mine doesnt seem to work, it loggs in and then doesnt do anyhting, it once opened my bank, and then closed it. also, what is srlstatsid and srlstatspassword? i dont know what to put there.
dudesareus
2007-05-07 21:04:47
You don't have to put anything there, and in the near future (Tomorrow) I will make a HUGE update for this script! Expect everything REDONE and REVAMPED! I have learned how to use RadialWalk and dtms and bmps so this script should be really good =D
aidan asian
2007-05-08 15:01:45
ok.. but how come he just opened my bank? he dint take ores or anything. for loc i put in "bank" i dont know if thats right, what should i do to get it working, ill prolly wait till tomorrow anyway but still
dudesareus
2007-05-08 15:23:18
The older versions don't work, the dtm's and bmps are all screwy, I'm working on the script right now =D
H4rdc0r3
2007-05-11 02:20:18
This is not good, it does not even withdrawal ores? have you even tested this yourself?
H4rdc0r3
2007-05-11 02:33:16
I left it on and it even lied about the loads!
lolpie
2007-05-11 09:38:01
Read the previous posts….IT DOESN'T WORK! HE IS WORKING ON FIXING IT!
Thank you
dudesareus
2007-05-12 16:01:37
Please, no more posts about this script, as of what Lolpie said, I AM WORKING ON IT! I AM COMPLETELY RE-WRITING THIS SCRIPT! PLEASE BE PATIENT!
dudesareus
2007-05-12 19:46:25
Script Complete! Enjoy! This One Does Work! I Have Tested It! Have Fun! Please Make Sure To Have Main Ore In First Bank Slot! Coal In The Second!
Babur
2007-05-12 19:59:25
God bless you people.
lolpie
2007-05-13 12:41:04
It makes the bars, goes to bank, then logs out :(
dudesareus
2007-05-13 13:34:17
Well at least it smelts this time :p, I'm working on it right now, I had the same problem.
Its now up, should work :D
lolpie
2007-05-13 15:32:35
Tried v2…it withdraws the ores, then walks near the oven thing, then starts hovering the mouse over gray colors
dudesareus
2007-05-13 15:33:38
Leave it for a while, it will work, it works for me :D
hamel09
2007-05-14 12:59:43
its good but when i wotched it on the 2nd time 2 bank it did not put away the steel it just tried to get the ores out
joedeagan
2007-05-14 21:19:22
The SweetKharidSmelterREMAKE withdraws ores, then when it gets done, the script just doesn't do anything after that, it just click on various random things, in other words, the script doesn't dected that it has completed the smelting, and going back to the bank to get some more raw materials… Please help…
dudesareus
2007-05-15 15:27:04
I'm working on it, I realised I forgot to make it deposit the bars, just wait for v3, it will be fixed :D
dudesareus
2007-05-19 05:42:25
V3 NOW OUT AND I HAVE TESTED!
|——————————–|
| Made by Dudesareus |
| Sweet Kharid Smelter REMAKE! |
|——————————–|
|Current Player: Username
|Time Running: 8 Minutes 56 Seconds
|Loads Done: 5
|Currently Smelting: Steel
|——————————–|
It did all of the loads necessary, there were some times I wouldn't think it would pull through but it did! HAVE FUN!
dudesareus
2007-05-19 19:40:23
Please will one of you 8 people post a proggy!
dudesareus
2007-05-20 14:05:15
V4 Released! Much Much Much Much Much Better Tan All Of The Others!
lolpie
2007-05-20 14:27:10
Will post a proggy. Hang on lol
EDIT: Unknown identifier 'FindBitMapTol' in script C:\Program Files\SCAR 3.06\Scripts\Sweet Multi Smelter REMAKE! v4!.scar
So this is only for SCAR 2.03?
dudesareus
2007-05-20 15:16:20
yeah, sadly, I don't like DIVI
Twisted
2007-05-20 18:34:04
Line 106: [Hint] (14749:10): Variable 'Result' never used in script C:\Documents and Settings\———\Local Settings\Temporary Internet Files\Content.IE5\85EZG52Z\Sweet%20Multi%20Smelter%20REMAKE%21%20v4%21[1].scar
Line 124: [Error] (14767:11): Unknown identifier 'FindBitMapTol' in script C:\Documents and Settings\———-\Local Settings\Temporary Internet Files\Content.IE5\85EZG52Z\Sweet%20Multi%20Smelter%20REMAKE%21%20v4%21[1].scar
What's wrong?
lolpie
2007-05-20 19:44:12
The script will run fine with the [Hint]. Just ignore it, or delete the variable if it bothers you lol
And you need SCAR 2.03 to use this
stylen
2007-05-22 17:04:58
It doesnt withdraw ores for me.
Just opens the bank and then the mouse jumps around and does nothing.
b0oMeR
2007-05-22 23:09:57
We need more smelting scripts =/
kensaurus
2007-05-24 01:40:21
hnot bad
Nerheim
2007-05-24 22:26:11
Is there any way to slow down the typing speed of when a withdraw is made. For example "steel"…..it clicks withdraw "x" 18 but it types 18 faster than when the screen pops up so it doesnt enter it. Is there any way to wait than let it type?
Nerheim
2007-05-24 22:31:52
From: stylen
It doesnt withdraw ores for me.
Just opens the bank and then the mouse jumps around and does nothing.
Im a complete noob……but have you changed your bank options…..
My computer>C>Program Files>Scar 2.03>Includes>SRL>SRL>Core>Bank *double Click* Open and change #184 2 185
OLD(BAD)
function BankScreen: Boolean;
begin
Result := IsTextAtEx(184, 34, 'The Bank of', 30, upchars, True, False, 0, 0,
-1);
end;
NEW (GOOD)
function BankScreen: Boolean;
begin
Result := IsTextAtEx(18
5, 34, 'The Bank of', 30, upchars, True, False, 0, 0,
-1);
end;
msacko
2007-06-02 19:35:28
When smelting steel, it withdraws 9 iron, then 18 iron, thinking it's coal, then either tries to walk, or logs out.
venomhead
2007-06-04 20:28:04
If your having a waiting problem for the withdraw ores then make sure your client window is getting selected right.
Im having a problem. It gets the ores out of bank but then immediatly logs out. any reason why?
Wrycu
2007-06-15 13:59:29
From: lolpie
The script will run fine with the [Hint]. Just ignore it, or delete the variable if it bothers you lol
And you need SCAR 2.03 to use this
I get the same error using SCAR 2.03…
Failed when compiling
Line 130: [Hint] (15122:10): Variable 'Result' never used in script C:\Documents and Settings\Owner\Desktop\Sweet Multi Smelter REMAKE! v4!.scar
Line 148: [Error] (15140:11): Unknown identifier 'FindBitMapTol' in script C:\Documents and Settings\Owner\Desktop\Sweet Multi Smelter REMAKE! v4!.scar
I know the hint doesnt mean anything, but the error does.
Any way to fix this…?
Wishing Well
2007-07-19 07:27:56
Line 131: [Hint] (14821:10): Variable 'Result' never used in script C:\Program Files\SCAR 3.06\includes\Sweet Multi Smelter REMAKE! v4!.scar
Line 149: [Error] (14839:11): Unknown identifier 'FindBitMapTol' in script C:\Program Files\SCAR 3.06\includes\Sweet Multi Smelter REMAKE! v4!.scar
Someone please help?
YottaBytes
2007-08-03 22:25:07
From: Wishing Well
Line 131: [Hint] (14821:10): Variable 'Result' never used in script C:\Program Files\SCAR 3.06\includes\Sweet Multi Smelter REMAKE! v4!.scar
Line 149: [Error] (14839:11): Unknown identifier 'FindBitMapTol' in script C:\Program Files\SCAR 3.06\includes\Sweet Multi Smelter REMAKE! v4!.scar
Someone please help?
Wishing-Well, I'm Getting The Same Error. SomeOne Help!
mark9510
2007-09-16 12:52:10
hi everyone i have a small problem when i usually smith with a smithing script i get this error when i compile
Failed when compiling
Line 24: [Error] (12498:12): Unknown identifier 'STRING1' in script C:\Documents and Settings\Owner\Desktop\Sweet Multi Smelter REMAKE! v4!.scar
This was made for SRL 3.8 not 4 BETA
kushal
2007-10-08 06:05:22
please update this script.
ssskibum16
2007-11-03 14:35:47
nice script but i got this error
Failed when compiling
Line 24: [Error] (14948:12): Unknown identifier 'STRING1' in script C:\Documents and Settings\Desktop\SCAR STUFF\Sweet Multi Smelter REMAKE! v4!.scar
is it declaring the bank pin as a string or somthing?
thanks
the ghetto8
2007-11-06 13:53:09
hey whenever i try to load this script it keeps tellin me that in line 24 'String1' is an unknown identifier
kushal
2007-11-08 23:12:03
this script is outdated, stop posting….
drumstel7
2007-11-11 14:21:51
hi,
i have an error with version3 and 4 !
Line 23: [Error] (14704:12): Unknown identifier 'STRING1' in script C:\Documents and Settings\bijl\Mijn documenten\SCAR SCRIPTS\smith.scar
can someone help?
kensaurus
2007-11-12 01:43:01
but its still workable with older version of SCAR
Runeman
2007-11-13 12:57:49
Failed to run:
Line 24: [Error] (14948:12): Unknown identifier 'STRING1' in script C:\———-\—–\———\———-\———–\Multi smelter.scar
XcanadamanX
2007-11-13 18:02:16
Can you READ? look like one post up and you have your answer. oh sorry 3 posts up!