Jump to content

Chances to win


Recommended Posts

Posted

Current mod_wn8_chance.py script inside modpack (1.1.0#2) is out of date/broken.
No surprise, that script was holding on for too long without any need for updates.
teamwn8.jpg.dcd9224096004743d5fb346722666e8e.jpg
Anyway there is semi-working version.(with few minor issues, like wrong <=> signs)
mod_wn8_chance.7z
 

  • Upvote 1
Posted

WN8 chance was broken anyhow all it did was calculate team wn8 vs team wn8 for a very inaccurate estimate. You can eyeball it yourself and make a better one.

  • Administrator
Posted
15 hours ago, Ress said:

Current mod_wn8_chance.py script inside modpack (1.1.0#2) is out of date/broken.
No surprise, that script was holding on for too long without any need for updates.

Anyway there is semi-working version.(with few minor issues, like wrong <=> signs)
mod_wn8_chance.7z
 

 

Who updated it?


Someone provided me this partial python but it might be from old version:
 

Spoiler

 


2018-08-30 20:08:53.472: WARNING: [gui.Scaleform.framework.entities.BaseDAAPIComponent] Class with alias `teamBasesPanel` already registered in object ClassicPage[0x663f9dd0]=[key=ViewKey[alias=classicBattlePage, name=classicBattlePage], scope=SimpleScope[0x294853d0]=[scopeType=view, parentScope=GlobalScope[0x29485390]=[scopeType=global, parentScope=None]], state=2]. It will be rewritten.
2018-08-30 20:08:54.629: ERROR: Traceback (most recent call last):
2018-08-30 20:08:54.637: ERROR:   File "res_mods/configs/xvm/py_macro\mod_wn8_chance.py", line 149, in onStatsReady
2018-08-30 20:08:54.637: ERROR:     setVehicleStats(vid, vehicle)
2018-08-30 20:08:54.637: ERROR:   File "res_mods/configs/xvm/py_macro\mod_wn8_chance.py", line 144, in setVehicleStats
2018-08-30 20:08:54.638: ERROR:     xfw.as_event('ON_UPDATE_TEAM_RATING;)
2018-08-30 20:08:54.638: ERROR: AttributeError: 'module' object has no attribute 'as_event'
2018-08-30 20:09:17.744: INFO: [gui.app_loader.loader] Space is changed: BattleLoadingSpace() -> BattleSpace()
2018-08-30 20:09:19.480: ERROR: Traceback (most recent call last):
2018-08-30 20:09:19.485: ERROR:   File "res_mods/configs/xvm/py_macro\mod_wn8_chance.py", line 149, in onStatsReady
2018-08-30 20:09:19.485: ERROR:     setVehicleStats(vid, vehicle)
2018-08-30 20:09:19.485: ERROR:   File "res_mods/configs/xvm/py_macro\mod_wn8_chance.py", line 144, in setVehicleStats
2018-08-30 20:09:19.486: ERROR:     xfw.as_event('ON_UPDATE_TEAM_RATING;)
2018-08-30 20:09:19.486: ERROR: AttributeError: 'module' object has no attribute 'as_event'
2018-08-30 20:14:50.551: INFO: =============================
2018-08-30 20:14:50.551: INFO: 2018-08-30 20:14:50: [ERROR] mods/xfw/python/xfw/events.pyc
2018-08-30 20:14:50.551: ERROR: Traceback (most recent call last):
2018-08-30 20:14:50.551: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2018-08-30 20:14:50.551: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2018-08-30 20:14:50.553: ERROR:   File "res_mods/configs/xvm/py_macro\mod_wn8_chance.py", line 192, in FragsCollectableStats_addVehicleStatusUpdate
2018-08-30 20:14:50.553: ERROR:     xfw.as_event('ON_UPDATE_TEAM_RATING;)
2018-08-30 20:14:50.553: ERROR: AttributeError: 'module' object has no attribute 'as_event'
2018-08-30 20:14:50.553: INFO: =============================
2018-08-30 20:15:15.058: ERROR: [ERROR] (scripts/common/debug_utils.py, 228): Method must be override!
2018-08-30 20:15:20.648: INFO: [pika.channel] Closing channel (0): 'Normal Shutdown' on <Channel number=1 OPEN conn=<SelectConnection OPEN socket=('192.168.1.6', 50550)->('136.243.102.88', 5608) params=<ConnectionParameters host=xmqp8.modxvm.com port=5608 virtual_host=xvm ssl=False>>>
2018-08-30 20:15:20.648: INFO: [pika.connection] Closing connection (200): Normal shutdown
2018-08-30 20:15:20.648: INFO: [pika.connection] Connection.close is waiting for 1 channels to close: <SelectConnection CLOSING socket=('192.168.1.6', 50550)->('136.243.102.88', 5608) params=<ConnectionParameters host=xmqp8.modxvm.com port=5608 virtual_host=xvm ssl=False>>
2018-08-30 20:15:20.671: INFO: [gui.app_loader.loader] Space is changed: BattleSpace() -> WaitingSpace()
2018-08-30 20:15:20.671: INFO: [gui.Scaleform.app_factory] Creating app: scaleform/lobby
2018-08-30 20:15:21.017: INFO: [gui.Scaleform.app_factory] Destroying app: scaleform/battle
2018-08-30 20:15:21.058: INFO: 2018-08-30 20:15:21: [ERROR] TypeError: Error #1009: Cannot access a property or method of a null object reference.
2018-08-30 20:15:21.058: INFO:     at battle::HPanels/onDispose()
2018-08-30 20:15:21.058: INFO:     at net.wg.gui.battle.components::BattleUIComponent/onDispose()
2018-08-30 20:15:21.058: INFO:     at net.wg.gui.battle.components::BattleUIComponent/doDispose()
2018-08-30 20:15:21.058: INFO:     at net.wg.gui.battle.components::BattleUIComponent/dispose()
2018-08-30 20:15:21.058: INFO:     at net.wg.infrastructure.base::BaseBattleDAAPIComponent/as_dispose()
2018-08-30 20:15:21.082: INFO: [gui.app_loader.loader] App is destroyed: scaleform/battle

 

 

 

Posted

 

30 minutes ago, Aslain said:

Who updated it?

Well its not official update, at least Tey didn't update it.
I was using budyx69 version for few months. link

Someone posted "working" version i tried it and appears to be working. (aside from wrong signs)
https://koreanrandom.com/forum/topic/42018-team-wn8-командный-wn8/?page=7

Still that script needs some update. (or it will die same way as colored chat)


EDIT: also i am not getting any python errors related to mod_wn8_chance.py atm, so idk about that log

  • 1 year later...
Posted

anyone able to update that mod_wn8_chance.py  file? seems noone instrested in xvm forums, I belive this would still be handy in teammodes advance, strongholds-

Posted

Hello,

 

With this new update on mod, the winning chance does not appear in game anymore. I looked for it in the tree of the mod but I cant find it anymore. It was taken out?

Posted

 

someone needs to update mod_wn8_chance.py   file,  I asked this in XVM forums, and they didnt want to do it, for somereason? is there anyone who is able to update it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.