Misc Battle Report Enhancer

DeletedUser

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 0

NightWitch1

Guest
got the same note as max burn, on the scout report itself it works but he wont do the overview page
 

DeletedUser

Guest
Should be compatible with 8.19 now.

@Tsalkapone: the UK hosted script has been updated
 

DeletedUser

Guest
Hello Cheesy,

it seems to be a excellent script. Does it work on the french server? I've my co player who plays on the W22 of the french server. I tried it there and it didn't work. Any reason?

Thank you Cheesy and keep up the good work. :icon_smile:
 

DeletedUser

Guest
got the same note as max burn, on the scout report itself it works but he wont do the overview page

Im getting the same thing as well with the same problem, will work on individual reports but the error message appears on the Overview Page, attacks filter tab is utilized as instructed.
 

DeletedUser

Guest
updated it for 8.20

@LordHeru instructions for including your server's language can be found in the original post
 

DeletedUser

Guest
Last edited by a moderator:

DeletedUser

Guest
fill in the blanks and share it! http://forum.tribalwars.net/showthr...ort-Enhancer&p=6631732&viewfull=1#post6631732

basically, after the = signs. And before the semicolons. There are some phrases that appear in the english version of the game. Replace them with the phrase that appears in the French server.

For example, if you click on your HQ building, on the international server it says "Headquarters". Just look in that spot and then copy/pasteover whatever was listed there.

where it says
Code:
twcheese.language['buildings'][0] = 'Headquarters';
you would write over the part that says
Code:
Headquarters
 

DeletedUser103792

Guest
.no

Can you add Norwegian server support? I have translated it for you.

Code:
case 'no':
    twcheese.language['buildings'][0] = 'Hovedkvarter';
    twcheese.language['buildings'][1] = 'Brakker';
    twcheese.language['buildings'][2] = 'Stall';
    twcheese.language['buildings'][3] = 'Verksted';
    twcheese.language['buildings'][4] = 'Kirke';
    twcheese.language['buildings'][5] = 'Første Kirke';
    twcheese.language['buildings'][6] = 'Akademi';
    twcheese.language['buildings'][7] = 'Smie';
    twcheese.language['buildings'][8] = 'Samlingsplass';
    twcheese.language['buildings'][9] = 'Statue';
    twcheese.language['buildings'][10] = 'Marked';
    twcheese.language['buildings'][11] = 'Hogstfelt';
    twcheese.language['buildings'][12] = 'Leirgrav';
    twcheese.language['buildings'][13] = 'Jerngruve';
    twcheese.language['buildings'][14] = 'Gård';
    twcheese.language['buildings'][15] = 'Varehus';
    twcheese.language['buildings'][16] = 'Skjulested';
    twcheese.language['buildings'][17] = 'Mur';
            
    twcheese.language['months'][0] = 'Jan';
    twcheese.language['months'][1] = 'Feb';
    twcheese.language['months'][2] = 'Mar';
    twcheese.language['months'][3] = 'Apr';
    twcheese.language['months'][4] = 'Mai';
    twcheese.language['months'][5] = 'Jun';
    twcheese.language['months'][6] = 'Jul';
    twcheese.language['months'][7] = 'Aug';
    twcheese.language['months'][8] = 'Sep';
    twcheese.language['months'][9] = 'Okt';
    twcheese.language['months'][10] = 'Nov';
    twcheese.language['months'][11] = 'Des';
    
    twcheese.language['report']['catDamage'] = 'Skade forårsaket av katapulter:';
    twcheese.language['report']['ramDamage'] = 'Skade forårsaket av rambukker:';
    twcheese.language['report']['farmAssistant'] = 'Speidede ressurser:';
    twcheese.language['report']['haul'] = 'Bytte';
    twcheese.language['report']['loyalty'] = 'Lojalitet:';
    twcheese.language['report']['timeSent'] = 'Sendt';
    twcheese.language['report']['unitsInTransit'] = 'Forsvarer';
    twcheese.language['report']['deletedPlayer'] = '(slettet)';
 

DeletedUser103792

Guest
Isn't this script supposed to calculate how many rams needed for taking down wall to 0? When I try it for sure calculates wrong. Can it have something with my translation to do?
 

DeletedUser

Guest
It might. How many rams is it suggesting to use, and for what wall level?

A screenshot could help.
 

DeletedUser103792

Guest
Wall is lvl 6 and it suggest 2 rams.
18f0f2e6a3901c2f61c4de9e5b18bf1a.png

It also wants to send 2 rams on wall lvl 11 etc. So there is something wrong.
 

DeletedUser105452

Guest
for some reason, on the troops survived like, it only shows spears and swords, if I attack with 100 spear 100 axe and loose 10 of each it shows:
sent: 100 0 100
lost 10 0 10
survived: 90 0 0
 

DeletedUser

Guest
TypeError: twcheese_reportsFolderDisplaySettings is undefined I keep getting this error.
 

DeletedUser103792

Guest
Can you add Norwegian server support? I have translated it for you.

Code:
case 'no':
    twcheese.language['buildings'][0] = 'Hovedkvarter';
    twcheese.language['buildings'][1] = 'Brakker';
    twcheese.language['buildings'][2] = 'Stall';
    twcheese.language['buildings'][3] = 'Verksted';
    twcheese.language['buildings'][4] = 'Kirke';
    twcheese.language['buildings'][5] = 'Første Kirke';
    twcheese.language['buildings'][6] = 'Akademi';
    twcheese.language['buildings'][7] = 'Smie';
    twcheese.language['buildings'][8] = 'Samlingsplass';
    twcheese.language['buildings'][9] = 'Statue';
    twcheese.language['buildings'][10] = 'Marked';
    twcheese.language['buildings'][11] = 'Hogstfelt';
    twcheese.language['buildings'][12] = 'Leirgrav';
    twcheese.language['buildings'][13] = 'Jerngruve';
    twcheese.language['buildings'][14] = 'Gård';
    twcheese.language['buildings'][15] = 'Varehus';
    twcheese.language['buildings'][16] = 'Skjulested';
    twcheese.language['buildings'][17] = 'Mur';
            
    twcheese.language['months'][0] = 'Jan';
    twcheese.language['months'][1] = 'Feb';
    twcheese.language['months'][2] = 'Mar';
    twcheese.language['months'][3] = 'Apr';
    twcheese.language['months'][4] = 'Mai';
    twcheese.language['months'][5] = 'Jun';
    twcheese.language['months'][6] = 'Jul';
    twcheese.language['months'][7] = 'Aug';
    twcheese.language['months'][8] = 'Sep';
    twcheese.language['months'][9] = 'Okt';
    twcheese.language['months'][10] = 'Nov';
    twcheese.language['months'][11] = 'Des';
    
    twcheese.language['report']['catDamage'] = 'Skade forårsaket av katapulter:';
    twcheese.language['report']['ramDamage'] = 'Skade forårsaket av rambukker:';
    twcheese.language['report']['farmAssistant'] = 'Speidede ressurser:';
    twcheese.language['report']['haul'] = 'Bytte';
    twcheese.language['report']['loyalty'] = 'Lojalitet:';
    twcheese.language['report']['timeSent'] = 'Sendt';
    twcheese.language['report']['unitsInTransit'] = 'Forsvarer';
    twcheese.language['report']['deletedPlayer'] = '(slettet)';

So I realized that my translation wasn't complete. I have now edited it and hope you can update the script with this, hopefully, correct translation.

Code:
case 'no':	twcheese.language['buildings'][0] = 'Hovedkvarter';
	twcheese.language['buildings'][1] = 'Brakker';
	twcheese.language['buildings'][2] = 'Stall';
	twcheese.language['buildings'][3] = 'Verksted';
	twcheese.language['buildings'][4] = 'Kirke';
	twcheese.language['buildings'][5] = 'Første Kirke';
	twcheese.language['buildings'][6] = 'Akademi';
	twcheese.language['buildings'][7] = 'Smie';
	twcheese.language['buildings'][8] = 'Samlingsplass';
	twcheese.language['buildings'][9] = 'Statue';
	twcheese.language['buildings'][10] = 'Marked';
	twcheese.language['buildings'][11] = 'Hogstfelt';
	twcheese.language['buildings'][12] = 'Leirgrav';
	twcheese.language['buildings'][13] = 'Jerngruve';
	twcheese.language['buildings'][14] = 'Gård';
	twcheese.language['buildings'][15] = 'Varehus';
	twcheese.language['buildings'][16] = 'Skjulested';
	twcheese.language['buildings'][17] = 'Mur';
			
	twcheese.language['months'][0] = 'Jan';
	twcheese.language['months'][1] = 'Feb';
	twcheese.language['months'][2] = 'Mar';
	twcheese.language['months'][3] = 'Apr';
	twcheese.language['months'][4] = 'Mai';
	twcheese.language['months'][5] = 'Jun';
	twcheese.language['months'][6] = 'Jul';
	twcheese.language['months'][7] = 'Aug';
	twcheese.language['months'][8] = 'Sep';
	twcheese.language['months'][9] = 'Okt';
	twcheese.language['months'][10] = 'Nov';
	twcheese.language['months'][11] = 'Des';
	
	twcheese.language['report']['catDamage'] = 'Skade forårsaket av katapulter:';
	twcheese.language['report']['ramDamage'] = 'Skade forårsaket av rambukker:';
	twcheese.language['report']['farmAssistant'] = 'Speidede ressurser:';
	twcheese.language['report']['haul'] = 'Bytte';
	twcheese.language['report']['loyalty'] = 'Lojalitet:';
	twcheese.language['report']['timeSent'] = 'Sendt';
	twcheese.language['report']['unitsInTransit'] = 'Forsvarer';
	twcheese.language['report']['timeSent'] = 'Kamptid';
	twcheese.language['report']['unitsInTransit'] = 'Antall';
	twcheese.language['report']['deletedPlayer'] = '(slettet)';
	twcheese.language['report']['unread'] = '(ny)';


	twcheese.language['twcheese']['Building'] = 'Bygning';
	twcheese.language['twcheese']['Help'] = 'Hjelp';
	twcheese.language['twcheese']['noReportsSelected'] = 'Du har ikke valgt hvilke rapporter som skal endres navn på.';
 
Top