[DiscordArchive] Where can I find information what is the difference between DBGUID and current GUID and what is curr
[DiscordArchive] Where can I find information what is the difference between DBGUID and current GUID and what is curr
![[Image: image.png?ex=690c44d4&is=690af354&hm=6cd...331977c73&]](https://cdn.discordapp.com/attachments/284323424032129024/1110640512324599910/image.png?ex=690c44d4&is=690af354&hm=6cd7745ddb0498b34204c09b7e51de35a791770221a800c208d1ee6331977c73&)
Archived author: Gromix • Posted: 2023-05-23T18:48:52.901000+00:00
Original source
Where can I find information what is the difference between DBGUID and current GUID and what is current Entry?
![[Image: image.png?ex=690c44d4&is=690af354&hm=6cd...331977c73&]](https://cdn.discordapp.com/attachments/284323424032129024/1110640512324599910/image.png?ex=690c44d4&is=690af354&hm=6cd7745ddb0498b34204c09b7e51de35a791770221a800c208d1ee6331977c73&)
Archived author: Revision • Posted: 2023-05-23T18:49:46.615000+00:00
Original source
DB GUID is the guid in the creature table, what current GUID is I honestly don't know. current entry is the id1/id2/id3 (usually id1) of the creature table and entry of the creature_template table.
Archived author: Honey • Posted: 2023-05-23T18:52:48.267000+00:00
Original source
Current guid is the unique number the core uses momentarily to handle this object. It's also called "High" guid. "Low" guid is the number used e.g. in the `creature` or `game_object` tables.
Archived author: Revision • Posted: 2023-05-23T18:52:59.426000+00:00
Original source
I see
Archived author: Revision • Posted: 2023-05-23T18:53:02.102000+00:00
Original source
Thanks for clarifying
Archived author: Gromix • Posted: 2023-05-23T18:56:13.095000+00:00
Original source
It seems I can't get Creature* object instance by DB GUID nor current GUID nor Current Entry. Only getSelectedCreature() works but that doesn't solve my problem because I don't want to select any creature
Archived author: Honey • Posted: 2023-05-23T18:57:49.259000+00:00
Original source
there are object accessors in the core. The easisest way to selct one specific creature, is to store it's guid (and potentially map/instance id)on spawn.