This commit is contained in:
Eric Froemling 2020-06-19 15:35:10 -07:00
parent a28b11ea16
commit 366ad9266e
4 changed files with 29 additions and 19 deletions

View File

@ -4135,16 +4135,16 @@
"assets/build/windows/x64/vc_redist.x64.exe": "https://files.ballistica.net/cache/ba1/ea/19/8b8787d81abcdce158ba608cd24f",
"assets/build/windows/x64/vcruntime140_1d.dll": "https://files.ballistica.net/cache/ba1/11/d8/ff6344b429b00c24d9a1930d4338",
"assets/build/windows/x64/vcruntime140d.dll": "https://files.ballistica.net/cache/ba1/20/33/0825e11e6518f87ece3009309933",
"build/prefab/linux-server/debug/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/7e/4b/d425cee78e5be7c33eaa116958a0",
"build/prefab/linux-server/release/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/d9/28/927306fabceb4204f6362abbe6c1",
"build/prefab/linux/debug/ballisticacore": "https://files.ballistica.net/cache/ba1/e4/75/e4d5bd0254174a6e0dd946e9436a",
"build/prefab/linux/release/ballisticacore": "https://files.ballistica.net/cache/ba1/34/e9/53f7f898b38c0f3027cc2a3769ea",
"build/prefab/mac-server/debug/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/c9/b4/026d24c65666eb55a881ca2aad12",
"build/prefab/mac-server/release/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/11/1f/0fe528dbc9a91c2df1a3f9a85417",
"build/prefab/mac/debug/ballisticacore": "https://files.ballistica.net/cache/ba1/88/fb/1087df6e200a2c4401bf07a11a6d",
"build/prefab/mac/release/ballisticacore": "https://files.ballistica.net/cache/ba1/c1/10/8315e088429cdbcf228ee09da84a",
"build/prefab/windows-server/debug/dist/ballisticacore_headless.exe": "https://files.ballistica.net/cache/ba1/3a/54/ae033a0ee11c1d6373878646bcb9",
"build/prefab/windows-server/release/dist/ballisticacore_headless.exe": "https://files.ballistica.net/cache/ba1/36/87/3adfdd60c639575750d90274ee47",
"build/prefab/windows/debug/BallisticaCore.exe": "https://files.ballistica.net/cache/ba1/f7/98/24404678c0f890d234317648916b",
"build/prefab/windows/release/BallisticaCore.exe": "https://files.ballistica.net/cache/ba1/98/a4/1176b6af11ac9ac3faa5db145454"
"build/prefab/linux-server/debug/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/e0/b0/f934d21ab92be82d8e5dbbf666a9",
"build/prefab/linux-server/release/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/73/07/810564c043cbc370345b15191dd6",
"build/prefab/linux/debug/ballisticacore": "https://files.ballistica.net/cache/ba1/1c/cd/530857c56f64c08d0f21f826cab1",
"build/prefab/linux/release/ballisticacore": "https://files.ballistica.net/cache/ba1/0f/ca/fd6a9f2f7e74ff2845fa5f700493",
"build/prefab/mac-server/debug/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/42/3d/17bf311a3a466f597cfa3ec2c008",
"build/prefab/mac-server/release/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/41/89/d8b0e8fc16f095700dd67cb5811d",
"build/prefab/mac/debug/ballisticacore": "https://files.ballistica.net/cache/ba1/e6/aa/8665c16eff6438e7333ccdd24efe",
"build/prefab/mac/release/ballisticacore": "https://files.ballistica.net/cache/ba1/b7/90/e90583e9397046ddc33bf596b7ab",
"build/prefab/windows-server/debug/dist/ballisticacore_headless.exe": "https://files.ballistica.net/cache/ba1/8c/e6/51abb2bff373041b3889ef4c742c",
"build/prefab/windows-server/release/dist/ballisticacore_headless.exe": "https://files.ballistica.net/cache/ba1/04/24/2846a9ad74af186ae1aeed755a90",
"build/prefab/windows/debug/BallisticaCore.exe": "https://files.ballistica.net/cache/ba1/82/26/ca1bd2452e4734ada4377e67b37c",
"build/prefab/windows/release/BallisticaCore.exe": "https://files.ballistica.net/cache/ba1/1e/a0/61df379746c449f24e8a2cecb528"
}

View File

@ -1,6 +1,11 @@
### 1.5.7 (20077)
- Fixed an issue where co-op score screen rating could look like '3.99999999999999'
- Other minor bug fixes.
### 1.5.6 (20075)
- Lots of internal event-handling cleanup/reorganization in preparation for Android 1.5 update.
- Lots of low level input handling cleanup, also related to Android 1.5 version. Please holler if keyboard/game-controllers/etc. are behaving odd on any platforms.
- Now including Android test builds for the first time since 1.5. These have not been thoroughly tested yet so please holler with anything that is obviously broken.
- Mouse wheel now works in manual camera mode on more platforms.
- Server scripts now run in opt mode in release builds so they can use bundled .opt-1.pyc files.
- Fixes a potential crash in the local network browser.

View File

@ -794,10 +794,15 @@ class CoopScoreScreen(ba.Activity[ba.Player, ba.Team]):
(1.9 + i * 0.05, 2.3 + i * 0.05))
for i in range(display_count):
try:
name_str = ', '.join(
[p['name'] for p in display_scores[i][1]['players']])
if display_scores[i][1] is None:
name_str = '-'
else:
name_str = ', '.join([
p['name'] for p in display_scores[i][1]['players']
])
except Exception:
ba.print_exception('Error calcing name_str')
ba.print_exception(
f'Error calcing name_str for {display_scores}')
name_str = '-'
if display_scores[i] == our_score and not showed_ours:
flash = True
@ -1172,8 +1177,8 @@ class CoopScoreScreen(ba.Activity[ba.Player, ba.Team]):
if 'error' in self._show_info['results'] else None)
rank = self._show_info['results']['rank']
total = self._show_info['results']['total']
rating = 10.0 if total == 1 else round(
10.0 * (1.0 - (float(rank - 1) / (total - 1))), 1)
rating = (10.0 if total == 1 else 10.0 * (1.0 - (float(rank - 1) /
(total - 1))))
player_rank = self._show_info['results']['playerRank']
best_player_rank = self._show_info['results']['bestPlayerRank']
else:
@ -1298,7 +1303,7 @@ class CoopScoreScreen(ba.Activity[ba.Player, ba.Team]):
scale=0.7,
transition_delay=1.0).autoretain()
else:
ZoomText((str(rating) if available else ba.Lstr(
ZoomText((f'{rating:.1f}' if available else ba.Lstr(
resource='unavailableText')),
flash=True,
trail=True,

View File

@ -1,5 +1,5 @@
<!-- THIS FILE IS AUTO GENERATED; DO NOT EDIT BY HAND -->
<h4><em>last updated on 2020-06-18 for Ballistica version 1.5.6 build 20075</em></h4>
<h4><em>last updated on 2020-06-19 for Ballistica version 1.5.6 build 20076</em></h4>
<p>This page documents the Python classes and functions in the 'ba' module,
which are the ones most relevant to modding in Ballistica. If you come across something you feel should be included here or could be better explained, please <a href="mailto:support@froemling.net">let me know</a>. Happy modding!</p>
<hr>