fady
2015-05-27 01:00:04
Fady's AIO Portable-O-Matic
Updated on: January 3rd 2016
V2.3
Last Tested on: October 29th 2015
Status: Fully Functional
Updated on: January 3rd 2016
V2.3
Last Tested on: October 29th 2015
Status: Fully Functional
Features:
- 100% Color, with blind failsafe.
- You can tell it where to initially look for the portable, or have it auto detect the location.
- Uses any portable at almost any location.
- Ability to add your own custom bank.
- Can place it's own portable if non are found (Only if Hosting mode is active).
- Two Hosting modes. Primary mode places a portable as soon as one is't detected, Secondary mode places one if one isn't found within 15-30 seconds.
- SRL Player Form support.
- Break support.
- Antiban.
- Should work great, even with a little lag.
- Multiple failsafes almost at every step.
- Basic progress report.
- Easy to fix if something goes wrong.
- Auto Updater.
Directions:
- Make sure your graphics/interface settings follow this guide.
- Have your players set up using Rafiki.
- If hosting, make sure your preset includes the portable you want to place.
- If using Portable Braziers, DO NOT place the portable in the last slot in your inventory.
- If making Ammo, Start with all the portables and all the ingredients in your inventory. The script WILL NOT bank in this mode.
- Have either preset 1 or 2 set up to use the corresponding portable.
- Have your player standing right in front of the bank being used.
- Move the progress screen interface away from the location of the bank like so.
- If using Portable Sawmills, be sure to have Game Messages set to On.
- Press play and fill out the Player Form.
- Let the gains begin!!
Finding Free Portables:
- Join the friends chat 'Portables'.
- Ask about the specific portable. Example: 'Forges?', 'Mills?', 'Wells?', 'Ranges', etc..
- Someone will answer with something like 'M26Ba'. This means that the (M)ills are in world 26 at the Barbarian Assault location.
- Go to that world/location and enjoy the free portables.
- Common FC abbreviations:[spoiler=Abbreviations] Ca: Combat Academy in Lumbridge. Ba: Barbarian Assault. Use a Games Necklace option 2 to get there. Sp: Shantay Pass. Burth or B: Bank table in Burthorpe. Be: Lumbridge Beach. F: Forges. W: Wells. M: Mills. R: Ranges. [/spoiler]
Current Issues:
- Due to the Mills,Ranges,Braziers being short, someone standing over them might interfere with the color detection. However, If color detection worked initially, the blind mouse movement should still maintain function.
When right clicking in a crowd, sometimes will right click too close to the crowd, causing a condensed options menu, which causes a false ChooseOption function. It will attempt to get it right 10 times though.Should sort the the matching colors from farthest to the player to nearest, only when right clicking as to avoid that problem.
Updated Constants:
Last Update: V2.2.
If the script faces any issues with color detection or blind mouse movement. Change lines 33-101 with your own updated constants, or the ones below
- …Col = Color.
- …Tol = Tolerance.
- …Hue = Hue mod.
- …Sat = Sat mod.
- …NorthBox = Blind north Tbox.
- …SouthBox = Blind South Tbox.
- …EastBox = Blind East Tbox.
- …WestBox = Blind West Tbox.[spoiler=Updated Constants]
{*Portable Forge data*}
ForgeCol := 1143010;
ForgeTol := 9;
ForgeHue := 0.23;
ForgeSat := 1.60;
ForgeNorthBox := intToBox(277, 44, 325, 87);
ForgeSouthBox := intToBox(240, 250, 306, 295);
ForgeEastBox := intToBox(382, 139, 428, 191);
ForgeWestBox := intToBox(144, 100, 158, 148);
{*Portable Well data*}
WellCol := 6508624;
WellTol := 8;
WellHue := 1.57;
WellSat := 1.19;
WellNorthBox := intToBox(269,66,312,91);
WellSouthBox := intToBox(259,236,312,281);
WellEastBox := intToBox(368,142,414,177);
WellWestBox := intToBox(159,133,200,169);
{*Portable Range data*}
RangeCol := 4876912;
RangeTol := 5;
RangeHue := 0.94;
RangeSat := 1.74;
RangeNorthBox := intToBox(276,96,297,111);
RangeSouthBox := intToBox(271,294,304,319);
RangeEastBox := intToBox(362,170,385,188);
RangeWestBox := intToBox(161,182,183,200);
{*Portable Sawmill data*}
MillCol := 2449549;
MillTol := 11;
MillHue := 0.29;
MillSat := 0.79;
MillNorthBox := intToBox(282,102,310,125);
MillSouthBox := intToBox(257,272,290,301);
MillEastBox := intToBox(375,180,400,215);
MillWestBox := intToBox(177,157,199,192);
{*Portable Crafter data*}
CrafterCol := 7691670;
CrafterTol := 14;
CrafterHue := 0.47;
CrafterSat := 0.65;
CrafterNorthBox := intToBox(260, 10, 310, 54);
CrafterSouthBox := intToBox(240, 250, 306, 295);
CrafterEastBox := intToBox(382, 139, 428, 191);
CrafterWestBox := intToBox(144, 110, 187, 140);
{*Portable Fletcher data*}
FletcherCol := 5659982;
FletcherTol := 17;
FletcherHue := 1.05;
FletcherSat := 0.38;
FletcherNorthBox := intToBox(260, 10, 310, 54);
FletcherSouthBox := intToBox(240, 250, 306, 295);
FletcherEastBox := intToBox(382, 139, 428, 191);
FletcherWestBox := intToBox(144, 110, 187, 140);
{*Portable Brazier data*}
BrazierCol := 1660329;
BrazierTol := 11;
BrazierHue := 0.23;
BrazierSat := 1.8;
BrazierNorthBox := intToBox(282,102,310,125);
BrazierSouthBox := intToBox(257,272,290,301);
BrazierEastBox := intToBox(375,180,400,215);
BrazierWestBox := intToBox(177,157,199,192);[/Spoiler]Change Log:
[spoiler=Change Log]
V1.0:
- Initial Release
- Modified Hosting to include Primary and Secondary modes. Primary mode, places a portable as soon as it doesn't detect one, while Secondary mode will wait for a new one for around 20 seconds before placing one.
- Moved away from typeSend for the banking presets. The script now uses the SRL functions for preset button clicking.
- Added a couple of fail-safes to help keep the script running effectively for longer. Mainly in the mills procedure.
- Fixed a bug which caused the mills procedure to fail.
- Removed around 1-1.5 seconds from each cycle. Should give slightly better progress reports now.
- Fixed an error where a failed attempt at making stuff, would still cause an increase in the progress report.
- Added more detailed script debugging to make it easier for me to diagnose problems in the future.
- Added an Auto Updater to the script.
- Added the 3 new portables.
- Added the ability to use your own custom bank.
- Fixed an error where the script would right click too close to the crowd, causing a condensed choose option menu, leading to a failure.
- Rewrote parts of the script.
- Fixed a bug with end detection while hosting..
- Updated the custom bank colors
- Modified hosting logic, should save a little bit of time per run when using primary hosting mode.
- Added a small failsafe in case the production screen opens while the script is trying to click the portable.
- Fixed a problem when not hosting with portable braziers, causing the script to terminate.
- Fixed a compiling error due to a SRL update
Comments and suggestions are very appreciated
Post those proggys and let me know how it's going