mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
ci
This commit is contained in:
parent
c9190b1267
commit
be5a8f6104
2 changed files with 7 additions and 3 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
if grep -E "Exception|RuntimeError" server-output.log; then
|
||||
echo "Error message found. Check server-output.log for details."
|
||||
exit 1
|
||||
elif ! grep -q "entering server-mode" server-output.log; then
|
||||
elif ! grep -q "Server started" server-output.log; then
|
||||
echo "Success message not found in server's output."
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
6
dist/ba_root/mods/tools/servercontroller.py
vendored
6
dist/ba_root/mods/tools/servercontroller.py
vendored
|
|
@ -20,6 +20,9 @@ def _access_check_response(self, data) -> None:
|
|||
poststr = ''
|
||||
_babase.our_ip = addr
|
||||
_babase.our_port = port
|
||||
print(
|
||||
f'{Clr.BGRN}{Clr.WHT} Server started {addr}:{port} {Clr.RST}',
|
||||
flush=True)
|
||||
if data['accessible']:
|
||||
# _fetch_public_servers()
|
||||
_babase.queue_chcker_timer = bs.AppTimer(8, babase.Call(
|
||||
|
|
@ -45,7 +48,8 @@ def _access_check_response(self, data) -> None:
|
|||
f'{Clr.SRED}Master server access check of{addrstr}'
|
||||
f' udp port {port} failed.\n'
|
||||
f'Your server does not appear to be'
|
||||
f' joinable from the internet. Please check your firewall or instance security group.{poststr}{Clr.RST}'
|
||||
f' joinable from the internet. Please check your firewall or instance security group.{
|
||||
poststr}{Clr.RST}'
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue