[Release] RBonusMapBot

09/27/2013 15:09 passit12#121
Quote:
Originally Posted by elvis_arg View Post
I clear the cache but the problem persist. why my mini map looks different from yours? I use de arkibot and works great
When the mini map looks different from my mini map (the one posted in the first post) it will not be able to find it.
However, upon thinking about it, it is not displaying anything after HP, so i assume you have set up manual define for the mini map, seachart and rep button?

Quote:
Originally Posted by sm838 View Post
no apologies my friend, you have a life. thank you for trying to make a new bot. i am just really impatient for this bot as it seems the best from all the characteristics that I have read!!
I will try my best to fix this problem for everyone, but to be honest, im finding it hard to think of and find a solution that works.
However, i will keep on trying. :)

Quote:
Originally Posted by BlameItOnTheMusic View Post
would be nice if you could also add gold cannons :)
I will not add gold cannons as the Range would be impossible. Maybe i will add an option so it will not range npcs though.




@Everyone
Upon some testing last night, it seems the repair/reconnect button colour has changed again when located over islands. I will add the new colours later.
09/27/2013 15:22 elvis_arg#122
Originally Posted by elvis_arg View Post
I clear the cache but the problem persist. why my mini map looks different from yours? I use de arkibot and works great
When the mini map looks different from my mini map (the one posted in the first post) it will not be able to find it.
However, upon thinking about it, it is not displaying anything after HP, so i assume you have set up manual define for the mini map, seachart and rep button?


yes, I configured manually since it gives me error when executing the scrip, says this ...

HP has been found at 192.251

Seachart AutoDefined: x1 = 400, y1 = 174, x2 = 1199, y2 = 760.
If your Seachart is NOT at this position, please use manual defines.

MiniMap AutoDefined: x1 = 1333, y1 = 192, x2 = 1422, y2 = 281
If your MiniMap is NOT at this position, please use manual defines.

RepButton AutoDefined: repx = 720, = 828 repy
If your RepButton is NOT at this position, please use manual defines.

successfully Executed

the scrip so I have to run before or after entering the bonus map?
09/27/2013 15:27 passit12#123
Quote:
Originally Posted by elvis_arg View Post
Originally Posted by elvis_arg View Post
I clear the cache but the problem persist. why my mini map looks different from yours? I use de arkibot and works great
When the mini map looks different from my mini map (the one posted in the first post) it will not be able to find it.
However, upon thinking about it, it is not displaying anything after HP, so i assume you have set up manual define for the mini map, seachart and rep button?


yes, I configured manually since it gives me error when executing the scrip, says this ...

HP has been found at 192.251

Seachart AutoDefined: x1 = 400, y1 = 174, x2 = 1199, y2 = 760.
If your Seachart is NOT at this position, please use manual defines.

MiniMap AutoDefined: x1 = 1333, y1 = 192, x2 = 1422, y2 = 281
If your MiniMap is NOT at this position, please use manual defines.

RepButton AutoDefined: repx = 720, = 828 repy
If your RepButton is NOT at this position, please use manual defines.

successfully Executed

the scrip so I have to run before or after entering the bonus map?

That is not an error. Does the script work for you like this if you just leave it?
09/27/2013 15:52 elvis_arg#124
Quote:
Originally Posted by xRiDDi View Post
That is not an error. Does the script work for you like this if you just leave it?
yesssss, thanks soooooooo muchhhhhhh :)
09/27/2013 16:24 Gohunther#125
ich habe bei diesen Script genau das gleiche Problem wie bei den Raidbot dort steht immer als fehler die line wo HouresToRun steht wie kann ich dieses beheben?
09/27/2013 17:30 Havelock_Vetinari#126
Quote:
Originally Posted by Gohunther View Post
ich habe bei diesen Script genau das gleiche Problem wie bei den Raidbot dort steht immer als fehler die line wo HouresToRun steht wie kann ich dieses beheben?
Der ganze Fehler wäre hilfreich damit wir dir helfen können ;)
09/27/2013 20:14 william157raiva#127
you could put repairman to fix normal? level 4 :(
many do not have the 5
09/27/2013 20:18 passit12#128
Quote:
Originally Posted by william157raiva View Post
you could put repairman to fix normal? level 4 :(
many do not have the 5
This is already a feature, change
Code:
Level5RepMate:=true;
To:
Code:
Level5RepMate:=false;




v1.1!

First, I have added a 5 second start delay, this way, for those who start the bot using the start button, they have time to switch to the SeaChart before it attempts to find positions - although I still recommend starting the bot using the hotkeys.
Added another HP color - the HP bar is currently made up of two colors, one color on the first row, and a second color on the second row. By adding this second color, hopefully it will increase the chance for more HP Bars to be found.
Wrote a procedure to refresh the page.
Added a check so that when NPCs havnt been found for a while (let me know if the wait needs to be reduced or increased) it will log the boat out, wait until it is logged out, then refresh the page.
Coded a small little flash crash check - if the minimap colours in the top left and top right have changed, i.e. not what they started as, it will refresh the page. This should work when the yellow bar in chrome appears, when the page goes black, and some other error messages.
Added automatically turn on the NPC Finder when starting the bot.
Improved the manual hp define - easier for users to set the new HP location.
Finally, improved the output messages so it is easier for me to know how parts of the map were found.
If you have any other issues please let me know asap in detail.

RBonusMapBot v1.1 - 27/09/2013 Changelog:
Code:
[list][*]Added a 5 second start delay.[*]Added extra HP Find color (HPBar is made up of 2 colors)[*]Added Refresh procedure[*]Added Logout and Refresh when no NPC on minimap.[*]Added Flash Crash check.[*]Added autoturn on NPC Finder.[*]Improved HP Manual Define.[*]Improved Output messages for easier fixes.[*]Can use space as the fire key, enter a space, e.g. ' '.[/list]
Known Issues:
Code:
These are being worked on:[LIST][*]Minimap not found for users without the Treasure Hunter[*]Sometimes clicks the Taskbar.[/LIST]
Planned:
Code:
[LIST][*] If NPCs have long range, dont try to outrange unless cannon type = 3.[*] Add a 2nd BM Slot to try after the 1st.[*] Improve Ranging of NPCs.[*] Improve Speed[/LIST]
Notes:
Please make sure you are full rep when starting the bot!


Thanks,
xRiddi
09/27/2013 20:40 trolleras9#129
gooooood!!!
waitin for a gold bot :D
09/28/2013 00:39 seafight...#130
Quote:
Originally Posted by xRiDDi View Post
This is already a feature, change
Code:
Level5RepMate:=true;
To:
Code:
Level5RepMate:=false;




v1.1!

First, I have added a 5 second start delay, this way, for those who start the bot using the start button, they have time to switch to the SeaChart before it attempts to find positions - although I still recommend starting the bot using the hotkeys.
Added another HP color - the HP bar is currently made up of two colors, one color on the first row, and a second color on the second row. By adding this second color, hopefully it will increase the chance for more HP Bars to be found.
Wrote a procedure to refresh the page.
Added a check so that when NPCs havnt been found for a while (let me know if the wait needs to be reduced or increased) it will log the boat out, wait until it is logged out, then refresh the page.
Coded a small little flash crash check - if the minimap colours in the top left and top right have changed, i.e. not what they started as, it will refresh the page. This should work when the yellow bar in chrome appears, when the page goes black, and some other error messages.
Added automatically turn on the NPC Finder when starting the bot.
Improved the manual hp define - easier for users to set the new HP location.
Finally, improved the output messages so it is easier for me to know how parts of the map were found.
If you have any other issues please let me know asap in detail.

RBonusMapBot v1.1 - 27/09/2013 Changelog:
Code:
[list][*]Added a 5 second start delay.[*]Added extra HP Find color (HPBar is made up of 2 colors)[*]Added Refresh procedure[*]Added Logout and Refresh when no NPC on minimap.[*]Added Flash Crash check.[*]Added autoturn on NPC Finder.[*]Improved HP Manual Define.[*]Improved Output messages for easier fixes.[*]Can use space as the fire key, enter a space, e.g. ' '.[/list]
Known Issues:
Code:
These are being worked on:[LIST][*]Minimap not found for users without the Treasure Hunter[*]Sometimes clicks the Taskbar.[/LIST]
Planned:
Code:
[LIST][*] If NPCs have long range, dont try to outrange unless cannon type = 3.[*] Add a 2nd BM Slot to try after the 1st.[*] Improve Ranging of NPCs.[*] Improve Speed[/LIST]
Notes:
Please make sure you are full rep when starting the bot!


Thanks,
xRiddi
I see you added other HP color,that's very good :) ,that means even with my HP bar it will hopefully work ,I will try it and give a feedback

Quote:
Originally Posted by elvis_arg View Post
Originally Posted by elvis_arg View Post
I clear the cache but the problem persist. why my mini map looks different from yours? I use de arkibot and works great
When the mini map looks different from my mini map (the one posted in the first post) it will not be able to find it.
However, upon thinking about it, it is not displaying anything after HP, so i assume you have set up manual define for the mini map, seachart and rep button?


yes, I configured manually since it gives me error when executing the scrip, says this ...

HP has been found at 192.251

Seachart AutoDefined: x1 = 400, y1 = 174, x2 = 1199, y2 = 760.
If your Seachart is NOT at this position, please use manual defines.

MiniMap AutoDefined: x1 = 1333, y1 = 192, x2 = 1422, y2 = 281
If your MiniMap is NOT at this position, please use manual defines.

RepButton AutoDefined: repx = 720, = 828 repy
If your RepButton is NOT at this position, please use manual defines.

successfully Executed

the scrip so I have to run before or after entering the bonus map?
even my minimap looks different in one of my ships but the bot still works very good,and shoots the npcs in long range :)
09/28/2013 09:26 kiszetorosmokus#131
What the problem? "compiling error 1047"
09/28/2013 11:28 berserker147#132
great update thanks
09/28/2013 11:31 kanatas12#133
XRIDDI uor bot have problem with hollows(4) dont start to shoot start normaly but dont shoot nothing and when i change to normal hollows is start to play please fix it in next update
09/28/2013 14:14 Prinsferdi#134
Hmm, gues I`ve done everything right - bot is moving and working - but didn`t press the button for fire!

- First I`ve changed my keys how they are in the script -> not shooting
- Then I`ve changed my keys in the Script how I have it in the game -> not shotting at all :(

Any solutions?
09/28/2013 14:41 Havelock_Vetinari#135
Quote:
Originally Posted by Prinsferdi View Post
Hmm, gues I`ve done everything right - bot is moving and working - but didn`t press the button for fire!

- First I`ve changed my keys how they are in the script -> not shooting
- Then I`ve changed my keys in the Script how I have it in the game -> not shotting at all :(

Any solutions?
A friend of mine had the same problem.
I solved it by changing the Attack procedure

I changed it from:
Code:
procedure Attack;
     begin
       BonusMapCheck;
       If (InBonusMap = true) then
       begin
            AmmoCheck;
            if (CorrectAmmo = true) then
            begin
                if (FindColor(x,y,FireCol,wx1,wy1,wx2,wy2)=true) then
                begin
                     SendKeys(FireKey);
                     Firing:=true;
                end;
            end;
       end;
     end;
To:

Code:
procedure Attack;
     begin
       BonusMapCheck;
       If (InBonusMap = true) then
       begin
            if (FindColor(x,y,FireCol,wx1,wy1,wx2,wy2)=true) then
            begin
               SendKeys(FireKey);
               Firing:=true;
            end;
       end;
     end;
This removes the procudure which will look for the right ammunition (so the bot won't stop if it runs out of hollows)