Page 1 of 3 123 LastLast
Results 1 to 25 of 75

Thread: [SKS] Sabzi's Kharid Smelter

  1. #1
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default [SKS] Sabzi's Kharid Smelter

    [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:
    Code:
    -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
         - Lots of 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.
    Last edited by Sabzi; 07-13-2010 at 03:02 PM.

  2. #2
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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 Code:
    [=============================]
    [             ***             ]
    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 ]
    [=============================] 
    A proggy by me:
    PHP Code:
    Script runtime3 Hours12 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       ]
    [=============================] 
    A proggy by JackF:
    PHP Code:
    [=============================]
    [             ***             ]
    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
    Last edited by Sabzi; 01-30-2010 at 08:54 PM. Reason: proggy post

  3. #3
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    PHP Code:
    Script runtime56 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 PMWalking failedLocationBetween furnace -> bank. [2/2]
    Successfully executed 
    It got a prison pete. I wasnt around, so it failed.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  4. #4
    Join Date
    Apr 2008
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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 ]
    [=========================]

  5. #5
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by JonathanHan View Post
    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.

  6. #6
    Join Date
    Dec 2006
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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....

  7. #7
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by psychoson View Post
    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.

  8. #8
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  9. #9
    Join Date
    Aug 2009
    Posts
    155
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

    Payton

  10. #10
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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 .

  11. #11
    Join Date
    Aug 2009
    Posts
    155
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  12. #12
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by payton View Post
    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.

  13. #13
    Join Date
    Dec 2009
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  14. #14
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by JackF View Post
    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!

  15. #15
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    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

  16. #16
    Join Date
    Dec 2009
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  17. #17
    Join Date
    Aug 2009
    Posts
    155
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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

  18. #18
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by payton View Post
    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 Code:
    Script runtime24 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 ]
    [=========================] 
    Very nice work Ran out of ore
    Last edited by marpis; 01-08-2010 at 08:54 PM.

  19. #19
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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 .

    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 . Stupid me.

    Facepalm edit: Actually I have uploaded v1.0 again with just some fixes . 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 . Now it compiles and should be everything sorted out. Report bugs/problems/anything or maybe some good proggy?
    Last edited by Sabzi; 01-08-2010 at 08:15 PM.

  20. #20
    Join Date
    Aug 2009
    Posts
    155
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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 ]
    Last edited by payton; 01-08-2010 at 08:56 PM.

  21. #21
    Join Date
    Dec 2009
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  22. #22
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Sabzi View Post

    @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 .
    well i was single palyer but it was taking breaks every 12 minute or something like that

  23. #23
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by JackF View Post
    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.

  24. #24
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @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?
    Last edited by Sabzi; 01-09-2010 at 10:18 AM.

  25. #25
    Join Date
    Dec 2009
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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!

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •