1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 03:37: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) => {
connection.handle_character_action(character_action).await
}
ClientLobbyIpcData::ShandaLogin { unk } => {
dbg!(unk);
ClientLobbyIpcData::ShandaLogin { .. } => {
connection.send_account_list().await;
}
ClientLobbyIpcData::GameLogin {

View file

@ -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,

View file

@ -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