[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/
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 ?
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);```
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
Archived author: Aftertaste • Posted: 2024-07-16T16:35:37.416000+00:00
Original source
ok looking in the db for examples ty
Archived author: Aftertaste • Posted: 2024-07-16T16:36:17.977000+00:00
Original source
ok should be easy enough
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
Archived author: Tea • Posted: 2024-07-16T16:36:28.402000+00:00
Original source
i mean dberrors
Archived author: Aftertaste • Posted: 2024-07-16T16:36:36.938000+00:00
Original source
none yet
Archived author: Aftertaste • Posted: 2024-07-16T16:36:43.393000+00:00
Original source
lets see if i can make some ..
Archived author: Aftertaste • Posted: 2024-07-16T16:39:41.938000+00:00
Original source
and a client update lol