You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.
Describe the bug
When I run the server and after players start playing on my terminal in the server I can see a lot of traceback being generated. Giving the following error:
Traceback (most recent call last):
File "data/scripts/bsGame.py", line 352, in __del__
self.handleMessage(DieMessage())
File "data/scripts/bsPowerup.py", line 487, in handleMessage
if self.nodeLight.exists():
To Reproduce
Steps to reproduce the behavior:
Start the server.
Wait for people to join and start playing.
See error
Expected behavior
There should be any traceback displayed.
Platform(please complete the following information):
Device: Digital ocean droplet
OS: Ubuntu
Additional context
if we print out all the attributes of the object we can see the following
And as we can see that there is no nodeLight there, this is because inline 360 of bsPowerup.py you set self.nodeLigh to certain values but only when settings.discoLightsOnPowerUps are on. Here is the code snippet of bsPowerup.py from line 359 to 366
Thank you for figuring out the bug in the code. I would have fixed this bug soon.
But now, I am going to archive this repository since I can no longer work on this repository frequently.
But, there will be a new repository in the organization account @BombSquaders where the server 1.4 version release will be available and after the original server builds for 1.5 is released the code on the repository will also be updated to support the latest API.
Watch the organization for updates about the repository.
Describe the bug
When I run the server and after players start playing on my terminal in the server I can see a lot of traceback being generated. Giving the following error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
There should be any traceback displayed.
Platform(please complete the following information):
Additional context
if we print out all the attributes of the object we can see the following
And as we can see that there is no
nodeLight
there, this is because inline 360 ofbsPowerup.py
you setself.nodeLigh
to certain values but only whensettings.discoLightsOnPowerUps
are on. Here is the code snippet ofbsPowerup.py
from line 359 to 366Fix
So I think the fix would be to add a simple check condition above line 486 and the complete code would look like(from line 479 to 488):
Sorry to just write everything here, if you would put the source code on this repository I would be happy to make a PR for it.
The text was updated successfully, but these errors were encountered: