[Bug Fix] Fix Bot/Character ID Overlap in Groups (#4093)

* [Bug Fix] Fix Bot/Character ID Overlap in Groups

- Attempt to fix bot/character ID overlap in groups keeping bots with the same unique identifier as players from not spawning on zone.
- Adds `bot_id` to `group_id` to differentiate bots from characters and hopefully alleviate this issue.

* Update base_group_id_repository.h

* Final push
This commit is contained in:
Alex King authored and GitHub committed 2024-03-23 17:55:03 -05:00
1 parent abdec39cdd
commit 21cec87ac4
19 files changed
+361 -281

No files matched your search

+1 -1
View File
@@ -2649,7 +2649,7 @@ void ZoneDatabase::RefreshGroupFromDB(Client *client){
int index = 0;
auto query = fmt::format(
"SELECT name FROM group_id WHERE groupid = {}",
"SELECT name FROM group_id WHERE group_id = {}",
group->GetID()
);
auto results = QueryDatabase(query);