[DiscordArchive] I don't get what you're trying to get. Join queries from world and auth databases kind of deal?
[DiscordArchive] I don't get what you're trying to get. Join queries from world and auth databases kind of deal?
Archived author: Revision • Posted: 2023-02-05T04:10:01.782000+00:00
Original source
I don't get what you're trying to get. Join queries from world and auth databases kind of deal?
Archived author: Rymercyble • Posted: 2023-02-05T04:10:12.078000+00:00
Original source
yes
Archived author: Rymercyble • Posted: 2023-02-05T04:10:31.570000+00:00
Original source
i could hardcode my database name but thats retarded
Archived author: Revision • Posted: 2023-02-05T04:10:48.062000+00:00
Original source
It is
tring>("WorldDatabaseInfo", "acore_world"), ";").at(4);Archived author: Rymercyble • Posted: 2023-02-05T04:13:00.954000+00:00
Original source
yes i can do this
```cpp
auto world_db = String::explode(sConfigMgr->GetOption<std:
tring>("WorldDatabaseInfo", "acore_world"), ";").at(4);
```
but....
Archived author: Revision • Posted: 2023-02-05T04:15:29.523000+00:00
Original source
I don't know how the hell the core does it and if there's a way to get for example the name of the database
![[Image: image.png?ex=690c2111&is=690acf91&hm=d43...fba03b162&]](https://cdn.discordapp.com/attachments/284406375495368704/1071645415021215764/image.png?ex=690c2111&is=690acf91&hm=d439f08e64d2c73756d1124860b99861b1d32f3bbf323d398f08f33fba03b162&)
Archived author: Revision • Posted: 2023-02-05T04:16:17.188000+00:00
Original source
what confuses me even more is that I can't find anything reading CharacterDatabaseInfo except configs
![[Image: image.png?ex=690c2111&is=690acf91&hm=d43...fba03b162&]](https://cdn.discordapp.com/attachments/284406375495368704/1071645415021215764/image.png?ex=690c2111&is=690acf91&hm=d439f08e64d2c73756d1124860b99861b1d32f3bbf323d398f08f33fba03b162&)
Archived author: Rymercyble • Posted: 2023-02-05T04:19:13.519000+00:00
Original source
interesting
Archived author: Revision • Posted: 2023-02-05T04:24:34.722000+00:00
Original source
I guess what you said there is the way to go, at least until you find a better way. At least it's not hardcoded.
Archived author: Rymercyble • Posted: 2023-02-05T04:25:41.766000+00:00
Original source
i guess so