Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Trying to learn the mechanics behind adding a npc to master, I inserted `Dervishian` into the world/

[DiscordArchive] Trying to learn the mechanics behind adding a npc to master, I inserted `Dervishian` into the world/

[DiscordArchive] Trying to learn the mechanics behind adding a npc to master, I inserted `Dervishian` into the world/

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
07-16-2024, 04:33 PM
#1
Archived author: Aftertaste • Posted: 2024-07-16T16:33:12.410000+00:00
Original source

Trying to learn the mechanics behind adding a npc to master, I inserted `Dervishian` into the world/creature table, gave him +1 over the last guid entry in that table, he inserts fine, but does not show up in game yet, do i need another step ?
rektbyfaith
07-16-2024, 04:33 PM #1

Archived author: Aftertaste • Posted: 2024-07-16T16:33:12.410000+00:00
Original source

Trying to learn the mechanics behind adding a npc to master, I inserted `Dervishian` into the world/creature table, gave him +1 over the last guid entry in that table, he inserts fine, but does not show up in game yet, do i need another step ?

rektbyfaith
Administrator
0
07-16-2024, 04:33 PM
#2
Archived author: Aftertaste • Posted: 2024-07-16T16:33:16.317000+00:00
Original source

```use world;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
(9800362, 181596, 2570, 13769, 13806, '0', '0', 0, 0, -1, 0, 0, 5815.0068359375, -2915.807373046875, 207.30218505859375, 2.763405561447143554, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 55461);```
rektbyfaith
07-16-2024, 04:33 PM #2

Archived author: Aftertaste • Posted: 2024-07-16T16:33:16.317000+00:00
Original source

```use world;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
(9800362, 181596, 2570, 13769, 13806, '0', '0', 0, 0, -1, 0, 0, 5815.0068359375, -2915.807373046875, 207.30218505859375, 2.763405561447143554, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 55461);```

rektbyfaith
Administrator
0
07-16-2024, 04:34 PM
#3
Archived author: Northstrider • Posted: 2024-07-16T16:34:25.709000+00:00
Original source

you need to give him proper spawn difficulty ids when he's an instanced creature
rektbyfaith
07-16-2024, 04:34 PM #3

Archived author: Northstrider • Posted: 2024-07-16T16:34:25.709000+00:00
Original source

you need to give him proper spawn difficulty ids when he's an instanced creature

rektbyfaith
Administrator
0
07-16-2024, 04:35 PM
#4
Archived author: Aftertaste • Posted: 2024-07-16T16:35:37.416000+00:00
Original source

ok looking in the db for examples ty
rektbyfaith
07-16-2024, 04:35 PM #4

Archived author: Aftertaste • Posted: 2024-07-16T16:35:37.416000+00:00
Original source

ok looking in the db for examples ty

rektbyfaith
Administrator
0
07-16-2024, 04:36 PM
#5
Archived author: Aftertaste • Posted: 2024-07-16T16:36:17.977000+00:00
Original source

ok should be easy enough
rektbyfaith
07-16-2024, 04:36 PM #5

Archived author: Aftertaste • Posted: 2024-07-16T16:36:17.977000+00:00
Original source

ok should be easy enough

rektbyfaith
Administrator
0
07-16-2024, 04:36 PM
#6
Archived author: Tea • Posted: 2024-07-16T16:36:18.211000+00:00
Original source

please read console errors related to its guid, id or model
rektbyfaith
07-16-2024, 04:36 PM #6

Archived author: Tea • Posted: 2024-07-16T16:36:18.211000+00:00
Original source

please read console errors related to its guid, id or model

rektbyfaith
Administrator
0
07-16-2024, 04:36 PM
#7
Archived author: Tea • Posted: 2024-07-16T16:36:28.402000+00:00
Original source

i mean dberrors
rektbyfaith
07-16-2024, 04:36 PM #7

Archived author: Tea • Posted: 2024-07-16T16:36:28.402000+00:00
Original source

i mean dberrors

rektbyfaith
Administrator
0
07-16-2024, 04:36 PM
#8
Archived author: Aftertaste • Posted: 2024-07-16T16:36:36.938000+00:00
Original source

none yet
rektbyfaith
07-16-2024, 04:36 PM #8

Archived author: Aftertaste • Posted: 2024-07-16T16:36:36.938000+00:00
Original source

none yet

rektbyfaith
Administrator
0
07-16-2024, 04:36 PM
#9
Archived author: Aftertaste • Posted: 2024-07-16T16:36:43.393000+00:00
Original source

lets see if i can make some ..
rektbyfaith
07-16-2024, 04:36 PM #9

Archived author: Aftertaste • Posted: 2024-07-16T16:36:43.393000+00:00
Original source

lets see if i can make some ..

rektbyfaith
Administrator
0
07-16-2024, 04:39 PM
#10
Archived author: Aftertaste • Posted: 2024-07-16T16:39:41.938000+00:00
Original source

and a client update lol
rektbyfaith
07-16-2024, 04:39 PM #10

Archived author: Aftertaste • Posted: 2024-07-16T16:39:41.938000+00:00
Original source

and a client update lol

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