Skip to content

Conversation

@Abstrct
Copy link
Contributor

@Abstrct Abstrct commented Dec 30, 2025

There is a race condition going on during player setup. This is very much a temporary fix that works enough but I'm sure there are better options.

During setup on a prod environment (which has some extra lag) this ends up creating an issue that prevents planet exploration, which causes the player account to be in a void unplayable state.

I think the login doesn't occur fast enough to meet the needs of the grass listener(s).

GameState.js:200 New Block 168861
GrassManager.js:61 {value: 25, subject: 'structs.grid.player.1-43', value_p: 25000, category: 'structsLoad', object_id: '1-43', …}
GrassManager.js:61 {value: 0, subject: 'structs.grid.player.1-43', value_p: 0, category: 'lastAction', object_id: '1-43', …}
GrassManager.js:61 {id: '1-43', pfp: null, status: '', subject: 'structs.player.0-1.1-43', category: 'player_meta', …}
GrassManager.js:61 {id: '1-43', index: 43, creator: 'structs1x2t2e27mkul02j5enxrxxstsly8cl0u6txfe27', subject: 'structs.player.0-1.1-43', category: 'player_consensus', …}
PlayerCreatedListener.js:21 1-43
GrassManager.js:61 {status: 'approved', address: 'structs1x2t2e27mkul02j5enxrxxstsly8cl0u6txfe27', subject: 'structs.player.0-1.1-43', category: 'player_address', guild_id: '0-1', …}
GrassManager.js:61 {value: 36, subject: 'structs.grid.substation.4-1', value_p: 36, category: 'connectionCount', object_id: '4-1', …}
GrassManager.js:61 {value: 8000, subject: 'structs.grid.substation.4-1', value_p: 8000000, category: 'connectionCapacity', object_id: '4-1', …}
GrassManager.js:61 {value: 1, subject: 'structs.grid.player.1-43', value_p: 1, category: 'proxyNonce', object_id: '1-43', …}
AuthManager.js:158 Login response status: GuildAPIResponse {success: true, errors: Array(0), data: null}
SigningClientManager.js:108 Initializing signing client...
SigningClientManager.js:116 Signing client initialized.
JsonAjaxer.js:6  GET http://crew.oh.energy/api/fleet/player/1-43 401 (Unauthorized)
get @ JsonAjaxer.js:6
getFleetByPlayerId @ GuildAPI.js:722
login @ AuthManager.js:195
await in login
handler @ PlayerCreatedListener.js:23
(anonymous) @ GrassManager.js:68```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants