Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Is it possible to make unused guides usable again? If you now delete NPCs and add new ones, they wil

[DiscordArchive] Is it possible to make unused guides usable again? If you now delete NPCs and add new ones, they wil

[DiscordArchive] Is it possible to make unused guides usable again? If you now delete NPCs and add new ones, they wil

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-30-2023, 01:48 PM
#1
Archived author: Krutok • Posted: 2023-05-30T13:48:50.533000+00:00
Original source

Is it possible to make unused guides usable again? If you now delete NPCs and add new ones, they will get the next higher Guid again. So is there a way to tell NPCs that no longer exist in the world to reassign the guides to the new NPCs?
rektbyfaith
05-30-2023, 01:48 PM #1

Archived author: Krutok • Posted: 2023-05-30T13:48:50.533000+00:00
Original source

Is it possible to make unused guides usable again? If you now delete NPCs and add new ones, they will get the next higher Guid again. So is there a way to tell NPCs that no longer exist in the world to reassign the guides to the new NPCs?

rektbyfaith
Administrator
0
05-30-2023, 01:53 PM
#2
Archived author: Crafted • Posted: 2023-05-30T13:53:15.264000+00:00
Original source

most likely if I understand what you mean correctly the answer is no
rektbyfaith
05-30-2023, 01:53 PM #2

Archived author: Crafted • Posted: 2023-05-30T13:53:15.264000+00:00
Original source

most likely if I understand what you mean correctly the answer is no

rektbyfaith
Administrator
0
05-30-2023, 01:54 PM
#3
Archived author: Crafted • Posted: 2023-05-30T13:54:10.197000+00:00
Original source

there are SAI scripts on specific guid, if you "reorder/reassign" them then will be a totally mess
rektbyfaith
05-30-2023, 01:54 PM #3

Archived author: Crafted • Posted: 2023-05-30T13:54:10.197000+00:00
Original source

there are SAI scripts on specific guid, if you "reorder/reassign" them then will be a totally mess

rektbyfaith
Administrator
0
05-30-2023, 01:54 PM
#4
Archived author: Naddley • Posted: 2023-05-30T13:54:55.324000+00:00
Original source

just set the range for GUID like we do in our DB commits
rektbyfaith
05-30-2023, 01:54 PM #4

Archived author: Naddley • Posted: 2023-05-30T13:54:55.324000+00:00
Original source

just set the range for GUID like we do in our DB commits

rektbyfaith
Administrator
0
05-30-2023, 02:11 PM
#5
Archived author: Krutok • Posted: 2023-05-30T14:11:08.318000+00:00
Original source

How does that work? If I put an NPC into the world, he automatically gets the next higher Guid. But if I delete it again, the guid is used up, so to speak, and is no longer used for later spawns.
Therefore, run a database query that says NPC X no longer exists, rearrange the guid from 0 to XXX.
rektbyfaith
05-30-2023, 02:11 PM #5

Archived author: Krutok • Posted: 2023-05-30T14:11:08.318000+00:00
Original source

How does that work? If I put an NPC into the world, he automatically gets the next higher Guid. But if I delete it again, the guid is used up, so to speak, and is no longer used for later spawns.
Therefore, run a database query that says NPC X no longer exists, rearrange the guid from 0 to XXX.

rektbyfaith
Administrator
0
05-30-2023, 02:12 PM
#6
Archived author: Naddley • Posted: 2023-05-30T14:12:23.392000+00:00
Original source

just do a SQL query to insert the NPC^^
rektbyfaith
05-30-2023, 02:12 PM #6

Archived author: Naddley • Posted: 2023-05-30T14:12:23.392000+00:00
Original source

just do a SQL query to insert the NPC^^

rektbyfaith
Administrator
0
05-30-2023, 02:12 PM
#7
Archived author: Naddley • Posted: 2023-05-30T14:12:50.570000+00:00
Original source

to fill the holes
rektbyfaith
05-30-2023, 02:12 PM #7

Archived author: Naddley • Posted: 2023-05-30T14:12:50.570000+00:00
Original source

to fill the holes

rektbyfaith
Administrator
0
05-30-2023, 02:15 PM
#8
Archived author: Krutok • Posted: 2023-05-30T14:15:19.262000+00:00
Original source

But this is cumbersome, because you also need the .gps coordinates and everything else. Otherwise the NPC isn't where you want it to be ^^ That might be fine with one NPC, but you don't want to do that with many ^^
rektbyfaith
05-30-2023, 02:15 PM #8

Archived author: Krutok • Posted: 2023-05-30T14:15:19.262000+00:00
Original source

But this is cumbersome, because you also need the .gps coordinates and everything else. Otherwise the NPC isn't where you want it to be ^^ That might be fine with one NPC, but you don't want to do that with many ^^

rektbyfaith
Administrator
0
05-30-2023, 02:18 PM
#9
Archived author: Crafted • Posted: 2023-05-30T14:18:06.219000+00:00
Original source

you understand that there are smart scripts and other things assigned on specific guid-s, and if you just have a tool that will magically "rearrange" the guid from 0 to XXXX all those things will result in a mess
rektbyfaith
05-30-2023, 02:18 PM #9

Archived author: Crafted • Posted: 2023-05-30T14:18:06.219000+00:00
Original source

you understand that there are smart scripts and other things assigned on specific guid-s, and if you just have a tool that will magically "rearrange" the guid from 0 to XXXX all those things will result in a mess

rektbyfaith
Administrator
0
05-30-2023, 02:20 PM
#10
Archived author: Krutok • Posted: 2023-05-30T14:20:13.534000+00:00
Original source

Yes, I realize that many scripts are bound not only to the NPC ID, but also to the GUID.
rektbyfaith
05-30-2023, 02:20 PM #10

Archived author: Krutok • Posted: 2023-05-30T14:20:13.534000+00:00
Original source

Yes, I realize that many scripts are bound not only to the NPC ID, but also to the GUID.

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