Page 2 of 2 FirstFirst 12
Results 26 to 34 of 34

Thread: [Need Testers] ogLib Pestcontrol Script

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

    Default

    @Adieux; Have you updated the original upload with the changes you made? Just asking cause the name didn't change.

  2. #27
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    180
    Mentioned
    14 Post(s)
    Quoted
    101 Post(s)

    Default

    Quote Originally Posted by Grimxxdeath223 View Post
    @Adieux; Have you updated the original upload with the changes you made? Just asking cause the name didn't change.
    Still working on it, decided to rewrite most of the script because of all the feed back and want this be working flawlessly before I release it.

    Currently just stuck on making sure the script clicks on the gangplank accurately every time. The model is so annoying to click so if anyone here would like to help me fix the clicking that would be awesome.
    Once I get that down I'll update this thread with a newer version for more feedback.

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

    Default

    So you got me the last 400 points I needed. Thanks for that, one suggestion. The bot does get stuck outside of game just southeast and terminates. Opposed to terminating the script you could have it check for the minigame icon - if its true then walk back towards plank.

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

    Default

    You don't assign anything to them. Just what I have there will work. Declare them as int32s, and then simply call glxViewPort(x,y,x,y);.




    Skype: obscuritySRL@outlook.com

  5. #30
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    180
    Mentioned
    14 Post(s)
    Quoted
    101 Post(s)

    Default

    Quote Originally Posted by Clutch View Post
    So you got me the last 400 points I needed. Thanks for that, one suggestion. The bot does get stuck outside of game just southeast and terminates. Opposed to terminating the script you could have it check for the minigame icon - if its true then walk back towards plank.
    aye im glad!
    I'd love to impliment this but I am still so noobie at ogLib. I know how to check for mini game but how would I make it walk back next to the plank? If you have an idea on how
    let me know and I'll ad it!

    Quote Originally Posted by Obscurity View Post
    You don't assign anything to them. Just what I have there will work. Declare them as int32s, and then simply call glxViewPort(x,y,x,y);.
    Ah ok so thats how you do it, and this fixes the issue where it doesn't click correctly when on a higher res?

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

    Default

    Quote Originally Posted by Adieux View Post
    aye im glad!
    I'd love to impliment this but I am still so noobie at ogLib. I know how to check for mini game but how would I make it walk back next to the plank? If you have an idea on how
    let me know and I'll ad it!



    Ah ok so thats how you do it, and this fixes the issue where it doesn't click correctly when on a higher res?
    I would have a check within your loop when outside of game -

    If clickPlankFail > 5 and ogl.getTextures(icon texture, icon texture color) then

    then do a tileWalk(x,y) or even do icon walk to the icon above.

    I'm at work but I think the minigame icon is the only one - but there are two so that'll be difficult getting the right one.

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

    Default

    Log in directly next to the plank. Or, play a game and spawn beside it.

    Get the coordinate of that spot:
    minimap.getLocalPoaition().debug();

    Hard code that coordinate into the script:
    Simba Code:
    if notInGame and notInBoat then
      if minimap.getLocalPosition().distamceFrom([12,34])>2 then
        mouse.click(minimap.getScreenPosition([12,34]));

    You get the idea.




    Skype: obscuritySRL@outlook.com

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

    Default

    Okay what Obscurity said then - alot more simple.
    Also something I did notice forgot to bring up - it'll sit outside of game because it is stuck thinking it is in combat. I'm sure could've ran it much longer if it wouldn't get stuck at that part.

  9. #34
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    180
    Mentioned
    14 Post(s)
    Quoted
    101 Post(s)

    Default

    Quote Originally Posted by Obscurity View Post
    Log in directly next to the plank. Or, play a game and spawn beside it.

    Get the coordinate of that spot:
    minimap.getLocalPoaition().debug();

    Hard code that coordinate into the script:
    Simba Code:
    if notInGame and notInBoat then
      if minimap.getLocalPosition().distamceFrom([12,34])>2 then
        mouse.click(minimap.getScreenPosition([12,34]));

    You get the idea.
    Thanks so much man, you've been super helpful. Will definitely add this into the script

Page 2 of 2 FirstFirst 12

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
  •