Jump to content
Korean Random

Kodak

User
  • Posts

    15
  • Joined

  • Last visited

Posts posted by Kodak

  1. Edited by Kodak

    12:42

     

    post-23920-0-52922600-1497339007_thumb.jpg

     

    I was using T near enemy position

    Message was correctly pointing to C5 location but instead of drawing circle around my aiming point - A1 cell was being selected

    Intended marker can be seen here: https://videos.files.wordpress.com/zZu1hWuV/arty_support_dvd.original.jpg (new in 9.18)

     

    python.log is clear as it is most probably problem in AS3

    replay_last_battle.wotreplay

  2. Edited by Kodak

    I was trying to locate the issue without luck.

    On python side functionality is triggered by 

    self.guiSessionProvider.shared.chatCommands.handleSPGAimAreaCommand(self)

    from within PlayerAvatar

    On AS3 side it is probably implemented as StaticArtyMarker and probably XVM's AS3 side somehow fails to implement this fairy new functionality

     

    Neither disabling minimap nor vehicle markers in xvm helps.

  3. Hi,

    as wotreplay has battleResult structure inside one could use it to display BattleResultsWindow at the end of replay.

    I was able to trigger BattleResultsWindow creation using some tweaks but of course nothing shows up. For sure AS3 got stuck as python.log is clear.

    Any hints?

    def showReplayResultsWindow():
      from helpers import dependency
      from skeletons.gui.battle_results import IBattleResultsService
      battleResults = dependency.instance(IBattleResultsService)
      battleResults.postResult( { hash with battle result }, False)
    
      from gui.Scaleform.daapi.settings.views import VIEW_ALIAS
      from gui.shared.utils.functions import getViewName
      arenaUniqueID = 2141373401651619
    
      from gui.Scaleform.framework import g_entitiesFactories
      g_entitiesFactories.addSettings(GroupedViewSettings(VIEW_ALIAS.BATTLE_RESULTS, BattleResultsWindow, 'battleResults.swf', ViewTypes.WINDOW, 'BattleResultsWindow', None, ScopeTemplates.DEFAULT_SCOPE))
      g_appLoader.getDefBattleApp().loaderManager.loadView(VIEW_ALIAS.BATTLE_RESULTS, getViewName(VIEW_ALIAS.BATTLE_RESULTS, str(arenaUniqueID)), {'arenaUniqueID': arenaUniqueID})

    Using procmon I see that battleResults.swf with required swf files are being loaded...

  4. Edited by Kodak

    Hi, as I am having occasional lags I was trying to put more entries into pinger's hosts to have any idea whether ISP has problem or WG has it (basically putting a host or two from a traceroute to WG servers). I wanted to create a mod for it: import pinger and add some entries to _ping.hosts. I have done that successfully but all the ping info in the game still show only two (EU) entries. Can someone give me a hint what am i doing wrong here? Thanks in advance.

    ... Config routine
    
    try:
        from xvm_main.python.pinger import _ping
    except ImportError:
        _ping = None
    
    if _ping:
        del _ping.hosts[1]
        for entry in _config.get("hosts", []):
            _ping.hosts.append({
                'Name': 'WOT ' + str(entry.get('name', 'unknown')),
                'Url': str(entry.get('url', 'localhost'))})
        DOLOG("pinger hosts: %s" % str(_ping.hosts))        
    else:
        DOLOG("no _ping object available")
    
  5. Edited by Kodak

     

    Is this possible that in 2838 players started to crash to Desktop Again, like it WAS right After Update to 9.0? Has anyone Reported it? Also found this bug Rounding:

     

    Iejznw9.jpg

     

    That number in brackets is average dmg in battle.

    "FormatHeader": "<font color='#FFFFFF'> {{l10n: Hits}}: </ font> <font color='#FFCC66' size='15'> <b> {{n}} </ b> </ font> <font color='#FFFFFF'> {{l10n: Total}}: </ font> <font size='16' color='#FF8080'> <b> {{dmg-total} } </ b> </ font> <font size='15' color='#FFFFFF'> [</ font> <font size='14' color='#A4FF80'> <b> {{dmg-avg }} </ b> </ font> <font size='14' color='#FFFFFF'>] </ font> <font color='#FFFFFF'> {{l10n: Last}}: </ font> <img src='xvmres://Aslain/icons/{{c:dmg-kind}}.png' width='32' height='15' vspace='0'> <font size='13'> { {dead}} </ font> <font color='{{c:dmg-kind}}'> <b> {{dmg}} </ b> </ font> </ font> <br> <img src = 'xvmres :/ / Aslain / icons / hitlogline.png' width = '300 'height = '3' vspace = '0 '> ",
    

    As i see from commit logs rounding was removed from the code in favor of display formatting: try changing 

    {{dmg-avg}}

    into

    {{dmg-avg%d}}

    made three battles today with 2838 with no crash

    sirmax: do you need any development support? I could try to involve having some 15 years of various development experience

    • Upvote 3
×
×
  • Create New...