Page 1 of 2 12 LastLast
Results 1 to 25 of 33

Thread: [OGL] Alcher

  1. #1
    Join Date
    May 2006
    Location
    Belgium
    Posts
    36
    Mentioned
    10 Post(s)
    Quoted
    10 Post(s)

    Default [OGL] Alcher

    [OGL] Alcher

    This script alches whatever you want.

    Extra features

    • Choose any inventory slot
    • Can do multiple slots in a row
    • Works at various resolutions
    • Reports progress
    • Automatically updates


    Installation

    The easiest way is to download the ChaosUpdater script below and run it. It should have OGLAlcher added to the scripts array which makes it download the latest version for you. You can also download or clone the script from GitHub manually. Remember that you also need the cLib include for this script to work. If you're downloading the script manually you'll have to download this include manually as well from this thread.

    Known bugs

    None

    Changelog

    Progress Reports
    Progress Report:
    =========================================
    Running for: 2h 50m
    Alch casts: 2873
    Alch casts per hour: 1011
    Experience earned: 195871
    Experience per hour: 68955
    =========================================
    Finished alching 2879 items.
    Logging out...
    Successfully executed.
    
    =========================================
    Running for: 0h 10m
    Alch casts: 172
    Alch casts per hour: 975
    Experience earned: 14826
    Experience per hour: 84071
    =========================================
    
    =========================================
    Running for: 3h 59m
    Alch casts: 3985
    Alch casts per hour: 996
    Experience earned: 265830
    Experience per hour: 66467
    =========================================
    
    =========================================
    Running for: 0h 44m
    Alch casts: 725
    Alch casts per hour: 977
    Experience earned: 47060
    Experience per hour: 63470
    =========================================
    
    =========================================
    Running for: 3h 27m
    Alch casts: 3633
    Alch casts per hour: 1052
    Experience earned: 247893
    Experience per hour: 71825
    =========================================
    
    =========================================
    Running for: 2h 32m
    Alch casts: 2444
    Alch casts per hour: 959
    Experience earned: 152465
    Experience per hour: 59881
    =========================================
    
    =========================================
    Running for: 3h 1m
    Alch casts: 2956
    Alch casts per hour: 974
    Experience earned: 199068
    Experience per hour: 65634
    =========================================
    
    =========================================
    Running for: 3h 2m
    Alch casts: 2984
    Alch casts per hour: 980
    Experience earned: 207692
    Experience per hour: 68216
    =========================================
    
    =========================================
    Running for: 11h 41m
    Alch casts: 12459
    Alch casts per hour: 1065
    Experience earned: 812611
    Experience per hour: 69516
    =========================================
    Attached Files Attached Files
    Last edited by Chaos-Energy; 07-15-2015 at 11:29 PM. Reason: Added proggy

  2. #2
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    Oh my God, dude. You're on a roll!




    Skype: obscuritySRL@outlook.com

  3. #3
    Join Date
    Apr 2015
    Location
    FireFox
    Posts
    528
    Mentioned
    10 Post(s)
    Quoted
    227 Post(s)

    Default

    Geesh, you're putting us to shame with your speedy releases! How long does it generally take you to complete a script from scratch?
    Scripting with ogLib

  4. #4
    Join Date
    May 2006
    Location
    Belgium
    Posts
    36
    Mentioned
    10 Post(s)
    Quoted
    10 Post(s)

    Default

    It doesn't take too long, most scripts I released lately have been pretty simple and most importantly don't require walking. I get to re-use a lot of code due to the general idea being the same every single time and using my library also saves me a lot of time. I don't really pay attention to the time I spend on them but I suppose this script would've taken about 30-45 minutes. I also made a Lumbridge spinner earlier today which took a bit longer because it requires walking and moving between floors.

    Also, ogLib makes the most annoying part about scripting extremely easy and fast. There's no messing around with finding the correct color and tolerance or using DTMs which used to take me a lot of time to do somewhat right. If I ask ogLib for a model or a texture I know I'm getting the actual thing I want and not some background decoration.

    The most time I spend on my scripts is probably finding the correct IDs for all the models/textures and having to deal with the access violation errors and Simba sometimes locking up entirely.

  5. #5
    Join Date
    Mar 2014
    Location
    East Coast, USA
    Posts
    291
    Mentioned
    10 Post(s)
    Quoted
    148 Post(s)

    Default

    Quote Originally Posted by Chaos-Energy View Post
    [OGL] Alcher

    This script alches whatever you want.

    Extra features

    • Choose any inventory slot
    • Works at various resolutions
    • Reports progress
    • Automatically updates


    Installation

    The easiest way is to download the ChaosUpdater script below and run it. It should have OGLAlcher added to the scripts array which makes it download the latest version for you. You can also download or clone the script from GitHub manually. Remember that you also need the cLib include for this script to work. If you're downloading the script manually you'll have to download this include manually as well from this thread.

    Known bugs

    None

    Changelog

    Code:
    =========================================
    Running for: 2h 50m
    Alch casts: 2873
    Alch casts per hour: 1011
    Experience earned: 195871
    Experience per hour: 68955
    =========================================
    Finished alching 2879 items.
    Logging out...
    Successfully executed.
    Just an FYI, it doesn't have OGLAlcher in the scripts array

    EDIT: I guess I should have also I added that I just manually put it in there and got it to download

    EDIT2: Here is a small progress report. Just wanted to test it out. Works pretty well for the 10 minutes I had it going. I changed the output time of the report so I could get a quicker update on the alchs per hour. Also, you might want to add a clear debug before it posts the new report? It seemed to be filling up the debug window a good amount even at the default output time. Just my 2 cents, cheers on making this though. I will have something longer tomorrow.

    =========================================
    Running for: 0h 10m
    Alch casts: 172
    Alch casts per hour: 975
    Experience earned: 14826
    Experience per hour: 84071
    =========================================

  6. #6
    Join Date
    Mar 2015
    Posts
    438
    Mentioned
    21 Post(s)
    Quoted
    211 Post(s)

    Default

    Quote Originally Posted by Grimxxdeath223 View Post
    Just an FYI, it doesn't have OGLAlcher in the scripts array

    EDIT: I guess I should have also I added that I just manually put it in there and got it to download

    EDIT2: Here is a small progress report. Just wanted to test it out. Works pretty well for the 10 minutes I had it going. I changed the output time of the report so I could get a quicker update on the alchs per hour. Also, you might want to add a clear debug before it posts the new report? It seemed to be filling up the debug window a good amount even at the default output time. Just my 2 cents, cheers on making this though. I will have something longer tomorrow.

    =========================================
    Running for: 0h 10m
    Alch casts: 172
    Alch casts per hour: 975
    Experience earned: 14826
    Experience per hour: 84071
    =========================================
    This ^

    Also...
    Running for: 3h 59m
    Alch casts: 3985
    Alch casts per hour: 996
    Experience earned: 265830
    Experience per hour: 66467
    =========================================

    Only 6K more Air Battlestaffs to high-alch!

  7. #7
    Join Date
    Mar 2014
    Location
    East Coast, USA
    Posts
    291
    Mentioned
    10 Post(s)
    Quoted
    148 Post(s)

    Default

    So this randomly happened...
    =========================================
    Running for: 0h 44m
    Alch casts: 725
    Alch casts per hour: 977
    Experience earned: 47060
    Experience per hour: 63470
    =========================================
    Oops! It appears I have crashed.
    Successfully executed.

    Not sure why this happened, it was running all smooth and everything. Guess I just have to start it up again.

  8. #8
    Join Date
    May 2006
    Location
    Belgium
    Posts
    36
    Mentioned
    10 Post(s)
    Quoted
    10 Post(s)

    Default

    First of all, thanks for the progress reports everyone! They've been added to the original post.

    Next, I've uploaded the correct ChaosUpdater, this one should have OGLAlcher in the array. I've also changed the script to clear the debug before every progress report.

    As for Grimxxdeath223's error: I think that might've been caused by investigating a meteorite. I've updated the function in cLib so hopefully the script won't crash anymore because of that.

  9. #9
    Join Date
    Mar 2014
    Location
    East Coast, USA
    Posts
    291
    Mentioned
    10 Post(s)
    Quoted
    148 Post(s)

    Default

    Quote Originally Posted by Chaos-Energy View Post
    First of all, thanks for the progress reports everyone! They've been added to the original post.

    Next, I've uploaded the correct ChaosUpdater, this one should have OGLAlcher in the array. I've also changed the script to clear the debug before every progress report.

    As for Grimxxdeath223's error: I think that might've been caused by investigating a meteorite. I've updated the function in cLib so hopefully the script won't crash anymore because of that.
    Question, is there antiban in this that would make it just stop high alching for a period of time? Reason I ask is I know this can get roughly 985 alchs an hour, but maybe 10 to 20 minutes in, the counter will say it is at 500ish alchs an hour. And if I sit there and watch it, it isn't alching anything. Stopping and starting the script will clear this up but I was just curious.

    EDIT: There also seems to be a lot of camera turning as well when I watch it not alch, haha.

  10. #10
    Join Date
    May 2006
    Location
    Belgium
    Posts
    36
    Mentioned
    10 Post(s)
    Quoted
    10 Post(s)

    Default

    If you want less camera movement you can change the number on line 88 to something bigger. The reason why it stops alching sometimes is an annoying bug with SMART where key events suddenly don't seem to work anymore. Once you press some keys yourself it seems to start working again.

  11. #11
    Join Date
    Mar 2014
    Location
    East Coast, USA
    Posts
    291
    Mentioned
    10 Post(s)
    Quoted
    148 Post(s)

    Default

    Quote Originally Posted by Chaos-Energy View Post
    If you want less camera movement you can change the number on line 88 to something bigger. The reason why it stops alching sometimes is an annoying bug with SMART where key events suddenly don't seem to work anymore. Once you press some keys yourself it seems to start working again.
    AHHHH, okay. Thank you for clearing that up for me.

    EDIT: I changed the value on line 88 to 987 and it seems to be going smoother for me right now. I will post anything I come across.

    EDIT2:

    =========================================
    Running for: 2h 32m
    Alch casts: 2444
    Alch casts per hour: 959
    Experience earned: 152465
    Experience per hour: 59881
    =========================================

    EDIT3: I should hopefully have something a bit longer in a few hours (I am slowly making money and buying a bit more each time)

    EDIT4: Here is another.

    =========================================
    Running for: 3h 1m
    Alch casts: 2956
    Alch casts per hour: 974
    Experience earned: 199068
    Experience per hour: 65634
    =========================================

  12. #12
    Join Date
    Mar 2014
    Location
    East Coast, USA
    Posts
    291
    Mentioned
    10 Post(s)
    Quoted
    148 Post(s)

    Default

    I didn't want to double post but my previous post was getting too big. It is working really well. Sometimes it will click a little too quickly on the interface for the meteorite and fail at first but then does it again and works. Sometimes when I start the script up and it was already open, it will say it downloaded a new version when it didn't do that at all (I just press play again and everything is fine. But my one question is, can you make it so I can say alch slots 1, 2, 3...? Sometimes I will have other items to alch and it would be nice to be able to just tell the script to do those slots instead of doing it for 100 items, then having to reset the script for the next slot and so on.

    =========================================
    Running for: 3h 2m
    Alch casts: 2984
    Alch casts per hour: 980
    Experience earned: 207692
    Experience per hour: 68216
    =========================================

  13. #13
    Join Date
    May 2006
    Location
    Belgium
    Posts
    36
    Mentioned
    10 Post(s)
    Quoted
    10 Post(s)

    Default

    Thanks for all the reports. I've just pushed version 1.1.0 online which has the option to setup alchemy tasks so you can do multiple items in a row.

  14. #14
    Join Date
    Mar 2014
    Location
    East Coast, USA
    Posts
    291
    Mentioned
    10 Post(s)
    Quoted
    148 Post(s)

    Default

    Here is a report using the latest version. Sorry they are not long, the things I am alching are high up in price which means I can only by so many of them. The meteorite was flawless and if I had to make any suggestion... maybe add in skill checking into the antiban? Beside that this is pretty damn smooth.

    =========================================
    Running for: 3h 24m
    Alch casts: 3358
    Alch casts per hour: 986
    Experience earned: 238199
    Experience per hour: 70005
    =========================================

  15. #15
    Join Date
    Mar 2014
    Location
    East Coast, USA
    Posts
    291
    Mentioned
    10 Post(s)
    Quoted
    148 Post(s)

    Default

    Here is a report with version 1.1.1 I believe it is. MY ONLY SUGGESTION, and it really is nothing and you don't even have to acknowledge it, maybe in the top line right ============OGLalcher Version (Put version number here)============, that is my two cents though.

    =========================================
    Running for: 3h 26m
    Alch casts: 3387
    Alch casts per hour: 985
    Experience earned: 231056
    Experience per hour: 67197
    =========================================

  16. #16
    Join Date
    Apr 2007
    Location
    In My Secret Lair of Secretness...
    Posts
    112
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default

    Quote Originally Posted by Grimxxdeath223 View Post
    Here is a report using the latest version. Sorry they are not long, the things I am alching are high up in price which means I can only by so many of them. The meteorite was flawless and if I had to make any suggestion... maybe add in skill checking into the antiban? Beside that this is pretty damn smooth.

    =========================================
    Running for: 3h 24m
    Alch casts: 3358
    Alch casts per hour: 986
    Experience earned: 238199
    Experience per hour: 70005
    =========================================
    Add

    Simba Code:
    removed

    That in after ln94 (creating ln95-99) and that will give you what you want.

    @Chaos, haven't had a chance to use the script yet (gotta rebuild the stack so I can invest in battlestaffs), but it looks great! Keep it up
    Jesus loves you

  17. #17
    Join Date
    Jun 2014
    Posts
    463
    Mentioned
    27 Post(s)
    Quoted
    229 Post(s)

    Default

    Quote Originally Posted by Emarian View Post
    Add

    Simba Code:
    2:  begin
    tabStats.getSkillLevel(SKILL_MAGIC);
    hoverSkill(SKILL_MAGIC);
    wait(gaussRangeInt(1500,5000));
    end;

    That in after ln94 (creating ln95-99) and that will give you what you want.

    @Chaos, haven't had a chance to use the script yet (gotta rebuild the stack so I can invest in battlestaffs), but it looks great! Keep it up
    I believe that's for SRL-6
    Tsunami

  18. #18
    Join Date
    Apr 2007
    Location
    In My Secret Lair of Secretness...
    Posts
    112
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default

    Quote Originally Posted by Lucidity View Post
    I believe that's for SRL-6
    Dang, I apologize. I only recently came back to the scene, and I've never messed with these new third party libraries. OgLib, Aero, etc is all new to me and I have yet to study into them. I didn't even think about it. SRL is still like instinct to me at the moment.

    *Facepalm*

    EDIT:
    Removed code
    Jesus loves you

  19. #19
    Join Date
    Jul 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Whenever i try launch any of your scripts, cLib gives an error.
    When i try launch the OGLAlcher i get the error

    'Error: Unknown declaration "hasChooseATool" at line 428'
    Line 428: if (self.hasProduction()) and (not self.hasChooseATool()) and (not self.hasProgress()) then

    Is this just local to me or is it a known bug?

    Is there a fix for this?

  20. #20
    Join Date
    May 2006
    Location
    Belgium
    Posts
    36
    Mentioned
    10 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by MissMelokovich View Post
    Whenever i try launch any of your scripts, cLib gives an error.
    When i try launch the OGLAlcher i get the error

    'Error: Unknown declaration "hasChooseATool" at line 428'
    Line 428: if (self.hasProduction()) and (not self.hasChooseATool()) and (not self.hasProgress()) then

    Is this just local to me or is it a known bug?

    Is there a fix for this?
    Apparently there was a rewrite of the production functions of ogLib. I've updated cLib to work with the new update so if you update cLib it should work again. You might have to update manually though (or use ChaosUpdater).

  21. #21
    Join Date
    Jul 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Chaos-Energy View Post
    Apparently there was a rewrite of the production functions of ogLib. I've updated cLib to work with the new update so if you update cLib it should work again. You might have to update manually though (or use ChaosUpdater).
    I've updated cLib both manually and with the use of ChaosUpdater to no avail im still being slammed with the same error, now im still receiving the same error, i also have tried re-installing simba completely (Wiping all files affiliated with Simba) to no avail. Are you sure the update went live when you updated it? ill attach a pastebin with my cLib on it.

    cLib - pastebin.com/TmBrQmTJ

  22. #22
    Join Date
    May 2006
    Location
    Belgium
    Posts
    36
    Mentioned
    10 Post(s)
    Quoted
    10 Post(s)

    Default

    Oh god I forgot to push it, sorry about that.

  23. #23
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I must be doing something wrong,

    If i start the script with out a client on, It loads one however doesnt log in.
    If i start the script logged in, it does nothing.

    I have it set to RS3 default

  24. #24
    Join Date
    Jun 2014
    Posts
    463
    Mentioned
    27 Post(s)
    Quoted
    229 Post(s)

    Default

    Quote Originally Posted by me_ntal View Post
    I must be doing something wrong,

    If i start the script with out a client on, It loads one however doesnt log in.
    If i start the script logged in, it does nothing.

    I have it set to RS3 default
    Add my skype : Thugblytas

    I'd be more than happy to assist with you with oglib =)
    Tsunami

  25. #25
    Join Date
    Mar 2014
    Location
    East Coast, USA
    Posts
    291
    Mentioned
    10 Post(s)
    Quoted
    148 Post(s)

    Default

    =========================================
    Running for: 4h 52m
    Alch casts: 4844
    Alch casts per hour: 992
    Experience earned: 312412
    Experience per hour: 63994
    =========================================

    No issues to report minus it sometimes starting to alch and then getting stuck, but you already explained what that issue is so I call it flawless

Page 1 of 2 12 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
  •