Setting up GreaseMonkey and Automatic Barbing - Step by step
The setup described in this tutorial requires lv. 9 Fletching researched AND a Rally Point of at least lv.5
****** INSTALLING GREASEMONKEY AND THE REQUIRED SCRIPTS *******
1. Open Firefox (preferably version 3.6 or 4.0 (can be downloaded from www.mozilla.com))
2. Go to: https://addons.mozilla.org/sv-se/firefox/addon/greasemonkey/
3. Accept and Install GreaseMonkey
4. Restart Firefox
5. Go to the following links (make sure you're using Firefox with Greasemonkey enabled):
http://userscripts.org/scripts/show/89473
http://userscripts.org/scripts/show/89356
http://userscripts.org/scripts/show/95542
<----!! NOTE !!---->
IF YOU ARE NOT SURE GREASEMONKEY IS ENABLED - FOLLOW THESE STEPS
If you are using Firefox 3.6, there will be a bar at the bottom of your browser window. This bar is called "Plugin-Bar" and will display all your currently active Firefox plugins. If there's a little smiling monkey in the bottom right corner of your browser, then you know Greasemonkey is installed and active. If it is a grey, sad monkey, it means the plugin is inactivated. To activate it, simply click on the monkey.
If you are using Firefox 4.0 this bar will not show by deafult. What you need to do is:
a. Open the Firefox tab (found at the top left corner, orange button that says "Firefox")
b. Click "Settings"
c. There should an alternative called "plugin field" or "plugin bar" (I just know its name in Swedish)
d. Select that alternative
e. Now your plugin-field should be displayed at the bottom right corner
f. Check if monkey is happy and running, if not, click the unhappy monkey
g. Profit!
<-------->
6. Install the scripts that are linked to above
7. Go to: http://apps.facebook.com/kingdomsofcamelot/
8. You SHOULD now have additional bars up among the standard buttons "Play", "Free Gifts", "Invite Friends" etc. There will be one button called "Tools" and another one called "Bar", both of them are blue. You'll also notice you have additional bars among the rest, namely "Options", "Auto Attack - On/Off" and "View Attacks". These are not relevant for now.
****** SETTING UP THE ATTACK LIST *******
1. Click your new "Bot" tab. This will open a window inside KoC
2. Inside this new window, you'll have several choices to select from. The tab you want for this is "Search"
3. Select what type of place you're searching for. You can choose between "Barbarian Camp", "Wilderness" and "City". Select "Barbarian Camp" (or "Barb Camp")
4. Enter the coords you want to search around. Clicking the golden buttons right of the textareas will automatically enter your own city coords into the fields. It depends on which button you click
5. Select radius (The radius is how far you want to search for places. If the coords for, say, your City 1 is 40,440 and you enter a radius of 20, the bot will search for the desired places from 20,420 to 60,460, scanning the whole area around your city, 20 clicks out from the coords you entered)
6. Click "Start Search" twice, causing the search to die immediately
7. You now have a 2nd box to the right called "List Options". This box will allow you to specify what you're looking for
<----!! NOTE !!---->
IF you have at least 4000 Heavy Cavalry == Enter 3 as Minimum Level
ELSE IF you have at least 8000 Archers == Enter 4 as Minimum Level
IF you have at least 43000 Archers == Enter 7 as Maximum Level
ELSE IF you have at least 20000 Archers == Enter 6 as Maximum Level
ELSE IF you have at least 15000 Archers == Enter 5 as Maximum Level
ELSE IF you have at least 8000 Archers == Enter 4 as Maximum Level
For maximum effeciency of your babring, enter minimum level 3 and maximum level 7, but not unless you don't have troops for it. See above.
I recommend a radius of 30.
<-------->
8. Enter desired values and click "Start Search" again. Now wait for the results to fall in.
9. The Bot will alert you when it's done, displaying "DONE" in the middle of the blue bar next to the search-count
10. Click the blue button "Export Results", found below the List options box
11. This will open a new window (the bot is NOT closed when you open the export window, it is still there, behind the new window)
12. Enter the amount of troops you wish to send
<----!! NOTE !!---->
TROOP RECOMMENDATIONS (IF YOU DO NOT HAVE LV.9 FLETCHING RESEARCHED, SEEK ADVICE FROM THE LEADERSHIP)
Level, Troop amount, Troop type
3 - 4000 Heavy Cavalry
4 - 8000 Archers
5 - 15000 Archers
6 - 20000 Archers
7 - 43000 Archers
8 - 30000 Ballista
9 - 60000 Ballista
<-------->
13. Make sure you've entered correct troops for all levels. Press "Bulk Add"
14. The script will now automatically add all coords and troop information to your attack list. You will recieve a pop-up everytime a bunch of coords are added. Always click "OK".
<----!! NOTE !!---->
THERE'S A KNOWN ERROR TO STEP 14
This error disables the bot from adding more coords than from 1 type of level-place, which means you'll have to manually add the coords, level by level. This is how it's done:
a. Close the frozen "March troops" screen
b. Open the bot again, get back to the "Search" tab
c. The coords you searched for should still be there
d. In the "List Options" box, enter, for example:
Minimum Level: 3
Maximum Level: 3
e. Press Enter
f. This will now display all the level 3 places your bot found
g. Click "Export Results"
h. Add all the level 3's by clicking "Bulk Add"
i. Repeat step d-h with all levels (4, 5, 6 and 7)
<-------->
15. Look for the "Options" tab, below the "Tools" and "Bot" tab
16. Select alternatives:
Attack Order: Closest target first
Attack Type: Camp
Seconds inbetween sending each attack: 5 (10 is also fine)
Seconds inbetween changing city: 10
Cycle through cities (times): 2 - And wait: 20
Select cities you want to attack from. The bordered numbers are the selected cities.
Random Adjustments: 10%
17. Save and refresh your browser
18. Look for the "Auto Attack On/Off" button, next to "Options", press it
19. Your attacker should now be working, if not, review the steps and contact leadership