{% extends "base_generic.html" %}

{% block content %}
<h2 class="tibia-headline">Getting Started</h2>

{% if user.is_authenticated %}
    <p>
        Beside this account you need a client to connect to the server.
        Get the client source from here:
        <a href="https://git.someserver.de/gesche/tibia-client">https://git.someserver.de/gesche/tibia-client</a>
    </p>
    <p>Follow the instructions there to compile, in general for linux systems with apt you need to install the requirements:</p>

    sudo apt-get install -y build-essential cmake git-core <br>
    sudo apt-get install -y libboost-all-dev libphysfs-dev libssl1.0-dev liblua5.1-0-dev <br>
    sudo apt-get install -y libglew-dev libvorbis-dev libopenal-dev zlib1g-dev <br>
    <br>
    <p>And build with:</p>

    git clone https://git.someserver.de/gesche/tibia-client.git <br>
    cd otclient && mkdir build && cd build && cmake -DUSE_STATIC_LIBS=OFF .. && make <br>
    ./otclient <br>

    <br>
    <p>Finally, the client needs some files that contain the graphics and other static stuff for the server.
        Ask Gesche how to obtain them.</p>
{% else %}
    Please log in to view this information.
{% endif %}

{% endblock %}