Thanks for the reply

I have found an old wiki that was taken down when the site was. I had to dig this thing up from the depths of the internet haha. I will just copy and paste the info. There was a #1 which was a reminder to get the prerequisites, so I did edit that part out. Which included Tortoise SVN which you will not need for this, Visual Basic C++ Express 2008, and of course the revision files. You will notice you will not find a trunk folder. Instead, it'll be in the directory of pXI-Server 0.6.4/pXI-Server 0.6.4/src
the folder you will use will be "server" instead of trunk.
This is all quoted-
"This guide is designed to facilitate experienced users compiling the source code to ProjectXI. Please read this page in its entirety, as skipping any section may easily result in failure. Most of the original text for this document comes from this forum post by Raiendel (User:Raiendel). It was updated and transferred to the wiki by Mana (User:Mana), with the following message:
I made this wiki page to help centralize most of our help content. Some of the following is located in the forums in different locations. My hope is this will aid many potential new LUA script writers and C++ coders.
Also, before compiling, you may wish to ask yourself: "Do I really need to compile my own revision from the SVN? What are my reasons for doing so?" Please know that our source code is open in hopes of increasing contribution, not with the intent to make end-users compile their own builds.
1) Open your Visual C++ 2008 Express Edition. Select "File>New>Project from Existing Code".
2) A window will pop up and ask you what type of project you would like to create. Make sure Visual C++ is selected, and press Next.
3) Under "Project File Location" select browse, and find the "trunk" folder that you downloaded from the SVN. This should be your Project File Location.
4) Type in your Project Name. It can be whatever you want it to be. The pXI team recommends using a descriptive name that includes the SVN revision number. Once you've typed that in, press Next.
5) This screen should say "How do you want to Build the Project?". You want to Use Visual Studio, and select "Console Application Project" from the dropdown Menu. After this, you can select Finish.
6) Now your project should be created to the left side. Before you continue with it, select "Configuration Manager" from the "Build" menu in the menubar. Your project will be on this list. Next to your Project Name you'll see it say "Debug". Change this to "Release". and then press "Close".
7) Now you want to Right click your project name on the left side, and go to Properties. Go to "C/C++" and open the +. Now go to General underneath that. On the right side of the window, you will see some Information about the General Tab. You want to click just right of "Additional Include Directories". If you setup your project file in the same directory as the SVN branch directory, you can simply paste the following string:
include;include\ItemTypes;include\LUA;include\MySQ L;include\PacketTypes;include\pThreads;include\Uti ls
o If your project file is elsewhere, or you get errors when you try to compile, you may need to specify the exact location of your "include" directories. To do this, click the "Additional Include Directories" field. A grey "..." will appear to the right. Click that. A mini window will appear. Click in the white area twice and it will allow you to type. Also, on the right side there will be another Grey "..." button. This allows you to select the correct directory through browsing. You can add multiple directories, one at a time; which you will need to add a few.
o The directories you need to add are inside of your trunk/SVN folder and include those mentioned in the list above. The folders may have been updated since this guide was last updated, so you may wish to add every folder and sub-folder in the "trunk" directory.
o Again, you will have to add them one at a time, but make sure all are added. Also, make sure you browse through your folders to get their exact locations. Once this is done, press "OK", and "Apply". Do not close out the Properties Window yet.
8) On the left side of the Properties Window, go to "Linker" now. Press the + to expand it, then go to "Input". On the right side the Input information will show. Next to "Additional Dependencies" copy and paste this:
lib\libmysql.lib lib\lua5.1.lib lib\ws2_32.lib lib\pthreadVSE2.lib
Once that is added, press "Apply" and then select the "General" tab that is under "Linker" and above the "Input" tab that you are currently on.
9) There is a spot where it says "Enable Incremental Linking". Change this so it says "No", and then press "Apply", and then "OK".
10) Finally, right click your project, and select "Build". It will put your new .exe inside of your trunk/SVN folder, inside of a "Release" Folder. Go into that folder after your build has finish, and Copy YourProjectName.exe and paste it into your trunk folder.
[edit] Troubleshooting
[edit] Compiling Errors
* If you mess up anywhere throughout this, and then change/fix something, make sure you right click your project and select "Clean". This can prevent further errors when you Build or Rebuild after changing information.
* Following the above instructions with current revisions will yield an error regarding "version.h". This is because we do not include version.h. You must either rename "version_example.h" to "version.h" and put it in the include directory, or, more appropriately: go into the include directory and read "version_template.h" for instructions on how to use SubWCRev.exe to create a proper "version.h" file.
* Your "Additional Include Directories" (from Step 8) may also need to contain the rest of the include folder's subdirectories (in my case: "include;include\ItemTypes;include\LUA;include\MyS QL;include\PacketTypes;include\pThreads;include\Ut ils")
[edit] Post-Compiling Errors
If you are able to compile successfully, but are experiencing issues when trying to run the executable, please try the following:
* In the executable directory (usually "Release" or "Debug"), be sure to include the following files: "pthread.dll", "compress.dat", "decompress.dat", and "BLOWFISH.dat".
* Be sure you update your database using the SQL files in the "misc" directory (all prefaced with "update"). If all else fails, empty your database and restore it from the original DB provided, then run the updates. You will, of course, lose your characters. "