Jump to content
Korean Random
Andyss

Anonymized platoon mate

Recommended Posts

How to fix this extra marking (box before clan name)  when platooning with anonymized player? maybe easy fix?

 

    "nickFormatLeft": "<font color='{{c:winrate}}' alpha='{{alive?#FF|#80}}'>{{winrate%2d~%|--%}}</font> {{name%.{{my-anonym?10|12}}s~..}}</font>{{my-anonym? <font face='xvm' size='19'>&#x11E;</font>}} <font alpha='#A0'>{{clan}}</font>",

ano.jpg

Share this post


Link to post

Short link
Share on other sites

Checked that  I dont have that font in windows 10. Firewall should be open for all WOT instances (tested also without firewall) . Tested also with default config. Still that box. These tests are made with replay. Next time Ill play online platoon Ill attach full xvm.log.. Not so big problem anyway.

20191229_2033_germany-G65_JagdTiger_SdKfz_185_11_murovanka.wotreplay xvm.log

Edited by Andyss

Share this post


Link to post

Short link
Share on other sites
26 минут назад, Andyss сказал:

Checked that  I dont have that font in windows 10

 

Sometimes it happens that a copy of the font remains on the system if you install a new version on top of it.

At first glance, they are not visible in the folder. To be completely sure, follow these steps:

 

Run the following command on the command line:

cd c:\windows\fonts

Next:

dir /s *.ttf *.otf > c:\fonts_list.txt

The text file "fonts_list.txt" should appear on the "C" drive, attach it.

 

30 минут назад, Andyss сказал:

tested also without firewall

 

 

Not the firewall itself should be enabled or disabled on the system, but one of its dependent services must be running.

It is indicated further on the screenshot.

 

e0568b56dee0.png

 

If this service is not running, then the fonts in the system will not be able to install.

Or used from temporary folders ([WoT]\mods\temp\com.modxvm.xfw.fonts\fonts)

 

Share this post


Link to post

Short link
Share on other sites
9 часов назад, Andyss сказал:

Here is font list

 

So first glance it is not clear if you have a font that has the internal name 'xvm'.

Let's go the other way. Now do this operation on the command line:

reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" C:\fonts_list.txt /y

Similarly, attach the file to the message, it will also be located on the «C» drive.

Share this post


Link to post

Short link
Share on other sites

It would not be bad if you opened the file:

  • xvmsymbol.ttf

Along the way:

"World_of_Tanks\mods\temp\com.modxvm.xfw.fonts\fonts"

Just double click on it, the font version and its update date should be the same as in the screenshot below:

 

24f6f44eb95c.png

Edited by night_dragon_on
Обновление вложений ...

Share this post


Link to post

Short link
Share on other sites
21 минуту назад, Andyss сказал:

If I double click the  xvmsymbol.ttf in the mods/temp it says same version

 

Now we can confidently say that there is no problem with the font.

 

27.12.2019 в 01:34, Andyss сказал:

when platooning with anonymized player?

30.12.2019 в 23:22, Andyss сказал:

have to test with real game

 

I tried to reproduce this situation with my own using the default config.

Played in a platoon with a player who activated anonymity mode.

This extra symbol did not appear after its nickname.

 

@Andyss , Try temporarily replacing the code:

"nickFormatLeft": "<font color='{{c:winrate}}' alpha='{{alive?#FF|#80}}'>{{winrate%2d~%|--%}}</font> {{name%.{{my-anonym?10|12}}s~..}}</font>{{my-anonym? <font face='xvm' size='19'>&#x11E;</font>}} <font alpha='#A0'>{{clan}}</font>",

At this:

"nickFormatLeft": "<font color='{{c:winrate}}' alpha='{{alive?#FF|#80}}'>{{winrate%2d~%|--%}}</font> {{name%.10s~..}}</font> {{my-anonym}}",

And see if something will be displayed after the nickname of the squadman.

Share this post


Link to post

Short link
Share on other sites

It looks like this, after that  tested again with default config and the box is there, like in my own config. Tested also with all other mods removed. And box stays there.-

 

shot_027.jpg

Edited by Andyss

Share this post


Link to post

Short link
Share on other sites

@Andyss , will be fixed in next build.

 

@ktulho , я добавил доп.условие для того чтобы макрос применялся именно к игроку, что соответствовало бы приставке 'my-'

Но возможно стоит макрос переименовать просто в {{anonym}} и описание изменить:

возвращает 'anonym' для игрока и совзводных, если в игре включен анонимайзер, пусто - если нет

Только вот я не пойму почему у @Andyss вместо символа из шрифта отображался прямоугольник, как будто бы указан был символ которого нет в шрифте, хотя должен выводится перечеркнутый глаз раз макрос работал и для взводного.

Share this post


Link to post

Short link
Share on other sites
25 минут назад, night_dragon_on сказал:

я добавил доп.условие для того чтобы макрос применялся именно к игроку, что соответствовало бы приставке 'my-'

Но возможно стоит макрос переименовать просто в {{anonym}} и описание изменить:

Я не знаю, как лучше.

@Andyss attach python.log

Share this post


Link to post

Short link
Share on other sites
28 минут назад, night_dragon_on сказал:

Только вот я не пойму почему у @Andyss вместо символа из шрифта отображался прямоугольник, как будто бы указан был символ которого нет в шрифте, хотя должен выводится перечеркнутый глаз раз макрос работал и для взводного.

Возможно в этом проблема

Share this post


Link to post

Short link
Share on other sites

@ktulho , если на дефолтном клиенте в взводного тоже есть иконка, если он аноним, то думаю лучше просто макрос переименовать.

Share this post


Link to post

Short link
Share on other sites

okay I restored my old python log from trash bin here it is. 27.12 is some platoon games with anonymized players in log.

python.log

and here is python log with one random game (no platoon)  just played.

python.log

Edited by Andyss

Share this post


Link to post

Short link
Share on other sites

@ktulho , @sirmax 

 

Продолжим обсуждение тут о судьбе макроса {{my-anonym}}

Пока что добавил доп.условие для него которое не даст ему отдавать значение для взводного.

Были следующие предложения.

 

1. Переименовать {{my-anonym}} > {{anonym}}

возвращает 'anonym' для игрока и совзводных, если в игре включен анонимайзер, пусто - если нет

2. Переименовать {{my-anonym}} > {{anonym}}

возвращает 'pl' для игрока, 'sq' для совзводного если в игре включен анонимайзер, пусто - если нет
возвращает 'player' для игрока, 'squadman' для совзводного если в игре включен анонимайзер, пусто - если нет

3. Взамен него добавить макрос {{fakename}} и далее все необходимые проверки делать непосредственно в конфиге.

    Описания пока нет.

    Пример записи в конфиге:

{{name%.{{fakename!={{name}}?13|15}}s~..}}{{fakename!={{name}}? <font face='xvm' size='19'>&#x11E;</font>}}

Но вот я забыл об одном нюансе, конкретно о динамическом взводе.

Также как макросы {{name}}, {{nick}}, {{clan}}, {{clannb}} макросы {{anonym}} и {{fakename}} должны быть гибридными.

Если же оставить просто макрос {{my-anonym}} с доп.условием то он будет статическим и ничего делать не нужно будет.

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...