Jump to content
Korean Random

[0.8.9] Сессионная статистика 0.8.9.1 (Updated 29.10.2013)


Dellux

Recommended Posts

LOL, turns out it wasn't ghosts after all, I believe I have narrowed down the issue.

 

It seems that if SessionStatistic is included FIRST in paths.xml then it will properly find its SessionStatConfig.cfg file and everything will be fine. However if it's NOT included first in paths.xml then it will always be looking for the config file in the wrong directory (in fact it's looking in the directory of the first path in paths.xml).

 

If you have more than one mod in different directories that has a cameranode.pyc the first cameranode.pyc will run and load ALL of the mods. Thus each mod author needs to take care to determine the current working directory carefully.

 

Dellux, please have a look at this thread and maybe it will provide some clues, I don't know. Can you please help to resolve the issue with your mod? I really love your mod. Thank you!

 

Not working paths.xml:

<root>
<root>
	<Paths>
	    <!-- <Path>./res_mods/0.8.8</Path> -->
            <Path>./mods/0.8.8/MeltyMapsMathMod088.02/res_mods/0.8.8</Path>
	    <Path>./mods/0.8.8/YasenKrasen_0.8.8.4_V2test/res_mods/0.8.8</Path>
And here is the resulting error from python.log:

/------------------------------------------------------------------------------\
BigWorld Release Client (compiled at 19:46:43 Aug 30 2013) starting on Wed Oct 09 14:08:13 2013
Checking ./mods/0.8.8/MeltyMapsMathMod088.02/res_mods/0.8.8: mods found
LoadMod: MS
LoadMod: SessionStatistic
[NOTE] (scripts/client/post_processing/__init__.py, 273): The quality = 0 was selected.
[EXCEPTION] (scripts\SessionStatistic.py, 337):
Traceback (most recent call last):
  File "scripts\SessionStatistic.py", line 331, in getConfig
IOError: [Errno 2] No such file or directory: './mods/0.8.8/MeltyMapsMathMod088.02/res_mods/0.8.8/scripts/client/mods/SessionStatConfig.cfg'
Traceback (most recent call last):
  File "scripts\SessionStatistic.py", line 352, in new_onBecomePlayer
TypeError: 'NoneType' object is unsubscriptable
[SPACE] Loading space: spaces/hangar_premium
[WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 192): Url error. Reason: unknown url type: https, url: http://ce.worldoftanks-sea.com/dcont/achievements/medals/medals_en.xml
[WARNING] (scripts/client/account_helpers/CustomFilesCache.py, 192): Url error. Reason: unknown url type: https, url: http://ce.worldoftanks-sea.com/dcont/achievements/medals/67x71/1058.png
[EXCEPTION] (scripts\SessionStatistic.py, 337):
Traceback (most recent call last):
  File "scripts\SessionStatistic.py", line 331, in getConfig
IOError: [Errno 2] No such file or directory: './mods/0.8.8/MeltyMapsMathMod088.02/res_mods/0.8.8/scripts/client/mods/SessionStatConfig.cfg'
[EXCEPTION] (scripts/common/Event.py, 34):
Traceback (most recent call last):
  File "scripts/common/Event.py", line 32, in __call__
  File "scripts\SessionStatistic.py", line 402, in new_onMessageReceived
  File "scripts\SessionStatistic.py", line 70, in hideMessage
TypeError: 'NoneType' object is unsubscriptable
[EXCEPTION] (scripts\SessionStatistic.py, 337):
Traceback (most recent call last):
  File "scripts\SessionStatistic.py", line 331, in getConfig
IOError: [Errno 2] No such file or directory: './mods/0.8.8/MeltyMapsMathMod088.02/res_mods/0.8.8/scripts/client/mods/SessionStatConfig.cfg'
[EXCEPTION] (scripts/common/Event.py, 34):
Traceback (most recent call last):
  File "scripts/common/Event.py", line 32, in __call__
  File "scripts\SessionStatistic.py", line 402, in new_onMessageReceived
  File "scripts\SessionStatistic.py", line 70, in hideMessage
TypeError: 'NoneType' object is unsubscriptable
[EXCEPTION] (scripts\SessionStatistic.py, 337):
Traceback (most recent call last):
  File "scripts\SessionStatistic.py", line 331, in getConfig
IOError: [Errno 2] No such file or directory: './mods/0.8.8/MeltyMapsMathMod088.02/res_mods/0.8.8/scripts/client/mods/SessionStatConfig.cfg'
[EXCEPTION] (scripts/common/Event.py, 34):
Traceback (most recent call last):
  File "scripts/common/Event.py", line 32, in __call__
  File "scripts/client/gui/Scaleform/framework/managers/containers.py", line 425, in __loader_onViewLoaded
  File "scripts/client/gui/Scaleform/framework/entities/DisposableEntity.py", line 17, in create
  File "scripts\SessionStatistic.py", line 368, in new_populate
  File "scripts\SessionStatistic.py", line 70, in hideMessage
TypeError: 'NoneType' object is unsubscriptable
PostProcessing.Phases.fini()
\--------------------------------------------------------------------------------/
Link to comment
Short link
Share on other sites

Где я его возьму? Нету, говорил уже 100 раз.

а узнать есть ли у игрока премиум нельзя? и вообще где sdk танков? вместо sdk - декомпиляция флешек? Оо

 

'что был за вопрос'

добавь ср. опыт за бой БЕЗ ПРЕМИУМА т.е. взять тот, который на страничке 'командный результат' (чистый опыт)

 

{{avgTotalXP}} БЕЗ ПРЕМИУМА

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

 урон по засвету,единственное чего не хватает

Да,панель практически идеальна,только этого параметра сильно не хватает.

Поддерживаю

Link to comment
Short link
Share on other sites

А что всё таки со средним уровнем танка?(боёв)

Замечал ранее несоответствие,но вот сегодня специально картинки убрал и вижу цифру 11.

Провёл 4 боя (1 на лоре=9 лвл;2 на тип 59=8 лвл;и один на Т62А=10 лвл)

Получается,что макрос

 

{{avgVehicleTier}} - Средний уровень танков за сессию

всё таки не средний уровень танков,а средний уровень боёв?(которых если не ошибаюсь всего 12)?

post-7478-0-56111500-1381495278_thumb.jpg

Вот плюс ещё один бой на Тип-59=8лвл.и один на Обьект-268=10лвл.

post-7478-0-25228700-1381496748_thumb.jpg

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

Тото раньше иногда при игре на хай лвл пропадала картинка уровня,а теперь понимаю,что в конфиге прописано до 10.5 максимум,а при цифре выше этой получался глюк.

"avgVehicleTier": [
						      { "value": 0.50,       "color": "#FE0E01" },
					              { "value": 1.50,       "color": "#FE0E00" },
						      { "value": 2.50,       "color": "#FE0E02" },
					              { "value": 3.50,       "color": "#FE7903" },
					              { "value": 4.50,       "color": "#FE7904" },
						      { "value": 5.50,       "color": "#F8F400" },
					              { "value": 6.50,       "color": "#F8F401" },
					              { "value": 7.50,       "color": "#60FF00" },
                                                      { "value": 8.50,       "color": "#02C9B3" },
                                                     { "value": 9.50,       "color": "#02C9B5" },
                                                     { "value": 10.50,      "color": "#D042F3" }

Сейчас изменил последнее на 12.00,но теперь не знаю,что и показывает.Т.е.примерно совпадает со средним уровнем,но как видно не всегда.

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

Ребят, помогите с конфигом.

Перешел с 14 на 15 версию, выставил построчно, удалил картинки лишние, статистика перестала отображаться и выглядит как серый пустой экран

SessionStatConfig.rar

Link to comment
Short link
Share on other sites

Ребят, помогите с конфигом.

Перешел с 14 на 15 версию, выставил построчно, удалил картинки лишние, статистика перестала отображаться и выглядит как серый пустой экран

При обновлении с 0.8.8.14 до 0.8.8.15 кэш обязательно удалить.

Удалил?

 

 

И лишняя запятая в конце.

"</textformat></font>",
Edited by VladInGame
  • Upvote 1
Link to comment
Short link
Share on other sites

 

При обновлении с 0.8.8.14 до 0.8.8.15 кэш обязательно удалить.

Удалил?

 

 

И лишняя запятая в конце.

"</textformat></font>",

Спасибо большое, кэш удалял, все дело в запятой

Link to comment
Short link
Share on other sites

Irdis_Evalle средний опыт 7800?? за 5 боев 40000 опыта??? 4 выйграл.. акция чтоль х5???

только вот за 6000 урона столько не дают

8,8,8,7,10 уровни 

свободный опыт - 421? это от 40 000 то? 


Turbina попробуйте убрать окраску с уровня боев и провести пару тестов) и да только рандом

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

Я только рандомный и есть на 100% :ok:

А окраска по идее каким боком может влиять?

На показатели макроса.которые в цифрах.А окраска просто от них уже пляшет и подставляет цвет.

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

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

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

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...