1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00

Remove more leftover debugging code

This commit is contained in:
Joshua Goins 2025-06-28 15:10:57 -04:00
parent d230a86844
commit ff3a7d6835
3 changed files with 5 additions and 11 deletions

View file

@ -132,9 +132,7 @@ async fn main() {
ClientLobbyIpcData::CharaMake(character_action) => { ClientLobbyIpcData::CharaMake(character_action) => {
connection.handle_character_action(character_action).await connection.handle_character_action(character_action).await
} }
ClientLobbyIpcData::ShandaLogin { unk } => { ClientLobbyIpcData::ShandaLogin { .. } => {
dbg!(unk);
connection.send_account_list().await; connection.send_account_list().await;
} }
ClientLobbyIpcData::GameLogin { ClientLobbyIpcData::GameLogin {

View file

@ -276,8 +276,8 @@ async fn client_loop(
timestamp: timestamp_secs(), timestamp: timestamp_secs(),
data: ServerZoneIpcData::PlayerStatus(PlayerStatus { data: ServerZoneIpcData::PlayerStatus(PlayerStatus {
content_id: connection.player_data.content_id, 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, name: chara_details.name,
char_id: connection.player_data.actor_id, char_id: connection.player_data.actor_id,
race: chara_details.chara_make.customize.race, race: chara_details.chara_make.customize.race,

View file

@ -327,7 +327,7 @@ impl WorldDatabase {
let inventory = serde_json::from_str(&inventory_json).unwrap(); let inventory = serde_json::from_str(&inventory_json).unwrap();
let data = PlayerData { PlayerData {
actor_id, actor_id,
content_id, content_id,
account_id, account_id,
@ -346,11 +346,7 @@ impl WorldDatabase {
unlocks: serde_json::from_str(&unlocks).unwrap(), unlocks: serde_json::from_str(&unlocks).unwrap(),
aetherytes: serde_json::from_str(&aetherytes).unwrap(), aetherytes: serde_json::from_str(&aetherytes).unwrap(),
..Default::default() ..Default::default()
}; }
dbg!(&data);
data
} }
/// Commit the dynamic player data back to the database /// Commit the dynamic player data back to the database