diff --git a/src/bin/kawari-lobby.rs b/src/bin/kawari-lobby.rs index 93f5c4f..28442b9 100644 --- a/src/bin/kawari-lobby.rs +++ b/src/bin/kawari-lobby.rs @@ -132,9 +132,7 @@ async fn main() { ClientLobbyIpcData::CharaMake(character_action) => { connection.handle_character_action(character_action).await } - ClientLobbyIpcData::ShandaLogin { unk } => { - dbg!(unk); - + ClientLobbyIpcData::ShandaLogin { .. } => { connection.send_account_list().await; } ClientLobbyIpcData::GameLogin { diff --git a/src/bin/kawari-world.rs b/src/bin/kawari-world.rs index 5dc821b..09bc3d4 100644 --- a/src/bin/kawari-world.rs +++ b/src/bin/kawari-world.rs @@ -276,8 +276,8 @@ async fn client_loop( timestamp: timestamp_secs(), data: ServerZoneIpcData::PlayerStatus(PlayerStatus { content_id: connection.player_data.content_id, - // for some reason the client really doesn't like us setting this? - //exp: connection.player_data.classjob_exp, + exp: connection.player_data.classjob_exp, + max_level: 100, name: chara_details.name, char_id: connection.player_data.actor_id, race: chara_details.chara_make.customize.race, diff --git a/src/world/database.rs b/src/world/database.rs index 900311f..bb5f26c 100644 --- a/src/world/database.rs +++ b/src/world/database.rs @@ -327,7 +327,7 @@ impl WorldDatabase { let inventory = serde_json::from_str(&inventory_json).unwrap(); - let data = PlayerData { + PlayerData { actor_id, content_id, account_id, @@ -346,11 +346,7 @@ impl WorldDatabase { unlocks: serde_json::from_str(&unlocks).unwrap(), aetherytes: serde_json::from_str(&aetherytes).unwrap(), ..Default::default() - }; - - dbg!(&data); - - data + } } /// Commit the dynamic player data back to the database