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

Thread: [OGL] obsLividFarm

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

    Default [OGL] obsLividFarm

    Introduction:

    Apart from my obscurityLibraryUpload, this is my first public release. Because I usually just send scripts to friends and, therefore, don't usually worry about them being too user-friendly, this one follows suit.

    It is a basic Livid Farm bot. A friend asked me to write her one last night and, had it not been for a few bug caused by a RuneScape update, I'd have had it released then.

    This bot does nothing too spectacular. I've not yet added in the randoms, such as Murky Pat, the troll, etc. Don't worry, I will.



    Instructions:

    Set your player up with a mud staff, some astral runes, and some nature runes. Believe me, you're going to need a lot.

    Set your layout up however you'd like. I'd highly recommend something like this:


    Big interfaces on the bottom, small ones on the top. Once you've done this and are logged in, put yourself anywhere inside Livid Farm (preferable near the Diseased Livid) and press play.

    I've not had time to extensively test it, but ran it last night for 6 hours and seemed to work well (ran out of runes).

    Proggies and random events will come in the future.



    Required:

    This script requires that obscurityLibraryUpload be in your includes.



    Enjoy!

    obsLividFarm.simba




    Skype: obscuritySRL@outlook.com

  2. #2
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

  3. #3
    Join Date
    Jan 2014
    Posts
    147
    Mentioned
    7 Post(s)
    Quoted
    75 Post(s)

    Default

    I'm experiencing slight fps drops. Is that normal o.O?

  4. #4
    Join Date
    Dec 2014
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    thanks, I'll test it later

  5. #5
    Join Date
    Dec 2014
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    hey, where can I find this Demise/DemiseGLZ.Simba ?

  6. #6
    Join Date
    Dec 2014
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    some errors on a fresh install:

    Unknown declaration "mouseSpeed" at line 89
    Unknown declaration "smart" at lines 450,454-458

    I find changing to tsmart solves the smart part of the issue, but then I get an access violation :X

  7. #7
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    We can actually phase out DemiseGLZ, I don't think any function inside it is used anymore except for debugging @Obscurity.

    (VDebug)

    Try removing
    Simba Code:
    {$include_once Demise/DemiseGLZ.simba}
    from the top of obscurityLibraryUpload.simba, and see if obsLividFarm runs.
    Last edited by Clarity; 01-21-2015 at 07:08 PM.

  8. #8
    Join Date
    Dec 2014
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    commenting out the demise solved the error, but on smart, if I change this code:
    Code:
    {Setup SMART}
        smart.create(800,600,'',['OpenGL32.dll']);
        glxMapHooks(smart.ID);
    
        {Create credits}
        smart.__graphics.clear;
        smart.__graphics.DrawText('obsLividFarm','bigChars',point(11,11),1);
        smart.__graphics.DrawText('obsLividFarm','bigChars',point(10,10),clRed);
        smart.__graphics.DrawText('Developed by Obscurity','smallChars',point(11,41),1);
        smart.__graphics.DrawText('Developed by Obscurity','smallChars',point(10,40),clYellow);
    with this:
    Code:
    {Setup SMART}
        tsmart.create(800,600,'',['OpenGL32.dll']);
        glxMapHooks(tsmart.ID);
    
        {Create credits}
        tgraphics.clear;
        tgraphics.DrawText('obsLividFarm','bigChars',point(11,11),1);
        tgraphics.DrawText('obsLividFarm','bigChars',point(10,10),clRed);
        tgraphics.DrawText('Developed by Obscurity','smallChars',point(11,41),1);
        tgraphics.DrawText('Developed by Obscurity','smallChars',point(10,40),clYellow);
    I get an access violation error at GLX\Misc\Smart.Simba @ Line 30 : Self.__Width := Width;

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

    Default

    I'll slowly be adding things as I get time. Unfortunately today, I didn't have much so only made it randomize the curing the diseased livids and fertilize patch.

    Also, because runes temporarily disappear (flash) when the number of them you carry changes, if it scanned at that moment it'd see no runes and end the script. Since I only had limited time tonight, I just commented that check out.

    That said, for now, make sure you're carrying enough runes for the length of the trip you're expecting!




    Skype: obscuritySRL@outlook.com

  10. #10
    Join Date
    Jan 2014
    Posts
    147
    Mentioned
    7 Post(s)
    Quoted
    75 Post(s)

    Default



    That is what happens whenever the script is attempted to be run.

  11. #11
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

  12. #12
    Join Date
    Dec 2014
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    the glx installation is giving me a lot of access violation, can you make a video or something explaining how it is done ?

  13. #13
    Join Date
    Aug 2013
    Posts
    159
    Mentioned
    4 Post(s)
    Quoted
    90 Post(s)

    Default

    Grats on the release!

    I got really excited to see another farming script so I'm a little disappointed to see this tbh. Does Ashamans livid farm no longer work or is this for fun?

  14. #14
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Trollcrank View Post
    Grats on the release!

    I got really excited to see another farming script so I'm a little disappointed to see this tbh. Does Ashamans livid farm no longer work or is this for fun?
    Ashaman's only does the plants for farming XP and minimal points per hour. Use Ashaman's if you want 99 farming and that's it. This does every activity for optimal points per hour, agility, crafting, and construction XP. Useful for those looking to complete Livid Farm requirements.

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

    Default

    As Clarity said, only doing the patches and plants will grant a maximum of 120 produce per rotation.

    This one will do patches (60 produce), plants (60 produce), fences (40 produce), bunches (240 produce), and encourage (100 produce) - totaling 346 produce one rotation, and 260 the next rotation (bunches and encouraging are every-other rotation).




    Skype: obscuritySRL@outlook.com

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

    Default

    The errors above can be solved by downloading the newer Mouse.simba and Demise library. I'm in the process of removing the need for these entirely, however.




    Skype: obscuritySRL@outlook.com

  17. #17
    Join Date
    Nov 2014
    Posts
    33
    Mentioned
    3 Post(s)
    Quoted
    10 Post(s)

    Default

    Hi, just want to say that if anyone has an issue where the mouse clicks on random spots around the screen when it's supposed to be doing eg. fertilizing patches you should go into 3D World Editing and make sure the mainscreen is stretched all the way to the edges.

    Thanks to @Obscurity for helping me set everything up!
    Last edited by ignorant; 01-26-2015 at 10:37 PM.

  18. #18
    Join Date
    Jul 2014
    Location
    PNW
    Posts
    53
    Mentioned
    1 Post(s)
    Quoted
    31 Post(s)

    Default

    Where can I find the new Mouse.simba and Demise library? I am having the same issues as @sidneyok and am unable to get the script to run.

  19. #19
    Join Date
    Jan 2015
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by sidneyok View Post
    some errors on a fresh install:

    Unknown declaration "mouseSpeed" at line 89
    Unknown declaration "smart" at lines 450,454-458

    I find changing to tsmart solves the smart part of the issue, but then I get an access violation :X
    I am having this exact problem, and I can't figure out what the new Mouse.simba and Demise libraries are. Anyone?

  20. #20
    Join Date
    Dec 2011
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Is there going to be an update to obsLividFarm soon because I'm not too good with trying to fix the code currently.
    What I did so far was what Brandon did and replaced smart with var Smart: TSmart;
    What I'm having trouble with rn is the ObsCompassAngle.

  21. #21
    Join Date
    Jan 2015
    Location
    Straya
    Posts
    87
    Mentioned
    1 Post(s)
    Quoted
    34 Post(s)

    Default

    I am sorry for my noobiness... but for the life of me I can't get anything off the ground. I've downloaded your files and added them to the includes folder and plugins folder

  22. #22
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Pompus View Post
    I am sorry for my noobiness... but for the life of me I can't get anything off the ground. I've downloaded your files and added them to the includes folder and plugins folder
    Post screenshots/errors of what's going on? I'd be happy to help

  23. #23
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default

    To compile it you need to add somewhere:
    Simba Code:
    var mouseSpeed : integer;
        var smart:Tsmart;

    and change java.exe path in GLX/Misc/Smart.simba at line 46 to spawn smart.




    Also if you've downloaded new GLX, then in GLX/Mouse.simba you need to replace:

    Simba Code:
    Procedure Mouse(P: TPoint; RX, RY: Integer = 0; ClickType: Integer = Mouse_Move); overload;
    Begin
    Mouse(P.X, P.Y, RX, RY, ClickType);
    End;

    To:

    Simba Code:
    Procedure Mouse(P: TPoint; RX, RY: Integer; ClickType: Integer = Mouse_Move); overload;
    Begin
      Mouse(P.X, P.Y, RX, RY, ClickType);
    End;

    Procedure Mouse(P: TPoint; ClickType: Integer = Mouse_Move); overload;
    Begin
      Mouse(P.X, P.Y, 0, 0, ClickType);
    End;

    ,because with the new version every call to function Mouse() in script, which looked like
    Simba Code:
    Mouse(Point,clickType);
    was interpreted as:
    Simba Code:
    Mouse(Point,rx = clickType);

    took me about a hour to figure out, why script doesn't click on anything :P
    Last edited by bg5; 03-27-2015 at 10:49 PM.

  24. #24
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

  25. #25
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    I assume @Obscurity will upgrade this to the new ogLib when it is finished! We're phasing out obscurityLibrary for a more SRL-6 like set of includes
    Why don't you make it compatible with SRL-6 so you could use all neat mouse, math, login and other functions from this library ? Brandon's already introduced {$IFNDEF SRLCompatibility} to his GLX include. I'm new to ogl stuff and after discovering it's abilities I'm thinking about writing my own include.

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
  •