====== Database_plr ====== The [[gitlab>khaganat/khanat-code/blob/develop/code/ryzom/server/src/entities_game_service/database_plr.h| database_plr.h]] [[/code/ryzom/server/src/entities_game_service/database_plr.cpp|.cpp]] are files generated from xml files(like all files with the remark that they are generated automatically). To compile the files there's always a xxx.xslt and a xxx.xml. For the database_plr.h/.cpp files they are generated from/ryzom/common/data_common/database.xml The .xslt can be found at [[gitlab>khaganat/khanat-code/blob/develop/code/ryzom/common/src/game_share/generate_client_db.xslt|code/ryzom/common/src/game_share/generate_client_db.xslt]] If you want to change database_plr.h/.cpp, you need to change [[gitlab>khaganat/khanat-code/blob/develop/code/ ryzom/common/data_common/database.xml|database.xml]] commands: On Linux/MacOS go to ''code/ryzom/common/src/game_share/'' and use: $ xsltproc --stringparam filename database --stringparam bank PLR --stringparam output header --stringparam side server --output ../../../server/src/entities_game_service/database_plr.h generate_client_db.xslt ../../data_common/database.xml $ xsltproc --stringparam filename database --stringparam bank PLR --stringparam output cpp --stringparam side server --output ../../../server/src/entities_game_service/database_plr.cpp generate_client_db.xslt ../../data_common/database.xml On Windows: msxsl R:\code\ryzom\common\data_common\database.xml R:\code\ryzom\common\src\game_share\generate_client_db.xslt output=header side=server bank=PLR filename=database -o R:\code\ryzom\server\src\entities_game_service\database_plr.h msxsl R:\code\ryzom\common\data_common\database.xml R:\code\ryzom\common\src\game_share\generate_client_db.xslt output=cpp side=server bank=PLR filename=database -o R:\code\ryzom\server\src\entities_game_service\database_plr.cpp Based on: https://ryzomcore.atlassian.net/wiki/display/RC/Adding+Factions+and+Tribe. {{tag>Tag_to_add}}