Travian Kingdom server script free. Not finish yet. Abandoned.
Abandoned. No more support.
This project is clone Travian Kingdom game. Now, not finish yet.
Base on Travian Kingdom
version : 0.66.8
*** IMPORTANT *** This script can't use in web hosting because automatice function run as service
Example vhost config for apache (OSX with xampp)
<VirtualHost *:80>
# Index
ServerAdmin t5.ph
ServerName t5.ph
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/travian5"
ErrorLog "logs/t5.ph-error_log"
CustomLog "logs/t5.ph-access_log" common
</VirtualHost>
<VirtualHost *:80>
# Index
ServerAdmin kingdoms.t5.ph
ServerName kingdoms.t5.ph
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/travian5/index"
ErrorLog "logs/kingdoms.t5.ph-error_log"
CustomLog "logs/kingdoms.t5.ph-access_log" common
</VirtualHost>
<VirtualHost *:80>
# Mellon service (Account service)
ServerAdmin mellon.t5.ph
ServerName mellon.t5.ph
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/travian5/mellon"
ErrorLog "logs/mellon.t5.ph-error_log"
CustomLog "logs/mellon.t5.ph-access_log" common
Header set Access-Control-Allow-Origin "*"
AllowEncodedSlashes on
</VirtualHost>
<VirtualHost *:80>
# CDN
ServerAdmin cdn.t5.ph
ServerName cdn.t5.ph
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/travian5/cdn"
ErrorLog "logs/cdn.t5th.ph-error_log"
CustomLog "logs/cdn.t5th.ph-access_log" common
Header set Access-Control-Allow-Origin "*"
</VirtualHost>
<VirtualHost *:80>
# Lobby
ServerAdmin lobby.t5.ph
ServerName lobby.t5.ph
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/travian5/lobby"
ErrorLog "logs/lobby.t5.ph-error_log"
CustomLog "logs/lobby.t5.ph-access_log" common
</VirtualHost>
<VirtualHost *:80>
# Game
ServerAdmin ks1.t5.ph
ServerName ks1.t5.ph
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/travian5/game/s1"
ErrorLog "logs/ks1.t5.ph-error_log"
CustomLog "logs/ks1.t5.ph-access_log" common
</VirtualHost>
Example hosts file
# Travian Kingdom
127.0.0.1 t5.ph
127.0.0.1 kingdoms.t5.ph
127.0.0.1 mellon.t5.ph
127.0.0.1 lobby.t5.ph
127.0.0.1 cdn.t5.ph
127.0.0.1 ks1.t5.ph
global_server_data
global_server_data
table too/config.php
php server2/server.php
and node server/app2
and node server_lobby/app
(don't forget to install nodejs module with npm install
before run)To generate world
go to sub domain that game avaliable. go to api folder and go to debug.php?a=createWorld
for example ks1.t5.ph/api/debug.php?a=createWorld
Please note that this script doesn't finish yet. If you found bug please use Issues to report and use Pulls Requests to request feature that offical have or fix bug or add new feature to main project.
NOW IS FREE
Use watch button if you want to know about activities.
If you like this project, please give star.
THANKS