-
-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After reloading a previous save, Bulletin Board is empty #5886
Comments
Might be related to #899 but not sure since the fix was delivered more than a decade ago 🙂 |
Strange / new one. |
I've seen this before and I assumed it was related to #5305 which I was testing at the time . When I load the save in Since the ship market is updated and I checked the Lua console and this logwarning is firing: When I comment out all lines except pioneer/data/libs/SpaceStation.lua Lines 901 to 907 in e123a3f
|
Maybe local function updateAdverts (station)
if not SpaceStation.adverts[station] then
logWarning("SpaceStation.lua: updateAdverts called for station that hasn't been visited")
end
Event.Queue("onUpdateBB", station)
end |
If there isn't a |
There is an infrequent issue where the BBS will show up empty on a game reload as SpaceStation.adverts[station] is missing. This fix will cause the BBS to repopulate itself but only from those modules that impements onUpdateBB(). It will not solve the underlying cause. Addresses pioneerspacesim#5886
There is an infrequent issue where the BBS will show up empty on a game reload as SpaceStation.adverts[station] is missing. This fix will cause the BBS to repopulate itself but only from those modules that impements onUpdateBB(). It will not solve the underlying cause. Addresses #5886
About my fix above, From #5894,
Right. If we can repopulate the BBS with local function updateAdverts (station)
if not SpaceStation.adverts[station] then
logWarning("SpaceStation.lua: updateAdverts called for station that hasn't been visited")
Event.Queue("onCreateBB", station)
else
Event.Queue("onUpdateBB", station)
end
end |
Yes, |
OK, fixed in: #5912 |
Observed behaviour
After landing at a station, I reloaded a save where I was in another system. Then I fly to the same station again and this time the Bulletin Board is empty
Expected behaviour
The Bulletin Board should show some missions, ads and so on
Steps to reproduce
Load the attached savegame and open the station's BB
My pioneer version (and OS):
20240710 (e123a3f) (Linux)
My output.txt (required) and game save (optional, but recommended)
output.txt
lolo1.gz
The text was updated successfully, but these errors were encountered: