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

[DiscordArchive] how can I get the AccountId of a player? without using GetSession() when the player is offline?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-26-2022, 02:16 PM
#1
Archived author: Helias • Posted: 2022-05-26T14:16:03.433000+00:00
Original source

how can I get the AccountId of a player? without using GetSession() when the player is offline?
rektbyfaith
05-26-2022, 02:16 PM #1

Archived author: Helias • Posted: 2022-05-26T14:16:03.433000+00:00
Original source

how can I get the AccountId of a player? without using GetSession() when the player is offline?

rektbyfaith
Administrator
0
05-26-2022, 02:18 PM
#2
Archived author: Kitzunu • Posted: 2022-05-26T14:18:28.201000+00:00
Original source

I dont know if that is possible? I can at least not find a place where we don't call GetSession
rektbyfaith
05-26-2022, 02:18 PM #2

Archived author: Kitzunu • Posted: 2022-05-26T14:18:28.201000+00:00
Original source

I dont know if that is possible? I can at least not find a place where we don't call GetSession

rektbyfaith
Administrator
0
05-26-2022, 02:18 PM
#3
Archived author: Kitzunu • Posted: 2022-05-26T14:18:41.534000+00:00
Original source

or at least have the session at hand
rektbyfaith
05-26-2022, 02:18 PM #3

Archived author: Kitzunu • Posted: 2022-05-26T14:18:41.534000+00:00
Original source

or at least have the session at hand

rektbyfaith
Administrator
0
05-26-2022, 02:18 PM
#4
Archived author: Kitzunu • Posted: 2022-05-26T14:18:54.589000+00:00
Original source

perhaps you can directly query the database
rektbyfaith
05-26-2022, 02:18 PM #4

Archived author: Kitzunu • Posted: 2022-05-26T14:18:54.589000+00:00
Original source

perhaps you can directly query the database

rektbyfaith
Administrator
0
05-26-2022, 02:19 PM
#5
Archived author: Helias • Posted: 2022-05-26T14:19:01.081000+00:00
Original source

ok
rektbyfaith
05-26-2022, 02:19 PM #5

Archived author: Helias • Posted: 2022-05-26T14:19:01.081000+00:00
Original source

ok

rektbyfaith
Administrator
0
05-26-2022, 02:19 PM
#6
Archived author: Nyeriah • Posted: 2022-05-26T14:19:28.263000+00:00
Original source

there's a cache
rektbyfaith
05-26-2022, 02:19 PM #6

Archived author: Nyeriah • Posted: 2022-05-26T14:19:28.263000+00:00
Original source

there's a cache

rektbyfaith
Administrator
0
05-26-2022, 02:19 PM
#7
Archived author: Nyeriah • Posted: 2022-05-26T14:19:31.850000+00:00
Original source

character cache
rektbyfaith
05-26-2022, 02:19 PM #7

Archived author: Nyeriah • Posted: 2022-05-26T14:19:31.850000+00:00
Original source

character cache

rektbyfaith
Administrator
0
05-26-2022, 02:19 PM
#8
Archived author: Helias • Posted: 2022-05-26T14:19:33.881000+00:00
Original source

ok, is there a fast way to check by guid if a player is online?
rektbyfaith
05-26-2022, 02:19 PM #8

Archived author: Helias • Posted: 2022-05-26T14:19:33.881000+00:00
Original source

ok, is there a fast way to check by guid if a player is online?

rektbyfaith
Administrator
0
05-26-2022, 02:19 PM
#9
Archived author: Kitzunu • Posted: 2022-05-26T14:19:34.737000+00:00
Original source

you have AccountMgr::GetId()
rektbyfaith
05-26-2022, 02:19 PM #9

Archived author: Kitzunu • Posted: 2022-05-26T14:19:34.737000+00:00
Original source

you have AccountMgr::GetId()

rektbyfaith
Administrator
0
05-26-2022, 02:19 PM
#10
Archived author: Kitzunu • Posted: 2022-05-26T14:19:47.519000+00:00
Original source

but I think that takes account name
rektbyfaith
05-26-2022, 02:19 PM #10

Archived author: Kitzunu • Posted: 2022-05-26T14:19:47.519000+00:00
Original source

but I think that takes account name

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)