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

DeletedUser

Guest
market code: se
encoding: UTF-8
time format: maj 10, 2013 04:27:57


Are you able to update it for the Swedish servers?

Code:
case 'se':
 twcheese.language['buildings'][0] = 'Högkvarter';
 twcheese.language['buildings'][1] = 'Barack';
 twcheese.language['buildings'][2] = 'Stall';
 twcheese.language['buildings'][3] = 'Verkstad';
 twcheese.language['buildings'][4] = 'Kyrka';
 twcheese.language['buildings'][5] = 'Första Kyrkan';
 twcheese.language['buildings'][6] = 'Akademi';
 twcheese.language['buildings'][7] = 'Smedja';
 twcheese.language['buildings'][8] = 'Samlingsplats';
 twcheese.language['buildings'][9] = 'Staty';
 twcheese.language['buildings'][10] = 'Marknad';
 twcheese.language['buildings'][11] = 'Sågverk';
 twcheese.language['buildings'][12] = 'Lergrop';
 twcheese.language['buildings'][13] = 'Järngruva';
 twcheese.language['buildings'][14] = 'Farm';
 twcheese.language['buildings'][15] = 'Förråd';
 twcheese.language['buildings'][16] = 'Gömställe';
 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] = 'Maj';
 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] = 'Dec';

 twcheese.language['report']['catDamage'] = 'Skada gjord av katapulter:';
 twcheese.language['report']['ramDamage'] = 'Skada gjorda av Murbräckan:';
 twcheese.language['report']['farmAssistant'] = 'Resurser spejade:';
 twcheese.language['report']['haul'] = 'Byte:';
 twcheese.language['report']['loyalty'] = 'Lojalitet:';
 twcheese.language['report']['timeSent'] = 'Skickat';
 twcheese.language['report']['unitsInTransit'] = 'Enheter utanför byn';
  twcheese.language['report']['deletedPlayer'] = '(borttaget)';

TYVM in advance :)

Regards,
Jaxx
 
Last edited by a moderator:

DeletedUser

Guest
I can't get the script to work in Opera, but it is working in Firefox... well it is at least loading all of the information on the Attack battle report page but there is no data in the table... Is it working in Opera?
 

DeletedUser107667

Guest
Yes, this is possible. In what ways would you like to sort it? (I'd imagine that distance would be an option)

Sorry, missed the reply.

Distance is one sorting option but there's more I can think of, mostly in context of larger scale attacks instead of farming:

- Defender: when launching carpet nukes or fakes against a tribe it may be useful to the concentrate on one player. Either to see results on him particularly or to repeat attacks via snaplinks
- Remaining defenses: sorting by lc or axe allows to quickly select offensive villas and launch mass attack on them. Same way targeted attack on defense villas can be used
- Building level (or just wall level) - quickly sort out villas with walls intact/at all and launch at them
- Loyalty - well, same

These are what I thought of when asking about sort option.
 

DeletedUser103903

Guest
I think there is still a bug with this script.

I tried using it today. Almost everything works fine, except exporting links option. When I tried to export links using the option attacking village as current village, it does the job well. But when I try exporting the links using the option attacking village as original village, it does not extract me any links.

It just fills in the header into the output box. Is anyone else facing the same problem?

If yes, Cheese, could you fix this error?

Thank you
 

DeletedUser

Guest
@battlecattle: Only reports that have been renamed by the BRE will be used when exporting repeat-attack links to send from the original village. If you haven't renamed anything, then you will only get a header. Try selecting all reports, mass renaming by clicking » Rename, and then exporting. If it still doesn't work let me know and I'll take a closer look.
 

DeletedUser

Guest
Hi Cheese,

Thanks for adding the walk time in the recent update to your script!

I have another suggestion....

Can you make it so that the Rams icon is clickable and it takes you to the rally point and inputs the exact number of rams required to take the walls down to 0 while inputting an appropriate number of axes to help protect your rams?

Also how do you cache a script on firefox so it doesn't download from Dropbox everytime I click it? :)

Cheers again!
 

DeletedUser

Guest
Is it not compatible with w69? I get this message when using it:

The activated scripts may be incompatible with the current game version.
Should problems still occur, please deactivate or update the scripts.
If problems still occur, please contact the author of the script.
 

DeletedUser112635

Guest
the time of troops returning is incorrect, i use it to backtime poeple but its seems not to be working, i attacked some guy and used the script, it told me my troops were returning at
Returns Oct 13, 2013 21:25:32
when i looked they wre returning at :


any way of you fixing it ?
 

DeletedUser

Guest
@Mubs:
I can make it so the ram icon opens rally point with rams filled in. As for filling in an escort... that will be up to the player to decide.

@Desire Hd:
Which world did this happen on?
What were the coordinates of the village attacking?
What were the coordinates of the village defending?
What units did you include in your attack?
 

DeletedUser112635

Guest
it was speed so i cant really get the troops and co ords of the vill, but usually lc for a backtime.

cheers for your time
 

DeletedUser

Guest
This is what I get when I try to use it:
The activated scripts may be incompatible with the current game version.
Should problems still occur, please deactivate or update the scripts.
If problems still occur, please contact the author of the script.

I'm in W72.

It does show me ODD and ODA, but it doesn't show me the amount of troops to collect haul which was what I was looking for.

Can this be resolved?
 

DeletedUser

Guest
Does this bar show up towards the top?

BRE_reportTools.png


click the + and it will expand.
 

DeletedUser114063

Guest
[FONT=&amp]market code: gr
encoding: UTF-8
time format: 17.10.12 04:27:57



case 'gr':[/FONT]
Code:
  [FONT=&amp]                               /*==== fyletikesmaxes.gr/ ====*/[/FONT]

  [FONT=&amp]                               twcheese.language['buildings'][0] = '[/FONT][FONT=&amp]Επιτελείο[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][1] = '[/FONT][FONT=&amp]Στρατώνας[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][2] = '[/FONT][FONT=&amp]Στάβλος[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][3] = '[/FONT][FONT=&amp]Εργαστήριο[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][4] = '[/FONT][FONT=&amp]Εκκλησία[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][5] = '[/FONT][FONT=&amp]Πρώτη[/FONT][FONT=&amp]Εκκλησία[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][6] = '[/FONT][FONT=&amp]Ακαδημία[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][7] = '[/FONT][FONT=&amp]Οπλοποιείο[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][8] = '[/FONT][FONT=&amp]Μέρος[/FONT][FONT=&amp]Συγκέντρωσης[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][9] = '[/FONT][FONT=&amp]Άγαλμα[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][10] = '[/FONT][FONT=&amp]Αγορά[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][11] = '[/FONT][FONT=&amp]Ξυλουργείο[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][12] = '[/FONT][FONT=&amp]Λατομείο[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][13] = '[/FONT][FONT=&amp]Σιδηρωρυχείο[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][14] = '[/FONT][FONT=&amp]Αγρόκτημα[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][15] = '[/FONT][FONT=&amp]Αποθήκη[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][16] = '[/FONT][FONT=&amp]Κρυψώνα[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['buildings'][17] = '[/FONT][FONT=&amp]Τείχος[/FONT][FONT=&amp]';[/FONT]
  

  [FONT=&amp]                               twcheese.language['months'][0] = '[/FONT][FONT=&amp]Ιαν[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['months'][1] = '[/FONT][FONT=&amp]Φεβ[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['months'][2] = '[/FONT][FONT=&amp]Μαρ[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['months'][3] = '[/FONT][FONT=&amp]Απρ[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['months'][4] = '[/FONT][FONT=&amp]Μαι[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['months'][5] = '[/FONT][FONT=&amp]Ιον[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['months'][6] = '[/FONT][FONT=&amp]Ιολ[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['months'][7] = '[/FONT][FONT=&amp]Αυγ[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['months'][8] = '[/FONT][FONT=&amp]Σεπ[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['months'][9] = '[/FONT][FONT=&amp]Οκτ[/FONT][FONT=&amp]';[/FONT]
  [FONT=&amp]                               twcheese.language['months'][10] = '[/FONT][FONT=&amp]Νοε[/FONT][FONT=&amp]';[/FONT]
                                 [FONT=&amp]twcheese.language['months'][11] = 'Δεκ';[/FONT]
  
  [FONT=&amp]                               twcheese.language['report']['catDamage'] = '[/FONT][FONT=&amp]Ζημία που έκαναν οι καταπέλτες:';[/FONT]

  [FONT=&amp]                               twcheese.language['report']['ramDamage'] = '[/FONT][FONT=&amp]Ζημιά που προκλήθηκε από τον πολιορκητικό κριό:';[/FONT]

                                 [FONT=&amp]twcheese.language['report']['farmAssistant'] = '[/FONT][FONT=&amp]Πιθανοί[/FONT][FONT=&amp] πόροι[/FONT][FONT=&amp]:';[/FONT]
  [FONT=&amp]                               twcheese.language['report']['haul'] = 'Αλλαγή:';[/FONT]

  [FONT=&amp]                               twcheese.language['report']['loyalty'] = 'Πίστη:';[/FONT]

  [FONT=&amp]                               twcheese.language['report']['timeSent'] = '[/FONT][FONT=&amp]Απεσταλμένο';[/FONT]

  [FONT=&amp]                               twcheese.language['report']['unitsInTransit'] = 'Στρατεύματα αμυνόμενου που ήταν σε μεταφορά';[/FONT]

  [FONT=&amp]                               twcheese.language['report']['deletedPlayer'] = '(διεγραμμένο)';[/FONT]

  [FONT=&amp]                               twcheese.language['report']['unread'] = '(νέο)';[/FONT]

  
  [FONT=&amp]                               twcheese.language['twcheese']['Building'] = 'Κτίριο';[/FONT]

  [FONT=&amp]                               twcheese.language['twcheese']['Help'] = 'Βοήθεια';[/FONT]

  [FONT=&amp]                                twcheese.language['twcheese']['noReportsSelected'] = 'Δεν έχεις επιλέξει  καμιά αναφορά για μετονομασία';[/FONT]

  [FONT=&amp]break; [/FONT]

Let me know if you added this data to the script-info.
 

DeletedUser114063

Guest
Well i appreciate your reply but when i activate it, it still shows the listing bar in english and so it doesn't recognize the report stats. I checked the uploading script data on the uk's script team url and although it does show up the new languages additions (cz, se) i can't find the greek one. Are you sure greek langugage is added?
 
Top