Issue 24

From OuroDev

https://paragonwiki.com/wiki/Issue_24

Getting Started

Prerequisites

Tools Needed

Useful Information

Torrent Magnet Links

Primary Torrent

magnet:?xt=urn:btih:CCCE574F7F89229B0FC2EF8AD898BE451864863A&dn=CoHDev_Source_Files_Current%28Updated%29.zip&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr

Additional Server Data

magnet:?xt=urn:btih:8CE9DE8ECCF29B899B247512F1082F20B59DC4B2&dn=ServerData.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce

Guide to Compiling Code

Known Common Issues

Player.txt Error

When running mapserver.exe you'll come across "Player.txt error message" To fix it, you'll need to comment out line 438 in MapServer\srv_init.c:

Under mapserver in srv_init.c, look for the following (specifically line 438)

if (write_templates) {
    playerCreatdStoryArc_GenerateData();
    containerWriteTemplates(template_dir);
    exit(0);
}

and change it to

if (write_templates) {
    //playerCreatdStoryArc_GenerateData();
    containerWriteTemplates(template_dir);
    exit(0);
}

Loading Costumes

If you really want to use costumes.bin, delete "InternalProducts" from ParseMaskSet[], ParseCostumeCostumeTexSet[], ParseCostumeCostumeGeoSet[], and ParseCostumeBone[] in Common/gameData/costume_data.c and fix whatever compile errors you get as a result. Client-side modification is required too.

Loading templates for DBServer.exe

tl;dr use templates.zip.

You may notice errors when attempting to load DBServer.exe it may hang around "Loading Templates..." To resolve this issue, run mapserver.exe -productionmode -templates to generate new templates and attribute files. Copy attributes (C:\CoH_Data\Attributes) into <gamedatadir.txt>\server\db\templates.

Missing maps.db

Use this pre-generated maps.db.

Version difference between client/server

Add version.ini in the server executable directory, containing

Version=XYZ

Where XYZ is the client version.

Character slot issue

Change line 1044 in clientcomm.c to

if (con) {
    con->logged_in = 1;
    con->slot_count = 20;
}

Additional Notes

Sever Configuration Values