[DiscordArchive] can you send me the link?
[DiscordArchive] can you send me the link?
Archived author: Yehonal • Posted: 2017-08-26T16:51:26.923000+00:00
Original source
an example:
imagine you've to fix a wrong areatrigger that has a radius value specific for client (maybe to show some visual effect) but the server should use a bigger radius or just a totally different areatrigger....currently you have 3 ways to do it:
1) [bad] patching core with an hack fix. BUT we MUST avoid to put something like: if (areatrigger == a_specific_id) { ... } . The core should not contain content IDs, even if we have currently
2) [good] Introducing something to do it via ScriptMgr, but not always the best way to do things
3) [best way] editing dbc
so, following the best way, we could improve it moving dbc on sql letting devs to fix and/or customize things with a simple SQL query
Archived author: Dany • Posted: 2017-08-26T16:54:09.633000+00:00
Original source
I disagree
Archived author: Dany • Posted: 2017-08-26T16:54:17.576000+00:00
Original source
you should never edit dbc
Archived author: Dany • Posted: 2017-08-26T16:54:57.338000+00:00
Original source
however "overwriting" in core is somewhat ok
Archived author: Yehonal • Posted: 2017-08-26T16:57:14.396000+00:00
Original source
in fact, you should never but it's the best way in any case. It's why you have some tables inside the world database that has been created for this purpose, for example spell_dbc even if it's very limited