Misc Battle Report Enhancer

cheesasaurus

Guest
Author
cheesasaurus
Contributors
N/A
Quickbar Entry
javascript:
(window.TwCheese && TwCheese.tryUseTool('BRE'))
|| $.getScript('https://cheesasaurus.github.io/twcheese/launch/BRE.js?'
+~~((new Date())/3e5),{cache:1});void 0;
Public?
Public
What This Does

Enhances the page with tools and extra information
folderOverview.png



1) Configure display. Unchecked boxes will not be displayed in the display area.
folderConfiguration.png

2) Export links to "attack again with the same troops"
folderExport.png


you can copy the BB code text presented to create links in the notebook
folderExportNotebook.png


or copy the HTML text presented into a new html file
folderExportHTML.png


most browsers can read this file and create bookmarks from it
folderExportBookmark.png

(screenshot from internet explorer)

3) Report display. Shows extended information about reports that were renamed by the BRE.

4) Report selector bar.
Options:
- select all reports
- deselect all reports
- select green-dotted reports
- select yellow-dotted reports
- select red-dotted reports
- select blue-dotted reports
- select forwarded reports
- select reports where the attacking troops did not haul to their full abilities
- select reports where the attacking troops did haul to their full abilities
- select reports where the attacker only sent a small army
- select reports where an attacking nobleman died
- select reports where the defender's loyalty decreased
- select reports where the defender has no remaining units stationed in their village
- select reports where the report name contains user-specified text
- select reports with a user-specified attacker
- select reports with a user-specified defender
- select reports with a user-specified attacking village
- select reports with a user-specified defending village

5) Mass Renamer. This will rename all selected reports to a format readable by the BRE

6) Symbols.
grey dot - signifies that the attack only had a small amount of troops
cross - signifies that an attacking nobleman died. If it was your nobleman, you can click the cross and you'll be taken to his village's academy, where you can educate another one.
crown - signifies that an attacking nobleman successfuly lowered the defending village's loyalty

7) links to "attack again with the same troops"
The axe on the left links to the screen where you can "attack again with the same troops" from your current village.

The axe on the right links to the screen where you can "attack again with the same troops" from the original attacking village.
Extra information will be added to the report.
*remaining defense
*population summary
*time the attacker launched the attack
*time the attacking troops return
*Opponents Defeated information
*Predicted Loyalty (@current time, and @time of arrival if you were to send a noble from your current village)
*JSON representation of the report, to copy somewhere for other scripts to use
extraReportInfoMarked.png

Tools will be added, above the report:
*raiding calculator
*report renamer
*demolition suggestions (first row is to demolish the scouted buildings, second row is to demolish scouted buildings + 1 upgrade)
reportTools.png

Clicking the unit pictures will open up the rally point with the suggested amount already entered in.
note: the 'send troops' link only links to the rally point. The script won't do the dirty work for you :p

distributable (suboptimal)

icon:

This is supported for the latest versions of the following browsers:
  • Edge
  • Firefox
  • Chrome
  • Opera
Most likely works on Safari.

note: some features are only available for premium accounts

License Information
Code:
Battle Report Enhancer
Copyright (C) 2011  Nick Toby
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see http://www.gnu.org/licenses/
GNU General Public License

Supported Languages
See this post for details on how to include your server's language.
  • English
  • Czech
  • Swedish
  • Greek
  • Bosnian
  • French
  • Norwegian
  • Portuguese
 
Last edited by a moderator:
Upvote 1

DeletedUser103792

Guest
Great, thank you! Also is this updated to work with the newest version, 8.25?
 

cheesasaurus

Guest
Yep!

There might be some stuff I missed; if you find something please post here :)
 

DeletedUser103792

Guest
There seems to be alot of problems with the Norwegian version of the script. Can you add me on Skype so we can fix it together? My skype is: OffensiveAttack
 

logic101

Guest
it seems like the buildings are being registered out of order the academy levels are actually smithy levels and everything to the right of the academy column is going into the column before its rightful place. i'm going to scout a academy village and see if anything is different at the academy level one in coin worlds
nLfz9o.jpg
 

cheesasaurus

Guest
thanks! Should be fixed now. (I missed one of the churches from the building array, so everything afterwards was shifted)
 

SURPRISE MFER

Guest
Is there any way the users can change what the report name is going to end up like?

I'm kinda new to this, but could I make the script change the name of the report to just say the village I attacked and the resources that were left?

Thanks!

EDIT: and perhaps the distance from the attackers village to the defenders village?
 
Last edited by a moderator:

DeletedUser105452

Guest
is there an updated version? the one I have as
javascript:$.getScript('http://bit.ly/twcheese_BRE');void 0;
which does not work because TW blocks the "http" and wants https only, merely editing the script text to add the s does not do anything
 

DeletedUser114063

Guest
Current legal code of BRE (Battle Report Enhancer):

Code:
javascript:$.getScript('https://media.innogamescdn.com/com_DS_UK/Scripts/BRE_launch.js');void 0;

The code existing in the official media uploader of the UK server is not functional. There are fixes that need to be done in several parts of the script.
I may take a look into it if you really want it. Personally, I believe it's a script that doesn't really offer something essential to the gameplay.
 

AxisBlade

Guest
Current legal code of BRE (Battle Report Enhancer):

Code:
javascript:$.getScript('https://media.innogamescdn.com/com_DS_UK/Scripts/BRE_launch.js');void 0;

The code existing in the official media uploader of the UK server is not functional. There are fixes that need to be done in several parts of the script.
I may take a look into it if you really want it. Personally, I believe it's a script that doesn't really offer something essential to the gameplay.
It's interesting to me, to have a little extra info without having to do troop calcs and pop calcs, or ram/catapult needed for downgrade, etc. That would be what I wanted it for
 

Time-

Guest
Current legal code of BRE (Battle Report Enhancer):

Code:
javascript:$.getScript('https://media.innogamescdn.com/com_DS_UK/Scripts/BRE_launch.js');void 0;

The code existing in the official media uploader of the UK server is not functional. There are fixes that need to be done in several parts of the script.
I may take a look into it if you really want it. Personally, I believe it's a script that doesn't really offer something essential to the gameplay.
I remember a script that told me total pop of buildings and troops compared to the farm level, the time the attack was sent and the time it would return home.
All pretty useful stuff.
 

1mil

Guest
Current legal code of BRE (Battle Report Enhancer):

Code:
javascript:$.getScript('https://media.innogamescdn.com/com_DS_UK/Scripts/BRE_launch.js');void 0;

The code existing in the official media uploader of the UK server is not functional. There are fixes that need to be done in several parts of the script.
I may take a look into it if you really want it. Personally, I believe it's a script that doesn't really offer something essential to the gameplay.

If you could look up at this one please to make it work again I would be very grateful!
 

ALessonInPointWhoring

Contributing Poster
Reaction score
408
Current legal code of BRE (Battle Report Enhancer):

Code:
javascript:$.getScript('https://media.innogamescdn.com/com_DS_UK/Scripts/BRE_launch.js');void 0;

The code existing in the official media uploader of the UK server is not functional. There are fixes that need to be done in several parts of the script.
I may take a look into it if you really want it. Personally, I believe it's a script that doesn't really offer something essential to the gameplay.

I think it does. It's the only legal farming script on .uk, but more than that, it's the best way to configure incredibly effective bookmark farming.

I'd consider BRE to be the #1 most useful script on TW in all honestly It'd slightly edge out ntoombs LA Enhancer for farming if I could only use one or the other.
 

tcamps

Non-stop Poster
Reaction score
108
Game content layout has changed, it expects data in a certain format but it's not that way any more

I attempted a quick fix for a friend, but it's definitely not complete and I'm not sure how usable it is:

javascript:$.getScript('http://tylercamp.me/tw/BRE_fix.js')

It's a huge script with a lot of copy/pasted code and really old/annoying ways of doing things, so I'm not planning on a comprehensive fix any time soon
 

cheesasaurus

Guest
I finally updated it. New quickbar script:
Code:
javascript:
(window.TwCheese && TwCheese.tryUseTool('BRE'))
|| $.ajax('https://cheesasaurus.github.io/twcheese/launch/BRE.js?'
+~~((new Date())/3e5),{cache:1});void 0;

I fixed all the obvious stuff, but there's probably some things I didn't notice.
The script now spawns a sidebar including a bug reporter you can use to report any issues.
Sidebar.png


It's a huge script with a lot of copy/pasted code and really old/annoying ways of doing things
QFT
 

natanprog

Member
Reaction score
10
Replace the 'en' with your market's code (for example: international is en, united kingdom is uk, beta is zz, german is de, etc), and the stuff to the right of the = sign with the appropriate words for your server and post here. If it doesn't use ANSI encoding, please specify which type of encoding to use. Also, if your server doesn't list the time the report was sent in the format of Oct 17, 2012 04:27:57, please explain how it works.

I don't mind adjusting the script, but I'm not going to gather data from 30+ servers by myself :lol:

Code:
case 'en':
    twcheese.language['buildings'][0] = 'Headquarters';
    twcheese.language['buildings'][1] = 'Barracks';
    twcheese.language['buildings'][2] = 'Stable';
    twcheese.language['buildings'][3] = 'Workshop';
    twcheese.language['buildings'][4] = 'Church';
    twcheese.language['buildings'][5] = 'First church';
    twcheese.language['buildings'][6] = 'Academy';
    twcheese.language['buildings'][7] = 'Smithy';
    twcheese.language['buildings'][8] = 'Rally point';
    twcheese.language['buildings'][9] = 'Statue';
    twcheese.language['buildings'][10] = 'Market';
    twcheese.language['buildings'][11] = 'Timber camp';
    twcheese.language['buildings'][12] = 'Clay pit';
    twcheese.language['buildings'][13] = 'Iron mine';
    twcheese.language['buildings'][14] = 'Farm';
    twcheese.language['buildings'][15] = 'Warehouse';
    twcheese.language['buildings'][16] = 'Hiding place';
    twcheese.language['buildings'][17] = 'Wall';
           
    twcheese.language['months'][0] = 'Jan';
    twcheese.language['months'][1] = 'Feb';
    twcheese.language['months'][2] = 'Mar';
    twcheese.language['months'][3] = 'Apr';
    twcheese.language['months'][4] = 'May';
    twcheese.language['months'][5] = 'Jun';
    twcheese.language['months'][6] = 'Jul';
    twcheese.language['months'][7] = 'Aug';
    twcheese.language['months'][8] = 'Sep';
    twcheese.language['months'][9] = 'Oct';
    twcheese.language['months'][10] = 'Nov';
    twcheese.language['months'][11] = 'Dec';

    twcheese.language['report']['catDamage'] = 'Damage by catapults:';
    twcheese.language['report']['ramDamage'] = 'Damage by rams:';
    twcheese.language['report']['farmAssistant'] = 'Possible resources:';
    twcheese.language['report']['haul'] = 'Haul:';
    twcheese.language['report']['loyalty'] = 'Loyalty:';
    twcheese.language['report']['timeSent'] = 'Battle time';
    twcheese.language['report']['unitsInTransit'] = 'Defender\'s troops, that were in transit';
    twcheese.language['report']['deletedPlayer'] = '(deleted)';
    twcheese.language['report']['unread'] = '(new)';

    twcheese.language['twcheese']['Building'] = 'Building';
    twcheese.language['twcheese']['Help'] = 'Help';
    twcheese.language['twcheese']['noReportsSelected'] = 'You haven\'t selected any reports to be renamed.';

@cheesasaurus

JavaScript:
// Brazil
case 'br':
    twcheese.language['buildings'][0] = 'Edifício principal';
    twcheese.language['buildings'][1] = 'Quartel';
    twcheese.language['buildings'][2] = 'Estábulo';
    twcheese.language['buildings'][3] = 'Oficina';
    twcheese.language['buildings'][4] = 'Igreja';
    twcheese.language['buildings'][5] = 'Primeira igreja';
    twcheese.language['buildings'][6] = 'Academia';
    twcheese.language['buildings'][7] = 'Ferreiro';
    twcheese.language['buildings'][8] = 'Praça de reunião';
    twcheese.language['buildings'][9] = 'Estátua';
    twcheese.language['buildings'][10] = 'Mercado';
    twcheese.language['buildings'][11] = 'Bosque';
    twcheese.language['buildings'][12] = 'Poço de argila';
    twcheese.language['buildings'][13] = 'Mina de ferro';
    twcheese.language['buildings'][14] = 'Fazenda';
    twcheese.language['buildings'][15] = 'Armazém';
    twcheese.language['buildings'][16] = 'Esconderijo';
    twcheese.language['buildings'][17] = 'Muralha';
    twcheese.language['buildings'][18] = 'Torre de vigia';
            
    twcheese.language['months'][0] = 'Jan';
    twcheese.language['months'][1] = 'Fev';
    twcheese.language['months'][2] = 'Mar';
    twcheese.language['months'][3] = 'Abr';
    twcheese.language['months'][4] = 'Mai';
    twcheese.language['months'][5] = 'Jun';
    twcheese.language['months'][6] = 'Jul';
    twcheese.language['months'][7] = 'Ago';
    twcheese.language['months'][8] = 'Set';
    twcheese.language['months'][9] = 'Out';
    twcheese.language['months'][10] = 'Nov';
    twcheese.language['months'][11] = 'Dez';

    twcheese.language['report']['catDamage'] = 'Dano - catapultas:';
    twcheese.language['report']['ramDamage'] = 'Dano - aríetes:';
    twcheese.language['report']['farmAssistant'] = 'Possible resources:'; // todo: translate
    twcheese.language['report']['haul'] = 'Saque:';
    twcheese.language['report']['loyalty'] = 'Lealdade:';
    twcheese.language['report']['timeSent'] = 'Data da batalha';
    twcheese.language['report']['unitsInTransit'] = 'Tropas defensivas em trânsito';
    twcheese.language['report']['deletedPlayer'] = '(apagado)';
    twcheese.language['report']['unread'] = '(novo)';

    twcheese.language['twcheese']['Building'] = 'Building'; // todo: translate
    twcheese.language['twcheese']['Help'] = 'Help'; // todo: translate
    twcheese.language['twcheese']['noReportsSelected'] = 'You haven\'t selected any reports to be renamed.'; // todo: translate
 
Top