e_i_pi wrote:In the 'Aggression' and 'Reinforcements' sections, all the numbers are showing up as zero. Has this been reported before, or is it just me?
The Aggression and Reinforcements sections are actually from a different plugin than BOB, they are from ConquerStats. The problem might be related to a problem in BOB though:
(Technical explanation:)
BOB doesn't implement the refreshGMScript function correctly. It replaces the unsafeWindow's function with a new one, which removes the implementation ConquerStats uses. This doesn't cause any problems as long as the ConquerStats code is executed before BOB's (e.g. if ConquerStats is installed/updated after BOB was installed/updated). But BOB was recently updated, and by that introduced the problem.
To fix this BOB should call the original refreshGMScript's code after BOB's refreshGMScript is completed:
- Code: Select all
var originalRefreshGMScript;
originalRefreshGMScript = unsafeWindow.refreshGMScript;
unsafeWindow.refreshGMScript = function()
{
// Do Stuff
originalRefreshGMScript();
}
A workaround for users is to change the order of the scripts as they appear in the Greasemonkey window. You can drag&drop the scripts to a new spot in the list. Make sure BOB script is placed above ConquerStats. Another way would be to reinstall ConquerStats.