new/recreate chars dont have banks #96

Closed
opened 2022-02-19 20:49:57 -05:00 by andy · 0 comments
Collaborator

when (re)creating a character after finishing and moving to the ship select menu, the server crashes after choosing the ship but before choosing the block:

http://git.sharnoth.com/jake/elseware/src/branch/master/src/ship/items/manager.rs#L208

using Very Good Debugging the new character CharacterEntityId(11) doesn't exist in the list of banks known by the InMemoryGateway:

inmemory.rs::get_bank_meseta() - char_id: CharacterEntityId(11), bank: BankName("")
we know about the following banks:
Mutex { data: {(CharacterEntityId(1), BankName("")): Meseta(999999), (CharacterEntityId(2), BankName("")): Meseta(999999), (CharacterEntityId(3), BankName("")): Meseta(999999), (CharacterEntityId(4), BankName("")): Meseta(999999), (CharacterEntityId(5), BankName("")): Meseta(999999), (CharacterEntityId(6), BankName("")): Meseta(999999), (CharacterEntityId(7), BankName("")): Meseta(999999), (CharacterEntityId(8), BankName("")): Meseta(999999), (CharacterEntityId(9), BankName("")): Meseta(999999), (CharacterEntityId(10), BankName("")): Meseta(999999)}, poisoned: false, .. }```
when (re)creating a character after finishing and moving to the ship select menu, the server crashes after choosing the ship but before choosing the block: http://git.sharnoth.com/jake/elseware/src/branch/master/src/ship/items/manager.rs#L208 using Very Good Debugging the new character `CharacterEntityId(11)` doesn't exist in the list of banks known by the `InMemoryGateway`: ```. inmemory.rs::get_bank_meseta() - char_id: CharacterEntityId(11), bank: BankName("") we know about the following banks: Mutex { data: {(CharacterEntityId(1), BankName("")): Meseta(999999), (CharacterEntityId(2), BankName("")): Meseta(999999), (CharacterEntityId(3), BankName("")): Meseta(999999), (CharacterEntityId(4), BankName("")): Meseta(999999), (CharacterEntityId(5), BankName("")): Meseta(999999), (CharacterEntityId(6), BankName("")): Meseta(999999), (CharacterEntityId(7), BankName("")): Meseta(999999), (CharacterEntityId(8), BankName("")): Meseta(999999), (CharacterEntityId(9), BankName("")): Meseta(999999), (CharacterEntityId(10), BankName("")): Meseta(999999)}, poisoned: false, .. }```
andy added the
release
label 2022-02-19 20:50:45 -05:00
andy closed this issue 2023-02-06 19:10:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jake/elseware#96
No description provided.