Forums WoW Modding Support Archives Azerothcore Discord Archives [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,

[DiscordArchive] am i crazy or can you not specify a gameobject by guid? the code checks if entryOrGuid >= 0, if so,

rektbyfaith
Administrator
0
08-20-2025, 12:29 PM
#1
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?
rektbyfaith
08-20-2025, 12:29 PM #1

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?

rektbyfaith
Administrator
0
08-20-2025, 12:31 PM
#2
Archived author: Mithria • Posted: 2025-08-20T12:31:10.145000+00:00
Original source


[Image: image.png?ex=690bec4e&is=690a9ace&hm=4a9...00958be65&]
rektbyfaith
08-20-2025, 12:31 PM #2

Archived author: Mithria • Posted: 2025-08-20T12:31:10.145000+00:00
Original source


[Image: image.png?ex=690bec4e&is=690a9ace&hm=4a9...00958be65&]

rektbyfaith
Administrator
0
08-20-2025, 12:31 PM
#3
Archived author: Mithria • Posted: 2025-08-20T12:31:14.361000+00:00
Original source

am i missing something?
rektbyfaith
08-20-2025, 12:31 PM #3

Archived author: Mithria • Posted: 2025-08-20T12:31:14.361000+00:00
Original source

am i missing something?

rektbyfaith
Administrator
0
08-20-2025, 12:31 PM
#4
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
rektbyfaith
08-20-2025, 12:31 PM #4

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

rektbyfaith
Administrator
0
08-20-2025, 12:31 PM
#5
Archived author: sudlud • Posted: 2025-08-20T12:31:51.397000+00:00
Original source

sorry i think i misread the question
rektbyfaith
08-20-2025, 12:31 PM #5

Archived author: sudlud • Posted: 2025-08-20T12:31:51.397000+00:00
Original source

sorry i think i misread the question

rektbyfaith
Administrator
0
08-20-2025, 12:32 PM
#6
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
rektbyfaith
08-20-2025, 12:32 PM #6

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

rektbyfaith
Administrator
0
08-20-2025, 12:33 PM
#7
Archived author: Bench • Posted: 2025-08-20T12:33:12.495000+00:00
Original source

Helpful for pointing fingers
rektbyfaith
08-20-2025, 12:33 PM #7

Archived author: Bench • Posted: 2025-08-20T12:33:12.495000+00:00
Original source

Helpful for pointing fingers

Recently Browsing
 
Recently Browsing