[DiscordArchive] I've been struggling with this for a bit. I can...
[DiscordArchive] I've been struggling with this for a bit. I can...
Archived author: Needle • Posted: 2025-02-04T15:51:28.932000+00:00
Original source
Archived author: Needle • Posted: 2025-02-04T15:51:29.565000+00:00
Original source
Thread automatically created by TheVerlash in <#415944535718494208>
Archived author: Titi • Posted: 2025-02-04T16:11:50.108000+00:00
Original source
look up the trainer spells of another profession and copy it. make sure to not use spells ids > 200 000 as it's not supported
Archived author: TheVerlash • Posted: 2025-02-04T16:29:41.750000+00:00
Original source
"make sure to not use spells ids > 200 000" I think that's my issue. I'll double check later, when I have time.
Archived author: TheVerlash • Posted: 2025-02-04T18:31:34.008000+00:00
Original source
The problem I'm currently running into is that for every profession trainer NPC I can find, the spell id used is a negative number, which I've read means that it's a reference to a spell id with a positive number, but I have no way of knowing which spell id is being referenced by the negative number.
![[Image: image.png?ex=690c456c&is=690af3ec&hm=75a...496eb5a14&]](https://cdn.discordapp.com/attachments/1336363507054018592/1336408790534324365/image.png?ex=690c456c&is=690af3ec&hm=75a9be319210656cefd8f952167cb90b750a9852293ee4946a32844496eb5a14&)
![[Image: image.png?ex=690c456d&is=690af3ed&hm=798...661103cea&]](https://cdn.discordapp.com/attachments/1336363507054018592/1336408790819668038/image.png?ex=690c456d&is=690af3ed&hm=7986b6d467ab0f738c3a15d70e42cd6629857d255ca4073a9a7a574661103cea&)
Archived author: Titi • Posted: 2025-02-04T18:51:25.053000+00:00
Original source
lookup that id as a positive number
![[Image: image.png?ex=690c456c&is=690af3ec&hm=75a...496eb5a14&]](https://cdn.discordapp.com/attachments/1336363507054018592/1336408790534324365/image.png?ex=690c456c&is=690af3ec&hm=75a9be319210656cefd8f952167cb90b750a9852293ee4946a32844496eb5a14&)
![[Image: image.png?ex=690c456d&is=690af3ed&hm=798...661103cea&]](https://cdn.discordapp.com/attachments/1336363507054018592/1336408790819668038/image.png?ex=690c456d&is=690af3ed&hm=7986b6d467ab0f738c3a15d70e42cd6629857d255ca4073a9a7a574661103cea&)
Archived author: TheVerlash • Posted: 2025-02-04T20:06:04.081000+00:00
Original source
Ok, with that knowledge, I was able to determine that in the npc_trainer data there is 1 line for each trainer where the id matches to the id of the npc in the creature_template, that 1 line in the npc_trainer data uses a negative spell id, which is a reference that refers to multiple lines within the same npc_trainer data that have the positive value of that spell id as the ID.
So, I set my stuff up to match that, and I made sure that all the spell ids and stuff are linked properly, but it just isn't working.
BTW, I still haven't figured out how to make my Fisherman Crafting spell open up a profession window.
Archived author: Titi • Posted: 2025-02-04T20:06:41.889000+00:00
Original source
the profession UI is a spell effect
![[Image: image.png?ex=690c5f88&is=690b0e08&hm=2e2...c91f1d12c&]](https://cdn.discordapp.com/attachments/1336363507054018592/1336436821714014208/image.png?ex=690c5f88&is=690b0e08&hm=2e297cb05ef96235d2c979f42c519fa37a498715c9a35fa8232e886c91f1d12c&)
![[Image: image.png?ex=690c5f88&is=690b0e08&hm=945...a9e07bc67&]](https://cdn.discordapp.com/attachments/1336363507054018592/1336436822078652546/image.png?ex=690c5f88&is=690b0e08&hm=9452f65eb5e5f46113afecc08151a0bd4161f9429afb10f57fceef0a9e07bc67&)
![[Image: image.png?ex=690c5f88&is=690b0e08&hm=8d7...1a141c54c&]](https://cdn.discordapp.com/attachments/1336363507054018592/1336436822481440819/image.png?ex=690c5f88&is=690b0e08&hm=8d7abdf7ab3033fe0d0fc930f23412c710d0bd6aa9a36b288abb1231a141c54c&)
Archived author: TheVerlash • Posted: 2025-02-04T20:42:48.335000+00:00
Original source
I know, and it should be set correctly. And yes, I have been making sure to export as DBC and patch-z.MPQ. I put the DBC files in my server, and the patch-z in my client. As far as I know, everything should be correct, but it isn't working.
![[Image: image.png?ex=690c5f88&is=690b0e08&hm=2e2...c91f1d12c&]](https://cdn.discordapp.com/attachments/1336363507054018592/1336436821714014208/image.png?ex=690c5f88&is=690b0e08&hm=2e297cb05ef96235d2c979f42c519fa37a498715c9a35fa8232e886c91f1d12c&)
![[Image: image.png?ex=690c5f88&is=690b0e08&hm=945...a9e07bc67&]](https://cdn.discordapp.com/attachments/1336363507054018592/1336436822078652546/image.png?ex=690c5f88&is=690b0e08&hm=9452f65eb5e5f46113afecc08151a0bd4161f9429afb10f57fceef0a9e07bc67&)
![[Image: image.png?ex=690c5f88&is=690b0e08&hm=8d7...1a141c54c&]](https://cdn.discordapp.com/attachments/1336363507054018592/1336436822481440819/image.png?ex=690c5f88&is=690b0e08&hm=8d7abdf7ab3033fe0d0fc930f23412c710d0bd6aa9a36b288abb1231a141c54c&)
Archived author: TheVerlash • Posted: 2025-02-04T20:43:47.205000+00:00
Original source
sorry, that was the wrong spell I screenshotted, my bad