Jump to content
Korean Random

PMOD - сессионная статистика [Создание конфигов]


Yusha

Recommended Posts

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

http://forum.worldoftanks.ru/index.php?/topic/1172523-0914-pmod-%D0%BF%D0%B0%D0%BA%D0%B5%D1%82-%D1%81-%D0%BF%D1%80%D1%8F%D0%BD%D0%B8%D0%BA%D0%B0%D0%BC%D0%B8-11032016-0914-21-1/page__st__7680__pid__42477237#entry42477237

Link to comment
Short link
Share on other sites

  • 1 month later...

может кто подсказать как подправить конфиг чтобы в сообщении прошлого боя в игровом чате отображался не доход а чистая прибыль

post-36631-0-12312700-1463047818.jpg

Link to comment
Short link
Share on other sites

может кто подсказать как подправить конфиг чтобы в сообщении прошлого боя в игровом чате отображался не доход а чистая прибыль

никак - это ограничение игры. Инфа о чистом доходе может быть доступна при просмотре результатов в системном канале ангара

  • Upvote 1
Link to comment
Short link
Share on other sites

Link to comment
Short link
Share on other sites

  • 2 weeks later...

Got some log errors with the latest version. Maybe someone else can post it on Russian WG board in P0LIR0ID's thread.

Traceback (most recent call last):
  File "scripts/common/Event.py", line 44, in __call__
  File "scripts/client/gui/Scaleform/framework/managers/containers.py", line 543, in __loader_onViewLoaded
  File "scripts/client/gui/Scaleform/framework/entities/DisposableEntity.py", line 18, in create
  File "mod_pmod.py", line 2807, in newNotificationListViewPopulate
  File "mod_pmod.py", line 2236, in NotificationListView_populate
  File "mod_pmod.py", line 1928, in getMessege
  File "mod_pmod.py", line 1705, in updateMacros
KeyError: ''

ERROR: Traceback (most recent call last):
ERROR:   File "mod_pmod.py", line 1885, in do_sync
ERROR:   File "scripts/client/account_helpers/Stats.py", line 164, in get
ERROR:   File "scripts/client/account_helpers/AccountSyncData.py", line 99, in waitForSync
ERROR:   File "scripts/client/account_helpers/Stats.py", line 374, in __onGetResponse
ERROR:   File "mod_pmod.py", line 1865, in callback_1
ERROR: KeyError: ''
ERROR: Traceback (most recent call last):
ERROR:   File "mod_pmod.py", line 1885, in do_sync
ERROR:   File "scripts/client/account_helpers/Stats.py", line 164, in get
ERROR:   File "scripts/client/account_helpers/AccountSyncData.py", line 99, in waitForSync
ERROR:   File "scripts/client/account_helpers/Stats.py", line 374, in __onGetResponse
ERROR:   File "mod_pmod.py", line 1865, in callback_1
ERROR: KeyError: ''

Link to comment
Short link
Share on other sites

Got some log errors with the latest version. Maybe someone else can post it on Russian WG board in P0LIR0ID's thread.

what version of the PMod installed? for information: current 22-1

Edited by Kapany3uk
Link to comment
Short link
Share on other sites

  • 2 weeks later...

 

Got some log errors with the latest version. Maybe someone else can post it on Russian WG board in P0LIR0ID's thread.

Traceback (most recent call last):
  File "scripts/common/Event.py", line 44, in __call__
  File "scripts/client/gui/Scaleform/framework/managers/containers.py", line 543, in __loader_onViewLoaded
  File "scripts/client/gui/Scaleform/framework/entities/DisposableEntity.py", line 18, in create
  File "mod_pmod.py", line 2807, in newNotificationListViewPopulate
  File "mod_pmod.py", line 2236, in NotificationListView_populate
  File "mod_pmod.py", line 1928, in getMessege
  File "mod_pmod.py", line 1705, in updateMacros
KeyError: ''

ERROR: Traceback (most recent call last):
ERROR:   File "mod_pmod.py", line 1885, in do_sync
ERROR:   File "scripts/client/account_helpers/Stats.py", line 164, in get
ERROR:   File "scripts/client/account_helpers/AccountSyncData.py", line 99, in waitForSync
ERROR:   File "scripts/client/account_helpers/Stats.py", line 374, in __onGetResponse
ERROR:   File "mod_pmod.py", line 1865, in callback_1
ERROR: KeyError: ''
ERROR: Traceback (most recent call last):
ERROR:   File "mod_pmod.py", line 1885, in do_sync
ERROR:   File "scripts/client/account_helpers/Stats.py", line 164, in get
ERROR:   File "scripts/client/account_helpers/AccountSyncData.py", line 99, in waitForSync
ERROR:   File "scripts/client/account_helpers/Stats.py", line 374, in __onGetResponse
ERROR:   File "mod_pmod.py", line 1865, in callback_1
ERROR: KeyError: ''

 

 

Anyone?

 

Pmod.log file attached. pmod.rar

Link to comment
Short link
Share on other sites

  • 1 month later...

Проясните кто-нибудь, если не затруднит, где находится и как теперь выглядит кнопка перезагрузки конфига ?

P.S. Решение ниже, может кому понадобится...



"buttons" : [

{

"enable": true,
"label": "обнулить",
"type": "black",
"action": "resetStatistic",
"width": 110
}

,

{

"enable": true,
"label": "перезагрузить",
"type": "black",
"action": "reloadConfig",
"width": 110
}
]


 
Edited by Aндрик
  • Upvote 1
Link to comment
Short link
Share on other sites

Либо просто добавить в текст ссылку:

<a href='event:reloadConfig'>Обновить</a>

Удобней и компактней, чем кнопка.

 

Примеры ссылок разных типов - в файле:

\res_mods\0.9.15.1\scripts\client\gui\mods\mod_pmod\skins\default\sessionStatistic_newFeatures.json
Link to comment
Short link
Share on other sites

вопрос новичка :swt3:

определяет ли мод нацию техники? макрос в конфигах не нашел... поясню для чего нужно: хочу в "послебоевые" добавить иконку отметки на ствол, согласно нации танка.

если нет, подскажите как реализовать...

например: создать опрос по VehicleName, сделать выборку по списку, сгенерить переменную "nation" и уже на основе её выбирать иконку из gui\maps\icons\marksOnGun

или можно как-то проще?

Link to comment
Short link
Share on other sites

товарищи,помогите пожалуйста настроить индикатор приведенной брони из пмода.Не разберусь как сделать чтобы по центру был,под прицелом.Настраиваю-то в правой стороне цифры,то в левой......
// Позиция индикатора на экране
// Отдельно для аркадного и снайперского режима
// Перевернутая по высоте декартовая система координат в пикселях, с отчетом, от центра экрана
// Indicator position on the screen
// Separately for arcade and sniper mode
// Inverted adjustment cartesian coordinate system in pixels, with a report from the center of the screen
"position" : {
  "arcade": [0, 250],
  "sniper": [0, 250]
},

// Размер индикатора
// Field индикатора
"size" : [200, 50],

Edited by JOHNNY116
Link to comment
Short link
Share on other sites

Добрый вечер, танкисты!

 

Вопрос, как в результатах боя в батл чат выводить WN8?
пробую добавить вот это, и выводит {{XWN8}}

<br><img src='img://gui/maps/icons/library/PowerlevelIcon-1.png' width='14' height='14' align='baseline' vspace='-1'><font color='#BBBBBB'>WN8:</font><tab><font color='{{c:XWN8}}'>{{XWN8}}</font>

что надо поменять, подскажите, пожалуйста!

Пользуюсь default конфигом

Спасибо!

Link to comment
Short link
Share on other sites

>Вопрос, как в результатах боя в батл чат выводить WN8?
Никак! В Боевой чат можно вывести очень ограниченный список макросов. Перечень смотри в описании.

Link to comment
Short link
Share on other sites

>Вопрос, как в результатах боя в батл чат выводить WN8?

Никак! В Боевой чат можно вывести очень ограниченный список макросов. Перечень смотри в описании.

Спасибо!

Edited by DrShats
Link to comment
Short link
Share on other sites

товарищи,помогите пожалуйста настроить индикатор приведенной брони из пмода.Не разберусь как сделать чтобы по центру был,под прицелом.Настраиваю-то в правой стороне цифры,то в левой......

// Позиция индикатора на экране

// Отдельно для аркадного и снайперского режима

// Перевернутая по высоте декартовая система координат в пикселях, с отчетом, от центра экрана

// Indicator position on the screen

// Separately for arcade and sniper mode

// Inverted adjustment cartesian coordinate system in pixels, with a report from the center of the screen

"position" : {

  "arcade": [0, 250],

  "sniper": [0, 250]

},

 

Попробуй так:

"position" : {

   "arcade": [-100, 20],

   "sniper": [-100, 20]

  },

Link to comment
Short link
Share on other sites

Попробуй так:

"position" : {

   "arcade": [-100, 20],

   "sniper": [-100, 20]

  },

спасибо за помощь,только в скобках не 20 а 200.(-100,250) и (-100,220).AtotIK подсказал.Все четко работает.По центру.Всем спасибо кто помогает. :ok:

Link to comment
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...