Large

KoC Battle Console

By Barbarossa69 Last update 6 hours ago — Installed 644 times.

Script Summary: Battle Console for Kingdoms of Camelot. Main features include real-time throne room monitor, battle dashboard, incoming attack timer and incoming march window.



Version: 20140417a

Latest News!

NEW! QUICK SACRIFICE TROOP BUTTONS

In the sacrifice section there is now the option to simply click on a troop icon to sacrifice troops of that type. If there is a number already in the troop box it will sacrifice that number of troops, otherwise it will attempt to sacrifice the default number as defined in the options.

NEW! REDUCE THE SIZE OF THE MONITOR WINDOW

Monitor window too big? Set the font size to 9 or 8 and have a cute little mini-monitor window instead :)

BROKEN DOVES - PLEASE READ!

There is a particular circumstance where if you use a Dove of Peace, then ascend a city and build your castle to level 5 or above, your dove of peace is rendered broken. (The reason for this I guess is the game changes your status to Normal assuming you are in beginner protection...)

Battle Dashboard now has a display at the top detailing how long is left on mists and doves. If it detects you have a broken dove as described above, it will display "CHECK BROKEN DOVE" at the top of the dashboard. :)

OUTGOING MARCHES - PLEASE READ!

When developing this, it became clear that the outgoing march queue is woefully inadequate. Therefore as part of this development I have attempted to "fix it up". Since this is quite a risky strategy, I have not enabled the outgoing march functionality by default. If you want to enable the outgoing march stuff, then tick the checkbox in the options.

The development comes in two parts - The first an Outgoing Marches window equivalent to the Incoming Marches one, which contains details of all your outgoing marches (excluding raids, they were just too cumbersome!), with options to filter by march type, whether they are marches to yourself, and whether you want to see returning marches.

The second is an outgoing attack section in the dashboard, which ONLY shows your attacks or scouts going out from the selected city, and not returning troops.

On both displays, marches or encampments can be recalled by clicking on the march icon.

When a march is first launched, very little information appears in the march queue. The script then attempts to fetch details of the march back from the server to fill in the missing blanks, so you may notice a delay before things like target name, type, and champion information appears in the march display.

It's not perfect, but at the moment it's the best I can do!

Cheers
Barb.

If for some reason userscripts is unavailable, please click on the link below, which is a link to the latest version of Battle Console on my googlecode project page.

https://koc-battle-console.googlecode.com/svn/t...

Description

The idea behind this script is to provide easy-access to Kingdoms of Camelot battle functions and information during the heat of battle. Natively in the game you have to click numerous buttons and tabs to get all the information you need... incoming marches, arrival times, enemy throne rooms, sacrifices, reinforcements, defences, etc. This script's aim is to simplify this process enabling quick strategic decisions on how best to attack or defend.

Thanks to Nico De Belder, Mary Matson, Phil Cazz and all the other scripters who have given me advice and support. Also much credit obviously goes to the original developers of Power Bot (Don DaVinci) and Power Tools (George Jetson), whose expertise and ability really started this whole thing off.

Regards,
Barbarossa.

Screenshots!

BCMain   BCMonitor    BCCity Defence   
BCIncoming    BCMonitor Log   

Major Rewrite!

The monitoring functions have been completely rewritten to make them faster, more efficient and less CPU-intensive. This is how I would have written it if I'd known 6 months ago what I know now...

Monitor History Log

Keep a record of all the unique throne rooms you have ever monitored! (Well, up to a maximum of 50, oldest ones eventually drop off the bottom...)

Label them, post them to chat, view them again, etc.

The "Keep" tickbox stops them from dropping off the bottom.

For a quick-view, mouse over the throne icon on the left...

Sleep Mode

Worried about Battle Console using up memory/CPU when you are afk? Well worry no more - just put it in Sleep Mode and it will do nothing at all until you come back and wake it up :)

Battle Dashboard

Now you can see everything you need to see on a single screen! The City Defence Window contains an overview of your city's defensive capabilities and current status.

Main Features:-
  • Toggle City Defence Mode On/Off
  • Quickly select Marshall Champion, Throne Room and Guardian
  • Attack and Defence boosts
  • Change Guardian and Throne Room Preset
  • Sacrifice Troops!
  • View Troops in City - Split by Defenders and Sanctuary, and categorised by troop type (infantry, ranged, horsed and siege)
  • Quickly change defending troops
  • Add extra defenders and defensive presets
  • View Reinforcements - both encamped and incoming
  • View Wall Fortifications
  • View City Outgoing Attacks
  • View City Incoming Attacks

The "Overview" section has options to change Marshall, Guardian, Champion and Throne Room.

The Throne Room selector tells you immediately when the throne room change request has been accepted by the server. This will help you decide how late you can safely leave throne room changes before an attack hits, based on your connectivity and the responsiveness of your session!

Throne Room presets can now be named, and can optionally be selected by name.

Everything else is really just eye-candy, but it's kind of nice eye candy ;)

Monitor Operation

It's pretty self-explanatory. Type in the player's name or UID in the box and click on the appropriate button, or click on one of the handy links either from the TR or the map, and that's it.. It refreshes every few seconds, and pings you if something changes.

Legend for Colours

Blue = Defence
Red = Attack
Green = Range
Cyan = Life
Orange = Accuracy
Black = Combat Speed
Magenta = Other pvp combat effects
Grey = others (non-combat)

Bold = General (affects all troops)
Italics = Debuff

In addition, Throne Room can also be changed from the monitor window for reacting quickly to the other person's changes!

Incoming Marches Display

This shows you everything that is currently coming at you - Attacks, scouts, reinforcements, transports... You can filter it of course!

Outgoing Marches Display

This shows you everything that is currently going away from you - Except Raids!! Attacks, scouts, reinforcements, transports... You can filter it of course! To recall any march, including reinforcements, click on the icon.

Override Attack Notification

Changes the "You are being Attacked!" at the top of the game screen, into a countdown timer for the soonest attack.

Version History

20140417a
  • Show Battle Spells on incoming marches
  • Options to show resources in march windows
20140410a
  • Quick-Sacrifice Troop Buttons
  • Option to Reduce Size of Monitor Window
20140409a
  • Buttons for Mist and Dove on Dashboard
  • Broken Dove Detection
  • Support for pridwen415 (pvp domain)
  • Make defending troops bold in sacrifice dropdown
20140331a
  • Daylight Savings Time Fix
  • Chrome/Tampermonkey Support
20140326a
  • TR log tooltips bugfix
  • Last Login bugfix
20140325a
  • Performance improvements
  • Outgoing marches bugfix
20140314a
  • Outgoing Marches Window
  • Outgoing Attacks in Dashboard
  • Ability to Name TR Presets
  • Option to Select TR Presets by Name
  • Boost Attack/Defence from Dashboard
  • Allow for 6 or more TR Card Rows
  • UID Number on Monitor Window
  • Customise Dashboard Display Sequence
20140219a
  • Choice of Upper or Lower Defend Button
  • Incoming march time bugfix
  • Minor cosmetic changes to Options
20140214a
  • Defensive Presets
  • New troop type - Heavy Onagers
  • Refresh troop numbers in city just after attack lands
  • bugfix for sacrifice defending troop clawback
  • Option to completely hide Fortifications and Reinforcements from dashboard
20140131b
  • Additional selective defence options
  • Refresh troop numbers in city when refresh button clicked
  • Guardian change bugfix
20140127a
  • Sacrifice Halberdiers
  • Claw back defending troops for sacrifice if necessary
  • Display defending troops in Battle Dashboard
  • Quick Defending/Sanctuary toggle for each troop type
20131219a
  • Maximum Troops to Sacrifice Option
  • Remove Obsolete Functionality
20131213a
  • Change name of dashboard panel
  • Volume control
20131202a
  • Fix for arrived attacks not clearing the incoming queue
  • Option to remove transparency from windows
20131129a
  • Minor fix for flickering of champion tooltips windows
20131126a
  • Fix for simultaneous sacrifices when only one altar
  • Statue relocation
  • Champion compare option on incoming marches
20131122a
  • Champion info on incoming attacks
20131121a
  • Fix incoming attack display on main screen
  • Change city champion
  • Options button to reset window positions
20131119a
  • Overview Re-work
  • Display Champion Information
  • Temp fix for incoming attack display (disabled)
  • Option to change TR/guardian/marshall
20131104b
  • Dashboard Mode fix for kabam.com
  • Fix expiration times now DST has ended
20131031a
  • City Defence "dashboard" Mode
  • Send all reinforcements home button
  • Include load as a pvp effect
  • Scrolling history log and search filters
20131018a
  • Monitor Function Rewrite!
  • Added option to only show PVP effects
  • New "sleep mode" option
  • Monitor history log
20130930a
  • Fix for Dagonets Court Jester crashing monitor
20130918b
  • Fix for mist/truce duration for non-UK timezones.
  • Fix for repeated 'player is undefined' error in log.
20130918a
  • Fix for Grand SiegeMaster
20130913a
  • Fix for potential problem in update_seed_ajax
20130911a
  • Brand New City Defence Window!
  • Minor bugfix for non-ascii characters in name
20130909a
  • Update Seed bug fix (fixes tower alert problems with other bots)
20130821a
  • Allow monitor by UID number
  • Slight change to colours
  • Include colours in Post to Chat
20130809a
  • Check for updates fix
  • Rounded windows fix
  • Automatic march refresh option has been removed, due to conflicts with other scripts.
  • Rearrange throne room furniture!
20130806a
  • Heroes support
20130726a
  • Show different colours for each effect on monitor window
  • Incoming march timer on Throne Room screen
  • Incoming marches screen
  • Options layout change
  • Blue buttons
  • Check for updates
20130701a
  • Increased the monitoring timeout from 5 mins to 15 mins.
20130630a
  • Fix for the permanent "arrow" sound when timed out.
20130630a
  • Fix for the Incoming March Timer (didn't always show soonest arrival time).
20130626a
  • Check For Updates
  • Incoming Attack Countdown
20130618a
  • Server load reduction
  • Pause/Resume Buttons
  • Monitoring Timeout
  • Continue Monitoring after refresh
  • Fix for Candelabra statistics not being shown
20130614a
  • Initial Version

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.