• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

TrinityCore 3.3.5 How to make worldserver load custom dbc files?

Marko

Enthusiast
Hello guys, can someone tell me how to edit source, i'm guessing somewhere in src files probably world.cpp or something similar.. to make worldserver.exe load custom dbc files? I have a classless server project and want to add some custom dbc's but worldserver just won't take it. Thank you for any advice. Oh and yes im using latest trinitycore with eluna.
 

Rochet2

Moderator / Eluna Dev
What do you mean with custom DBC files? Do you mean edited versions of the ones you can extract from the client or completely new ones?
What do you mean worldserver just wont take it? Does this mean there is some error? If there is no error then what happens?
If you edited the contents and the worldserver still loads only old data then how do you inspect that it does that?

If you edit, lets say WorldSafeLocs.dbc, you dont need to do anything special for it to work.
However if you edit spell.dbc, you may need a client patch for all the edits to show up properly, such as spell description edits and so.
 

Marko

Enthusiast
The worldserver.exe crashes when trying to read a custom (edited) .dbc file i add to dbc files folder ofc there is spell.dbc and item.dbc but there are others i want to add too. over 50 dbc files. it is easy for me to add em to the patch for client, but to make worldserver.exe load them well i just don't know how to make it happen. What should i do for them to work?
 

Rochet2

Moderator / Eluna Dev
You should try see the server logs for any error messages.
Try compiling the server in debug mode to get a crashlog or to debug to see why it crashes exactly.

It could be your DBC files are in some invalid format. Or then there is something else wrong, but it is hard (at least for me) to guess without more information about the crash.
 

jonmii

Enthusiast
probably dbc is corrupt, and i think that TC doenst know if is custom or not
mydbceditor sometimes corrups
 
Top