Jump to content
Korean Random
Aslain

[9.3.0.0008] Broken XVM tank tooltips after adding champi.paramsdictproxyfix

Recommended Posts

Posted (edited)

Broken XVM tank tooltips after adding Champi's Fix

 

With champi.paramsdictproxyfix:

params_bug.jpg.8cdc3500178253fbf7633f68f0f33bd9.jpg

 

Without champi.paramsdictproxyfix:

params_ok.thumb.jpg.128a55896be9a0aba7321fd920b80fb2.jpg

 

2022-07-19 09:02:07: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_tooltips\python\__init__.py", line 466, in CommonStatsBlockConstructor_construct
    tooltip_add_param(self, result, getParameterValue(paramName), valueStr)
  File "res_mods/mods/xfw_packages\xvm_tooltips\python\__init__.py", line 214, in getParameterValue
    return text_styles.main(i18n.makeString(MENU.tank_params(paramName))) + text_styles.standard(measureUnitsForParameter(paramName))
  File "scripts/client/gui/shared/items_parameters/formatters.py", line 205, in measureUnitsForParameter
KeyError: 'clipParams'

2022-07-19 09:02:17: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_tooltips\python\__init__.py", line 466, in CommonStatsBlockConstructor_construct
    tooltip_add_param(self, result, getParameterValue(paramName), valueStr)
  File "res_mods/mods/xfw_packages\xvm_tooltips\python\__init__.py", line 214, in getParameterValue
    return text_styles.main(i18n.makeString(MENU.tank_params(paramName))) + text_styles.standard(measureUnitsForParameter(paramName))
  File "scripts/client/gui/shared/items_parameters/formatters.py", line 205, in measureUnitsForParameter
KeyError: 'gunRotationSpeed'

 

Unfortunatelly the fix is needed otherwise some mods will crash the game client. 
The fix description:

paramsdictproxyfix (by CHAMPi):
⦁    This small fix is for the KeyError that happen after mods modified game methods that are changing the _ParamsDictProxy. This error will crash the game client.
⦁    The reason for this are some missing cache (cachedParams) entries. Every mod that modifies the vehicle parameter list (on the right side in the garage) can cause this problem.
⦁    The cause of the actual issue needs to be investigated in more detail. This fix is only a workaround to avoid crashing of the game client without the need of updating all these mods.
⦁    This fix will be automatically installed with mods that was found affected by this bug, which is for the moment: session stats Yasenkrasen/TimeSpent, Vehicle Exp Extended, Vehicle parameters on single list, Little Helper Collection, Annoying Features Remover, Limpid Stickers, XVM
 

 

 

 

python.log xvm.log champi.paramsdictproxyfix_1.0.0.zip

Edited by Aslain
  • Upvote 3

Share this post


Link to post

Short link
Share on other sites
2 hours ago, yepev said:

Have you asked CHAMPi to fix this?

 

Linkuri

RaJCeL

Reported to Champi.

Thank for letting us know :)

 

MFG

SicFunzler

Edited by SicFunzler
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
21 hours ago, yepev said:

Have you asked CHAMPi to fix this?

XVM has to be adjusted anyway, it's causing errors in python too, even without Champi fix to those errors (just different type of issue), anyway the real source of all that issues has to be discovered, but I think nobody cares about it here.

Share this post


Link to post

Short link
Share on other sites

@Aslain Прикрепите логи с ошибками. Должен быть установлен только XVM.

  • Upvote 2

Share this post


Link to post

Short link
Share on other sites

The problem is only in combination with other mods, so I cannot provide you what you asking for. Almost everyone is blaming the other mods :) But many people aren't installing just XVM but also other mods, and XVM in combination with some other mods will produce errors, and the problem is not other mods but combination of mods, and it always has to be 3 mods minimum, that issue is probably since WG introduced new fast login.

 

Mods affected by this issue is as follows (any combination of these 3 mods):

- session stats Yasenkrasen (Rajcel is bundling it with champi.paramsdictproxyfix now)

- session stats TimeSpent

- Vehicle Exp Extended

- Vehicle parameters on single list (Rajcel already patched his mod with a workaround)

- Little Helper Collection (Champi already patched his mod with a workaround)

- Annoying Features Remover (the outfit section only)

- Limpid Stickers

- XVM

Edited by Aslain

Share this post


Link to post

Short link
Share on other sites

@ktulho

There is one more bug (with xvm + champi fix combo) we just found out, the tooltip for suspension in the tech-tree is missing, there are new errors in xvm.log:

 

2022-08-01 11:11:00: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_tooltips\python\__init__.py", line 129, in _onCreateTypedTooltip_callback
    base(self, type, *args)
  File "scripts/client/gui/Scaleform/framework/tooltip_mgr.py", line 130, in onCreateTypedTooltip
  File "scripts/client/gui/shared/tooltips/builders.py", line 140, in build
  File "scripts/client/gui/Scaleform/daapi/view/tooltips/vehicle_items_builders.py", line 80, in _buildData
  File "scripts/client/gui/shared/tooltips/builders.py", line 161, in _buildData
  File "scripts/client/gui/shared/tooltips/__init__.py", line 182, in buildToolTip
  File "scripts/client/gui/shared/tooltips/common.py", line 218, in getDisplayableData
  File "./xfw/events.py", line 71, in <lambda>
  File "res_mods/mods/xfw_packages\xvm_tooltips\python\__init__.py", line 556, in ModuleBlockTooltipData_packBlocks
    return base(self, *args, **kwargs)
  File "scripts/client/gui/shared/tooltips/module.py", line 126, in _packBlocks
  File "scripts/client/gui/shared/tooltips/module.py", line 812, in construct
  File "scripts/client/gui/shared/items_parameters/formatters.py", line 469, in colorizedFormatParameter
  File "scripts/client/gui/shared/items_parameters/formatters.py", line 520, in formatParameter
  File "scripts/client/gui/shared/gui_items/__init__.py", line 525, in kpiFormatValue
  File "scripts/client/gui/impl/backport/backport_system_locale.py", line 48, in getNiceNumberFormat
TypeError: () argument 1 must be set to a float

See, mouse hover over the tracks are not displaying any tooltip now: 

shot_5922.jpg.71189687f8be4cf82637dce36eec4dda.jpg

xvm.log python.log

Edited by Aslain

Share this post


Link to post

Short link
Share on other sites

@Aslain XVM здесь ни причем. Ошибки появляются только с champi.paramsdictproxyfix_1.0.0.wotmod:

2022-08-02 21:24:54.568: ERROR: Traceback (most recent call last):
2022-08-02 21:24:54.568: ERROR:   File "scripts/client/gui/Scaleform/framework/tooltip_mgr.py", line 130, in onCreateTypedTooltip
2022-08-02 21:24:54.568: ERROR:   File "scripts/client/gui/shared/tooltips/builders.py", line 140, in build
2022-08-02 21:24:54.568: ERROR:   File "scripts/client/gui/Scaleform/daapi/view/tooltips/vehicle_items_builders.py", line 80, in _buildData
2022-08-02 21:24:54.568: ERROR:   File "scripts/client/gui/shared/tooltips/builders.py", line 161, in _buildData
2022-08-02 21:24:54.568: ERROR:   File "scripts/client/gui/shared/tooltips/__init__.py", line 182, in buildToolTip
2022-08-02 21:24:54.568: ERROR:   File "scripts/client/gui/shared/tooltips/common.py", line 218, in getDisplayableData
2022-08-02 21:24:54.568: ERROR:   File "scripts/client/gui/shared/tooltips/module.py", line 126, in _packBlocks
2022-08-02 21:24:54.568: ERROR:   File "scripts/client/gui/shared/tooltips/module.py", line 812, in construct
2022-08-02 21:24:54.569: ERROR:   File "scripts/client/gui/shared/items_parameters/formatters.py", line 469, in colorizedFormatParameter
2022-08-02 21:24:54.569: ERROR:   File "scripts/client/gui/shared/items_parameters/formatters.py", line 520, in formatParameter
2022-08-02 21:24:54.569: ERROR:   File "scripts/client/gui/shared/gui_items/__init__.py", line 525, in kpiFormatValue
2022-08-02 21:24:54.569: ERROR:   File "scripts/client/gui/impl/backport/backport_system_locale.py", line 48, in getNiceNumberFormat
2022-08-02 21:24:54.569: ERROR: TypeError: () argument 1 must be set to a float

 

  • Upvote 2

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...