[DiscordArchive] If you log out or dc while in a BG or an instance are you supposed to be kicked and given the desser
[DiscordArchive] If you log out or dc while in a BG or an instance are you supposed to be kicked and given the desser
Archived author: Ryan Turner • Posted: 2025-06-24T17:29:02.233000+00:00
Original source
If you log out or dc while in a BG or an instance are you supposed to be kicked and given the dessert debuff?
![[Image: image.png?ex=690c3696&is=690ae516&hm=166...d5deed772&]](https://cdn.discordapp.com/attachments/1255602330431127753/1387127158291300472/image.png?ex=690c3696&is=690ae516&hm=1669ad55d28bc126fad0e942181db03cc3151ce9b988bd34084b44ad5deed772&)
Archived author: Ryan Turner • Posted: 2025-06-24T17:48:06.231000+00:00
Original source
Seems about alright
![[Image: image.png?ex=690c3696&is=690ae516&hm=166...d5deed772&]](https://cdn.discordapp.com/attachments/1255602330431127753/1387127158291300472/image.png?ex=690c3696&is=690ae516&hm=1669ad55d28bc126fad0e942181db03cc3151ce9b988bd34084b44ad5deed772&)
Archived author: Revision • Posted: 2025-06-24T18:40:32.724000+00:00
Original source
The spawns are hardcoded in C++ without any waypoints at all. Ideally it should all be in the DB but it isn't. Who knows why.
Archived author: Ryan Turner • Posted: 2025-06-24T18:42:12.720000+00:00
Original source
I will assume it's remmant of mangos
Archived author: Ryan Turner • Posted: 2025-06-24T18:44:09.024000+00:00
Original source
Do you know in which cpp file it's the spawns?
Archived author: Revision • Posted: 2025-06-24T18:45:30.612000+00:00
Original source
The positions are stored in <https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/server/game/Battlegrounds/Zones/BattlegroundAV.h> and the spawn mechanic is in <https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/server/game/Battlegrounds/Zones/BattlegroundAV.cpp>
Archived author: Revision • Posted: 2025-06-24T18:46:07.068000+00:00
Original source
I imagine it's the same for all BGs, not that many of them have creature spawns. Maybe IoC and SotA.
Archived author: Nyeriah • Posted: 2025-06-24T18:46:32.353000+00:00
Original source
bgs dont support db spawns
Archived author: Revision • Posted: 2025-06-24T18:47:22.284000+00:00
Original source
Not all could be spawned in the DB, like the NPCs guarding the captured nodes in AV and the bosses/boss adds, but the regular NPCs can. I overhauled it in the DB and it worked fine as long as I didn't touch some of them.
Archived author: Bench • Posted: 2025-06-24T19:20:31.841000+00:00
Original source
Fix when <:pog:1075101149583134842>