SRL Archive - RS3 Outdated / Broken Scripts

[SKS] Sabzi's Kharid Smelter


Sabzi

2009-10-11 08:38:20

[SKS] Sabzi's Kharid Smelter


Status: Not working
Last updated: 2010. 01. 21.

Requirements:
  • latest scar
  • latest SRL Developer Revision

Features:
  • AntiBans, AntiRandoms, Multiplayer
  • Script will automatically choose multiplayer or singleplayer and will switch to singleplayer if just one player left so it will take breaks instead of switching therefore it is advised to setup every player carefully.
  • Never stop running, will rest.
  • Detailed playerreport.
  • I tried to make it not to hang at the end so it will actually terminate.
  • I tried to make it as human like as I could when choosing how much ore to smelt, etc, etc.

Instructions:
  • Place your character in Al-Kharid bank, your primary ore in the first bank slot and the secondary(if there's any) in the second.
  • Download Sabzinclude and place it right into the include folder found in your scar folder.
  • If you don't know the boxrewards take a look at here:http://www.villavu.com/forum/showthread.php?t=44245
  • Time before switching/breaking will determinate how long a player should work without breaking/switching. After the account worked enough if you got more then one player the script will switch to the next player else it will take a break(time to break) +- 10%, the player remain active.
  • Fill out DeclarePlayers set up consts, press play.
  • Post proggies, feedback, bugs, problems, questions.


Bugs
  • Walks behind the furnace then can't find it.
  • Breaking is a fail, don't use it or after the first break you will break forever.(same for switching ?)
  • Bank opening fails sometimes/often?

Credits:
  • payton - Lent me an account to test on.


Changelog:

-2009.10.11. v1.0 released
-2010.01.06. v1.1 released
- Fixed breaking/switching(was because of an srl update)
- added lots of failsafe
- fixed some other bugs
-2010.01.08. v1.2 released
- Fixed a typo
- Added customization for resting
-2010.01.09. v1.3 released
- [B]Lots of[/B] improvements!
- Haven't tested but compiles.
-2010.01.20. v1.5 released(v1.4 was private-beta)
- Cool, human-like, randomized amount choosing at smelting
- Finally survives level ups
- Fixed quiet a lot thing(can't remember)
-2010.01.21. v1.6 released
- Further tweaked walking
- smelting timeout now depends on bar type - idea by payton
- fixed the breaking bug
- removed saying current lvl antiban

If the script is good post proggies, 5 star, maybe rep+ would be cool.
If the script is not good post your problem so I can help.

Sabzi

2009-10-11 10:18:20

Originally I did not want to make a post for proggies but I had to post about an error, the error is gone so this post will hold proggies from now on.

Proggies:

Best proggy os far by swisspking:
[PHP][=============================]
[ *** ]
[ Active : True ]
[ Location : bank ]
[ Loads : 251 ]
[ XP gained : 39532 ]
[ XP/hr : 7047 ]
[ Lvlups : 0 ]
[ Xp to goal : 12486478 ]
[ Hours to goal : 1771 ]
[ Bars made : 2259 ]
[ Bars/hr : 403 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[ Worked : 05h 36m 35s ]
[=============================]

[/PHP]
A proggy by me:
[PHP]Script runtime: 3 Hours, 12 Minutes and 30 Seconds
[=============================]
[ *** ]
[ Active : True ]
[ Worked : 02h 49m 24s ]
[ Location : bank ]
[ Loads : 138 ]
[ XP gained : 21735 ]
[ XP/hr : 7698 ]
[ Lvlups : 0 ]
[ Xp to goal : 2265699 ]
[ Hours to goal : 294 ]
[ Bars made : 1242 ]
[ Bars/hr : 440 ]
[ Breaks done : 2 ]
[ Smelting : steel ]
[=============================][/PHP]

A proggy by JackF:
[php]
[=============================]
[ *** ]
[ Active : True ]
[ Location : bank ]
[ Loads : 116 ]
[ XP gained : 18270 ]
[ XP/hr : 7850 ]
[ Lvlups : 0 ]
[ Xp to goal : 12850391 ]
[ Hours to goal : 1636 ]
[ Bars made : 1044 ]
[ Bars/hr : 449 ]
[ Breaks done : 2 ]
[ Smelting : steel ]
[ Worked : 02h 19m 38s ]
[=============================]
Ran out of ores.[/php]

3Garrett3

2009-10-11 15:42:59

[php]
Script runtime: 56 Minutes and 21 Seconds
[=========================]
[ **** ]
[ Active : True ]
[ Worked : 56m 07s ]
[ Location : bank ]
[ Loads : 51 ]
[ XP gained : 7650 ]
[ XP/hr : 8179 ]
[ Lvlups : 0 ]
[ Xp to goal : 2359337 ]
[ Hours to goal : 288 ]
[ Bars made : 204 ]
[ Bars/hr : 218 ]
[ Breaks done : 0 ]
[ Smelting : adamant ]
[=========================]
[04:35:39 PM] Walking failed. Location: Between furnace -> bank. [2/2]
Successfully executed
[/php]

It got a prison pete. I wasnt around, so it failed.

JonathanHan

2009-10-18 01:56:50

I love your script
Nice antiban
Smooth Walking
Features Progress on its tabs

Script runtime: 19 Minutes and 36 Seconds
[=========================]
[ dart ]
[ Active : True ]
[ Worked : 18m 25s ]
[ Location : bank ]
[ Loads : 15 ]
[ XP gained : 2362 ]
[ XP/hr : 7694 ]
[ Lvlups : 0 ]
[ Xp to goal : 2762340 ]
[ Hours to goal : 359 ]
[ Bars made : 135 ]
[ Bars/hr : 440 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[=========================]

Sabzi

2009-10-18 05:19:26

From: JonathanHan
I love your script
Nice antiban
Smooth Walking
Features Progress on its tabs


Thank you. Although it's got quite a lot thing to improve but I am taking a break in these days from scripting. So if you want to use a more stable smelter I would suggest you to use Rogeruk's smelter. I will improve this later of course.

p.s.: Just to be sure I would suggest you to remove the nickname from the proggy.

psychoson

2009-11-20 22:10:34

it will take out the ores go to the furnace and smelt but then it wil just hang out….and never go back to the bank and go again….

Sabzi

2009-11-21 05:05:24

From: psychoson
it will take out the ores go to the furnace and smelt but then it wil just hang out….and never go back to the bank and go again….


As I have said in my previous post here, try another smelter. There is two working one. I don't have time these days to fix this up.

Sabzi

2010-01-06 14:05:27

Double post :S.
I thought I fix this up but I was surprised that the banking/walking is still working.
So the remaining bugs are easy to fix(already fixed most of them).
It's not ready to release but I will do it tomorrow :).

EDIT: To be honest the only thing left is to update the breaking/switching but I am totally clueless what and why I was doing so I don't even want to start understanding myself(I will comment it now :)). There was an SRL update involving Players[x].Worked so that's why it may not work.

EDIT2:
Okay, everything fixed now. Just testing it now so I will upload it soon.

EDIT3:
Uploaded new version.

payton

2010-01-07 13:55:31

going to try this out. will post a proggy tonight or tomorrow morning.

Payton

Sabzi

2010-01-07 15:25:42

I have only tested the new version with steel so I don't know how others work as ChooseOption is buggy with some letters. So I would be happy with other bar testes :p.

payton

2010-01-07 22:42:38

i was planning to run steel too.
i get this " Line 151: [Error] (23898:14): Invalid number of parameters in script "
line 151 for me is…..SetRest(True);

not sure whats wrong with it.

Sabzi

2010-01-08 01:59:08

From: payton
i was planning to run steel too.
i get this " Line 151: [Error] (23898:14): Invalid number of parameters in script "
line 151 for me is…..SetRest(True);

not sure whats wrong with it.


Hmmm … I have fixed it. It's a typo nothing more. Should be SetRun(True);
I must have undo-d it.

JackF

2010-01-08 04:25:47

Have just reinstalled scar, updated all than can be updated, and smart still hovers bankers. Is the FindBank faeture broken?
Please help anyone.

YoHoJo

2010-01-08 04:46:35

From: JackF
Have just reinstalled scar, updated all than can be updated, and smart still hovers bankers. Is the FindBank faeture broken?
Please help anyone.


Sounds like you need to update your stuff.
Make sure your SCAR folder is SVNed to this URL for the latest SCAR!
http://freddy1990.com/svn/scarprerelease

JPHamlett

2010-01-08 07:31:17

Script runtime: 7 Hours, 54 Minutes and 3 Seconds
[=============================]
[ jphm ]
[ Active : True ]
[ Location : bank ]
[ Loads : 85 ]
[ XP gained : 12750 ]
[ XP/hr : 8037 ]
[ Lvlups : 0 ]
[ Xp to goal : 2956306 ]
[ Hours to goal : 367 ]
[ Bars made : 425 ]
[ Bars/hr : 268 ]
[ Breaks done : 31 ]
[ Smelting : mithril ]
[ Worked : 01h 35m 10s ]
[=============================]



didnt watch it but very nice

JackF

2010-01-08 08:10:45

Have just updated to 3.2.3 beta, and when run i get an error on line 270 on sandwich.scar (antirandom). This is the most recent srl.

payton

2010-01-08 13:48:34

not sure but if i changed check run to this…

procedure CheckRun;

begin
if not RunEnergy(50) then
begin
SetRun(True);
end;
end;

then would my player run when energy is above 50, wait till it comes back above 50, then run until 0 again?

i think you should add an option on the resting because i think most people just walk to let there energy come back up, rather than resting.

it is running good now though.

Payton

marpis

2010-01-08 14:10:13

From: payton
not sure but if i changed check run to this…

procedure CheckRun;

begin
if not RunEnergy(50) then
begin
SetRun(True);
end;
end;

then would my player run when energy is above 50, wait till it comes back above 50, then run until 0 again?

i think you should add an option on the resting because i think most people just walk to let there energy come back up, rather than resting.

it is running good now though.

Payton


RunEnergy(50) sets run True if energy is >50.
So "If Not RunEnergy(50) Then SetRun(True)" sets run always True

[php]
Script runtime: 24 Minutes and 2 Seconds
[=========================]
[ ]
[ Active : True ]
[ Location : bank ]
[ Loads : 21 ]
[ XP gained : 3308 ]
[ XP/hr : 8341 ]
[ Lvlups : 0 ]
[ Xp to goal : 3208255 ]
[ Hours to goal : 384 ]
[ Bars made : 189 ]
[ Bars/hr : 477 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[ Worked : 23m 47s ]
[=========================]
[/php]
Very nice work :) Ran out of ore

Sabzi

2010-01-08 14:39:21

When you are exhausted totally then you will start walking. Then You will rest but you are still walking that's why the SetRun(True); is there.
But yeah it's super easy to add whenever you want to rest or no. Will do it now.

@J_Pizzle: There must be some fatal bug because the script had run for 7+ hour while the character ran for 1,5 hour. What happened there? Or multiplayer? Or just something with the output :p.

EDIT: v1.2 is up. But as I have fixed that typo before and I more likely undo-d it there maybe some other things like that. I am skimming through the changes what I have fixed/done before to see if they are still there :p. Stupid me.

Facepalm edit: Actually I have uploaded v1.0 again with just some fixes :D. I have found the good version but it's 1.0 on my computer and 1.1 is 1.0. Wtf have I done?

Hopefully last edit:
Sorry for the troubles I still have to learn what to upload/edit/etc …
Least it wasn't the one with my username :D. Now it compiles and should be everything sorted out. Report bugs/problems/anything or maybe some good proggy?

payton

2010-01-08 15:40:45

edit: this was before the update. might be fixed.



I got the running the way i like it and have it running now. couldn't get it to recognize when it was done smithing bronze, and after a level up it would not finish the load.

Payton

edit2: forgot to disable graphics on smart and grey screened it.

[ Active : True ]
[ Location : bank ]
[ Loads : 20 ]
[ XP gained : 3150 ]
[ XP/hr : 8328 ]
[ Lvlups : 0 ]
[ Bars made : 180 ]
[ Bars/hr : 476 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[ Worked : 22m 41s ]

JackF

2010-01-08 15:48:52

Hello, I have latest scar ,however it will not compile as it detects an error in srl. Please Help?

JPHamlett

2010-01-08 16:31:42

From: Sabzi


@J_Pizzle: There must be some fatal bug because the script had run for 7+ hour while the character ran for 1,5 hour. What happened there? Or multiplayer? Or just something with the output :p.


well i was single palyer but it was taking breaks every 12 minute or something like that

marpis

2010-01-08 17:25:37

From: JackF
Hello, I have latest scar ,however it will not compile as it detects an error in srl. Please Help?


Copy the error please.

But first: download the latest open-dev SRL and get scar prerelease with SVN and try it again.

Sabzi

2010-01-09 05:11:32

@payton: I will take a look at bronze, lvl up bug is fixed in the new version so it will restart smelting after lvl up.

@J_Pizzle: Well, you can set the breaks totally how you want it.

@JackF: What marpis said.

Thx for the proggies.

EDIT: Theoretically bronze shouldn't got any problem. You are making a total of 14 bar at the end, right? I can't test it right now so if you want to smelt bronze try changing the dtmBar. It's a dtm of a bar.

What would you suggest for maximum smelting time? Or should I add a constant for it? Or should I set it for every bar type?

JackF

2010-01-09 12:00:15

Ok so here is my first proggie :

[=========================]
[ uma ]
[ Active : True ]
[ Location : bank ]
[ Loads : 1 ]
[ XP gained : 158 ]
[ XP/hr : 7029 ]
[ Lvlups : 0 ]
[ Xp to goal : 3091958 ]
[ Hours to goal : 439 ]
[ Bars made : 9 ]
[ Bars/hr : 400 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[ Worked : 01m 20s ]
[=========================]
[05:56:57 PM] Smelting mucked up.(furnace not found) Location: Furnace.

So, the reason smelting mucks up so often is because the findfurnace function searches the minimap for the furnace icon, and if the icon is obscured by a player dot, it considers it not there and the script terms.
No point doing a rewrite of FindFurnace, but just for people running this script, do it on a really empty world.
Apart from this, GREAT SCRIPT!

Sabzi

2010-01-09 12:56:09

No, there isn't any symbol finding at all. It searches for the big greyish furnace on the screen. Never had that problem before. And I know what the error means :). Thx for the proggy and the only thing I can suggest you is to set the graphics to lowest, 32 bit color, max brightness. Happens often to you?

EDIT: I have revealed quite some possibilities to make it better :). Currently the lvl up finding is broken(it's an srl function) so when you lvl up the script will just stand there.(although there is a time limit, but it's too big now, will make it a const or something)
Can you suggest me the approx smelting times? For example smelting 14 bronze bar takes 2 minute and so on.

Oh, almost forget the most important why I edit. I appreciate the account payton gave me to test.(credits ftw!)
Furnace finding works well.

JiveTonto@Gmail.com

2010-01-09 15:48:38

i can get it to do mroe than 20 odd loads befor it loggs out due to not finding the furnace or the bank.i have an account you can use pm me if u want to use it

Sabzi

2010-01-09 16:04:15

Are guys sure everything is set up correctly and you are up to date?
I don't need more account atm, but thanks.

So 1.3 is up. It compiles … This is the only thing I can say as I haven't tested it but I have made serious changes that may fail.

Oh and I am still curious:
From: Sabzi
Can you suggest me the approx smelting times? For example smelting 14 bronze bar takes 2 minute and so on.

JiveTonto@Gmail.com

2010-01-09 16:08:56

ok testing as of now (1.3) and will do some smelting times

I Rambozo I

2010-01-09 16:24:23

Might give this a try after I'm done with 99 fletching!

payton

2010-01-09 16:53:42

seems to get stuck sometimes for me. it walks to the furnace but stops toward the east side so the furnace is not completely showing and logs out saying oh my god in the debug.

Sabzi

2010-01-09 17:45:16

Thanks for that, just a coordinate to be changed. How level up recognizing and then starting the smelting again works? Total fail or not working? :D

JackF

2010-01-10 03:17:57

It happens every minute or so. Will try changing graphics. And I'm trying 1.3 in a min.

payton

2010-01-10 12:43:34

i am leaving for collage in a few hours so i can not test the script for long. but a load of 5 mith bars takes a little under 14 seconds from the time it clicks "smith 10" to pulling the last bar out.


something i would change is the wait time for the flag on the minimap to go down when returning to the bank, because if it clicks to far west, it will never go down and the player stands right next to the bankers doing nothing until it times out.

Payton

marpis

2010-01-10 13:31:47

I notice you are autocoloring bank booth but still you use tolerance 10 when finding it? :p
No point there. Either autocolor and tolerance 0 or pick a static color and use tolerance 10. Just a hint ;)

payton

2010-01-10 14:11:46

Script runtime: 1 Hours, 32 Minutes and 44 Seconds
[=============================]
[ sh ]
[ Active : True ]
[ Location : bank ]
[ Loads : 86 ]
[ XP gained : 12900 ]
[ XP/hr : 8417 ]
[ Lvlups : 0 ]
[ Xp to goal : 437186 ]
[ Bars made : 430 ]
[ Bars/hr : 281 ]
[ Breaks done : 0 ]
[ Smelting : mithril ]
[ Worked : 01h 3*m **s ]
[=============================]


working great…shut it down manually.

Payton

JackF

2010-01-10 15:04:49

[=========================]
[ kuma ]
[ Active : True ]
[ Location : bank ]
[ Loads : 12 ]
[ XP gained : 1890 ]
[ XP/hr : 7937 ]
[ Lvlups : 0 ]
[ Xp to goal : 3091958 ]
[ Hours to goal : 389 ]
[ Bars made : 108 ]
[ Bars/hr : 454 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[ Worked : 14m 17s ]
[=========================]
Lvld up!

So yes, it does mess up on level ups. Other than, all is good.

Sabzi

2010-01-10 15:55:56

From: marpis
I notice you are autocoloring bank booth but still you use tolerance 10 when finding it? :p
No point there. Either autocolor and tolerance 0 or pick a static color and use tolerance 10. Just a hint ;)


I have tested that with lots of tolerance/auto-color. Trust me, it's good. Too many similar colors are there so if I use only one color it wouldn't be accurate. On the other hand, using a static color with bigger tolerance would give bad results too. I have really tested it a lot with debugging the TPAs/ATPAs and this seems to be the best method. If you write me a better one I would implement it gladly :D. Without credits of course. Those codes belongs to me!!! Joking, just joking.

JiveTonto@Gmail.com

2010-01-10 23:59:04

script runtime: 27 Minutes and 48 Seconds
[=========================]
[ ihi ]
[ Active : True ]
[ Location : bank ]
[ Loads : 23 ]
[ XP gained : 3622 ]
[ XP/hr : 8083 ]
[ Lvlups : 0 ]
[ Xp to goal : 1783013 ]
[ Hours to goal : 220 ]
[ Bars made : 207 ]
[ Bars/hr : 462 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[ Worked : 26m 53s ]
[=========================]
[Runtime Error] : Out Of Range in line 527 in script

stoped as usual use to a randeom error

Sabzi

2010-01-11 08:38:45

From: JiveTonto@Gmail.com
script runtime: 27 Minutes and 48 Seconds
[=========================]
[ ihi ]
[ Active : True ]
[ Location : bank ]
[ Loads : 23 ]
[ XP gained : 3622 ]
[ XP/hr : 8083 ]
[ Lvlups : 0 ]
[ Xp to goal : 1783013 ]
[ Hours to goal : 220 ]
[ Bars made : 207 ]
[ Bars/hr : 462 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[ Worked : 26m 53s ]
[=========================]
[Runtime Error] : Out Of Range in line 527 in script

stoped as usual use to a randeom error


What is line 527 at you? As I am fixing the bugs in my version the lines are always different.

JackF

2010-01-16 11:28:42

For me it still doesn't find the furnace every 5 or so runs…. have done all that suggested but no luck.

Sabzi

2010-01-16 14:55:56

From: JackF
For me it still doesn't find the furnace every 5 or so runs…. have done all that suggested but no luck.


I haven't got any time during the week and I was out today. I will see what can I do tomorrow.

EDIT: I will dig up some of my army characters and will iron out the levelling bug. Other bugs are easy to fix.(I think now …)

swisspking

2010-01-19 15:30:35

My character just stands there after he lvled up. He writes he lvled up, but he doesn't move at all after that, I'll try to figure this out on my own. I'll edit this post if I got it :P

[edit]I didn't really know if i got it, as i haven't had a lvl up yet, but I got another problem (was mentioned earlier)
Runtime Error] : Out Of Range in line 527 in script C:\*\Scar 3.23\Scripts\Sabzi's Kharid Smelter v1.3.scar


That line is:
527: if Players.Strings[1] = 'r' then

Sabzi

2010-01-20 06:08:26

Uppppppppppppppppdate!
See change log.

Also I would be quiet happy if an advanced scripter would review the code.(not the breaking/switching part, it's messy but okay)
For example I have found out now that I did not freed a dtm up(there from v1). More eyes sees more and I don't want stupid mistakes like that.

Thanks for using, helping, posting proggies/bugs in advance!

OhDAMN: I forgot to do anything with the maxtime while you are smithing. What do you think the maximum can be? Like 2 minutes for 28 ores smelted? Currently it's 5 minutes.

payton

2010-01-20 13:09:13

I think it takes 1:31 from the time the first bar goes in to the time the 28th comes out so you could use 1:45 for the max time. are you going to use 1 max time for all bar types? you could set a max time per bar and have the script take that times 4, 9, 14, 28 or whatever to find the max time for the current load.

Payton

Sabzi

2010-01-20 13:34:29

From: payton
I think it takes 1:31 from the time the first bar goes in to the time the 28th comes out so you could use 1:45 for the max time. are you going to use 1 max time for all bar types? you could set a max time per bar and have the script take that times 4, 9, 14, 28 or whatever to find the max time for the current load.

Payton


Well, that would not effect the script too much so it's not a big problem anyway. I just forgot it. Will fix that with your idea((thx)you are already in the credits, amirite?) later when I got bigger things to do. (I am planning to make a form:stirthepot:)
Sadly I will got an operation soon(not a serious one, just a little) so I won't go to school in this week.

payton

2010-01-20 15:20:39

you need to lower the wait time from when it walks to the bank(and flag stays on mm) and when it clicks on banker. it is 5-10 seconds to long right now.

and you are right i am in the credits. thanks

Payton

Sabzi

2010-01-20 16:11:36

From: payton
you need to lower the wait time from when it walks to the bank(and flag stays on mm) and when it clicks on banker. it is 5-10 seconds to long right now.

and you are right i am in the credits. thanks

Payton


That wait is not because of my script. It's in SRl. But I may find something to work around that. Should be easy.

payton

2010-01-20 17:02:37

ok. have you been testing this with 1 player? for me after the first break it will just do 1 load then break again.

Payton

Sabzi

2010-01-20 17:12:18

From: payton
ok. have you been testing this with 1 player? for me after the first break it will just do 1 load then break again.

Payton


Hmmm… I had that problem before than sorted things but it seems I mucked up something not too long ago. I will surely investigate that too. But only expect things tomorrow as it's 23:12 here and I can't script now.

EDIT: I really appreciate that you are helping to make this a better script. Thx :)(must spread some rep to give you again …)

payton

2010-01-20 17:33:50

i just watched it do bronze bars for quite a while, and it seems to detect the level up's ok. but there are alot of random slow mouse movements accost the screen. to me this seems bot like because i usually check my exp, move mouse for next click, or do nothing at all with it. other than that and the breaks it seems to be a great script!

Payton

Sabzi

2010-01-21 03:37:01

From: payton
i just watched it do bronze bars for quite a while, and it seems to detect the level up's ok. but there are alot of random slow mouse movements accost the screen. to me this seems bot like because i usually check my exp, move mouse for next click, or do nothing at all with it. other than that and the breaks it seems to be a great script!

Payton


You can always edit the anti-ban if you don't like it. I do that too with other scripts. That's the great with scar(overall open source) scripts, that you can personalize them.

EDIT:
Ahh, do you remember when I said I have mucked versions up? And I have half of the things fixed in the version I uploaded and worked on and half of the fixes in an older version …
Well, the switching/breaking bug was fixed in the version I lost or whatever but I can't find it.(luckily the switching/breaking is the same as in SAC and that's the fixed one)
Now I will do something about waiting at the bank for the flag, then upload v1.6

Sabzi

2010-01-21 04:58:05

Double posting, but new version uploaded. And I am looking forward to fix new bugs :stirthepot:. Although, I hope there isn't any :).

p.s.: Sorry for double post :(

and for too much smiley …

JackF

2010-01-24 04:17:36

[=============================]
[ kum ]
[ Active : True ]
[ Location : bank ]
[ Loads : 116 ]
[ XP gained : 18270 ]
[ XP/hr : 7850 ]
[ Lvlups : 0 ]
[ Xp to goal : 12850391 ]
[ Hours to goal : 1636 ]
[ Bars made : 1044 ]
[ Bars/hr : 449 ]
[ Breaks done : 2 ]
[ Smelting : steel ]
[ Worked : 02h 19m 38s ]
[=============================]

Great! My char ran out of ores.

Sabzi

2010-01-24 04:34:22

From: JackF
[=============================]
[ *** ]
[ Active : True ]
[ Location : bank ]
[ Loads : 116 ]
[ XP gained : 18270 ]
[ XP/hr : 7850 ]
[ Lvlups : 0 ]
[ Xp to goal : 12850391 ]
[ Hours to goal : 1636 ]
[ Bars made : 1044 ]
[ Bars/hr : 449 ]
[ Breaks done : 2 ]
[ Smelting : steel ]
[ Worked : 02h 19m 38s ]
[=============================]

Great! My char ran out of ores.


Thx and if you don't mind I put that to the proggies in the first post as the first successful proggy not by me.

JackF

2010-01-26 12:26:48

Sure feel free :)

swisspking

2010-01-30 12:02:55

[=============================]
[ *** ]
[ Active : True ]
[ Location : bank ]
[ Loads : 251 ]
[ XP gained : 39532 ]
[ XP/hr : 7047 ]
[ Lvlups : 0 ]
[ Xp to goal : 12486478 ]
[ Hours to goal : 1771 ]
[ Bars made : 2259 ]
[ Bars/hr : 403 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[ Worked : 05h 36m 35s ]
[=============================]
Until
[05:55:13 PM] Something wrong with inventory. Location: Bank.


Best one I've had so far! :)
Great script. Breaking doesn't work properly I think, it keeps doing breaks after it hit the break time.

Sabzi

2010-01-30 15:50:19

From: swisspking
Best one I've had so far! :)
Great script. Breaking doesn't work properly I think, it keeps doing breaks after it hit the break time.


Nice proggy! Although I thought I have fixed the breaking bug. I will investigate it for sure.

Oh, and you ran out of ores, right? Or what happened?

swisspking

2010-01-31 07:11:17

Nah, I had enough ores to go on, but I'm sorry, I didn't watch it, was playing on my main. Was the first time when something like this happened though :)

WhiteShadow

2010-01-31 14:13:55

When I start the script it just keeps moving around the bank people, instead of opening the bank booth.

Maybe it's me though I haven't used SCAR in quite awhile… "/

Sabzi

2010-01-31 15:27:53

From: WhiteShadow
When I start the script it just keeps moving around the bank people, instead of opening the bank booth.

Maybe it's me though I haven't used SCAR in quite awhile… "/


Are you sure you got the latest scar/srl? Scar from svn too because just that got the fixed ocr.
Of course it can be the script. I haven't used this in a while.

WhiteShadow

2010-01-31 16:22:33

[PHP][ Active : True ]
[ Location : bank ]
[ Loads : 6 ]
[ XP gained : 945 ]
[ XP/hr : 9400 ]
[ Lvlups : 0 ]
[ Xp to goal : 172409 ]
[ Hours to goal : 18 ]
[ Bars made : 54 ]
[ Bars/hr : 537 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[ Worked : 06m 01s ]
[/PHP]

Getting SCAR 3.23 fixed it, thanks.

EDIT: It keeps saying "[01:43:53 PM] Failed while banking. Location: Bank?" When it's not lost at all. o_0

iJake

2010-02-09 12:25:57


[==========================]
[ Zezima ]
[ Active : True ]
[ Location : bank ]
[ Loads : 31 ]
[ XP gained : 4882 ]
[ XP/hr : 8224 ]
[ Lvlups : 1 ]
[ Xp to goal : 12997207 ]
[ Hours to goal : 1580 ]
[ Bars made : 279 ]
[ Bars/hr : 470 ]
[ Breaks done : 0 ]
[ Smelting : steel ]
[ Worked : 35m 36s ]
[==========================]

Missed the bank randomly; meh.

It works well; is quite fast (:

Sabzi

2010-02-09 13:07:36

Hell yea! See guys?! Even Zezima is using my script!!! :D
But tbh I totally forgot that I wanted to fix the breaking :S. And I can't do it now.

payton

2010-02-22 15:28:40

how is the breaking / multilayer working on this? everything else seems to be working nicely.

Payton

Sabzi

2010-02-22 16:02:26

From: payton
how is the breaking / multilayer working on this? everything else seems to be working nicely.

Payton


Breaking not working. I have made a fix a long ago but never posted it. I wanted to make some more tweak and then forget to even upload that …
I haven't tested it so far so I don't want to release it now and I still want to add more stuff. But I don't got the time for it. :(

FEAR

2010-02-23 11:42:19

Seems to work pretty well for me except that every time it stops is either because, it can't find/open the bank or sometimes char goes behind the furnace and can't find the furnace for some reason.

Sabzi

2010-02-23 11:47:31

From: FEAR
Seems to work pretty well for me except that every time it stops is either because, it can't find/open the bank I am pretty sure some color changed there because it was perfect and well tested.(seems an easy fix)
or sometimes char goes behind the furnace and can't find the furnace for some reason.Never happened before(maybe because I haven't tested after I changed some coords :D, very easy fix)


There are even more things to fix … :S
You guys telling me the problems is very nice and makes me to fix the script but the time … and laziness … :unsure:

raggdoll811

2010-02-26 12:24:07

Hey Sabzi!

Have you ever thought about implementing cannonball smithing?

I'd be willing to test it myself, or loan an account for testing!

nickienine

2010-02-26 15:44:29

I found that with the breaking, which i got pretty sick of ;P (especially with smelting addy bars i'd only get 60/run) that i just declare more players (i.e. the same player multiple times) and it would go pretty good for me. I get about 300 bars/run now.

Sabzi

2010-02-26 15:48:58

Okay, I will see what can I do at the weekend but no cannonballs. First I want to fix the current bugs. No rushing :p. But maybe. (very kindly about lending but I got p2p atm)

/adding cannon balls to to do list …

stein3

2010-04-21 14:38:41

just smelted me 125 mith bars, so 25 loads. Forgot to copy the proggy, but no problems from what I noticed.

Sabzi

2010-04-21 16:19:54

Funny and makes me happy it still works. However there are some unfixed flaw so be cautious.
Sadly I don't got enough time to maintain this script. Stupid learning.

stein3

2010-04-21 18:58:38

[PHP][==========================]
[ xxx ]
[ Active : True ]
[ Location : bank ]
[ Loads : 6 ]
[ XP gained : 900 ]
[ XP/hr : 8406 ]
[ Lvlups : 0 ]
[ Xp to goal : 12585003 ]
[ Hours to goal : 1497 ]
[ Bars made : 30 ]
[ Bars/hr : 280 ]
[ Breaks done : 0 ]
[ Smelting : mithril ]
[ Worked : 06m 25s ]
[==========================]
[03:26:49 PM] Timed out while smelting. Location: Furnace.

Script runtime: 15 Minutes and 18 Seconds
[==========================]
[ xxx ]
[ Active : True ]
[ Location : bank ]
[ Loads : 14 ]
[ XP gained : 2100 ]
[ XP/hr : 8353 ]
[ Lvlups : 0 ]
[ Xp to goal : 12585003 ]
[ Hours to goal : 1506 ]
[ Bars made : 70 ]
[ Bars/hr : 278 ]
[ Breaks done : 0 ]
[ Smelting : mithril ]
[ Worked : 15m 05s ]
[==========================]
[04:56:46 PM] Something wrong with inventory. Location: Bank.
Successfully executed
Script runtime: 56 Minutes and 37 Seconds
[==========================]
[ xxx ]
[ Active : True ]
[ Location : bank ]
[ Loads : 53 ]
[ XP gained : 7950 ]
[ XP/hr : 8463 ]
[ Lvlups : 0 ]
[ Xp to goal : 12585003 ]
[ Hours to goal : 1487 ]
[ Bars made : 265 ]
[ Bars/hr : 282 ]
[ Breaks done : 0 ]
[ Smelting : mithril ]
[ Worked : 56m 21s ]
[==========================]

[/PHP]
Runs 2 and 3 were stopped due to running out of ores Run 1 I paused the script and it broke when I resumed it :p.
Only problem is that it won't do the last load of ores, because it withdraws slot 1 of the bank (mith), but then the coal shifts over and it withdraws whatever fills in coal's place.

Sabzi

2010-04-22 09:36:19

From: nategr8ns

Runs 2 and 3 were stopped due to running out of ores Run 1 I paused the script and it broke when I resumed it :p.
Only problem is that it won't do the last load of ores, because it withdraws slot 1 of the bank (mith), but then the coal shifts over and it withdraws whatever fills in coal's place.


Thanks for the proggies.

When you pause a script the system time is still growing so as we use that to determinate the time spent it was detected that you was timed out while smelting. It will happen with any script that uses time checking.

Yeah, I didn't coded the script to do the last load. I thought that that 20 second is not much. So, it's pretty much expected :p.