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

Written Changing Expansion ID for multi-verison realms

Jobba

Enthusiast
Not sure how many people this may help. Basically I was having a problem where I set up a 3.3.5a (trinitycore) and 4.3.4 (Arkcore) and I could only connect to one realm or the other with an expansion id of 2 i could join 3.3.5a, and with 3 I could join my cataclysm server. I could only connect to one or the other with the realms being offline.

Step 1. Make sure you have already built your trinitycore by using Cmake.

Step 2. Open up your Trinitycore.Sln and once your Visual Studio Express 2013 or what ever version you have open up. Type in the Solution Explorer "ExpansionFlags"
96xTT9l.png


Step 3. Double Click "ExpansionFlags" and you will see these lines of code
Code:
enum ExpansionFlags
{
    POST_BC_EXP_FLAG                            = 0x2,
    PRE_BC_EXP_FLAG                             = 0x1,
    NO_VALID_EXP_FLAG                           = 0x0

and Edit the values, Let me put an example in. It is in red

Code:
enum ExpansionFlags
{
    POST_BC_EXP_FLAG                            = 0x[COLOR="#FF0000"]3[/COLOR],
    PRE_BC_EXP_FLAG                             = 0x1,
    NO_VALID_EXP_FLAG                           = 0x0

VwtAWEA.png


Step 4. Compile the core, or Re-compile it, and you are done.

I couldn't find a guide on this anywhere, and when I figured it out I thought sharing would be good for people who have very little knowledge of how to edit the core.

Any advice to clean the thread up would be great!
 
Top