Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] can you send me the link?

[DiscordArchive] can you send me the link?

[DiscordArchive] can you send me the link?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
08-26-2017, 04:51 PM
#11
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
rektbyfaith
08-26-2017, 04:51 PM #11

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

rektbyfaith
Administrator
0
08-26-2017, 04:54 PM
#12
Archived author: Dany • Posted: 2017-08-26T16:54:09.633000+00:00
Original source

I disagree
rektbyfaith
08-26-2017, 04:54 PM #12

Archived author: Dany • Posted: 2017-08-26T16:54:09.633000+00:00
Original source

I disagree

rektbyfaith
Administrator
0
08-26-2017, 04:54 PM
#13
Archived author: Dany • Posted: 2017-08-26T16:54:17.576000+00:00
Original source

you should never edit dbc
rektbyfaith
08-26-2017, 04:54 PM #13

Archived author: Dany • Posted: 2017-08-26T16:54:17.576000+00:00
Original source

you should never edit dbc

rektbyfaith
Administrator
0
08-26-2017, 04:54 PM
#14
Archived author: Dany • Posted: 2017-08-26T16:54:57.338000+00:00
Original source

however "overwriting" in core is somewhat ok
rektbyfaith
08-26-2017, 04:54 PM #14

Archived author: Dany • Posted: 2017-08-26T16:54:57.338000+00:00
Original source

however "overwriting" in core is somewhat ok

rektbyfaith
Administrator
0
08-26-2017, 04:57 PM
#15
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
rektbyfaith
08-26-2017, 04:57 PM #15

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

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)