[DiscordArchive] am i crazy or can you not specify a gameobject by guid? the code checks if entryOrGuid >= 0, if so,
[DiscordArchive] am i crazy or can you not specify a gameobject by guid? the code checks if entryOrGuid >= 0, if so,
Archived author: Mithria • Posted: 2025-08-20T12:29:59.427000+00:00
Original source
am i crazy or can you not specify a gameobject by guid? the code checks if entryOrGuid >= 0, if so, that means use _template table and it checks source_type in a switch. However, if the first if fails, meaning entryOrGuid is negative, the else immediately calls GetCreatureData and throws an error if the guid is not found in the creature table. gameobject table is never checked?
![[Image: image.png?ex=690bec4e&is=690a9ace&hm=4a9...00958be65&]](https://cdn.discordapp.com/attachments/689803159086170250/1407703507586388108/image.png?ex=690bec4e&is=690a9ace&hm=4a93568d63546b2b844b23924fe80cdb1a04dda1cf52a71e15d61ec00958be65&)
Archived author: Mithria • Posted: 2025-08-20T12:31:10.145000+00:00
Original source
![[Image: image.png?ex=690bec4e&is=690a9ace&hm=4a9...00958be65&]](https://cdn.discordapp.com/attachments/689803159086170250/1407703507586388108/image.png?ex=690bec4e&is=690a9ace&hm=4a93568d63546b2b844b23924fe80cdb1a04dda1cf52a71e15d61ec00958be65&)
Archived author: Mithria • Posted: 2025-08-20T12:31:14.361000+00:00
Original source
am i missing something?
Archived author: sudlud • Posted: 2025-08-20T12:31:31.821000+00:00
Original source
maybe we need more information on what he actually put into the smart script
Archived author: sudlud • Posted: 2025-08-20T12:31:51.397000+00:00
Original source
sorry i think i misread the question
Archived author: sudlud • Posted: 2025-08-20T12:32:58.907000+00:00
Original source
also why do you have git blame info in your editor
Archived author: Bench • Posted: 2025-08-20T12:33:12.495000+00:00
Original source
Helpful for pointing fingers