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 }}
Repository navigation
created/owned structures missing from API in private server with broken patch #65
I have just init'd a brand new server, connected and created a player, then placed a spawn. Immediately I check and find that Game.spawns.Spawn is undefined, Game.rooms.W8N3.find(FIND_MY_STRUCTURES) finds only the room controller, Game.getObjectById(idofthespawn) returns null.
I have no idea how to further troubleshoot this. I encountered this problem first while using the cli to create some buildings to run some experiments, but later boiled it down to just a spawn on a fresh server.
It appears this was potentially caused by my using a patched engine, but I cannot find anything in my patch that would cause this behavior. Please keep this issue open for a short while as I attempt to narrow down the misbehavior?
changed the title [-]created/owned structures missing from API in private server[/-][+]created/owned structures missing from API in private server with broken patch[/+]on Oct 26, 2017
Fixing some uses of global/C in that patch made the problem go away. However, I believe there still remains a bug here in that this failure was silent on the server/log side. Whatever was going wrong, it should have produced some error log output.
Activity
sparr commentedon Oct 26, 2017
Here's the db entry for the spawn in question:
sparr commentedon Oct 26, 2017
Here's how it appears in the client:
sparr commentedon Oct 26, 2017
It appears this was potentially caused by my using a patched engine, but I cannot find anything in my patch that would cause this behavior. Please keep this issue open for a short while as I attempt to narrow down the misbehavior?
sparr commentedon Oct 26, 2017
https://gist.github.com/sparr/7935d9a533ecfc47b8657b013227b9f3
[-]created/owned structures missing from API in private server[/-][+]created/owned structures missing from API in private server with broken patch[/+]sparr commentedon Oct 26, 2017
Fixing some uses of
global/Cin that patch made the problem go away. However, I believe there still remains a bug here in that this failure was silent on the server/log side. Whatever was going wrong, it should have produced some error log output.