SRL Archive - First Scripts

CreativeSharks


BrettJ69

2014-06-25 15:07:22

This is my very first script, yes it is quite awful, I'm aware. For some reason I haven't been able to get my scripts to click on colors, but oh well.

I understand that this script is pretty shitty but it gets the job done, if anyone could point me in the right direction for learning to click on colors in Simba, I'd really appreciate it.

Notes:
1. This is for use on the CreativeScape private server.
2. Begin at the ::fish bank, while using the southernmost bank booth.
3. Begin by facing directly north (click the compass in top right), and hold up on keyboard to give most aerial view.
4. Start script.


program new;
begin
ActivateClient;
MoveMouse(703, 74);
Wait(500);
ClickMouse(703, 74, 1);
Wait(7000);
MoveMouse(376, 173);
Wait(250);
ClickMouse(376, 173, 1);
Wait(2500);
MoveMouse(306, 171);
Wait(250);
ClickMouse(306, 171, mouse_right);
Wait(250);
MoveMouse(304,212);
Wait(250);
ClickMouse(304, 212, 1);
Wait(150000);
MoveMouse(586, 96);
Wait(250);
ClickMouse(586, 96, 1);
Wait(7500);
MoveMouse(66, 161);
Wait(250);
ClickMouse(66, 161, 1);
Wait(2500);
MoveMouse(624, 227);
Wait(250);
ClickMouse(624, 227, mouse_right);
Wait(250);
MoveMouse(618, 298);
Wait(250);
ClickMouse(618, 298, 1);
Wait(1000);
end.

KeepBotting

2014-06-25 15:17:10

Try experimenting with FindColor if you want to click colors instead of points

BrettJ69

2014-06-25 15:22:32

From: KeepBotting
Try experimenting with FindColor if you want to click colors instead of points


I tried so many times! I just couldn't seem to get it to work, not sure why.

KeepBotting

2014-06-25 15:24:05

From: BrettJ69
I tried so many times! I just couldn't seem to get it to work, not sure why.


What wasn't working?

Wetish

2014-06-25 15:30:06

Here is a great tutorial that should help you out.

https://villavu.com/forum/showthread.php?t=94909

BrettJ69

2014-06-25 15:36:21

From: KeepBotting
What wasn't working?

Using FindColor to select the colors instead of having to click on points, just had to make it work with coordinates.

@Wetish,
Thank you for the link, checking it out right now. This should help me out quite a bit!