[RELEASE] Tribalwars Source code. 100% Open!

Page 1 of 7 1234567 LastLast
Results 1 to 15 of 95
  1. #1
    Ultimate Member Mugaru is offline
    MemberRank
    Feb 2012 Join Date
    186Posts

    [RELEASE] Tribalwars Source code. 100% Open!

    Hey RageZoners,

    This is a new Topic, because i think the overview on the other topic is, and will be lost.

    So whats in this Thread?
    1 - Download link
    2 - Tutorial how to set it up on a WebServer
    3 - Features / Updates

    Download Link
    Clickkkk - Mega

    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.

    First extract the source somewhere on your computer.

    When you extracted everything, lets go on:

    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.
    Image 1

    Done? Save it and upload the file again.

    5. Open the 'wereld1' folder, and go to include, then open up config.php in this folder.
    Spoiler:

    Code:
    // Configurações do banco de dados
    $config['db_host'] = 'localhost'; // Host of the Database
    $config['db_user'] = ''; // Database username
    $config['db_pw'] = ''; // Database Password
    $config['db_name'] = ''; // Database name
    
    // Zona de horário a ser seguido:
    date_default_timezone_set("Amsterdam/Europe");
    
    // Configurações especiais:
    $config['name'] = 'Tribalwars'; // Game name :) Can be your own ;D
    $config['ano'] = '2014'; // Year of server start
    $config['cdn'] = '../global_cdn'; // Image / JS directory
    $config['forum'] = ''; // Link to your forum
    $config['version'] = 'V0.1 '; // Version number
    $config['global_db'] = ''; // DATABASE name!
    $config['world_name'] = 'Wereld 1'; // Name of the World :) 
    $config['c_db_name'] = 'tribalwars_world'; // Name of the world database


    Change everything to your details.

    6. Check if the website is running without errors (so register, login and check it)

    7. If the website is running and working except the building timer then go on with this step :)... we are almost done.
    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

    Hope you guys understand how to set it up. If not, just answer on this topic and i'll try to help you out.

    If you think you set it up, wait one minute to let the cronjob start. then go to the URL of your game, and try to build a building.



    Thanks for reading the guide :) And i'll keep you up to date!

    Features and Updates
    Base Game (such as; nobling, attacking, deffending, scouting, upgrading) - 100%
    Bonus Villages - 100%
    Quests (like upgrade your Woodcutters to level 10) - 30%
    Tribe Forum - 30%
    BBCodes - 0%
    New Design - 0%
    Last edited by Mugaru; 26-11-14 at 09:23 AM.


  2. #2
    Ultimate Member develix is offline
    MemberRank
    Sep 2014 Join Date
    GermanyLocation
    151Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    100% Open means 100% Dezended/Decrypted source code, not open source to avoide misunderstandings

  3. #3
    Member oduvanchik is offline
    MemberRank
    Jul 2012 Join Date
    65Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    What is different from the theme: [RELEASE] Tribalwars LAN OPENSOURCE 100%

  4. #4
    Member yagerya55 is online now
    MemberRank
    Jul 2011 Join Date
    36Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    how to fix ? Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\61\htdocs\tribalwars\wereld1\include.inc.php on line 68
    Consulta SQL: SELECT `userid`,`is_vacation`,`hkey` FROM `sessions` WHERE `sid`='rNRgH3IcSz9Ecd9cnkbWCJdtFMHSJkDL'
    Erro: Unknown column 'is_vacation' in 'field list'

  5. #5
    Ultimate Member Mugaru is offline
    MemberRank
    Feb 2012 Join Date
    186Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    Quote Originally Posted by oduvanchik View Post
    What is different from the theme: [RELEASE] Tribalwars LAN OPENSOURCE 100%
    Nothing, this version only has more bugfixes, and a better begin post :)

    Quote Originally Posted by yagerya55 View Post
    how to fix ? Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\61\htdocs\tribalwars\wereld1\include.inc.php on line 68
    Consulta SQL: SELECT `userid`,`is_vacation`,`hkey` FROM `sessions` WHERE `sid`='rNRgH3IcSz9Ecd9cnkbWCJdtFMHSJkDL'
    Erro: Unknown column 'is_vacation' in 'field list'
    you probably used the wrong DB in the wrong place ;)

  6. #6
    Member yagerya55 is online now
    MemberRank
    Jul 2011 Join Date
    36Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!




    "Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\61\htdocs\tribalwars\wereld1\include.inc.php on line 68
    Consulta SQL: SELECT `userid`,`is_vacation`,`hkey` FROM `sessions` WHERE `sid`='rNRgH3IcSz9Ecd9cnkbWCJdtFMHSJkDL'
    Erro: Unknown column 'is_vacation' in 'field list'"

  7. #7
    Member GeorgeDG is offline
    MemberRank
    Oct 2013 Join Date
    52Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    Quote Originally Posted by yagerya55 View Post



    "Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\61\htdocs\tribalwars\wereld1\include.inc.php on line 68
    Consulta SQL: SELECT `userid`,`is_vacation`,`hkey` FROM `sessions` WHERE `sid`='rNRgH3IcSz9Ecd9cnkbWCJdtFMHSJkDL'
    Erro: Unknown column 'is_vacation' in 'field list'"
    In the config.php that is found in wereld1/include, put $config['db_name'] = 'tribalwars_world'; // Database name under // Configurações do banco de dados
    _________________________________________________________________


    Warning: include() [function.include]: Failed opening '/include/configs/bbcodes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a7058315/public_html/wereld1/include.inc.php on line 62

    Any ideas?

  8. #8
    Red like a Tomato! tomad is offline
    True MemberRank
    Nov 2007 Join Date
    NetherlandsLocation
    362Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    Can you make a graphic update?
    Because the ingame layout looks much different then this one.

  9. #9
    Member oduvanchik is offline
    MemberRank
    Jul 2012 Join Date
    65Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    Why the folder "wereld1", it contains a folder that is present in the folder "global_cdn"?

  10. #10
    Member yagerya55 is online now
    MemberRank
    Jul 2011 Join Date
    36Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    Thansk GeorgeDG...

    Quote Originally Posted by oduvanchik View Post
    Why the folder "wereld1", it contains a folder that is present in the folder "global_cdn"?
    main database.

  11. #11
    Newbie b4sht1m3 is offline
    MemberRank
    Nov 2014 Join Date
    1Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    Can you help i have a error

    Error:

    Failing SQL: SELECT COUNT(`id`) AS `exist`,`banned` FROM `ni12287_1sql2`.`users` WHERE `id`='3'
    Error: SELECT command denied to user 'ni12287_1sql1'@'vweb13.nitrado.net' for table 'users'

  12. #12
    Ultimate Member Mugaru is offline
    MemberRank
    Feb 2012 Join Date
    186Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    Quote Originally Posted by tomad View Post
    Can you make a graphic update?
    Because the ingame layout looks much different then this one.
    I am not busy with Graphic development at the moment ;p

    Quote Originally Posted by oduvanchik View Post
    Why the folder "wereld1", it contains a folder that is present in the folder "global_cdn"?
    Well, thats still from the original developer i think.



    Quote Originally Posted by b4sht1m3 View Post
    Can you help i have a error

    Error:

    Failing SQL: SELECT COUNT(`id`) AS `exist`,`banned` FROM `ni12287_1sql2`.`users` WHERE `id`='3'
    Error: SELECT command denied to user 'ni12287_1sql1'@'vweb13.nitrado.net' for table 'users'
    It looks like you don't have the rights to use select queries on the account you are using for the Database.

    try this in as SQL command on your server (phpmyadmin SQL tab):
    Code:
    GRANT tribalwars TO ni12287_1sql1;
    change tribalwars to your database name. If that didn't work, you should find out how to get root access / rights on your database.

  13. #13
    Newbie Rex Adrivan is offline
    MemberRank
    Dec 2014 Join Date
    2Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    THanks but how do I change the language?

  14. #14
    Ultimate Member Mugaru is offline
    MemberRank
    Feb 2012 Join Date
    186Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    Quote Originally Posted by Rex Adrivan View Post
    THanks but how do I change the language?
    Language files, and the templates not everything has already been added to the language files. It is not hard to do it, but it is alot of work

  15. #15
    Registered ycpc55 is offline
    MemberRank
    Jan 2007 Join Date
    10Posts

    Re: [RELEASE] Tribalwars Source code. 100% Open!

    Thank you Mugaru nice job. :)



Page 1 of 7 1234567 LastLast

Advertisement