Results 1 to 9 of 9

Thread: Need help with a Soulsplit Bot

  1. #1
    Join Date
    Mar 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need help with a Soulsplit Bot

    hey so im making my first bot. and im stuck on one thing. ive got fighting down flawlessly. so i need to know how to make it right click and select the Gold Charm becuase there is normaly 2 items so i just want it to pick up gold charm
    this is the pickup line atm

    Procedure Pickupdrop;
    begin
    wait(1000)
    if srl_infight = false then
    if(FindColorSpiralTolerance(x, y, GoldCharm, MSX1, MSY1, MSX2, MSY2, 5))then
    begin Mouse(x, y, 5, 5, true); //If found will Left-Click on the x, y coordinates with a randomness between 5 pixelend
    wait(1000)
    end;
    end;


    But that just clicks the top item and my inv gets filled up fast

    RELESEING WHEN FINISHED!
    Last edited by imdylan; 10-29-2012 at 04:08 AM.

  2. #2
    Join Date
    Mar 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Have a look at http://docs.villavu.com/simba/script...dkeyboard.html

    But i think what you want is

    Simba Code:
    ClickMouse(x + random(5), y + random (5), 0);

    I may be wrong though, try it.
    from: ClickMouse(x, y: Integer; clickType: Integer):

  3. #3
    Join Date
    Mar 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Ixilisi View Post
    Have a look at http://docs.villavu.com/simba/script...dkeyboard.html

    But i think what you want is

    Simba Code:
    ClickMouse(x + random(5), y + random (5), 0);

    I may be wrong though, try it.
    from: ClickMouse(x, y: Integer; clickType: Integer):
    what would i do with that i know how to make it right click i just need it to left lick on the gold charm option. any ideas?

  4. #4
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Mouse(x,y,3,3,Mouse_Right);
    WaitOption('Gold',300);

    Something like that

    Also, Don't make more than one topic/per problem
    Last edited by Daniel; 10-29-2012 at 04:25 AM.

  5. #5
    Join Date
    Mar 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NKN View Post
    Don't make more than one topic/per problem
    k sorry, just really on a deadline and need help

    Quote Originally Posted by NKN View Post
    Mouse(x,y,3,3,Mouse_Right);
    WaitOption('Gold',300);

    Something like that
    right clicks the gold charm but doesnt select it or click it?
    Last edited by Daniel; 10-29-2012 at 04:25 AM.

  6. #6
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Removed duplicate threads, merged posts and cleaned thread. Please do not do it again
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  7. #7
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by imdylan View Post
    k sorry, just really on a deadline and need help



    right clicks the gold charm but doesnt select it or click it?
    The default rs uptext doesn't work since it's private server. The simplest way (but possibly less reliable) to do this is to measure the y-distance between your click and the option you want it to choose, then after right clicking do something like:
    Simba Code:
    wait(RandomRange(100,200)); //wait for option menu
    GetMousePos(x,y); //declare x,y as integer;
    Mouse(x, y + dist, 5, 2, mouse_Left); //replace dist with the dist you measured

    The more advanced methods would be using OCR/bitmap/TPA to detect the option.

  8. #8
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    The default rs uptext doesn't work since it's private server. The simplest way (but possibly less reliable) to do this is to measure the y-distance between your click and the option you want it to choose, then after right clicking do something like:
    Simba Code:
    wait(RandomRange(100,200)); //wait for option menu
    GetMousePos(x,y); //declare x,y as integer;
    Mouse(x, y + dist, 5, 2, mouse_Left); //replace dist with the dist you measured

    The more advanced methods would be using OCR/bitmap/TPA to detect the option.
    as the drops pile up he wouldn't be picking up hold charms everytime though

  9. #9
    Join Date
    Jan 2012
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    DTM is his only solution

    follow this guide and use it to creat an image with the "gold charm"

    http://www.youtube.com/watch?v=SlS4q9MiFX4

    Good luck
    Last edited by marc2333; 11-05-2012 at 07:43 AM.

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
  •