Difference between revisions of "Admins:Windows Server"
(Fixer some incorrect line returns) |
|||
| Line 28: | Line 28: | ||
| + | {{Header|Setting up the folder structure|BackgroundColor=3d78b4|FontColor=ffffff}} | ||
| − | |||
Create a folder in the root of your drive c: named '''''EQ2'''''. | Create a folder in the root of your drive c: named '''''EQ2'''''. | ||
Inside the '''''EQ2''''' folder create a folder named '''''Source'''''. Go ahead and create another folder named '''''Server''''' as well. Additionally you should create another folder called '''''EQ2client''''' (where the backup copy of your client should go). | Inside the '''''EQ2''''' folder create a folder named '''''Source'''''. Go ahead and create another folder named '''''Server''''' as well. Additionally you should create another folder called '''''EQ2client''''' (where the backup copy of your client should go). | ||
| Line 35: | Line 35: | ||
{{Header|Getting the source|BackgroundColor=3d78b4|FontColor=ffffff}} | {{Header|Getting the source|BackgroundColor=3d78b4|FontColor=ffffff}} | ||
| + | |||
In order to download the source a GUI subversion client such as [http://tortoisesvn.tigris.org/ TortoiseSVN] is recommended to retrieve the source code. TortoiseSVN will be used in this guide. | In order to download the source a GUI subversion client such as [http://tortoisesvn.tigris.org/ TortoiseSVN] is recommended to retrieve the source code. TortoiseSVN will be used in this guide. | ||
| Line 84: | Line 85: | ||
* Choose Debug or Release and the architecture you want to build for 32 or 64 | * Choose Debug or Release and the architecture you want to build for 32 or 64 | ||
| − | * Compile and | + | * Compile and continue for setting up your Server folder. |
{{Header|Setting up the Server folder|BackgroundColor=3d78b4|FontColor=ffffff}} | {{Header|Setting up the Server folder|BackgroundColor=3d78b4|FontColor=ffffff}} | ||
| + | |||
Remember that Server folder you created way back at the beginning of this guide? Now we are going to use it. | Remember that Server folder you created way back at the beginning of this guide? Now we are going to use it. | ||
| Line 113: | Line 115: | ||
| + | {{Header|Register Your Server|BackgroundColor=3d78b4|FontColor=ffffff}} | ||
| − | |||
You need to register your server for the public login server to recognize it, providing you want to use the public login server. | You need to register your server for the public login server to recognize it, providing you want to use the public login server. | ||
| Line 138: | Line 140: | ||
| + | {{Header|Database Server|BackgroundColor=3d78b4|FontColor=ffffff}} | ||
| − | |||
Install latest [https://mariadb.org MariaDB]. If you are experienced with mysql you may run the commands directly instead of following the GUI setup (HeidiSQL). | Install latest [https://mariadb.org MariaDB]. If you are experienced with mysql you may run the commands directly instead of following the GUI setup (HeidiSQL). | ||
| Line 180: | Line 182: | ||
Visit the minilogin page if you plan to use a local login server. | Visit the minilogin page if you plan to use a local login server. | ||
| − | |||
| − | |||
If you would like to know more about the config files, visit the [[Admins:LogSystem | log_config.ini page]] or the [[LoginServer.ini | LoginServer.ini page]]. | If you would like to know more about the config files, visit the [[Admins:LogSystem | log_config.ini page]] or the [[LoginServer.ini | LoginServer.ini page]]. | ||
| − | |||
| − | |||
Revision as of 21:54, 30 January 2018
Admins - How to compile a windows server
Return to: Admins | Tutorials | Portal | Forum | Project Manager | Bug Tracker
This is a guide on getting the source code and compiling it using a windows environment.
Required
Setting up the folder structure
Getting the source
https://svn.eq2emulator.net/svn/eq2server Also make sure the Checkout Directory is the directory you want to download the source to (C:\EQ2\Source). It should look similar to this image.
This is safe as long as the certificate is from MMO, MMOE, Phoenix, AZ, US.
It's time to enter the login credentials. SVN Access Username: anonymous (no password required) Sit back and let the source code download.
Compiling the source
Setting up the Server folder
Once you have navigated to your Server folder, create a new folder "worldserver" inside the Server folder. If you plan on using the minilogin (local login server) create another folder "loginserver" there as well.
Head over to the structs folder located in C:\EQ2\Source\trunk\structs. We need to copy (not move) these files to our worldserver folder also.
Time to copy config files to the worldserver folder. Locate the config files in C:\EQ2\Source\trunk\configs. There should be three files located there.
Move all three of these to the worldserver folder. Once this is complete, let's get some content before we move to configuring our server.
Register Your Server
Database Server
Alternatively you can use MySQL. Any MySQL distribution at, or above, 5.0.27 should work fine. Visit MySQL archive to find 5.0.27 and above. Download and install HeidiSQL, SQLYog or any MySQL (official) GUI Tools. This guide uses HeidiSQL. Interpret this for your own GUI if you do not use HeidiSQL.
Configuring the server
Set up you world_db.ini to connect you server with a database.
Save and close out of world_db.ini
Save and close out of LoginServer.ini
If you would like to know more about the config files, visit the log_config.ini page or the LoginServer.ini page.
==Information below this line is still being added. ==
cl_ls_address eq2emulator.net
Getting Content
In your EQ2 directory you should have created a Content folder. If you didn't, do so now. Right click on the newly created Content folder and select SVN Checkout. It is the same process you used to get the source code, only this time we are going to get content instead. In the URL of repository enter this URL. https://svn.eq2emulator.net/svn/eq2content
==Original guide taken from EQ2Emu Forums posted by Razmalone
Origional Post Here
== |