Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] AI()->GossipHello is getting called twice on GameObjectAI scripts, once by ```void GameObject::Use(U

[DiscordArchive] AI()->GossipHello is getting called twice on GameObjectAI scripts, once by ```void GameObject::Use(U

[DiscordArchive] AI()->GossipHello is getting called twice on GameObjectAI scripts, once by ```void GameObject::Use(U

rektbyfaith
Administrator
0
07-19-2022, 12:02 PM
#1
Archived author: whatwere • Posted: 2022-07-19T12:02:21.229000+00:00
Original source

AI()->GossipHello is getting called twice on GameObjectAI scripts, once by ```void GameObject::Use(Unit* user)``` once by ```void WorldSession::HandleGameobjectReportUse(WorldPacket& recvPacket)```
Should I just remove one of these entirely or is there a reason they're in two places?
rektbyfaith
07-19-2022, 12:02 PM #1

Archived author: whatwere • Posted: 2022-07-19T12:02:21.229000+00:00
Original source

AI()->GossipHello is getting called twice on GameObjectAI scripts, once by ```void GameObject::Use(Unit* user)``` once by ```void WorldSession::HandleGameobjectReportUse(WorldPacket& recvPacket)```
Should I just remove one of these entirely or is there a reason they're in two places?

rektbyfaith
Administrator
0
07-19-2022, 12:03 PM
#2
Archived author: whatwere • Posted: 2022-07-19T12:03:07.697000+00:00
Original source

Otherwise I get excess calls I don't need.
rektbyfaith
07-19-2022, 12:03 PM #2

Archived author: whatwere • Posted: 2022-07-19T12:03:07.697000+00:00
Original source

Otherwise I get excess calls I don't need.

Recently Browsing
 
Recently Browsing