[DiscordArchive] Are there any rules regarding the server - when does it use hardcoded data (probably easy, at least
[DiscordArchive] Are there any rules regarding the server - when does it use hardcoded data (probably easy, at least
Archived author: Einkatzi • Posted: 2021-06-30T13:07:30.435000+00:00
Original source
Are there any rules regarding the server - when does it use hardcoded data (probably easy, at least when the data is in the same source file), when does it access the mysql database and when does it access DBC files?
Archived author: Claudiodfc • Posted: 2021-06-30T13:10:02.329000+00:00
Original source
There's unused dbc tables bro, they are there to be used eventually, have been ported from some prs
Archived author: Claudiodfc • Posted: 2021-06-30T13:12:07.741000+00:00
Original source
However, dbcs are blizzard's data and as titi would say, they aren't meant to be changed but built around them. We shouldn't even have hard coded changes but due to our core limitations it is what it is
Archived author: Einkatzi • Posted: 2021-06-30T13:15:31.034000+00:00
Original source
With unused dbc tables, you mean the empty ones ending in _dbc in the mysql database, right?
Archived author: Claudiodfc • Posted: 2021-06-30T13:17:09.555000+00:00
Original source
Not just empty, but not even handled by the core
Archived author: Einkatzi • Posted: 2021-06-30T13:18:40.261000+00:00
Original source
oh, ok - so I can't tell by the fact that there is a xyz_dbc, whatever I enter there would cause the server to override the corresponding record from xyz.dbc, but only when it's specifically implemented?
Archived author: Claudiodfc • Posted: 2021-06-30T13:19:43.231000+00:00
Original source
Pretty much, you should just check on the prepared statements for queries on these dbc tables
Archived author: Claudiodfc • Posted: 2021-06-30T13:19:59.388000+00:00
Original source
If there's queries most likely it's implemented
Archived author: Einkatzi • Posted: 2021-06-30T13:24:01.688000+00:00
Original source
Where would I find these?
Archived author: Claudiodfc • Posted: 2021-06-30T13:32:16.433000+00:00
Original source
Worlddatabase.cpp