Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] im trying to move an NPC spawn point but i am unable to force the change to be reflected in world...

[DiscordArchive] im trying to move an NPC spawn point but i am unable to force the change to be reflected in world...

[DiscordArchive] im trying to move an NPC spawn point but i am unable to force the change to be reflected in world...

rektbyfaith
Administrator
0
07-24-2022, 09:50 PM
#1
Archived author: Admiral Morketh • Posted: 2022-07-24T21:50:12.876000+00:00
Original source

im trying to move an NPC spawn point but i am unable to force the change to be reflected in world....
Ive used ```.npc move``` and the server happily moves the NPC i do believe the entries DB Entry also changes but the creature in gmae is not being reloaded?
Also issued the ```.reload all```
command just to make sure it refreshed all the database stuff do i need to restart the core to make the changes take effect?
rektbyfaith
07-24-2022, 09:50 PM #1

Archived author: Admiral Morketh • Posted: 2022-07-24T21:50:12.876000+00:00
Original source

im trying to move an NPC spawn point but i am unable to force the change to be reflected in world....
Ive used ```.npc move``` and the server happily moves the NPC i do believe the entries DB Entry also changes but the creature in gmae is not being reloaded?
Also issued the ```.reload all```
command just to make sure it refreshed all the database stuff do i need to restart the core to make the changes take effect?

rektbyfaith
Administrator
0
07-25-2022, 01:34 AM
#2
Archived author: ModoX • Posted: 2022-07-25T01:34:14.811000+00:00
Original source

it should respawn the creature at the desired position within ~1s ish
rektbyfaith
07-25-2022, 01:34 AM #2

Archived author: ModoX • Posted: 2022-07-25T01:34:14.811000+00:00
Original source

it should respawn the creature at the desired position within ~1s ish

rektbyfaith
Administrator
0
07-25-2022, 01:35 AM
#3
Archived author: ModoX • Posted: 2022-07-25T01:35:26.462000+00:00
Original source

<https://github.com/TrinityCore/TrinityCore/blob/master/src/server/scripts/Commands/cs_npc.cpp#L609-L656>
rektbyfaith
07-25-2022, 01:35 AM #3

Archived author: ModoX • Posted: 2022-07-25T01:35:26.462000+00:00
Original source

<https://github.com/TrinityCore/TrinityCore/blob/master/src/server/scripts/Commands/cs_npc.cpp#L609-L656>

rektbyfaith
Administrator
0
07-25-2022, 01:37 AM
#4
Archived author: Admiral Morketh • Posted: 2022-07-25T01:37:48.577000+00:00
Original source

ill do further testing on that i dug up on a github issue that sending ```.npc move``` twice forced the move.... I tried that and next time i killed the creature is did respawn in the _new_ location......
aaaahhhhh code : ) ill go look through the relevant bits there Thank you ModoX for your help
rektbyfaith
07-25-2022, 01:37 AM #4

Archived author: Admiral Morketh • Posted: 2022-07-25T01:37:48.577000+00:00
Original source

ill do further testing on that i dug up on a github issue that sending ```.npc move``` twice forced the move.... I tried that and next time i killed the creature is did respawn in the _new_ location......
aaaahhhhh code : ) ill go look through the relevant bits there Thank you ModoX for your help

rektbyfaith
Administrator
0
07-25-2022, 01:38 AM
#5
Archived author: ModoX • Posted: 2022-07-25T01:38:26.814000+00:00
Original source

killing and respawning is essentially "reseting" the npc yeah Big Grin
rektbyfaith
07-25-2022, 01:38 AM #5

Archived author: ModoX • Posted: 2022-07-25T01:38:26.814000+00:00
Original source

killing and respawning is essentially "reseting" the npc yeah Big Grin

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)