[DiscordArchive] how can I get the AccountId of a player? without using GetSession() when the player is offline?
[DiscordArchive] how can I get the AccountId of a player? without using GetSession() when the player is offline?
Archived author: Helias • Posted: 2022-05-26T14:19:54.001000+00:00
Original source
yes I see that but I do not want to use a cache, because if the char is not present it's a problem
Archived author: Nyeriah • Posted: 2022-05-26T14:19:54.343000+00:00
Original source
I don't remember if the cache stores accountid
Archived author: Helias • Posted: 2022-05-26T14:20:19.494000+00:00
Original source
it does, but it's always a cache
Archived author: Helias • Posted: 2022-05-26T14:20:36.055000+00:00
Original source
I think so too
Archived author: Nyeriah • Posted: 2022-05-26T14:20:41.673000+00:00
Original source
then your only option is querying
Archived author: Helias • Posted: 2022-05-26T14:20:45.805000+00:00
Original source
ok
Archived author: Kitzunu • Posted: 2022-05-26T14:22:02.328000+00:00
Original source
yea and AccountMgr::GetName() needs account id xd
Archived author: Helias • Posted: 2022-05-26T14:22:23.818000+00:00
Original source
Archived author: Helias • Posted: 2022-05-26T14:22:30.832000+00:00
Original source
I will disturb the database
Archived author: Kitzunu • Posted: 2022-05-26T14:22:52.889000+00:00
Original source
maybe you can use soap, but dno if that will work for you