TribalWars DECODED (EN version)
Category: Standalone Scripts
- views: 3 137
- date: 3 December 2015
- posted by: BattleHero

The DEMO is in Poland language, but the script is in English !
How to set up the Tribalwars Game on a webserver?
To run the source i suggest you to get a webhost. If you already got one, then it should be okay and no problem to run the Tribalwars source.
1. Lets begin to create the databases. You will need to create 2! databases, since this source comes with a world system.
tribalwars_main < Here upload the tribalwars_main.sql file.
tribalwars_world < Here upload the tribalwars_worlds.sql file.
2. When done go to the tribalwars_main database, and go to the worlds table. There you should change the db column to what you named your world database to.
change the the name to whatever you like.
3. Upload all the files to your webserver.
4. Go to the include/config.php file, and change the details to the details of the MAIN database.
5. Open the 'wereld1' folder, and go to include, then open up config.php and add the database tribalwars_world
6. We need to set up the cronjob!
It depends on what host you are using on how to set the cronjob, check the hosts cronjob information. The file in the source is a working cronjob, which needs to be fired every minute and will run for 60 seconds / 1 minute.
You can find the cronjob in: \wereld1\daemons\event.php chmod the folder to 777
Beware! Daemons(cronjob) run in the background as a permanent process, most free hosting(even paid shared hosting) won't allow that.
You need a dedicated server or at least a VPS to run it.
Without cronjob your buildings will never build, your troops will never train, you can't do nothing!
We need your support!
Make a donation to help us stay online
Bitcoin (BTC)
bc1q08g9d22cxkawsjlf8etuek2pc9n2a3hs4cdrld
Bitcoin Cash (BCH)
qqvwexzhvgauxq2apgc4j0ewvcak6hh6lsnzmvtkem
Ethereum (ETH)
0xb55513D2c91A6e3c497621644ec99e206CDaf239
Litecoin (LTC)
ltc1qt6g2trfv9tjs4qj68sqc4uf0ukvc9jpnsyt59u
USDT (ERC20)
0xb55513D2c91A6e3c497621644ec99e206CDaf239
USDT (TRC20)
TYdPNrz7v1P9riWBWZ317oBgJueheGjATm
Information |
|||
![]() |
Users of GUESTS are not allowed to comment this publication. | ||









