vmangos / wiki

Documentation and guides aimed at users and contributors of the project.
26 stars 13 forks source link

`dbc` instructions are incomplete #2

Open mako-taco opened 5 years ago

mako-taco commented 5 years ago

The code to read from dbc includes a additional folder which is not mentioned in the instructions. Code is here:


#ifdef _WIN32
    std::string dbcPath = m_dataPath + std::to_string(SUPPORTED_CLIENT_BUILD) + std::string("\\");
#else
    std::string dbcPath = m_dataPath + std::to_string(SUPPORTED_CLIENT_BUILD) + std::string("/");
#endif

Which means ./dbc/ fails, but ./5875/dbc works fine.

Sindrex commented 1 year ago

the line "Note that the dbc path must also include the build number of the client from which the files were extracted. If you are unsure what is the exact build, you can see it in the lower left corner of the login screen. The build number of the 1.12.1 client is 5875."

does address this. But as a person setting the server up for the first time I did not understand what this meant. Would suggest specifically writing that the dbc folder needs to be inside another folder with the client build number (ie 5875 for 1.12).