Jump to content


[0.9.19] Research Watchdog


  • Please log in to reply
116 replies to this topic

Krzysztof_Chodak #1 Posted 20 December 2014 - 12:06 AM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012

notifies when there is enough XP to unlock module

optionally alerts when vehicle goes elite and accelerate crew training is off

configurable

 

mod checks current vehicle' modules after game is launched, after vehicle selection change and after receiving battle results

early but working version, give it a try and let me know what do you think

 

TODO:

- always selected vehicle is being checked while it should be obtained from battle result

 

Download linkIt contains all of my mods

 

One pic from Cromwell:

rw.png

optional info about locked modules with missing xp info:

rw2.png

 

similar mod here (more advanced i guess, better state visibility but I am not sure it notifies availability of modules)

Attached Files

  • Attached File   0.9.19.0-20170531-research_watchdog.zip   8.61K

Edited by Krzysztof_Chodak, 31 May 2017 - 08:02 AM.


PeaceWalker1 #2 Posted 20 December 2014 - 09:39 AM

    Second Lieutenant

  • Player
  • 13454 battles
  • 1,120
  • Member since:
    01-21-2012

sounds interesting and useful, but some pics would be nice

edit: thanks for the pic, now i know where i have to look :)


Edited by PeaceWalker1, 20 December 2014 - 07:06 PM.


Goldzius #3 Posted 20 December 2014 - 10:15 AM

    Private

  • Player
  • 15741 battles
  • 28
  • [SJEZK] SJEZK
  • Member since:
    08-12-2011

1. alerts accelerate crew training - is working fine , message appears and disappears when switch between tanks
2. message when Items ready to be researched - it's appears ONLY single time, pls make it to work like crew alert see 1.
3. mod stops working if i disconnect from server & enter again without close game

....

 



Krzysztof_Chodak #4 Posted 20 December 2014 - 01:14 PM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012

View PostGoldzius, on 20 December 2014 - 10:15 AM, said:

1. alerts accelerate crew training - is working fine , message appears and disappears when switch between tanks
2. message when Items ready to be researched - it's appears ONLY single time, pls make it to work like crew alert see 1.
3. mod stops working if i disconnect from server & enter again without close game

....

 

 

the problem with point 2 is that there are cases when you want module X to be researched before Y and Y is cheaper - having notification that Y is ready to be researched each battle is a nonsense; i can make it optional if you want but first reconsider my example

BTW - it will be shown next time you enter game


Edited by Krzysztof_Chodak, 20 December 2014 - 01:16 PM.


Krzysztof_Chodak #5 Posted 20 December 2014 - 02:09 PM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012
new file uploaded: handles battle results corectly

Krzysztof_Chodak #6 Posted 20 December 2014 - 11:57 PM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012
new file uploaded: again tries to handle battle results correctly 

Krzysztof_Chodak #7 Posted 31 December 2014 - 12:52 PM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012

similar mod here

 



Panzer_ich_begruesse_Sie #8 Posted 31 December 2014 - 01:32 PM

    Lieutenant Сolonel

  • Beta Tester
  • 28524 battles
  • 3,254
  • [-DPG] -DPG
  • Member since:
    11-18-2010
Yeah, but only for tanks, not for tank modules.

Krzysztof_Chodak #9 Posted 03 January 2015 - 05:07 PM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012

new file to be uploaded soon:

optional info about locked modules with missing xp info

rw2.png



Krzysztof_Chodak #10 Posted 03 January 2015 - 05:32 PM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012
new file uploaded with xp left thousands separator formatting

Krzysztof_Chodak #11 Posted 08 January 2015 - 08:31 AM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012
new file uploaded: notifications should not stop appearing after a battle

SdKfz223 #12 Posted 08 January 2015 - 08:30 PM

    Private

  • Player
  • 7830 battles
  • 23
  • Member since:
    09-19-2011

Helpful little tool!

Thanks a lot :medal:



Krzysztof_Chodak #13 Posted 14 February 2015 - 07:22 PM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012
new file uploaded - less spam in python.log

Dumadidak #14 Posted 30 April 2015 - 08:50 PM

    Sergeant

  • Player
  • 39973 battles
  • 228
  • [AZP] AZP
  • Member since:
    10-28-2011

Dear Krzysztof

 

This mod is rly helpful thx for it!

However, I have little problems with making polish translation of your watchdog. I have done it already in python file because config file seems to doesn't work. And there is something more, there is no Crew Acceleration message... Maybe just me have this issue?

 

Greetings

Dumadidak

 



Krzysztof_Chodak #15 Posted 01 May 2015 - 10:15 AM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012

View PostDumadidak, on 30 April 2015 - 08:50 PM, said:

Dear Krzysztof

 

This mod is rly helpful thx for it!

However, I have little problems with making polish translation of your watchdog. I have done it already in python file because config file seems to doesn't work. And there is something more, there is no Crew Acceleration message... Maybe just me have this issue?

 

Greetings

Dumadidak

 

 

nie ma tej wiadomosci w pythonie - jest tylko w konfigu: msg = config.get("warnIfEliteAndNoCrewAcc", "")

spojrz na log, moze masz popsuty json i sie nie ladowal/nie dzialal dla ciebie?


Edited by Krzysztof_Chodak, 01 May 2015 - 10:16 AM.


Dumadidak #16 Posted 01 May 2015 - 01:47 PM

    Sergeant

  • Player
  • 39973 battles
  • 228
  • [AZP] AZP
  • Member since:
    10-28-2011

Mogę Ci już powiedzieć dlaczego json nie działa. Bo nie obsługuje polskich znaków. Probówałem bez polskich i zadziałał a gdy pojawiło się jakiekolwiek "ł" to przestał działać :)

 

 

EDIT:
Oh. sorry guys! I forgot that it is english thread! I had problems with json file because I want to use polish signs.

 

EDIT-2:

A to przez Twojego posta Krzyśku się zakręciłem! Mam Cię!


Edited by Dumadidak, 01 May 2015 - 01:56 PM.


Dumadidak #17 Posted 01 May 2015 - 03:26 PM

    Sergeant

  • Player
  • 39973 battles
  • 228
  • [AZP] AZP
  • Member since:
    10-28-2011

Ok Krzysztof, for now I have polish translation without "ł", It is no problem for me because I found words free of this "ąę" signs :)

I have some suggestions for U about watchdog, maybe it could be useful to improve your brilliant mod :)


Picture:

watchdog.png

 

 

1. Maybe it is possible to put that 2 messages into the only one? And when it is nothing ready to research it won't show up? It will save space in messenger. I had many situations when messenger loaded soooooo long ;)

 

2. How about possibility of putting something like this in json file (now it is impossible to put that Arial arrows into your mod), I don't have solution for this...

Spoiler

 

3. How about possibility of changing text color under "Gotowe do wybadania:"? Maybe u could add this to json? Now I can't make it white (like at the picture)

Spoiler

 

It is just some ideas, but for now watchdog is good as well! Thank You Krzysztof for your mods :)

 

Btw. It will be nice if someone could add clearing button to the messenger.... hmmmmm



Krzysztof_Chodak #18 Posted 02 May 2015 - 07:15 PM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012

new file uploaded and attached

0. mod updated to use utf8 (with BOM) json so it will accept non-ascii chars (łąż etc) in the config

1. "And when it is nothing ready to research it won't show up?" already in config: "notifyOfLockedModules": true (change to false) but number of such messages will be limited (more below) so maybe leave it as it is

2. with utf8 the following now works fine: "notifyOfLockedModulesMsgItem": "<font face='Arial' color='#FFFFFF'>►</font><font color='#FFFFFF'>%(xp)s xp left for %(item)s</font>"

3. config extended

+ each message will be displayed only once unless xp changes, no more spam :)

+ messages will disappear from the messenger between battles - only those after last battle are there = less cluttered messenger


Edited by Krzysztof_Chodak, 21 November 2015 - 08:41 PM.


Krzysztof_Chodak #19 Posted 03 May 2015 - 11:13 AM

    Warrant Officer

  • Player
  • 38502 battles
  • 945
  • [AZP] AZP
  • Member since:
    12-07-2012

new file

- option to disable popup (alert box) when no crew acc,

- option to force spam/repeat same msgs

- less smap in log


Edited by Krzysztof_Chodak, 21 November 2015 - 08:41 PM.


Dumadidak #20 Posted 03 May 2015 - 07:51 PM

    Sergeant

  • Player
  • 39973 battles
  • 228
  • [AZP] AZP
  • Member since:
    10-28-2011

Hi!

I was experimenting with many configurations (sizes, leadings, tabstops, symbols) and I have finished with something like this:
WatchDog_DumadidakConfigs.jpg

 

I used <tabstops> and it works brilliant! But there is little thing that I wanna ask You for. The string of "Item" sometimes is very long (like "105 mm Royal Ordnance L7A1&quot;) could U add rule in python to make it short if it is longer than 25 chars?

 

I'm pretty content about the results, maybe someone else want it, that's why I'm giving U code for both (PL&EN) versions:

Spoiler

 

Or just files (json configs):

Attached File   WatchDog_Configs.rar   1.01K

 

Of course If U like it Krzysztof, You could use it in your mod. I'm rly grateful that U have made this modification and few important for me fix patches :)


Edited by Dumadidak, 03 May 2015 - 08:00 PM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users