Commit graph

1186 commits

Author SHA1 Message Date
Loup-Garou911XD
54b049ac22 Fix2 2024-04-20 00:19:05 +05:30
Loup-Garou911XD
afacc49152 Fix 2024-04-20 00:10:10 +05:30
Loup-Garou911XD
3a480dfff6 [ci] auto-format 2024-04-19 18:35:07 +00:00
Loup-Garou911XD
d07a276f1a get changes from CHANGELOG.md 2024-04-20 00:04:05 +05:30
Loup-Garou911XD
20aef6312a added release workflow 2024-04-19 22:27:30 +05:30
Loup
7188f2705c
Merge pull request #245 from bombsquad-community/wait-for-scene-app-mode-to-activate
Wait for scene app mode to activate
2024-04-11 13:56:00 +05:30
rikkolovescats
0be1e704f9
Add a CHANGELOG entry for v1.0.8 2024-04-11 12:55:14 +05:30
rikkolovescats
dc2a4ddfa6 [ci] apply-version-metadata 2024-04-11 07:22:13 +00:00
rikkolovescats
85b572707e
Bump plugin manager to v1.0.8 2024-04-11 12:51:06 +05:30
rikkolovescats
4b140f29c9
Wait for SceneAppMode to activate
Reported in ballistica's official discord server:
https://discord.com/channels/1001896771347304639/1218201750440247296/1227731932838760521.

We were calling `_bascenev1.protocol_version()` before SceneAppMode was
activated (by ballistica), which isn't allowed in newer ballistica
versions.

It was the cause of the following traceback:
```sh
$ CMAKE_BUILD_TYPE="Debug" make prefab-gui-debug

BA_WSL_TARGETS_WINDOWS=1 tools/pcommand make_prefab gui-debug
make[1]: Entering directory '/home/rikkolovescats/ballistica'
Lazybuild: skipping "meta" (checked 89 inputs in 0.0026s).
Lazybuild: skipping "assets-cmake" (checked 376 inputs in 0.0018s).
Staging for cmake at build/prefab/full/linux_x86_64_gui/debug...
make[1]: Leaving directory '/home/rikkolovescats/ballistica'
cd build/prefab/full/linux_x86_64_gui/debug && ./ballisticakit
root: BallisticaKit 1.7.34 build 21800.
root: Error loading plugin class 'plugin_manager.EntryPoint'.
Traceback (most recent call last):
  File "/home/rikkolovescats/ballistica/build/prefab/full/linux_x86_64_gui/debug/ba_data/python/babase/_plugin.py", line 283, in attempt_load_if_enabled
    cls = getclass(self.class_path, Plugin)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rikkolovescats/ballistica/build/prefab/full/linux_x86_64_gui/debug/ba_data/python/babase/_general.py", line 83, in getclass
    module = importlib.import_module(modulename)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/rikkolovescats/.ballisticakit/mods/plugin_manager.py", line 70, in <module>
    protocol_version = _bs.protocol_version()
                       ^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Attempting to access SceneAppMode while it is inactive.
```

This commit improves the compatibility layer such that any calls that
require SceneAppMode to be active aren't made before it gets active.
2024-04-11 12:48:14 +05:30
rikkolovescats
d89b7b1478
Merge pull request #242 from brostosjoined/main
NAT-PMP/UPNP
2024-03-03 23:56:01 +05:30
brostosjoined
674939eee0 [ci] apply-version-metadata 2024-03-03 17:56:35 +00:00
brostos
48bd0dafb3
Update utilities.json 2024-03-03 20:56:14 +03:00
brostosjoined
a23f69997c [ci] auto-format 2024-03-03 17:55:55 +00:00
brostos
2b70c7e906
Update natpmp_upnp.py 2024-03-03 20:55:34 +03:00
brostos
f469c3d302
Update natpmp_upnp.py 2024-03-03 20:27:09 +03:00
brostosjoined
e508c4537c [ci] apply-version-metadata 2024-03-03 16:42:33 +00:00
brostos
06d5bd41df
Update utilities.json 2024-03-03 19:42:12 +03:00
brostos
a8096be232
Update natpmp_upnp.py 2024-03-03 19:41:36 +03:00
brostosjoined
6f5e4a7edc [ci] apply-version-metadata 2024-03-03 16:34:47 +00:00
brostos
08c2165d0d
Update utilities.json 2024-03-03 19:34:24 +03:00
brostosjoined
47c1d93e85 [ci] auto-format 2024-03-03 16:32:44 +00:00
brostos
e445036a20
Update natpmp_upnp.py 2024-03-03 19:32:22 +03:00
brostosjoined
5484215e3c [ci] apply-version-metadata 2024-03-02 09:25:56 +00:00
brostos
685c122a2d
Update utilities.json 2024-03-02 12:25:31 +03:00
brostos
dfd7f41e2b
Update utilities.json 2024-03-02 12:19:53 +03:00
brostos
5adb924aae
Add files via upload 2024-03-02 12:14:20 +03:00
brostos
1885090ed0
Merge pull request #240 from Freaku17/main
Fix searching in plugin manager with capital letters
2024-02-21 22:55:50 +03:00
Freaku17
fd2cf8edb7 [ci] apply-version-metadata 2024-02-21 19:39:38 +00:00
! Freaku
cf55d26afd
Fix oops in JSON 2024-02-22 01:09:13 +05:30
! Freaku
4be6330733
Fix searching in plugin manager with capital letters 2024-02-22 01:04:52 +05:30
rikkolovescats
acbc1bda2d
Merge pull request #238 from Freaku17/main
Add co-op support to simon_says minigame
2024-02-17 02:57:31 +05:30
Freaku17
a35972ee0f [ci] apply-version-metadata 2024-02-16 20:53:50 +00:00
Freaku17
593ae6fdb2 [ci] auto-format 2024-02-16 20:53:48 +00:00
! Freaku
b964b1275d
Update JSON file 2024-02-17 02:21:56 +05:30
! Freaku
3f7f5299c4
Update simon_says.py
• Add co-op support
2024-02-17 02:21:33 +05:30
brostos
f6dcfc656d
Merge pull request #236 from Freaku17/main
Update some gamemodes for co-op support
2024-02-15 22:48:49 +03:00
Freaku17
30e4fd2e85 [ci] apply-version-metadata 2024-02-15 19:42:36 +00:00
! Freaku
9ca60394ae
Fix JSON oops 2024-02-16 01:12:16 +05:30
Freaku17
bbb6cb3a13 [ci] auto-format 2024-02-15 19:39:53 +00:00
! Freaku
cedc80a58e
Update JSON file 2024-02-16 01:05:46 +05:30
! Freaku
5db98e37f4
Update some gamemodes for co-op support
(these games were made to also be played in co-op, during 1.6 Eric forgot to add the ability to register games in Campaign. Those a mod was required to play such gamemodes in co-op. But thanks to now added Campaign support, there's no more need of such a mod.)
2024-02-16 01:05:27 +05:30
rikkolovescats
f2f3381235
Merge pull request #235 from Freaku17/main
Update JSON files to proper naming scheme
2024-02-15 22:55:06 +05:30
Freaku17
07ef767945 [ci] apply-version-metadata 2024-02-15 17:02:06 +00:00
! Freaku
837a5df76b
Update minigames.json 2024-02-15 22:31:43 +05:30
Freaku17
67f0c4d8ac [ci] apply-version-metadata 2024-02-15 17:01:03 +00:00
! Freaku
ddee2e0dab
Update minigames.json 2024-02-15 22:30:40 +05:30
! Freaku
7ca9ced2e6
Update JSON files to proper naming scheme 2024-02-15 22:25:50 +05:30
rikkolovescats
214a7edab9
Merge pull request #234 from Freaku17/main
Use better naming scheme in JSON files
2024-02-15 21:36:50 +05:30
! Freaku
196e36c08d
Use better naming scheme in JSON files
(unknown authors will now be represented by `-` instead of anything else, as to avoid giving credits to people with similar names)
2024-02-15 18:59:02 +05:30