Slava7572 1,685 #378772 Posted February 6, 2017 Implemented in latest version. This is disabled by default, so you should set customColors to true to enable it. Only the XVM scale is supported, so have a look to this post to find out the conversions to other scales. BTW, if you only want to disable colorization, just set colorizeAuthor and colorizeTarget to false. Thank you;) Quote Share this post Link to post Short link Share on other sites
yaya070 3 #378914 Posted February 8, 2017 hi tey have many error in python.log like this [WARNING] (res_mods/configs/xvm/py_macro\mod_chat_color.py, 130): Cannot find VID for player with name "<yaya070" [WARNING] (res_mods/configs/xvm/py_macro\mod_chat_color.py, 130): Cannot find VID for player with name "M40/M43" Quote Share this post Link to post Short link Share on other sites
Tey 34 #378930 Posted February 8, 2017 @yoyo070: can you provide a replay where this happens please? Quote Share this post Link to post Short link Share on other sites
yaya070 3 #378939 Posted February 8, 2017 germany-G13_VK3001H_38_mannerheim_line.wotreplay in python log 2017-02-08 18:34:02.316: WARNING: [WARNING] (res_mods/configs/xvm/py_macro\mod_chat_color.py, 146): Cannot find VID for player with name "Grille"2017-02-08 18:34:11.234: WARNING: [WARNING] (res_mods/configs/xvm/py_macro\mod_chat_color.py, 146): Cannot find VID for player with name "leFH18B2" but the message was send in chat Quote Share this post Link to post Short link Share on other sites
Tey 34 #378952 Posted February 8, 2017 I've checked the replay and the warnings are harmless. Download the latest version of the mod and they should go away. Note that if you want the arty names to be colorized as well in these messages, you should make sure they have the same format as player names (that is, something like "player_name (vehicle)" instead of "vehicle (player_name)"). Quote Share this post Link to post Short link Share on other sites
Ragnarocek 17 #381024 Posted February 24, 2017 (edited) nvm, my mistake :) ignore this post :D Edited February 24, 2017 by Ragnarocek Quote Share this post Link to post Short link Share on other sites
HekePrkl 0 #382711 Posted March 7, 2017 The flag feature is awesome, I love it. I can now easily dismiss certain comments based on their nationality alone. :D I find the messages a bit too long as they include firstly the name that can be over 12 characters, then the clan name which can be even 7 characters I think and then the vehicle name which is also often quite long. And if you ask support fire, it then also shows all the same info for the target too. The message then goes on two lines and becomes messy. I was wondering if you could implement the config so that there would be this "format" field into which I could format how the nick should be displayed and whether there should be the vehicle name or not. Like this: "authorformat": "<font color='{{c:r}}>{{name%.10s~..}}</font><font color='{{vtype}}'>{{vehicle}}</font>", "targetformat": "<font color='{{c:r}}>{{name%.7s~..}}</font><font color='{{vtype}}'>{{vehicle}}</font>", I looked into the python code but aren't at all familiar with how to modify or create those. Is there some documentation what I can do with xvm? Quote Share this post Link to post Short link Share on other sites
Aslain 399 #382852 Posted March 9, 2017 Where is this error coming from? 2017-03-09 01:22:47.616: WARNING: [WARNING] (res_mods/configs/xvm/py_macro\mod_chat_color.py, 130): Cannot find VID for player with name "<michal_1986" I can post full log if needed. Quote Share this post Link to post Short link Share on other sites
Tey 34 #382859 Posted March 9, 2017 @HekePrkl: that's a good suggestion, but I need time to add it. @Aslain: I guess this comes from other mods that either use the chat to print custom messages or modify chat messages (like this addon does). I could tell more with a replay, but unless this addon does not work as expected, this should be a harmless warning which do not appear in latest version (unless you change the default logging level). Quote Share this post Link to post Short link Share on other sites
yaya070 3 #386965 Posted April 26, 2017 (edited) update for 9.18 ? Edited April 26, 2017 by yaya070 Quote Share this post Link to post Short link Share on other sites
Tey 34 #387035 Posted April 27, 2017 It works out of the box for me. Tell me if you encounter issues. Quote Share this post Link to post Short link Share on other sites
yaya070 3 #387116 Posted April 27, 2017 working sorry Quote Share this post Link to post Short link Share on other sites
Ragnarocek 17 #395149 Posted June 13, 2017 (edited) mod stopped to show nicknames in wn8 color... is there some patch needed ? (all nicknames are red) EDIT: mod working fine, I had enabled wrong scale in settings on XVM site.... Edited June 13, 2017 by Ragnarocek Quote Share this post Link to post Short link Share on other sites