Difference between revisions of "Admins:Windows Server"
(Database Server updates) |
|||
| Line 128: | Line 128: | ||
| − | + | Complete the form to register your game server with the public Login Server (You will need to provide the Login Account information from step 2 as well). | |
| − | * | + | *1 Login Account Name - This is your Login Account Name that you created previously. |
| − | * | + | *2 Login Account Password - This is your Login Account Password that you created previously. |
| − | + | *3 World Account Name - Account name that will be used by the server to login. | |
| − | * | + | *4 World Account Password - Password that will be used by the server to login. |
| − | * | + | *5 Verify Password - Verify the password in 3.4 is correct - type it again |
| − | * | + | *6 World Server Name - Name used to identify your server. |
| − | * | + | *7 World Description - Brief description describing your world. |
| − | |||
| − | |||
| − | + | {{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). | ||
| + | |||
| + | Alternatively you can use [https://dev.mysql.com/downloads/mysql/ MySQL]. Any MySQL distribution at, or above, 5.0.27 should work fine. Visit [https://downloads.mysql.com/archives/community/ MySQL archive] to find 5.0.27 and above. | ||
| + | |||
| + | Download and install [http://www.heidisql.com/? HeidiSQL], [http://www.webyog.com/en/ SQLYog] or any [http://dev.mysql.com/downloads/gui-tools/5.0.html MySQL (official) GUI Tools]. Using HeidiSQL as an example tool (interpret this for your own GUI if you do not use HeidiSQL): | ||
| + | *Once it is installed, connect to MySQL with username: root no password. | ||
| + | |||
| + | |||
| + | <center> | ||
| + | ====== | ||
| + | Information below this line is still being added. | ||
| + | ====== | ||
| + | </center> | ||
| + | |||
| − | |||
| − | |||
| − | |||
** 7.2 Create a database by clicking Tools, Create Database. Use eq2 as the database name. | ** 7.2 Create a database by clicking Tools, Create Database. Use eq2 as the database name. | ||
** 7.3 Click on Tools, User-Manager and under credentials enter a username and password that you would like to use for your server. If you will be accessing the database from multiple computers then leave it %. Otherwise set it to either your computer's IP address or localhost. | ** 7.3 Click on Tools, User-Manager and under credentials enter a username and password that you would like to use for your server. If you will be accessing the database from multiple computers then leave it %. Otherwise set it to either your computer's IP address or localhost. | ||
Revision as of 19:41, 24 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
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).
Getting the source
In order to download the source a GUI subversion client such as TortoiseSVN is recommended to retrieve the source code. TortoiseSVN will be used in this guide.
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
Remember that Server folder you created way back at the beginning of this guide? Now we are going to use it. 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
You need to register your server for the public login server to recognize it, providing you want to use the public login server.
Database Server
Install latest MariaDB. If you are experienced with mysql you may run the commands directly instead of following the GUI setup (HeidiSQL). 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. Using HeidiSQL as an example tool (interpret this for your own GUI if you do not use HeidiSQL):
==Information below this line is still being added. ==
cl_ls_address eq2emulator.net
Getting Content
Coming Soon Configuring your server
Set up you world_db.ini to connect you server with a database. Configure the LoginServer.ini to point your server at the official login provided by Eq2emulator.net, or to a minilogin for private play. If you would like to know more about the log config, visit the log_config.ini page.
==Original guide taken from EQ2Emu Forums posted by Razmalone
Origional Post Here
== |