[Release] Son Korsan Bot - RiddiBot

04/01/2013 23:11 passit12#1
Hello All,

I am releasing a Son Korsan bot; RiddiBot using SCAR Divi 3.22.
Current Version: V1.00

This is my first attempt at writing a bot, and the first version, which took me just under 3 hours.
Any errors please post them in this thread in a descriptive way.
Constructive criticism and advice is always welcome.

Can use more than one bot and use the PC at the same time if the user sets up a Virtual Machine (Look for guides online).

Video Preview:
[Only registered and activated users can see links. Click Here To Register...]
Please define your minimap location. This can be done using the Color Picker (Ctrl + P), it shall give you the coordinates in the output window.

Requires:
SCAR Divi 3.22.
Get it here: [Only registered and activated users can see links. Click Here To Register...]

Designed For (Currently):
non-PvP Maps as no reconnect when sunk.

Tested On:
- Chrome (Win7)
- Firefox (Win7)
- Waterfox (Win7)
- Safari (Win7)

Changelog:
Code:
RiddiBot V1.00:
- Release.
VirusTotal:
[Only registered and activated users can see links. Click Here To Register...]
04/01/2013 23:29 Elsastylez#2
Wow thank you very much. I test it now ;)

Virustotal from the scar
[Only registered and activated users can see links. Click Here To Register...]

Can you add a Tutorial with the HTTPBox ?
04/02/2013 00:03 passit12#3
Quote:
Originally Posted by Elsastylez View Post
Wow thank you very much. I test it now ;)

Virustotal from the scar
[Only registered and activated users can see links. Click Here To Register...]

Can you add a Tutorial with the HTTPBox ?
This bot uses Scar Divi 3.22 not HTTPBox, sorry about that.
Forgot to mention which software was required from that page :)
04/02/2013 00:39 Elsastylez#4
I get this error when I start the bot.

Quote:
Successfully compiled (27 ms)
Variables Set.
[Runtime Error] : Exception: Can't allocate the DIB handle in line 230 in script C:\Users\User1\folder\RiddiBotV1.00.scar
04/02/2013 00:53 passit12#5
Quote:
Originally Posted by Elsastylez View Post
I get this error when I start the bot.
Then I believe the minimap was declared incorrectly.
I shall record a video on how to set it up for future users :).

While you wait though, you select the color picker (Ctrl + P) then you click the top left of the minimap water.

In the output window of Scar you shall see something similar to Color Picked: 4613505 at (35, 135)
So in this case, mmx1:=35; and mmy1:=135;

Then you do the same, but this time click the bottom right of the mini map, and put the values into mmx2 and mmy2 (should be around 95 more than the first values).
04/02/2013 01:36 Elsastylez#6
Quote:
Originally Posted by liam161192 View Post
Then I believe the minimap was declared incorrectly.
I shall record a video on how to set it up for future users :).

While you wait though, you select the color picker (Ctrl + P) then you click the top left of the minimap water.

In the output window of Scar you shall see something similar to Color Picked: 4613505 at (35, 135)
So in this case, mmx1:=35; and mmy1:=135;

Then you do the same, but this time click the bottom right of the mini map, and put the values into mmx2 and mmy2 (should be around 95 more than the first values).
Thats right ?
[Only registered and activated users can see links. Click Here To Register...]

Edit:

This works:

Quote:
mmx1:=7967920; //Top Left of mm water X point (Integer)
mmy1:=7901096; //Top Left of mm water Y point (Integer)
mmx2:=7242140; //Bottom Right of mm water X point (Integer)
mmy2:=6257815; //Bottom Right of mm water Y point (Integer)
Quote:
Successfully compiled (28 ms)
Variables Set.
Player Not Found
Player At: 0, 0. In Quarter: 0
Player Not Found
Player At: 0, 0. In Quarter: 2
Moving to Quarter: 4 (Bottom Right)
Clicking: 6717902,7769595
But the courser does not move
04/02/2013 01:42 passit12#7
Quote:
Originally Posted by Elsastylez View Post
Thats right ?
It should look something like this:
mmx1:=34; //Top Left of mm water X point
mmy1:=135; //Top Left of mm water Y point
mmx2:=132; //Bottom Right of mm water X point
mmy2:=234; //Bottom Right of mm water Y point

They are my coordinates. Please view the second video I just posted in the 1st thread to find out how to get them.
04/02/2013 01:51 Elsastylez#8
Yes thanks. Now it works.

But he dont collecting the Chests.

[Only registered and activated users can see links. Click Here To Register...]
He only fly around the Map.
04/02/2013 02:01 passit12#9
Quote:
Originally Posted by Elsastylez View Post
Yes thanks. Now it works.

But he dont collecting the Chests.

He only fly around the Map.
Turn your shiny hunter on (next to the mini map)
I havent added auto turn on yet, that is probably in the next update.
04/02/2013 02:11 Elsastylez#10
Quote:
Originally Posted by liam161192 View Post
Turn your shiny hunter on (next to the mini map)
I havent added auto turn on yet, that is probably in the next update.
Now it works thanks.
I hope the bot can also shoot NPCs soon :)
04/05/2013 14:26 SeaManCDF#11
Dont catch glitters just look around
04/05/2013 15:09 passit12#12
Quote:
Originally Posted by SeaManCDF View Post
Dont catch glitters just look around
Because of the glitter animation, sometimes it will miss a glitter, or take a little longer to catch it. However, it will still catch the majority.

I am trying to think of a way to detect the glitter easier than it is currently :)
04/07/2013 10:36 aventure2009#13
COMPILER ERROR 63 UNKNOWN IDENTIFIER STDESKTOPASCLIENT ? =(
04/07/2013 10:39 passit12#14
Quote:
Originally Posted by aventure2009 View Post
COMPILER ERROR 63 UNKNOWN IDENTIFIER STDESKTOPASCLIENT ? =(
Make sure you are using the version Scar Divi 3.22.
04/07/2013 10:42 aventure2009#15
is scar divi 3.38