Jump to content
Korean Random
Kotyarko_O

repairControl средствами XVM.

Recommended Posts

Предлагаю поля прописывать не в battleLablesTemplates.xc, а например в battleLablesRepairControl.xc и соответственно в BattleLabels.xc сделать на него ссылки. 

Я тоже хотел отдельно вынести, а то многовато полей для копипаста. Удобнее будет скачивать конфиг.

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

@ktulho, по сути вы правы,мне кажется  если тот кто плохо знает xvm вообще не лезут в файлы настроики они гоняют готовые конфиги 

Share this post


Link to post

Short link
Share on other sites

Я тоже хотел отдельно вынести, а то многовато полей для копипаста. Удобнее будет скачивать конфиг.

сделай плиз отдельно

Share this post


Link to post

Short link
Share on other sites

Обновлено.

  • Все поля вынесены в отдельный конфиг.
  • Upvote 3

Share this post


Link to post

Short link
Share on other sites

post-21168-0-75343200-1483985575_thumb.jpg

Кому нужно.
Немного подправил иконки + целые модули сделал прозрачными.
В res_mods с заменой.
image.zip

  • Upvote 3

Share this post


Link to post

Short link
Share on other sites

чёйта вот у меня .не красится в желтый цвет повреждённые модули

post-28999-0-98297800-1484162174_thumb.jpg

Share this post


Link to post

Short link
Share on other sites

@sanay, никаких ошибок, связанных с этим, нет. Можете прикрепить реплей этого боя?

Share this post


Link to post

Short link
Share on other sites

чёйта вот у меня .не красится в желтый цвет повреждённые модули

Там же написано "Версия XVM: 6997+." а это ночнушка. Последняя стабильная 6963 и на ней есть эта проблема.

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

@sanay, @KL1SK выше правильно написал. Я и не обратил внимание на версию. Обновитесь.

Share this post


Link to post

Short link
Share on other sites

Подскажите пожалуйста,что я сделал не так?

Вроде всё скопировал как написано, но работать не хочет)

res_mods.rar

Edited by DiroL

Share this post


Link to post

Short link
Share on other sites

@DiroL, в конфиге battleLabels.xc пропущена запятая:

...
 ${ "deviceRepairTimer.xc":"def.repairTimeSurveying"}
  
 ${ "battleLabelsRepairControl.xc":"repairCtrlEngine" },
...
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

 

@DiroL, в конфиге battleLabels.xc пропущена запятая:

...
 ${ "deviceRepairTimer.xc":"def.repairTimeSurveying"}
  
 ${ "battleLabelsRepairControl.xc":"repairCtrlEngine" },
...

Поставил запятую,теперь всё норм,именно её и не хватало)

Kotyarko_O спасибо за реализацию ремонта модулей по Ctrl,нужная вещь! 

Edited by DiroL

Share this post


Link to post

Short link
Share on other sites

Kotyarko_O как насчёт прикрутить к моду ремонт на конфигурируемые кнопки? Например ремонт требующий скорости (гуслей и баков). Я например делаю это через макросы в дровах мыши, но это не очень удобно.

Share this post


Link to post

Short link
Share on other sites

 

 

как насчёт прикрутить к моду ремонт на конфигурируемые кнопки?
По типу "Винтика"?

Share this post


Link to post

Short link
Share on other sites

Хз, почему, но у меня не происходит ремонт модулей. Забиндинная кнопка заменена (на правый Ctrl - код 157). Все отображается, но реакции на клик нет. Где копать? 

На всякий случай BattleLabels:

/**
* List of battle interface labels.
* Список текстовых полей боевого интерфейса.
*/
{
  "labels": {
    // Referenced labels:
    // * every custom field can be separate enabled or disabled by "enabled" switch in their settings.
    // * extended format supported, see extra-field.txt
    // Подключенные текстовые поля:
    // * кастомные поля можно отдельно отключать и включать с помощью "enabled" в их настройках.
    // * поддерживается расширенный формат, см. extra-field.txt
    "formats": [
      ${ "battleLabelsTemplates.xc":"def.hitlogHeader" },
      ${ "battleLabelsTemplates.xc":"def.hitlogBody" },
      ${ "battleLabelsTemplates.xc":"def.winChance" },
      ${ "battleLabelsTemplates.xc":"def.totalHP" },
      ${ "battleLabelsTemplates.xc":"def.avgDamage" },
      ${ "battleLabelsTemplates.xc":"def.mainGun" },
      ${ "battleLabelsTemplates.xc":"def.damageLog" },
      ${ "battleLabelsTemplates.xc":"def.lastHit" },
      ${ "battleLabelsTemplates.xc":"def.fire" },
      ${ "battleLabelsTemplates.xc":"def.totalEfficiency" },
// Device repair timer.
// Таймер починки модулей.
   ${ "battleLabelsRepairTimer.xc":"def.repairTimeEngine" },
   ${ "battleLabelsRepairTimer.xc":"def.repairTimeGun" },
   ${ "battleLabelsRepairTimer.xc":"def.repairTimeTurret" },
   ${ "battleLabelsRepairTimer.xc":"def.repairTimeTracks" },
   ${ "battleLabelsRepairTimer.xc":"def.repairTimeSurveying"},
// Device repair and crew treatment on press Ctrl.
// Ремонт модулей и лечение экипажа по нажатию Ctrl.
   ${ "battleLabelsRepairControl.xc":"repairCtrlEngine" },
   ${ "battleLabelsRepairControl.xc":"repairCtrlAmmoBay" },
   ${ "battleLabelsRepairControl.xc":"repairCtrlGun" },
   ${ "battleLabelsRepairControl.xc":"repairCtrlTurret" },
   ${ "battleLabelsRepairControl.xc":"repairCtrlTracks" },
   ${ "battleLabelsRepairControl.xc":"repairCtrlSurveying" },
   ${ "battleLabelsRepairControl.xc":"repairCtrlRadio" },
   ${ "battleLabelsRepairControl.xc":"repairCtrlFuelTank" },
   ${ "battleLabelsRepairControl.xc":"healCtrlCommander" },
   ${ "battleLabelsRepairControl.xc":"healCtrlRadioman" },
   ${ "battleLabelsRepairControl.xc":"healCtrlDriver" },
   ${ "battleLabelsRepairControl.xc":"healCtrlGunner" },
   ${ "battleLabelsRepairControl.xc":"healCtrlLoader" }
    ]
  }
}

 

В логе XVM ничего, а вот python - есть кое-что:

worldoftanks 0.9.17.0 (compiled at 18:04:15 Nov  1 2016) starting on Sat Jan 14 21:20:05 2017
2017-01-14 21:20:05.258: INFO: [Config] Command line: D:/Games/World of Tanks/worldoftanks.exe wot_wait_for_mutex
2017-01-14 21:20:06.319: INFO: [Config] Default encoding set to utf-8
2017-01-14 21:20:06.348: INFO: [PY_DEBUG] Release Client - Content Type: hd
2017-01-14 21:20:06.348: INFO: [PY_DEBUG] Checking ./res_mods/0.9.17.0.2: mods found
2017-01-14 21:20:12.120: WARNING: [WARNING] (scripts/common/quest_cache_helpers.py, 48): scripts/item_defs/clubs_quests/ladder_quests_RU.xml ('No quests of type clubsQuest were found in scripts/item_defs/clubs_quests/ladder_quests_RU.xml.',)
2017-01-14 21:20:12.241: NOTICE: [NOTE] (scripts/client/post_processing/__init__.py, 273): The quality = 3 was selected.
2017-01-14 21:20:12.241: NOTICE: [NOTE] (scripts/client/post_processing/__init__.py, 273): The quality = 0 was selected.
2017-01-14 21:20:13.030: INFO: [XFW] Version: 4.0.0
2017-01-14 21:20:13.030: INFO: [XFW] Working dir: D:\Games\World of Tanks\res_mods\mods
2017-01-14 21:20:13.325: INFO: [XFW] Loading mod: xvm_main 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.330: INFO: [XFW] Loading mod: xvm_autologin 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.414: INFO: [XFW] Loading mod: xvm_battle 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.418: INFO: [XFW] Loading mod: xvm_battleresults 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.433: INFO: [XFW] Loading mod: xvm_contacts 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.436: INFO: [XFW] Loading mod: xvm_crew 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.438: INFO: [XFW] Loading mod: xvm_equip 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.440: INFO: [XFW] Loading mod: xvm_export 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.444: INFO: [XFW] Loading mod: xvm_hangar 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.445: INFO: [XFW] Loading mod: xvm_hotfix 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.447: INFO: [XFW] Loading mod: xvm_integrity 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.465: INFO: [XFW] Loading mod: xvm_limits 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.467: INFO: [XFW] Loading mod: xvm_online 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.470: INFO: [XFW] Loading mod: xvm_ping 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.472: INFO: [XFW] Loading mod: xvm_profile 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.473: INFO: [XFW] Loading mod: xvm_profiler 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.476: INFO: [XFW] Loading mod: xvm_quests 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.480: INFO: [XFW] Loading mod: xvm_sounds 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.484: INFO: [XFW] Loading mod: xvm_squad 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.492: INFO: [XFW] Loading mod: xvm_tankcarousel 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.494: INFO: [XFW] Loading mod: xvm_techtree 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.496: INFO: [XFW] Loading mod: xvm_tooltips 0.9.17.0.2 (http://www.modxvm.com/)
2017-01-14 21:20:13.812: INFO: [MOD] mod loaded: mod_damagelog
2017-01-14 21:20:14.165: INFO: [NOTE] package loaded: mod_modsListAPI
2017-01-14 21:20:14.167: INFO: [NOTE] package loaded: mod_modsSettingsApi
2017-01-14 21:20:14.167: INFO: [MOD] mod loaded: mod_GunConstraints
2017-01-14 21:20:14.375: INFO: [MOD] mod loaded: mod_infopanel
2017-01-14 21:20:14.505: INFO: [NOTE] package loaded: mod_pro_minimap_guns
2017-01-14 21:20:14.703: INFO: [NOTE] package loaded: mod_pro_reduced_armor
2017-01-14 21:20:14.906: INFO: [NOTE] package loaded: mod_sight
2017-01-14 21:20:14.909: INFO: [NOTE] Loading mod: VerticalTechtree v0.962 (http://forum.worldoftanks.eu/index.php?/topic/514277- | http://forum.worldoftanks.ru/index.php?/topic/1654743-)
2017-01-14 21:20:30.708: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: LOGIN - 25.4519996643
2017-01-14 21:20:30.712: NOTICE: [NOTE] (scripts/client/ConnectionManager.py, 221): User authentication method: basic
2017-01-14 21:20:32.379: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: CONNECTED - 27.1229991913
2017-01-14 21:20:33.043: ERROR: Traceback (most recent call last):
2017-01-14 21:20:33.043: ERROR:   File "src/mod_stat.py", line 617, in new_onBecomePlayer
2017-01-14 21:20:33.043: ERROR:   File "src/mod_stat.py", line 103, in load
2017-01-14 21:20:33.043: ERROR:   File "src/mod_stat.py", line 531, in updateMessage
2017-01-14 21:20:33.044: ERROR: KeyError: 'Button'
2017-01-14 21:20:33.044: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: SHOW GUI - 27.7880001068
2017-01-14 21:21:14.254: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: QUESTS SYNC - 68.9980010986
2017-01-14 21:21:14.516: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: USS SYNC - 69.2600021362
2017-01-14 21:21:14.585: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: SPACE LOADING START - 69.3290023804
2017-01-14 21:21:14.866: NOTICE: [NOTE] (scripts/client/game.py, 463): [SPACE] Loading space: spaces/h07_newyear_2015
2017-01-14 21:21:14.870: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: VEHICLE LOADING START - 69.6139984131
2017-01-14 21:21:24.784: WARNING: [WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 36): Method "__run_download" takes too much time 10.1869997978
2017-01-14 21:21:24.785: WARNING: [WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 36): Method "__run_download" takes too much time 10.2039999962
2017-01-14 21:21:24.800: WARNING: [WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 36): Method "__run_download" takes too much time 10.2020001411
2017-01-14 21:21:24.800: WARNING: [WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 36): Method "__run_download" takes too much time 10.2200000286
2017-01-14 21:21:24.866: WARNING: [WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 36): Method "__run_download" takes too much time 10.2819998264
2017-01-14 21:21:24.882: WARNING: [WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 36): Method "__run_download" takes too much time 10.3009998798
2017-01-14 21:21:25.113: WARNING: [WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 36): Method "__run_download" takes too much time 10.5339999199
2017-01-14 21:21:25.736: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: VEHICLE LOADING END - 80.4800033569
2017-01-14 21:21:26.311: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: SPACE LOADING END - 81.0550003052
2017-01-14 21:21:26.311: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: HANGAR READY - 81.0550003052
2017-01-14 21:21:26.311: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 248): HANGAR LOADING STATE: SUMMARY TOTAL = 55.6030006409
2017-01-14 21:24:29.474: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 544): Player's team not found.
2017-01-14 21:24:29.474: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 550): Player's vehicle ID not found.
2017-01-14 21:24:29.474: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 554): Uses slow player search by name
2017-01-14 21:24:29.474: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 544): Player's team not found.
2017-01-14 21:24:29.474: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 550): Player's vehicle ID not found.
2017-01-14 21:24:29.474: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 554): Uses slow player search by name
2017-01-14 21:24:29.474: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 544): Player's team not found.
2017-01-14 21:24:29.474: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 550): Player's vehicle ID not found.
2017-01-14 21:24:29.474: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 554): Uses slow player search by name
2017-01-14 21:24:29.485: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 544): Player's team not found.
2017-01-14 21:24:29.485: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 550): Player's vehicle ID not found.
2017-01-14 21:24:29.485: NOTICE: [NOTE] (scripts/client/gui/battle_control/arena_info/arena_dp.py, 554): Uses slow player search by name
2017-01-14 21:24:29.657: NOTICE: [NOTE] (scripts/client/game.py, 463): [SPACE] Loading space: spaces/31_airfield
2017-01-14 21:24:32.670: WARNING: [WARNING] (scripts/client/gui/Scaleform/framework/entities/BaseDAAPIComponent.py, 62): Class with alias `teamBasesPanel` already registered in object <gui.Scaleform.daapi.view.battle.classic.page.ClassicPage object at 0x3CDACB30>. It will be rewritten.
2017-01-14 21:24:56.170: INFO: [SOUND_ERROR] Sound fail: 2967843034 - ErrorCode: 15
2017-01-14 21:26:54.202: WARNING: [WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 36): Method "__run_download" takes too much time 10.1539998055
2017-01-14 21:27:01.321: WARNING: [WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 36): Method "__run_download" takes too much time 12.3490002155
2017-01-14 21:28:13.265: INFO: [SOUND_ERROR] Sound fail: 2166136261 - ErrorCode: 15
2017-01-14 21:28:58.761: ERROR: [ERROR] (scripts/client/gui/battle_control/controllers/consumables/equipment_ctrl.py, 521): Equipment is not found. (None,)
2017-01-14 21:28:58.785: ERROR: [ERROR] (scripts/client/gui/battle_control/controllers/consumables/equipment_ctrl.py, 521): Equipment is not found. (None,)
2017-01-14 21:28:58.796: INFO: [SOUND_ERROR] Sound fail: 2166136261 - ErrorCode: 15
2017-01-14 21:29:39.145: ERROR: [ERROR] (scripts/client/gui/battle_control/controllers/consumables/equipment_ctrl.py, 521): Equipment is not found. (None,)
2017-01-14 21:30:13.286: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: CONNECTED - 608.030029297
2017-01-14 21:30:14.373: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: SHOW GUI - 609.117004395
2017-01-14 21:30:15.274: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: QUESTS SYNC - 610.018005371
2017-01-14 21:30:15.548: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: USS SYNC - 610.293029785
2017-01-14 21:30:15.574: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: SPACE LOADING START - 610.317993164
2017-01-14 21:30:15.606: NOTICE: [NOTE] (scripts/client/game.py, 463): [SPACE] Loading space: spaces/h07_newyear_2015
2017-01-14 21:30:16.175: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: SPACE LOADING END - 610.919006348
2017-01-14 21:30:16.175: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: HANGAR READY - 610.919006348
2017-01-14 21:30:16.175: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 248): HANGAR LOADING STATE: SUMMARY TOTAL = 2.88897705078
2017-01-14 21:34:43.070: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: VEHICLE LOADING START - 877.815002441
2017-01-14 21:34:43.383: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: VEHICLE LOADING END - 878.12701416
2017-01-14 21:34:44.530: ERROR: [EXCEPTION] (scripts/client_common/shared_utils/account_helpers/BattleResultsCache.py, 160):
Traceback (most recent call last):
  File "scripts/client_common/shared_utils/account_helpers/BattleResultsCache.py", line 154, in __onStreamComplete
  File "src/mod_stat.py", line 292, in <lambda>
  File "src/mod_stat.py", line 263, in battleResultsCallback
  File "src/mod_stat.py", line 284, in reset
  File "src/mod_stat.py", line 531, in updateMessage
KeyError: 'Button'
2017-01-14 21:43:15.385: NOTICE: [NOTE] (scripts/client/helpers/statistics.py, 220): HANGAR LOADING STATE: DISCONNECTED - 1390.12902832
2017-01-14 21:43:16.943: INFO: PostProcessing.Phases.fini()

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