[DiscordArchive] can i check the spell family or the id with an if? can you route me to a diagram of the entities in
[DiscordArchive] can i check the spell family or the id with an if? can you route me to a diagram of the entities in
Archived author: Dejavù • Posted: 2021-09-19T22:50:03.517000+00:00
Original source
can i check the spell family or the id with an if? can you route me to a diagram of the entities in TC so i can watch what can i do with an object of a class?
Archived author: <o> • Posted: 2021-09-20T06:58:15.852000+00:00
Original source
_>can i check the spell family or the id with an if?_
yes, if what you want to do is custom or your own server that will do what it sounds like. It will likely not be accepted as a commit unless there's absolutely no other way to fix the spell if it's broken, that's what spell scripts are for but if you read the source you'll notice plenty of other hardcoded spells like that, but most of them are committed many many years ago.
_>can you route me to a diagram of the entities in TC_
I'm not aware of any such diagram. There are some automatic tools out there but i'm not aware of how effective they are at big projects like tc. If you're on windows, I'd recommend visual studio as you can often just `ctrl+click` an entity to get to its definition, use the intellisense autocompletion (**much** improved in vs2019), or search for entities with `ctrl+t`. I also tend to use `Find all` (ctrl+f and select dropdown menu next to the search input) with `Entire Solution` selected, because it's often faster than using `Find all references` and often work just as well.
Archived author: <o> • Posted: 2021-09-20T07:00:34.793000+00:00
Original source
but consult the actual active devs in <#376073286884392970> if you're looking to be a contributor, it's been many years since I was active with emulation myself.
Archived author: Dejavù • Posted: 2021-09-20T19:58:37.099000+00:00
Original source
- yes i guess that it's not a best pratices to do that...
- i don't use visual studio, but i've understand what are you saying thank you
- before wanna be a contributor i need to understand open wide how the entities interact each other
Archived author: ZaDarkSide • Posted: 2021-09-20T20:25:51.309000+00:00
Original source
an emulator is very complex piece of software and the documentation is made by volunteers don't expect documentation on a level of paid software
Archived author: ZaDarkSide • Posted: 2021-09-20T20:27:32.383000+00:00
Original source
mostly you need to read the code yourself see the database structure yourself and learn how this works, there are some resources online like the wiki https://trinitycore.atlassian.net/wiki/s.../Databases but with the rest you are on your own
Archived author: ZaDarkSide • Posted: 2021-09-20T20:28:32.459000+00:00
Original source
don't assume any documentation is up-to-date or very accurate, always check the actual code and database structure and data you have, that's your ground truth
Archived author: Tea • Posted: 2021-09-20T20:29:41.857000+00:00
Original source
there is this thing too https://trinitycore.net/hierarchy.html
Archived author: ZaDarkSide • Posted: 2021-09-20T20:29:48.136000+00:00
Original source
and if you can make a better documentation or diagrams or whatever you found lacking and share it with everybody or improve the documentation you're free to do so
Archived author: ZaDarkSide • Posted: 2021-09-20T20:30:36.056000+00:00
Original source
i assume that one is generated based on the classes themselves