fix: the character data packet carries the world keys live sent

Every live character data packet (451 of 451) had legoclub=1, freetrial=0,
requiresrename=0, levelid and position.x/y/z + rotation.x/y/z/w next to
the keys already sent. LWOCharacterComponent::LoadConfigData (0x00c70f00)
reads requiresrename, legoclub and freetrial.

requiresrename is the character's refused-name state, levelid the zone id
(map, instance << 16, clone << 32) and the position and rotation are where
the player is put in the world.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-11-10 14:48:11 -06:00
parent e786d2b1c5
commit 55a6d0babc
5 changed files with 91 additions and 0 deletions

View File

@@ -640,6 +640,13 @@ json ToJson(const ClientPackets::CreateCharacter& m) {
j["reputation"] = ToJson(m.reputation);
j["propertyCloneID"] = ToJson(m.propertyCloneID);
j["txfring"] = ToJson(m.txfring);
j["sendWorldKeys"] = ToJson(m.sendWorldKeys);
j["legoClub"] = ToJson(m.legoClub);
j["freeTrial"] = ToJson(m.freeTrial);
j["requiresRename"] = ToJson(m.requiresRename);
j["levelID"] = ToJson(m.levelID);
j["position"] = ToJson(m.position);
j["rotation"] = ToJson(m.rotation);
return j;
}
json ToJson(const ClientPackets::ChatModerationString& m) {