Trinitycore update


















Open TrinityCore. Give it time, it can take a minute or so to load. After it opened up with Visual Studio , you can go to the top corner and find where it says "Debug".

We will change that to "RelWithDebInfo" because this way we take advantage of the Release speed and have some Debug info we might need if the server crashes and we need a crashlog. This will take a while, so sit back and relax. The better CPU you have the less time it'll take. In the meanwhile, let's make sure your server won't require you to manually reset it once it crashes.

We will do that by disabling Windows Error Reporting. This is how:. Once we confirmed that, we can close the compiler Visual Studio. Copy the 4 marked applications mapsextractor. Run them. It is to be copied into your client folder's location. Some files will need to be ran first, then only when they are done run the next ones.

This process takes about the same amount of time as the compiler took, so we got some time in our hands, once again.

Let's bring it to good use. In the meanwhile, we will set our database up! Well, time to use it. Yes, close it. Targeting means left click the newly generated database on the left side of your HeidiSQL window, leaving it highlighted. When we open HeidiSQL next time, this will be the automatically-selected database to run queries at, which is what we need when we load our world database population file TBD.

Use the first option, "Run file directly". Now, while this takes place, go to your Core folder, you'll see an "SQL" folder there. Open it, see "Base"? Open it. You'll see a "dev" folder, ignore it. Open them both and run them. They will create our authentication and characters databases, which are required in order to run a server. Now when everything is finished, we can setup our worldconfig. Remove the "dist" extension so it will be authserver. Feel free to look around, I will be going over the important stuff to actually run the server within this tutorial.

Within "authserver. Now that's all for authserver. This is the connection your server has to your database. This is basically how they talk to each other. To create a character, the server needs to insert data into the database. To create an account, the server needs to fetch data from the database and to add an item, the item needs to have values somewhere so the server will be able to display it properly. We're almost done! After that is completed, you will need to make sure the server can connect to the database.

To do that, you need to implement the database connector, called "libmysql. Copy "libmysql. Once that is done, we need to make sure our server runs through a restarter so if it crashes it will be back up automatically, good for public servers.

To do that, go to your relwithdebinfo folder, create a new "restarter. Then right click it and press "edit". From there, you'll need to add your local realm. Right next to it, there's a button called "Data" it is currently marked , left to "Query". Click on "Data" and you should be able to see the same menu as what I have in the picture below.

These are the default values you should be having. After that is inserted, we will need to disable the firewall settings so TrinityCore will be able to run properly once you wish to make the server public without Hamachi. Firewall settings To allow TrinityCore within our firewall, we need to know what ports are being used.

Authentication port is , worldserver port is , MySQL server is and if we ever want to create a 2nd realm a new worldserver , we will use is the default one, we add 1 later and modify config and realmlist later. After pressing "Add new rule", select "port" and type in the following: , , , Now press next, next, name the port "TrinityCore Requirements" or whatever you want to memorize it, next again, save everything and you can exit this.

Logging into your local server Run the restarter, at first it will most likely update your database will run a few sql updates automatically, it's fine, don't worry and then it will boot up normally. Once you see the server is up and running through this line: "TrinityCore rev. Now, to setup your account as an administrator, run the following command:. When you log in-game, in order to execute a command, you need to add dot.

Don't forget to back your data up whenever possible. For cloud storage I would recommend Mega. Good luck with the server! Posted October 23, Posted February 5, Great guide. Note: You can run the following query on the World database to see your current DB and core revision:.

Note: If you have made any custom changes to your database, you may wish to backup export all three of them world, characters, and auth before performing the next few steps.

If your world database is ever corrupted ex. Overview Space shortcuts. TrinityCore Installation Guide. Databases Installation. Created by DuarteD. Last updated: Feb 25, by Aokromes. You could compare your current source to the TC source on web through git diff. This will give you all changes YOU have made. Also to simply update you can do git pull and fix the merge conflicts. So above: - You can never lose track of what changes you made.

And vola, you have all the changes you have done with git diff. You can simply make a backup of the changes like that generate a diff Then just commit them and pull new TC changes. Originally Posted by Rochet2. Last edited by Rochet2; at AM.

Before doing anything, I suggest making a backup. So basically if you cloned your source originally with git and have not moved it around and the hidden. The last actual commit will be the TC version you are on, since you likely have not made any commits yourself.

Misc: Add an editorconfig. Oct 16, Jul 10, Nov 15, Misc: Update C year. Jan 1, GitHub: Update link to create new issues. Jul 4, Jan 21, Update copyright note for Dec 31, Jan 4,



0コメント

  • 1000 / 1000