Forums WoW Modding Support Archives WoWModding Support Archives [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?

[DiscordArchive] the memory of the client? wouldn't merely restarting the client force it to resend then?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
02-04-2024, 02:28 PM
#21
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.
rektbyfaith
02-04-2024, 02:28 PM #21

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.

rektbyfaith
Administrator
0
02-04-2024, 02:29 PM
#22
Archived author: ttopper • Posted: 2024-02-04T14:29:22.752000+00:00
Original source

i'm using trinity 3.3.5a branch
rektbyfaith
02-04-2024, 02:29 PM #22

Archived author: ttopper • Posted: 2024-02-04T14:29:22.752000+00:00
Original source

i'm using trinity 3.3.5a branch

rektbyfaith
Administrator
0
02-04-2024, 02:32 PM
#23
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
rektbyfaith
02-04-2024, 02:32 PM #23

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

rektbyfaith
Administrator
0
02-04-2024, 02:33 PM
#24
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;```
rektbyfaith
02-04-2024, 02:33 PM #24

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;```

rektbyfaith
Administrator
0
02-04-2024, 02:33 PM
#25
Archived author: Azarchius • Posted: 2024-02-04T14:33:08.402000+00:00
Original source

this is the data cached in the store
rektbyfaith
02-04-2024, 02:33 PM #25

Archived author: Azarchius • Posted: 2024-02-04T14:33:08.402000+00:00
Original source

this is the data cached in the store

rektbyfaith
Administrator
0
02-04-2024, 02:33 PM
#26
Archived author: ttopper • Posted: 2024-02-04T14:33:11.406000+00:00
Original source

yeah i thinnk this is what's happening
rektbyfaith
02-04-2024, 02:33 PM #26

Archived author: ttopper • Posted: 2024-02-04T14:33:11.406000+00:00
Original source

yeah i thinnk this is what's happening

rektbyfaith
Administrator
0
02-04-2024, 02:33 PM
#27
Archived author: ttopper • Posted: 2024-02-04T14:33:17.065000+00:00
Original source

i'm playing with it now
rektbyfaith
02-04-2024, 02:33 PM #27

Archived author: ttopper • Posted: 2024-02-04T14:33:17.065000+00:00
Original source

i'm playing with it now

rektbyfaith
Administrator
0
02-04-2024, 02:39 PM
#28
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
rektbyfaith
02-04-2024, 02:39 PM #28

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

rektbyfaith
Administrator
0
02-04-2024, 02:40 PM
#29
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
rektbyfaith
02-04-2024, 02:40 PM #29

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

rektbyfaith
Administrator
0
02-04-2024, 02:41 PM
#30
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
rektbyfaith
02-04-2024, 02:41 PM #30

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

Pages (4): Previous 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)