[Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

Page 1 of 9 123456789 LastLast
Results 1 to 15 of 125
  1. #1
    ---- Flyer8472 is offline
    MemberRank
    Mar 2008 Join Date
    Earth.Location
    1,182Posts

    cool [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    -----------------------------------------------------------------

    Bugfixed Funtravi base Code REPACK by P373R
    (Flyer8472 Me.)

    -----------------------------------------------------------------

    WARNING! DONT ASK QUESTIONS IF U ARE NOT USING THEESE FILES!!!
    The reason why i was maded a repack is the common errors in the script. Ok?
    i wont give help to the basic(other thread) script.

    Yes, its the full game script.

    PORTABLE VERSION - Open Spoiler to read

    IT IS TESTED, WORKING, RESOURCES AND BUILDINGS, VILLAGES EXPANDS, BATTLE ECT...
    Spoiler:

    Ok now, here is a PORTABLE version of the script...
    TravX-Portable.rar
    https://mega.co.nz/#!7cY0hAgT!LxnMuk5bK7QWo7DnMRNz6zYwf4IgqVjUWfm1OQP975w

    Reason why i relase in this form: BECOUSE i get too much dumb and idiot PMs, i had enough here it is!

    1: Extract to a folder(prerferrably C:\ but it can be almost everywhere if the apache wont start(Stays red the text) then a: Stop skype b: Put in an other shorter folder the whole script, like C:\Mowes or something similar...,

    2: start mowes.exe, and bring up your browser, http://localhost/ Erase all cookies.
    login with administrator:
    User: admin
    Pass: password
    OR register a new account.

    It has the admin cpanel working too:
    http://localhost/admin

    Login is the same as the admin account.(ERASE COOKIES BEFORE AND AFTER!!! LOGINTO THE GAME OR THE CPANEL!!!)

    it has PHPMYADMIN too:
    http://localhost/phpmyadmin/

    BE AWARE! THOUGH, ITS WORKING ONLINE/OFFLINE, ITS NOT MENT TO BE A PRIVATE SERVER, ITS EASYLY HACKABLE NOT SAFE TO HOST A SERVER LIKE THIS!


    Furthermore, it is working flawlessly(the portable script) so i wont give ANY support for it.
    Software requirements: Visual C++ 2010 Redist, and .net framework 3.5

    You can make it public, just open port 80 in your router/firewall, and make a free domain name... and download an updater to it and there you go...

    The initial game set to be end in 2019 and it is reduced to 100x Speed

    Forthose who are unable to make work the game: i have a server from this very code(SQL and Script). Its running more weeks now bugless, we are playing with more people with it, villages expands, Resources generating, everything is working...so try harder and read!

    There was some problems with the previous relase(Was more files what was
    unneccessary someone already meddled with the base code and it was buggy
    ect...) I was able to cut out from the prevoius FunTravi Files 120 Mbytes
    unnecesarry and not needed code... :\ The new File is about 60 Mbyte
    compressed...

    So after i fixed, here it is, re re re- relased XD Repack, with new sql dump.

    Okay, now this is the Funtravi and Advocaite's Travian clone script Repack.
    it is bug fixed, and fairly easily can be installed.

    Few important things you should know about this script...

    1: it is 90-95% bugfree, just few things are missing or working wrong...
    like few plus pack(like instand building) or some smaller things, otherwise
    this script is so far the best i was ever found on the internet.
    Oh and it does not have any Cropfinder! simply missing from the plus packs.

    2:This script HAS a moderated good security system wich is based around cookies.

    3:This script is NOT containing Advocaite's Soap Script, it has a workaround for it.
    You will HAVE to edit the domain names in the database. (Not ultimately necesarry but
    it makes good belive me.)

    4: Ido not know now and i do no and WILL NOT help in start in WOW i dunno if it is
    finished and/or even working ever. Do not ask i wont answer, if i found the answer, i
    will post on the forum.

    WARNING: I did modifications for this code(fixed Function troops errors, and
    Database IP, Cleaned few template script ect.) but i did NOT modified everything,
    so in few places you will find funtravi and admin names or a server named travx
    kwantum. it has to be edited for you.

    Okay so a detailed setup for a script:

    I did managed to work on a hosted Cpanel on unix, but it should work on any
    WAMP/XAMMP/MOWES or portable stuff. i said SHOULD WORK this does not mean
    it DOES. so do not moan me about that YOU have to setup the serverside for
    yourself.

    System Prequisites:
    Server with latest PHP+MYSQL+APACHE(With PEAR and possibly soap)+SMTP or
    MAIL SERVER(Tomcat or other)

    --------------------
    Install:
    --------------------

    0. Download server from here(Maded a "FEW" Mirrors :D)

    For Ragezone.rar
    https://mega.co.nz/#!mAsCzJ7Y!dvg6rSeYHCrftgTU-aLROjD20xdFolYs3ZZ-duBj9nk
    DepositFiles
    Megashares - Drag. Drop. Yup. The first site to provide FREE file hosting with drag n drop support.

    Open spoiler for instructions

    Spoiler:

    1. Database

    1.A Make a Database name it whatever you want. Does not matter what the name is.
    2.B Import from this package fresh_install.sql into your Database.(I recommend
    STRONGLY Navicat for this purpose!!!!!)

    2. Script Files.

    2.A Extract and Upload your Script thru FTP into your domain name's root
    public_html/www/htdocs, whatever it is called on Ur server.

    3. Configuration Files.
    3.A Main Settings Config: Edit the Config.php in the game's root theese lines:
    "server" => "localhost", //MySQL server name. (Default: localhost)
    "user" => "", // MySQL username.
    "pass" => "", // MySQL password.
    "name" => "", // MySQL database name.
    "prefix" => "wg_", // Prefix for table names. -> IT HAS TO BE WG!!!!!!!!!!!
    "secretword" => "");


    NOTE: Secret word used when hashing information for cookies. It can be anyting but
    be Warned though, it HAS to be the same in the ADMIN config.php

    PREFIX HAS TO BE wg_ !!!!!!!!!!!!!!!!!! It IS important!!!!!

    Save and close the file.

    3.B Optional - SMTP Server Setup(This is not ultimately necesarry, but recommended for mails.
    Open config_mailserver.php and edit your SMTP account and host.
    "smtp" => "localhost", //Hostname
    "user" => "", //Username for SMTP account
    "pass" => "", //Password for SMTP Account
    "admin_name" => "Administrator", // Sender name
    "admin_email" => "noreply@admin.com"); // Sender Email Adress



    3.C Admin Panel Setup.
    To be Honest its a Complicated one a bit, cut the steps are related with
    other steps in this tutorial.

    First off: The ADMIN directory. You can rename it to whatever you want,
    and i do suggest you do that way.
    now, go in to the admin panel folder and open config.php there too.

    Edit theese lines too:
    "server" => "localhost", //MySQL server name. (Default: localhost)
    "user" => "", // MySQL username.
    "pass" => "", // GundamMySQL password.
    "name" => "", // MySQL database name.
    "prefix" => "", // Prefix for table names.
    "secretword" => ""); // SAME AS CONFIG.php ABOVE!!!!!!!


    Secret word used when hashing information for cookies. It can be
    anyting but be Warned though, it HAS to be the same in the MAIN
    config.php!!! Otherwise you will not able to log in!!!
    Save and close the file.

    open auth and soap directorys, look for files named(same name in
    this two folder) call.php and

    config_auth_remote.php, look for string called: localhost and change
    to your domain name all other things stays put; dont meddle with.
    Save all for files(2 in auth, 2 in soap folder)
    Save and close your files.


    3.D Setup game details: Edit common.php
    Check for lines:
    // Default timezone
    date_default_timezone_set("Europe/Vilnius"); // Edit to your Timezone.
    // Game start/end config Dates to game start and game end.
    $time_end = strtotime('2013-11-10 23:59:00');
    $time_start = strtotime('2013-01-31 07:00:00');

    // Speed configuration, THIS is what makes the game values change,
    in the Database just a reference dont bother with that.
    //100 Game, 100 Train, 100 Speed, 100 Research, 10 storage
    $speed = array(300,300,300,300,300);
    save and close the fila and now edit if U WANT constant_plus.php,
    constant_profile.php, constants.php files

    to suit your needs but i must point out: DONT TOUCH WHAT U DONT
    UNDERSTAND!!!


    3.C FIX FOR WAMP SERVER!!!!!

    THIS FIX FOR THOSE WHO WANT TO INSTALL ON PORTABLE WAMP SERVER! AND EXPERIENCING THE: cannot redeclare function variant_idiv() or something like that with variant_idiv its a class error. Its an error, when U use an older version of PHP, all you need to do is rename the class to an other... so:

    open the following PHP files in an editor(minimum notepad ++ !!!) and find the following:
    variant_idiv and replace for variantidiv ALL occourences!!!!

    The files you need to fix:
    ../admin/viewuser/includes/function_trade.php
    ../admin/viewuser/includes/function_troop.php
    ../includes/function_trade.php
    ../includes/function_troop.php

    REPLACE all variant_idiv to variantidiv without the _ underline :D Thats all, the error will gone and the server will kick back to normal. NOTE: This fix was tested on wampserver2.2e-php5.3.13-httpd2.2.22-mysql5.5.24-x64.exe!!! I will add this on the main thred too!!!



    4. Language Settings. JUST FOR UNIX SYSTEMS, IN WAMP
    SYSTEMS JUMP THIS PART CUZ ON NTFS THIS DOES NOT
    MAKES SENSE
    JUST ON LAMP SYSTEMS!!!

    So there is a bug. After you uploaded everything, go and upload one
    language file one more time, BUT WITH THE

    FIRST LETTER IS HIGH CAPITAL!!!! So go to Language/en/ and upload trade.mo
    one more time but with like this:
    Trade.mo <- notice there will be an other file with low capital too.
    Like this: trade.mo
    You have to be 2 same file in one folder, like this:
    Trade.mo
    trade.mo

    It will fix a bug in the npc trader php language error. Move on to chapter 5.


    5. Make your first admin. Well its not so Simple so.
    Administrator panel Default:
    Name Admin
    Pass 123456789abc

    If U make a player Called "Admin" the panel will work and let you in the
    data you provided above. The admin panel by default it can be
    accessed: http://yourdomain/admin/index.php And login with the given
    pass and username.

    5.A - If u want add an other user and/or change default user, go to your
    database's WG_ADMIN table, There you can rename your admin or add
    an other record. But be warned the password is encoded, so you will
    need copy the password hash from your account(auth table in db) into
    this column, and then you will able to log in with an other user.


    6. Now, log in to your Admin cpanel(Make an admin if U cannot login) the admin
    banel basicly wrote out that Security Error but dont worry, it will redirect you
    to the panel where you can generate a new map, do that now, then log out,
    and this is important: ERASE ALL COOKIES FROM YOUR BROWSER!!!

    7. Now you can login/Register and play.(Sometime if u delete the cookies, and
    try to login you have to do this twice. This is normal(somewhat XD))


    8. "Bug":

    If u cannot login(if the login is puts back to the index.php), ALWAYS delete
    ur browser's cache and cookiest (YOU HAVE TO DO THIS ALWAYS IF U ARE
    USING ADMIN PANEL!!!!!)


    9. Note for the translators:

    The language files if u want to translate mostly can found in language/en
    all files. but... NOT ALL! Other files can be found Templates/Funtravi/ ALL
    tpl files. The rest language thing is in this files.(and in the database in
    korean language.


    Thats All!

    Have Fun! This Post is in the RAR file too. ;)


    Credits Goes to:
    Tranh Hung - The Main code
    Advocaite - BASE code and bugfix
    Nmilchev - Bugfixes and addons
    Songeriux - Bugfixes

    And all who has helped to me fix things in this code!
    Last edited by Flyer8472; 23-04-13 at 05:42 PM. Reason: Update - Added portable version!


  2. #2
    Enthusiast nightrw206 is offline
    MemberRank
    Apr 2012 Join Date
    thailandLocation
    26Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    Okey Thank ! I will Try your repack . :)

  3. #3
    ---- Flyer8472 is offline
    MemberRank
    Mar 2008 Join Date
    Earth.Location
    1,182Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    NOTE IF(I did not tested just exported a new one) the SQL not Working, please tell me i will give am other dump ;)

  4. #4
    Enthusiast nightrw206 is offline
    MemberRank
    Apr 2012 Join Date
    thailandLocation
    26Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    25 MB wow

    My SQL Can upload 8 MB

    Can you dump ?

  5. #5
    ---- Flyer8472 is offline
    MemberRank
    Mar 2008 Join Date
    Earth.Location
    1,182Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    no, i cannot reduce size... thats why i said to use navicat, there is no file size limit

  6. #6
    Account Upgraded | Title Enabled! nmilchev is offline
    MemberRank
    Sep 2011 Join Date
    BulgariaLocation
    724Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    at least give the right credits NOOB.

    it's not only advocaite. write ME and songeriux too.
    Because I am the owner of funtravi. and this files was stolen from us

    and write the fucking link that everyone don't want to believe in

    funtravi.com

  7. #7
    Currently looking at PHP advocaite is offline
    MemberRank
    May 2009 Join Date
    GithubLocation
    872Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    good work flyer, knew someone would make it easy for the masses hope you stick around ;)

  8. #8
    Apprentice MixiTas is offline
    MemberRank
    Mar 2012 Join Date
    19Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    Chat windows dont work for me

  9. #9
    ---- Flyer8472 is offline
    MemberRank
    Mar 2008 Join Date
    Earth.Location
    1,182Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    Quote Originally Posted by nmilchev View Post
    at least give the right credits NOOB.

    it's not only advocaite. write ME and songeriux too.
    Because I am the owner of funtravi. and this files was stolen from us

    and write the fucking link that everyone don't want to believe in

    funtravi.com
    Ahh the first who f**ing around... okay so:

    Look man, not everyone is a piece of shit, so please do not be harsh, (BTW don't noobing, i think is someone can write a good script like this, maybe he has manners too... but thats my opinion, and hey... you can speak with me. You dont even know me... So dont poke me around, you are not right if U are angry, then put on someone else your wrath... ASK something and i try...) so. The fact is i dunno the script's background... i just finally found a good working script... i DID NOT found your names in the code, if i did, i would write out. Okay? I will update the credits for you but dont be an a***ole ok?


    MixiTas:
    Chat is absolutely not working... 4 me at least.. :D ;)
    Last edited by Flyer8472; 22-03-13 at 06:22 PM.

  10. #10
    Apprentice MixiTas is offline
    MemberRank
    Mar 2012 Join Date
    19Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    Quote Originally Posted by Flyer8472 View Post
    Ahh the first who f**ing around... okay so:

    Look man, not everyone is a piece of shit, so please do not be harsh, (BTW don't noobing, i think is someone can write a good script like this, maybe he has manners too... but thats my opinion, and hey... you can speak with me. You dont even know me... So dont poke me around, you are not right if U are angry, then put on someone else your wrath... ASK something and i try...) so. The fact is i dunno the script's background... i just finally found a good working script... i DID NOT found your names in the code, if i did, i would write out. Okay? I will update the credits for you but dont be an a***ole ok?


    MixiTas:
    Chat is absolutely not working... 4 me at least.. :D ;)
    Its working on one server :D
    P.s can you help me with quest and instruction? becouse im on and its not working...

  11. #11
    ---- Flyer8472 is offline
    MemberRank
    Mar 2008 Join Date
    Earth.Location
    1,182Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    Well i have a server too up and running(but i have a Zandagort game too so i cannot be 2 place at one time... :\), but i cannot give too much instruction in this i did not had much time yet, i was happy to fixed this, and make a simplier repack... if i will know something i will post is here... :\ I know there is an artifact system antd its working in theory, but right now we just trying everything what is working...

    Quote Originally Posted by MixiTas View Post
    Its working on one server :D
    P.s can you help me with quest and instruction? becouse im on and its not working...

    Ok so its working just open serverdomain.com/chatbox/minichat.php all you have to do is Include it to somewhere in the templates with iframe... :D :P

  12. #12
    Valued Member zuikyys is offline
    MemberRank
    Dec 2011 Join Date
    LithuaniaLocation
    130Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    Quote Originally Posted by Flyer8472 View Post
    Well i have a server too up and running(but i have a Zandagort game too so i cannot be 2 place at one time... :\), but i cannot give too much instruction in this i did not had much time yet, i was happy to fixed this, and make a simplier repack... if i will know something i will post is here... :\ I know there is an artifact system antd its working in theory, but right now we just trying everything what is working...




    Ok so its working just open serverdomain.com/chatbox/minichat.php all you have to do is Include it to somewhere in the templates with iframe... :D :P
    Quest, instruction work fine.... But when you complete all quest, windows don't dissapear..

  13. #13
    Enthusiast orcanto is offline
    MemberRank
    Aug 2012 Join Date
    25Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    pls demo and video

  14. #14
    ---- Flyer8472 is offline
    MemberRank
    Mar 2008 Join Date
    Earth.Location
    1,182Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    zuikyys:
    Cannot be, the tutorial and quest was disabled due to cannot close the window as you wrote...(It was written on the code when i first extracted it) so please dont write about it... its not activating when U register... it IS disabled... If u did re enabled then you face the unclosable window problem. :\ i cannot give support for this quest ect...


    Orcanto:
    It wont be any video from me, if U cannot make work his from this tutorial i cannot help. You need demo? Funtravi.com!

  15. #15
    Apprentice MixiTas is offline
    MemberRank
    Mar 2012 Join Date
    19Posts

    Re: [Repack]Fixed Funtravi Base, with DB and Tutorial. Multi Mirrors!

    Quote Originally Posted by Flyer8472 View Post
    zuikyys:
    Cannot be, the tutorial and quest was disabled due to cannot close the window as you wrote...(It was written on the code when i first extracted it) so please dont write about it... its not activating when U register... it IS disabled... If u did re enabled then you face the unclosable window problem. :\ i cannot give support for this quest ect...


    Orcanto:
    It wont be any video from me, if U cannot make work his from this tutorial i cannot help. You need demo? Funtravi.com!
    untitled.png
    How to turn off chatbox?:D
    Last edited by MixiTas; 23-03-13 at 08:37 AM.



Page 1 of 9 123456789 LastLast

Advertisement