[DiscordArchive] so DB update?
[DiscordArchive] so DB update?
Archived author: Deleted User • Posted: 2024-05-30T22:46:58.087000+00:00
Original source
so DB update?
Archived author: Thulz • Posted: 2024-05-30T22:47:13.437000+00:00
Original source
What I mean, when you HandleEmoteCommand() there is a check for if player IsInWorld()
Archived author: Thulz • Posted: 2024-05-30T22:47:30.775000+00:00
Original source
so issue might be, that your Player still not IsInWorld() upon OnLogin()
Archived author: Thulz • Posted: 2024-05-30T22:47:47.998000+00:00
Original source
by adding a lil bit of delay you could find out if what Im saying is true
Archived author: Deleted User • Posted: 2024-05-30T22:48:10.319000+00:00
Original source
hmm ok let me look in to that
Archived author: Thulz • Posted: 2024-05-30T22:55:11.648000+00:00
Original source
Otherwise try sending the packet manually
Archived author: Thulz • Posted: 2024-05-30T22:57:50.153000+00:00
Original source
```
WorldPackets::Chat::Emote packet;
packet.EmoteID = EMOTE_STATE_SLEEP;
packet.Guid = player->GetGUID();
player->SendMessageToSetInRange(packet.Write(), player->GetVisibilityRange(), true);
```