Results 1 to 13 of 13

Thread: Calculating

  1. #1
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default Calculating

    Need some help with this I'm a really newbie Scripter but I want this calculated everytime.



    It must be like this

    Writeln('We have collected xxxx already!');

    But... Yes there's always a but for questions as you see you recieve a random amount of DIL, how do I let SCAR read the amount I recieved?
    Last edited by Markus; 01-03-2011 at 08:25 PM. Reason: fixed tag

  2. #2
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    1,124
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Is there like an inventory you can check or is the only way to check that chatbox looking thing?

  3. #3
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    There's an inventory

    correction

    Writeln('We have collected xxxx+xxxx of other rounds already!');
    so it writes everytime what i've total earned + other rounds = total.

  4. #4
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    1,124
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    well regardless, you're going to need to make your own font for Simba to read. There should be a tutorial on that somewhere.

  5. #5
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Hmm I'm used a bit to SCAR and not Simba... I don't understand Simba very good they work a bit diffrent.

  6. #6
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    They really work the same, except Simba works better then SCAR.
    There used to be something meaningful here.

  7. #7
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Simba doesn't have MoveMouseSmooth(x, y); I noticed just MoveMouse ...
    Also with ClickMouse(0, 0, True); gives me all time en error.

    SCAR Code:
    program DekaronMoneyMaker;


    var
      Rounds: Integer;

    begin
    Repeat
    //Login
    MoveMouseSmooth(1148, 239);
    Wait(50+random(50));
    ClickMouse(1148, 239, True);
    Wait(120);
    MoveMouseSmooth(956, 809);
    Wait(50);
    ClickMouse(956, 809, True);
    Wait(11200);

    //Portal
    MoveMouseSmooth(958, 819);
    Wait(400);
    ClickMouse(958, 819, True);
    Wait(400);
    MoveMouseSmooth(818, 494);
    Wait(500);
    ClickMouse(818, 494, True);
    Wait(80+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    ClickMouse(818, 494, True);
    Wait(10+random(10));
    MoveMouseSmooth(624, 467);
    Wait(450);
    ClickMouse(624, 467, True);
    Wait(450);
    MoveMouseSmooth(904, 604);
    Wait(500);
    ClickMouse(904, 604, True);
    Wait(700);
    ClickMouse(904, 604, True);
    Wait(7000);

    //Chest 1
    Wait(30);
    SendKeys('m');
    MoveMouseSmooth(1051, 612);
    Wait(50);
    ClickMouse(1051, 612, True);
    Wait(50);
    SendKeys('m');
    Wait(50);
    MoveMouseSmooth(851, 727);
    Wait(50);
    ClickMouse(851, 727, True);
    Wait(50);
    ClickMouse(851, 727, True);
    Wait(600);
    SendKeys(Chr(32));
    Wait(500);

    //Chest 2


    SendKeys('m');
    MoveMouseSmooth(1052, 573);
    Wait(50);
    ClickMouse(1052, 573, True);
    Wait(50);
    SendKeys('m');
    Wait(50);
    MoveMouseSmooth(1166, 725);
    Wait(50);
    ClickMouse(1166, 725, True);
    Wait(50);
    ClickMouse(1166, 725, True);
    Wait(600);
    SendKeys(Chr(32));
    Wait(500);


    //Chest 3


    SendKeys('m');
    MoveMouseSmooth(1018, 573);
    Wait(50);
    ClickMouse(1018, 573, True);
    Wait(50);
    SendKeys('m');
    Wait(50);
    MoveMouseSmooth(1167, 716);
    Wait(50);
    ClickMouse(1167, 716, True);
    Wait(50);
    ClickMouse(1167, 716, True);
    Wait(600);
    SendKeys(Chr(32));
    Wait(500);


    //Chest 4
    SendKeys('m');
    MoveMouseSmooth(1026, 615);
    Wait(50);
    ClickMouse(1026, 615, True)
    Wait(50);
    SendKeys('m');
    Wait(50);
    MoveMouseSmooth(1169, 718);
    Wait(50);
    ClickMouse(1169, 718, True);
    Wait(50);
    ClickMouse(1169, 718, True);
    Wait(600);
    SendKeys(Chr(32));
    Wait(500);


    //Chest 5
    SendKeys('m');
    MoveMouseSmooth(994, 534);
    Wait(50);
    ClickMouse(994, 534, True);
    Wait(50);
    SendKeys('m');
    Wait(50);
    MoveMouseSmooth(1069, 720);
    Wait(100);
    ClickMouse(1069, 720, True);
    Wait(50);
    ClickMouse(1069, 720, True);
    Wait(600);
    SendKeys(Chr(32));
    Wait(70);
    SendKeys(Chr(32));
    Wait(500);


    //Chest 6
    SendKeys('m');
    MoveMouseSmooth(1076, 536);
    Wait(50);
    ClickMouse(1076, 536, True);
    Wait(50);
    SendKeys('m');
    Wait(50);
    MoveMouseSmooth(1153, 640);
    Wait(50);
    ClickMouse(1153, 640, True);
    Wait(50);
    ClickMouse(1153, 640, True);
    Wait(600);
    SendKeys(Chr(32));
    Wait(500);

    //Chest 7
    SendKeys('m');
    MoveMouseSmooth(1152, 573);
    Wait(50);
    ClickMouse(1152, 573, True);
    Wait(50);
    SendKeys('m');
    Wait(50);
    MoveMouseSmooth(1044, 445);
    Wait(50);
    ClickMouse(1044, 445, True);
    Wait(50);
    ClickMouse(1044, 445, True);
    Wait(600);
    SendKeys(Chr(32));
    Wait(500);


    //Logout

    KeyDown(27); Wait(50); KeyUp(27);
    KeyDown(27); Wait(50); KeyUp(27);
    MoveMousesmooth(959, 522);
    Wait(100);
    ClickMouse(959, 522, True);
    Inc(Rounds);
    Writeln('We have done ' + IntToStr(Rounds) + ' round(s)');
    Wait(17000);
    Until False;







    end.

    If you could make it Simba running, I woulda be happy.
    Last edited by Failure; 01-03-2011 at 08:50 AM.

  8. #8
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    You can use MMouse(x, y, randx, randy); which is in SRL include.
    There used to be something meaningful here.

  9. #9
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Stuff like MoveMouseSmooth is deprecated. You should use MoveMouse if you don't care about detectability; otherwise use MMouse from SRL. ClickMouse in Simba has a different parameter. See http://wizzup.org/simbadoc/scriptref...tml#clickmouse



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  10. #10
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    Stuff like MoveMouseSmooth is deprecated. You should use MoveMouse if you don't care about detectability; otherwise use MMouse from SRL. ClickMouse in Simba has a different parameter. See http://wizzup.org/simbadoc/scriptref...tml#clickmouse
    An example of the click would be nice so I can remember it cause it's a bit unclear to me.

  11. #11
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by Failure View Post
    An example of the click would be nice so I can remember it cause it's a bit unclear to me.
    ClickMouse(x, y, 1); // Will perform left click on x & y coordinates.

    As Wizzup stated, documentation is here: http://wizzup.org/simbadoc/scriptref...tml#clickmouse
    There used to be something meaningful here.

  12. #12
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Oke thanks, replaced all Simba works now

  13. #13
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Question is still open... I'll be using Simba from now on!

    Sorry for double post though, would be nice if someone could merge them together, had to reply so it's back up and people know that it isn't answered yet.

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
  •