Large

KOC MadMaxx Throne Room Organizer

By Phil Cazz Last update Feb 10, 2014 — Installed 430,208 times.

Script Summary: Organizes, upgrades and salvages KOC throne room items



Version: 20140209a

Thumb Thumb Thumb Thumb Thumb Thumb
See Champion Organizer: http://userscripts.org/scripts/show/183854

Creative Commons License
MadMaxx Throne Room Organizer
is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License


This is a stand alone version of the MadMaxx Throne Room upgrader for Kingdoms of Camelot. Please read the notes and instructions below on using the auto-salvage function. Using it incorrectly might delete something you want. A guide is located here: http://koc.wikia.com/wiki/Automated_Throne_Room...

Features:

Upgrader

The MadMaxx upgrader. Use this tab to automatically attempt upgrades and enhancements. From this tab, the city to draw aetherstones can be set. There is a 'repair all' function that will repair all broken items before attempting the next upgrade/enhancement.

Organizer

The Organizer tab lets you see your TR better. All the cards are visible and you can hover to see the stats. The cards are organized by type (chair, table, etc.) and the preset can be viewed. The tab may lets you define your presets and have a extra local set of presets. The local presets let you save off a set of TR items and load them. This will effectively let you have additional presets without spending gems. You can also copy/paste your stats from here.

Upgrade/Enhance Stats

This tabs shows your success rates and allows you to complain to others how unlucky you are :P

Log

The history of the upgrade/enhancement attempts.

Options

This tab is for setting options and infrequently used controls. The option to automatically check for updates is on this tab.

Direct Integration

The script adds a few tabs to the game's TR display. The tabs: - Hide/show the script controls - Toggle auto-salvage/auto-upgrade on/off. (A quick off/on of auto-salvage will cause it to run again.) - Repair countdown clock TR item context menu buttons Auto Update: Selects the TR item as the item to update Auto Enhance: Selects the TR item as item item to enhance Upgrade/Enhance Panel Clicking on the "Next" panel now increases the level shown in that panel.

Donate

If you would like to support this script, please donate.
Donations are completely voluntary and do not provide any benefits.

Donate

Pics:

Upgrader


Salvager

Stats:

Organizer

Options

Direct integration


Change Log

  • 02/09/2014
    • +15
  • 11/25/2013
    • Fix for statues
  • 11/24/2013
    • Added button to reset widget positions
  • 11/23/2013
    • Fix so functions fire when TR is opened for recent kaboom change
  • 10/20/2013
    • Minor fix so preset widget doesn't hit the server so hard.
  • 9/29/2013
    • Internal change to allow multiple scripts to watch the same variable.
  • 9/24/2013
    • Max level = 14
  • 9/22/2013
    • Updates to TR buttons
  • 9/17/2013
    • Fixes for new TR item
  • 9/5/2013
    • Organizer tab display change for lots of presets
  • 9/3/2013
    • Guardian controller fix for Cometbird
    • Can remove salvage button for 999 objects
  • 9/1/2013
    • Display updates
    • Compatibility fixes
    • Preset and Guardian controls now save their position. Right click to revert to the default position
    • Made TR items so they can be dragged around the TR.
    • Guardian controller pictures show correct level
  • 8/31/2013
    • 16 TR presets
    • Added a controller for switching guardians
    • Made presets and guardian controls draggable
  • 8/11/2013
    • Display cleanup for heroes
    • Simplified the organizer tab controls
    • Relocated the hero in the TR display
  • 7/30/2013
    • Added heroes
  • 7/23/2013
    • Max level = 13
    • Upgraded jQuery version
  • 7/4/2013
    • New safety features.
    • Display fix for items that are broken and tagged.
  • 7/1/2013
    • Added the ability to tag an item. Highlights in a different color.
  • 6/19/2013
    • Added a tooltip to the upgrade panel so you can see the percentage on long strings
    • Typo fix
  • 6/18/2013
    • Attempt to prevent kabam from selecting gems for upgrades
    • Tooltip fix
  • 4/3/2013
    • Added error handling to check saved upgrade/salvage city numbers
  • 3/11/2013
    • Added option to enable/disable the preset selector widget
  • 3/5/2013
    • Fix for loading salvage rules from other domains
  • 2/26/2013
    • Added an event handler to stop ShareThis from adding a link to all copy/paste oeprations
  • 2/25/2013
    • No new functions. Just a change to the css so the changes won't affect other users
  • 2/16/2013
    • Fix for missing repair menu item
    • Fix for 'Chance to Find Items'
  • 2/10/2013
    • Added a button to post TR stats to chat (either your TR or a viewed one)
    • Added an option to remove the salvage button for the first X items
  • 2/9/2013
    • Added an option to enable the old upgrade/enhance button
    • Added an option to remove the mass salvage button
  • 2/8/2013
    • Added a function to post to chat using the barcodes (via Power Tools)
    • Added a counter of salvaged items and daily rate (with a reset button)
  • 2/2/2013
    • Fixed problem with view of enemy TR switching to yours when an item was salvage
    • Fixed an error in kaboom's salvage a-stone calculation
  • 1/27/2013
    • Bug fix for loading local presets into other slots
  • 1/25/2013
    • Minor bug fix. Fixed bug where organizer tab wouldn't draw if an item was deleted from the current set highlighted.
  • 1/20/2013
    • Added "Any Horsed/Infantry/Ranged/Siege" options to the salvager
    • Added an option to upgrade to +1 before manual salvage (for more a-stone)
    • Added the ability to reload a local preset into any preset slot. (Using "0", a big number or a non-number, will tell the TRO to use the current slot).
    • Added the object ID in a few places
  • 1/10/2013
    • Minor bug fix so for queue variable
  • 12/31/2012
    • Minor bug fix so last item deletes in the current cycle
    • Bug fix for salvager power button
    • Bug fix for item in queue salvaged
  • 12/30/2012
    • Added picture popups to the upgrader panel
    • Bug fix for a condition that could cause the salvager to stall.
  • 12/28/2012
    • Fixed some display issues
    • Added filter buttons on the organizer tab
    • Changed 'repair all' to work from the bottom up. This makes the +1 upgrade option work smoother
  • 12/21/2012
    • Update for Level 12 upgrades
  • 12/20/2012
    • Update for candelabra
  • 12/13/2012
    • Updated whisper on upgrades
    • Changed organizer widths to see if that will allow wrapping
  • 12/12/2012
    • Fix for error on activity bonus call.
    • Backed out repair attempt on unknown status.
  • 12/11/2012
    • Adding a repair attempt when upgrades fail.
  • 12/9/2012
    • Added horizontal resizing.
  • 12/8/2012
    • Minor improvements to the token deselector. The icon is now cleared and it remembers if you manually select a token (until the throne panel is closed).
  • 12/7/2012
    • Updated popup to be stretchable /remember size
    • Added options to unselect tokens and have a-stone limit on manual upgrades
    • Tab color change and whisper options on successful upgrades
    • Remembers opened tab and organizer options on refresh
    • Switch to a more jquery UI
  • 11/22/2012
    • Bug fix for FF17
    • Added field to change number of local presets
    • Minor reorg of options tab
    • Removed dead variable
  • 10/17/2012
    • Bug fix for deleting items after refresh.
  • 10/16/2012
    • Changed the upgrade/delete logic so each items is upgrade when it is deleted instead of trying to upgrade a bunch of items and then deleting them all.
  • 10/13/2012
    • Added option to upgrade to +1 before salvaging. With the new higher upgrade percentages, this is profitable in a-stone and increases the activity bonus.
  • 9/24/2012
    • Minor bug fix so success animation works
    • Added log info for manual upgrades
  • 9/15/2012
    • Added the ability to name presets and have a description. Increased the number from 8 to 10
    • Fixed some of the '1 at a time' logic
    • Added option to disable large portrait tooltip
    • Added a 'copy stats' button.
    • Made it so the Throne button text goes red when the TR is full
    • Moved the upgrader status to be above the table.
  • 9/3/2012
  • Added local presets. Added tool tip/ large portraits to the organizer tab. Here is a overview: http://userscripts.org/topics/116061
  • 8/27/2012
  • Fixed a problem with lucky tokens not counting down. Fixed a problem in success callaback. This prevented logs or status updates.
  • 8/26/2012
  • b- Added a fix for missed upgrades causing the complete status not to be set. Displays the number of items salvaged. Added more detailed stats (per quality level) under the hood.
  • 8/25/2012
  • Added an option to upgrade/enhance to Wondrous+4 on a suggested path. YMMV Created an option for handling overflow from main city. Can now place in the lowest city. Fix a problem if an item was salvaged and still was in the upgrade queue.
  • 8/22/2012
  • Adjusted thickness of blue/yellow box around TR items so items won't be wider than the row. Fixed recorded number of attempts so it doesn't increment when out of a-stone and just waiting. Fixed low a-stone message. Put in small delay between attempts in 'whole queue' mode. Using 10 seconds (something humanly possible).
  • 8/19/2012
  • Created an options tab and moved some of the more static option parameters there. Updated the status in the upgrader table and log. Created the ability to disable the success/failure animations (big red X/ 'spinny').
  • 8/18/2012
  • Added the ability to change items in the queue. Can change level or queue order.
  • 8/14/2012
  • Added field to change the max a-stones per city. Added ability to load salvager settings from any domain.
  • 8/13/2012:
  • Changed the upgrade tab to have a queue. Includes an option to do 1 item at a time or try the whole queue (try to update all, repair all, repeat).
  • 7/17/2012:
  • Just a look-and-feel update. Changed the backgrounds and borders to look like the other popups in the game.
  • 7/16/2012:
  • Updated jquery version.
  • 7/15/2012:
  • Moved the preset widget and enlarged the TR inventory box.
  • 7/13/2012:
  • Added a widget to the main KOC page to switch presets. Bug fix on the sorting in the organizer.
  • 7/8/2012:
  • Added controls and status to the organizer panel.
  • 7/3/2012:
  • - Added countdown clock on TR tabs - Added sorting in organizer
  • 6/30/2012:
  • - Fixed the "NOT" rules - adjusted the z-index - Added boxes on the TR display to show the current auto-upgrade/auto-enhance items
  • 6/26/2012:
  • Added code to display higher levels on the "Next Stats" panel on the game TR upgrade/enhance panel. Click on the "Next" area to increase the level. Fixed a couple of display issues.
  • 6/26/2012:
  • Now click on the "Next Stats" area on the games upgrade/enhance panel to see the stats for higher levels.
  • 6/24/2012:
  • Added some buttons on the TR so the updater can be controlled from there. - Some extra tabs to turn the upgrader on/off, the salvager on/off and to switch upgrade/enhancing - Put some buttons on the TR item context menu so you can select the item to upgrade or enhance directly from there The list of items will now refresh each time it is opened and when an item upgrades. Fixed the z-index so the salvage popup and the upgrade message appear in front the tool.
  • 6/23/2012:
  • Auto-salvage is enabled. Because getting your rules right can be tricky, please do the following before using: - Turn off all auto salvagers - Upgrade any items in your current TR inventory that you want to keep to +1. The auto-salvage will ignore these. You can use the "repair all" function to help out. Other updates: - Broke the log into 3 parts and added data .... so you can see how long it has been. - Added a convenience tab to the TR to hide/show the upgrader. Changed the z-index so the upgrader is on top
  • 6/23/2012 b:
  • - Added new version checking - Puts a-stone in non-full cities - Added button to execute the salvager 1 time - Salvager status panel and gui cleanup
  • 6/22/2012:
  • Fixed the icons. A couple of requested features: - Added a "Repair all function." When turned on this feature will repair all items before doing the next upgrade/enhancement. - Saves/restores window position and state on reload.
  • 6/21/2012:
  • Added trophy. Trophy items are not in my domains, so hopefully it works. I don't think the icons in the organizer will work for trophies, but this should be ok for now.
  • 6/17/2012 Changes:
  • Added the ability to pull aetherstones from any city. Made it so the activity bonus bar updates. On the organizer tab - Made it so the equipped items are at the top. - Added the "Test Salvage" button that shows the items the salvager will grab. Items highlighted in red will be deleted. Orange are broken or equipped items that will be deleted if they are fixed or unequipped.
Salvager (Phase 1) The salvager will always keep +1 and higher items. - Added the ability to define rules. Since these auto-salvage functions are so dangerous, it is still disabled at this time. After I can test it more, I will add the ability to turn it on. Expect this in a few days. Instructions: It has the standard ability to save items at a given quality or higher and the ability to keep the first "X" items in the TR. In addition you can create 'rules' on what to keep. For example you can look for - An item with Life buffs in 4 slots - An item with Range in 2 slots - An item with accuracy in slots 3-5 and 2 attack enhancements in slots 3-5 - An adviser with 2 bonus to troop training speed and does NOT have bonus to wood production Multiple conditions are treated like a logical "AND", i.e. all conditions must be met. An item only has to match a single rule (logical "OR" between rules). This combination should make it possible to define all constraints, even if some definitions are very lengthy. If you already have an item in your TR that you would like to keep and don't want to create a rule, upgrade it to +1. Importing stats from Power Bot: The PowerBot version was tracking success rates under the hood. If you want to import these stats: 1) bring up a new tab in FF 2) type "about:config" in the url bar 3) click the button on the warning page 4) in the search box, type "upgradeStats" For each domain, you should see a saved variable for the PowerBot script and the new script. The PowerBot one will have "KOCPowerBot" in the name. The new one will have "TROrganizer" in the name. 5) Right click on the line for the PowerBot variable for a domain of interest and select "Copy Value" 6) Right click on the line for the TROrganizer variable for the same domain number and select "Modify" 7) A popup will appear with the entire entry box selected. Leave all the text selected and hit paste (control-V) and hit the OK button. 8) Refresh the domain before the script performs the next upgrade/enhancement attempt. If you corrupt the "upgradeStats" variable for any reason, delete the variable and refresh (repeat steps 1-4 and then right click/reset). Thanks to the KocScripters (and others). Even though this is stand alone, it uses much of the code already developed by these guys.