[DiscordArchive] the memory of the client? wouldn't merely restarting the client force it to resend then?
[DiscordArchive] the memory of the client? wouldn't merely restarting the client force it to resend then?
Archived author: Azarchius • Posted: 2024-02-04T14:28:25.705000+00:00
Original source
may be completely unrelated, it just reminds me of an old issue that has to do with trying to rename your character. You look OK but other people see your old name.
This occurs because sCharacterStore is not properly updated and when requesting player info, it sent the wrong name. This was an issue I ran into years ago back in Legion.
Not sure what core you're using. It's possible you are not updating the character store or some other equivalent server-side caching mechanism. But could be something else entirely. Just a thought.
Archived author: ttopper • Posted: 2024-02-04T14:29:22.752000+00:00
Original source
i'm using trinity 3.3.5a branch
Archived author: Azarchius • Posted: 2024-02-04T14:32:55.270000+00:00
Original source
https://github.com/TrinityCore/TrinityCo...rCache.cpp
[Embed: TrinityCore/src/server/game/Cache/CharacterCache.cpp at 3.3.5 · Tri...]
TrinityCore Open Source MMO Framework (master = 10.2.5.53162, 3.3.5 = 3.3.5a.12340, wotlk_classic = 3.4.3.52237) - TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...rCache.cpp
Archived author: Azarchius • Posted: 2024-02-04T14:33:04.825000+00:00
Original source
```cpp
CharacterCacheEntry& data = _characterCacheStore[guid];
data.Guid = guid;
data.Name = name;
data.AccountId = accountId;
data.Race = race;
data.Sex = gender;
data.Class = playerClass;
data.Level = level;
data.GuildId = 0; // Will be set in guild loading or guild setting
for (uint8 i = 0; i < MAX_ARENA_SLOT; ++i)
data.ArenaTeamId[i] = 0; // Will be set in arena teams loading
// Fill Name to Guid Store
_characterCacheByNameStore[name] = &data;```
Archived author: Azarchius • Posted: 2024-02-04T14:33:08.402000+00:00
Original source
this is the data cached in the store
Archived author: ttopper • Posted: 2024-02-04T14:33:11.406000+00:00
Original source
yeah i thinnk this is what's happening
Archived author: ttopper • Posted: 2024-02-04T14:33:17.065000+00:00
Original source
i'm playing with it now
Archived author: ttopper • Posted: 2024-02-04T14:39:57.609000+00:00
Original source
yeah that was it, i think i have to do both
Archived author: ttopper • Posted: 2024-02-04T14:40:39.518000+00:00
Original source
i have to duplicate all 8 races, and make the dupes horde, and then update the character cache and resend the name opcode
Archived author: ttopper • Posted: 2024-02-04T14:41:11.365000+00:00
Original source
probably easier than adding a new field to the scoreboard and redoing worldstateframe.lua