• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Checking out the source code from the subversion. (Windows + Linux terminal).

Znote

<?php echo $title; ?>
Staff member
Global Moderator
Premium User
Joined
Feb 14, 2008
Messages
7,030
Solutions
256
Reaction score
2,117
Location
Norway
GitHub
Znote
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:
e8jyg2.png

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
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:
Code:
sudo apt-get install subversion
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.
2lnxpab.png

(RIght click - SVN Checkout)
dxz0ac.png

In url for repository, paste in the link:
Code:
svn://svn.otland.net/public/forgottenserver/tags/0.2.7
Alternative if you want to use TFS 0.3.6pl1:
Code:
svn://svn.otland.net/public/forgottenserver/tags/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:
spdvh2.png

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:
Well done bro, this will help a lot of people for sure :)


kind regards, Evil Hero.
 
good tutorial but you can only checkout public svn not private :/
 
good tutorial but you can only checkout public svn not private :/

Yes, this is outside premium's board, after all. Private subversion is only for premium members.
 
You can't do a checkout with premium user too you must be a developer
 
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).

Not entierly true. You have to migrate the tag, and it doesn't always work frawlessly.
 
Not entierly true. You have to migrate the tag, and it doesn't always work frawlessly.

So what would be an good sample to use?

Anyway, security issues should be fixed in the tags. New stuff in newer tags versions. :ninja: Shouldn't be my fault TFS got a weird system.
Etc:
Tags with the names:
Stable 8.1
Stable 8.3
Stable 8.4
Stable 8.5
Extended 8.5
Unstable 8.6

Or:
Mystic Spirit 8.4
Mystic Spirit 8.5
Crying Damson 8.5
Mystic Spirit 8.6
Crying Damson 8.6
DEV 8.6
When a security patch occur, and its among the stable code, it should apply to all tags that got the issue.

But well, TFS svn system can be questionable. Using TFS version names instead of client names, only the latest branch version up to date etc. :p
Bad since they actually had potential to make extremely stable versions of older clients easy. Now its bothersome though.
 
Last edited:
Back
Top