This tutorial will help you using an svn tool to quickly update your OT server without to much of a hazzle.
This tutorial is split in 3 parts:
1. Preparations.
2. Using svn to download a TFS version.
3. Using svn to update to latest revision.
By using the the svn method you will be able to always get the latest version of the branch you desire.
Example: You are using TFS 0.2.7. Suddenly we detected a crashbug, and it has been fixed. Instead of downloading the whole server again patching to customize specific to your OT, you can simply just update the sources (linux: 1 command, windows 2 clicks).
1. Preparations.
Lets start off with a base:
Windows:
Linux:
You can organize the way you like. I have a folder directly in C:\ (windows) called ots, inside that folder I have server, sources and www for website files.
In Linux however, I have just server and www (located in home dir "~"). The server folder will include sources. This is because Linux don't need to have binaries in the same directory as the server, and there will be less hazzle moving files and folders around.
1,5. Preparations ---> Getting the tools.
Windows: I will recommend you to use a tool called Tortoise SVN.
You can download it here: TortoiseSVN - Downloads
Remember to pick the correct bitversion. You can check if you are using a 32bit OS or 64bit OS by right clicking my computer and click "properties".
After installation you will need to do a computer reboot before going to next step.
Linux:
Debian: Debian don't got sudo by default. You can get it by installing it:
You can also just follow the tutorial if you start by typing "su". And then remove sudo from all the other commands.
Install subversion:
Type this command:
Additional documentation (Not really necessary):svn checkout
2. Using svn to download a TFS version.
Windows: You enter the directory where you want to download the sources.
(RIght click - SVN Checkout)
In url for repository, paste in the link:
Alternative if you want to use TFS 0.3.6pl1:
If you look at the link, it ends with "0.2.7" or "0.3.6pl1". Just change these to any branch you want to download.
You can also browse the alternative public subversions at this link with a regular browser. Subversion
After clicking OK you will start to download it, and the result after a download complete:
This image shows TFS 0.2.7 revision 83. If any bugs would occur, and the development team fix it, the revision would be higher. If you already have revision 83, but want to get revision 84, then follow next step.
Linux: Simple as it sounds.
[svn co] [Directory] [code]svn co svn://svn...rt, this was more specific on how to use svn.
This tutorial is split in 3 parts:
1. Preparations.
2. Using svn to download a TFS version.
3. Using svn to update to latest revision.
By using the the svn method you will be able to always get the latest version of the branch you desire.
Example: You are using TFS 0.2.7. Suddenly we detected a crashbug, and it has been fixed. Instead of downloading the whole server again patching to customize specific to your OT, you can simply just update the sources (linux: 1 command, windows 2 clicks).
1. Preparations.
Lets start off with a base:
Windows:
Linux:
Code:
ubuntu3@UbuntuServ3:~/ots$ ls
server www
You can organize the way you like. I have a folder directly in C:\ (windows) called ots, inside that folder I have server, sources and www for website files.
In Linux however, I have just server and www (located in home dir "~"). The server folder will include sources. This is because Linux don't need to have binaries in the same directory as the server, and there will be less hazzle moving files and folders around.
1,5. Preparations ---> Getting the tools.
Windows: I will recommend you to use a tool called Tortoise SVN.
You can download it here: TortoiseSVN - Downloads
Remember to pick the correct bitversion. You can check if you are using a 32bit OS or 64bit OS by right clicking my computer and click "properties".
After installation you will need to do a computer reboot before going to next step.
Linux:
Debian: Debian don't got sudo by default. You can get it by installing it:
Code:
su
apt-get install sudo
Install subversion:
Type this command:
Code:
sudo apt-get install subversion
2. Using svn to download a TFS version.
Windows: You enter the directory where you want to download the sources.
(RIght click - SVN Checkout)
In url for repository, paste in the link:
Code:
svn://svn.otland.net/public/forgottenserver/tags/0.2.7
Code:
svn://svn.otland.net/public/forgottenserver/tags/0.3.6pl1
You can also browse the alternative public subversions at this link with a regular browser. Subversion
After clicking OK you will start to download it, and the result after a download complete:
This image shows TFS 0.2.7 revision 83. If any bugs would occur, and the development team fix it, the revision would be higher. If you already have revision 83, but want to get revision 84, then follow next step.
Linux: Simple as it sounds.
[svn co] [Directory] [code]svn co svn://svn...rt, this was more specific on how to use svn.
Last edited: