Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Are you using playerbots or npc bots?

[DiscordArchive] Are you using playerbots or npc bots?

[DiscordArchive] Are you using playerbots or npc bots?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
02-03-2025, 08:43 PM
#11
Archived author: Revision • Posted: 2025-02-03T20:43:56.234000+00:00
Original source

I want to replace the pathing NPCs that are just standing still and I don't want twice the spawns because of it.
rektbyfaith
02-03-2025, 08:43 PM #11

Archived author: Revision • Posted: 2025-02-03T20:43:56.234000+00:00
Original source

I want to replace the pathing NPCs that are just standing still and I don't want twice the spawns because of it.

rektbyfaith
Administrator
0
02-03-2025, 08:44 PM
#12
Archived author: metallinos • Posted: 2025-02-03T20:44:46.966000+00:00
Original source

I see Eluna is using GetSpawnId() to retrieve the db table guid, perhaps that's what you want
[Image: image.png?ex=690c5ffe&is=690b0e7e&hm=6ea...19616746e&]
rektbyfaith
02-03-2025, 08:44 PM #12

Archived author: metallinos • Posted: 2025-02-03T20:44:46.966000+00:00
Original source

I see Eluna is using GetSpawnId() to retrieve the db table guid, perhaps that's what you want
[Image: image.png?ex=690c5ffe&is=690b0e7e&hm=6ea...19616746e&]

rektbyfaith
Administrator
0
02-03-2025, 08:48 PM
#13
Archived author: Revision • Posted: 2025-02-03T20:48:36.062000+00:00
Original source

That seems to be it. I didn't realize it was called SpawnId. Thank you very much for that one. Now just to make sure RemoveFromWorld (or something similar) will properly remove them. A safe test is it remove all creatures with a specific template entry I guess.
[Image: 1745B851-E3EF-4D6D-9EDF-6D26CBE14A1C.png...b8c9bada1&]
rektbyfaith
02-03-2025, 08:48 PM #13

Archived author: Revision • Posted: 2025-02-03T20:48:36.062000+00:00
Original source

That seems to be it. I didn't realize it was called SpawnId. Thank you very much for that one. Now just to make sure RemoveFromWorld (or something similar) will properly remove them. A safe test is it remove all creatures with a specific template entry I guess.
[Image: 1745B851-E3EF-4D6D-9EDF-6D26CBE14A1C.png...b8c9bada1&]

rektbyfaith
Administrator
0
02-03-2025, 08:49 PM
#14
Archived author: Kitzunu • Posted: 2025-02-03T20:49:59.223000+00:00
Original source

why it is called spawnid and not guid
rektbyfaith
02-03-2025, 08:49 PM #14

Archived author: Kitzunu • Posted: 2025-02-03T20:49:59.223000+00:00
Original source

why it is called spawnid and not guid

rektbyfaith
Administrator
0
02-03-2025, 08:50 PM
#15
Archived author: Kitzunu • Posted: 2025-02-03T20:50:01.821000+00:00
Original source

I dont know
rektbyfaith
02-03-2025, 08:50 PM #15

Archived author: Kitzunu • Posted: 2025-02-03T20:50:01.821000+00:00
Original source

I dont know

rektbyfaith
Administrator
0
02-03-2025, 08:50 PM
#16
Archived author: Revision • Posted: 2025-02-03T20:50:09.803000+00:00
Original source

Hell yeah, that worked
rektbyfaith
02-03-2025, 08:50 PM #16

Archived author: Revision • Posted: 2025-02-03T20:50:09.803000+00:00
Original source

Hell yeah, that worked

rektbyfaith
Administrator
0
02-03-2025, 08:50 PM
#17
Archived author: Revision • Posted: 2025-02-03T20:50:54.810000+00:00
Original source

Now these birds are flying solo.. or duo I guess. Gonna remove them too. I rather remove all of the same entry and have to add them all to the DB than not do it at all. Thank you very much for the assistance, I think I just needed some good pointers and I got it.
[Image: 4C103168-2EB0-43F6-B08F-7E0EDA8A648E.png...efe5bc359&]
rektbyfaith
02-03-2025, 08:50 PM #17

Archived author: Revision • Posted: 2025-02-03T20:50:54.810000+00:00
Original source

Now these birds are flying solo.. or duo I guess. Gonna remove them too. I rather remove all of the same entry and have to add them all to the DB than not do it at all. Thank you very much for the assistance, I think I just needed some good pointers and I got it.
[Image: 4C103168-2EB0-43F6-B08F-7E0EDA8A648E.png...efe5bc359&]

rektbyfaith
Administrator
0
02-03-2025, 08:53 PM
#18
Archived author: Revision • Posted: 2025-02-03T20:53:05.825000+00:00
Original source

Oh yeah.. Didn't think about that one. That's not great.
[Image: 915F33C4-31A5-401B-85B0-3BA8C3E28DEE.png...ee39276d5&]
rektbyfaith
02-03-2025, 08:53 PM #18

Archived author: Revision • Posted: 2025-02-03T20:53:05.825000+00:00
Original source

Oh yeah.. Didn't think about that one. That's not great.
[Image: 915F33C4-31A5-401B-85B0-3BA8C3E28DEE.png...ee39276d5&]

rektbyfaith
Administrator
0
02-03-2025, 08:53 PM
#19
Archived author: metallinos • Posted: 2025-02-03T20:53:31.307000+00:00
Original source

Hmm mounted creatures may complicate this no? Don't some creatures spawn a separate NPC to mount/be mounted by? There's a db table for it somewhere
rektbyfaith
02-03-2025, 08:53 PM #19

Archived author: metallinos • Posted: 2025-02-03T20:53:31.307000+00:00
Original source

Hmm mounted creatures may complicate this no? Don't some creatures spawn a separate NPC to mount/be mounted by? There's a db table for it somewhere

rektbyfaith
Administrator
0
02-03-2025, 08:53 PM
#20
Archived author: Kitzunu • Posted: 2025-02-03T20:53:32.453000+00:00
Original source

```diff
- LOG_ERROR(...);
+ // LOG_ERROR(...);
```
rektbyfaith
02-03-2025, 08:53 PM #20

Archived author: Kitzunu • Posted: 2025-02-03T20:53:32.453000+00:00
Original source

```diff
- LOG_ERROR(...);
+ // LOG_ERROR(...);
```

Pages (3): Previous 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)