SRL Archive - Other Scripts

Calculating


Failure

2011-01-03 03:08:24

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?

Capricorn

2011-01-03 03:11:55

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

Failure

2011-01-03 03:18:08

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.

Capricorn

2011-01-03 03:25:18

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

Failure

2011-01-03 03:27:00

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

Frement

2011-01-03 03:34:36

They really work the same, except Simba works better then SCAR.

Failure

2011-01-03 03:46:08

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

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.

Frement

2011-01-03 04:11:24

You can use MMouse(x, y, randx, randy); which is in SRL include.

Wizzup?

2011-01-03 04:18:06

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/mouseandkeyboard.html#clickmouse

Failure

2011-01-03 04:24:45

From: Wizzup?
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/mouseandkeyboard.html#clickmouse


An example of the click would be nice so I can remember it cause it's a bit unclear to me.

Frement

2011-01-03 04:29:03

From: Failure
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/mouseandkeyboard.html#clickmouse

Failure

2011-01-03 05:44:26

Oke thanks, replaced all Simba works now :)

Failure

2011-01-08 14:56:06

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. :)