Giter VIP home page Giter VIP logo

travianz's Introduction

Code Triagers Badge Maintenance GitHub Release Github All Releases GitHub contributors license GitHub last commit Proudly Coded in PHPStorm Donate to this project on LiberaPay Join the chat at https://gitter.im/TravianZ-V8/Lobby Watch how this was made on YouTube

GitHub forks GitHub stars GitHub watchers GitHub followers Twitter URL

TravianZ Version v.8.3.5

Note: this game is still in a pre-release state, although at this point it is very playable, tested and found to be fairly stable

WARNING: please note that this is in no way an upgrade from the old 8.3.2 version, so please do not try to just copy your files over, since the installer logic has changed and you would just crash your old version

Quick links:

Minimum requirements:

Dedicated or shared hosting?

We strongly recommend using a dedicated hosting for this game. Big Travian servers used to host thousands of players and the original servers still had about 300ms page display time. The legacy code in this clone (which was created in 2013) is right now doing about 400 MySQL queries (questions to the database) per single page refresh - which is usually well beyond what most shared hostings can support with a big enough player base.

Support & Bug reports

We are usually available to chat at our Gitter channel, if you like to ask any questions or just talk to the developers about how great their day is today :) As for bug reports, please use the Issues tab and create new issue, whether it's an error in game or you have a feature request to be included in the play.

The team

Thanks

Many thanks to all those who recently played around with the project and tested it both, locally and on their own servers. This includes ZZJHONS, DracoMilesX, phaze1G , martinambrus and many others who were too shy to let us know that they use and enjoy running this game :)

Also, our thanks go to all both, the original and occasional developers, especially yi12345, advocaite, brainiacX, ronix, MisterX, Elio and many others who were part of this project's history.

Last but not least, our thanks go to JetBrains for lending us a one-year full-featured open-source PHPStorm (and other products) license! Thanks guys, you're awesome :)

travianz's People

Contributors

221v avatar akshay9 avatar al-kateb avatar armando1980 avatar brainiacx avatar cosme12 avatar denixue avatar dracomilesx avatar esfomeado avatar fanmuchen avatar goten87 avatar greldinard avatar hardwarelayer avatar hexcoded avatar iopietro avatar itrack avatar kfcspike avatar kylesv avatar martinambrus avatar nean avatar niko28 avatar nikodelpo avatar pickuse avatar sempoi avatar shadowss avatar simiz avatar ukitake-san avatar uroskn avatar velhbxtyrj avatar yi12345 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

travianz's Issues

HTTP ERROR 500

when i try log in it shows this

This page isn’t working
worldofhackers.eu is currently unable to handle this request.
HTTP ERROR 500

please anyone help

Feature Request: Installation & Run

Would be possible to have in the read me an example of how to run the whole project? I'm not really familiar with PHP or any server language.

Thanks a lot, great job all of you! :D

Installation Bug

  1. expected behaviour
    Installing the game engine without troubles

  2. incorrect behaviour
    After running the php project and select step 3 "Create" the server ends up in the following error:
    Screenshot from 2022-12-22 15-02-27

  3. the operating system & version
    Ubuntu 20.04, x86_64

  4. PHP version on the server
    PHP 7.4.3

  5. MySQL / MariaDB version on the server
    8.0.31-0ubuntu0.20.04.2

Resources count display bug?

There are some display bug --
when resources update, we reload page and get old count of resources!
after reload again -- resources count are ok, updated.

so bug is next -- in code we get old count of resources, update it, save to database,
but show at page old value, not new!

https://github.com/Shadowss/TravianZ/blob/master/GameEngine/Village.php#L47-L48
maybe this strings needs swap places ?

or just update here values (add some code at function ends)
https://github.com/Shadowss/TravianZ/blob/master/GameEngine/Village.php#L171

$this->awood = $nwood;
$this->aclay = $nclay;
$this->airon = $niron;
$this->acrop = $ncrop;

(i not configure own server yet, can not test it, so just think,, can you test that?)

addusers.php troops

I just set this clone on a localhost and through the admin panel I was able to add users (Farms) but I didn't like the configuration of the users' villages so i changed it in the gameengine/admin/mods/addusers.php ... but I can't figure out what to change to add randome troops to these villages !! the line in the file is written like this

            //insert units randomly generate the number of troops
            $q = "UPDATE " . TB_PREFIX . "units SET u".(($tribe-1)*10+1)." = ".rand(100, 2000).", u".(($tribe-1)*10+2)." = ".rand(100, 2400).", u".(($tribe-1)*10+3)." = ".rand(100, 1600).", u".(($tribe-1)*10+4)." = ".rand(100, 1500).", u".(($tribe-1)*10+5)." = " .rand(48, 1700).", u".(($tribe-1)*10+6)." = ".rand(60, 1800)." WHERE vref = '".$wid."'";
            mysqli_query($GLOBALS["link"], $q);

what do I change to make it executable when adding new users ???? I'm not a programmer btw so please use simple terminology thnx

Server settings not saving

1. expected behaviour
In the admin profile you can edit the running server settings. Expected would be saving these on the fly.

2. incorrect behaviour
Submitting these does not seem to edit anything.

3. the operating system & version
Bitnami LAMP stack.

4. PHP version on the server
8.0.14

5. MySQL / MariaDB version on the server
MariaDB 10.4.22

Tasks bugged

  1. expected behaviour
    It should detect what is asked in the task

  2. incorrect behaviour
    It never detects that u done what has been asked in the task and causes not being able to continue

  3. the operating system & version
    Windows Server 2016 DataCenter

  4. PHP version on the server
    7.2.18

  5. MySQL / MariaDB version on the server
    5.7.26

WW Construction Plans bug

World Wonder Construction Plans

  1. expected behaviour: when clicking return to village should work normally
  2. incorrect behaviour: it does return to village but after 5 sec im forced to see again the announcement
  3. the operating system & version: apache
  4. PHP version on the server: 7.4.8
  5. MySQL / MariaDB version on the server: 5.5 i guess?

translate

In which files should I translate into another language?

404 - flaggen.js

Hi,
I've just install it (without documentation, I don't find it)
but I have an 404 error with this file :

<script src="flaggen.js?a" type="text/javascript"></script>

Preferences not saved

bug reports

  1. expected behaviour: going in Profile, preferences i should be able to change the timezone related to the user, report filter and so on.
  2. incorrect behaviour: at OK pressed button, nothing happen. The form in the html is wrong, i dont see any code behind, also from a datamodel point of view i dont see the columns for that data
  3. the operating system & version
  4. PHP version on the server
    7.3
  5. MySQL / MariaDB version on the server
    5.6

Problem wdata

Hello.
I have a little problem.

Error creating wdata. Check configuration or file.

Help me please.

IMG_20191031_200645

Sending troops ends up with "Coordinates do not exist" error

  1. expected behaviour
    Entering Coordinates target fiels will send troops to the corresponding field.

  2. incorrect behaviour
    Message "Coordinates do not exist" appears, troops are not send.
    Probable encoding error? But where? Apache? PHP?

  3. the operating system & version
    Ubuntu 20.04

  4. PHP version on the server
    PHP 7.4.3

  5. MySQL / MariaDB version on the server
    MySQL 8.0.27

Game is not showing maps

  1. expected behaviour : showing game village's map
  2. incorrect behaviour : not showing anything on Village overview https://prnt.sc/rpl0po
  3. the operating system & version : windows 7 64-bit
  4. PHP version on the server : PHP 7.4.3
  5. MySQL / MariaDB version on the server : 10.4.11-MariaDB - mariadb.org binary distribution

Bug

Apache` 2.4.54.2 Port 80 - PHP 7.4.33
MySQL 5.7.40 Port 3306
MariaDB 10.6.5 Port 3307
PHP 7.4.33 for CLI (Command-Line Interface)

Shadowss/TravianZ
Version 8.3.5

https://youtu.be/ghOOl7zuRA0

install

hello
i try to install i get this Error
[01-Oct-2019 14:33:13 Africa/Dakar] PHP Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /home/XXXX/public_html/TravianZ/GameEngine/Database.php on line 490
i try So Many time
i am in host on hostvision.or

Tip

Why don't they add new things? New races? New objects? New troops?

Install Error

hello

i try to install i get this Error

Parse error: syntax error, unexpected '(' in C:\xampp\htdocs\t\GameEngine\Artifacts.php on line 286

please help me.. thanks

How to make war only server, like maxed resources for everyone since the beginning, only WAR!

Hi mates, is there a config file or any file that I can edit without breaking things to make this happen? What I mean, we want to make war only, we are working a lot and in our free times we don't want to bother with doing upgrade upgrade upgrade for resources.

The villages can be empty but let's say, the resource fields, main building, warehouses and rally point etc some common buildings must be maxed out automatically, so we can focus on only making war strategy. Is there any way? Any file? Cannot find because of my lack of experience and knowledge.

Thanks in advance!!!

Game improvement: resource balancing

Hi everyone.
it is normal to set a very high speed for when using this script.
To balance the game, in these conditions, why not be able to set a cost multiplier for building and troop resources?
In this way, a higher speed would reduce the construction time, but a little more strategy would be needed.
another thisng is make buildig update in 1 click, and remove each building page. As happend on travian kingdom, update direcly from dorf1.php and dorf2.php. or creare an option for enable/disable it.
also , why dont' add more spaces on construction waiting loop? this can be a feature for Tplus, or stand alone.
it can be "unlock other 4 spaces", or unlock one space each for gold price, (kingdom ispiration)

Implement hero, silver, adventures, will be a great thing and it will change a lot this game. Also include more quest, rewards customisation, Remove hero home and integrate oasi on ambasade?

Thanks you

Troops don't die when attacking oasis or unactive players on defendant side

For bug reports, please use the following structure:

  1. Troops die on defendant side when the defendant is "unactive"
  2. Troops magically regenerate (aka the amount of troops stay the same even after big attack on defendant side, when they are inactive, this includes nature- oasis).
  3. Online host. [v.8.3.5]
  4. MYSQLi ?

install/index.php can't load relative files (js, img, ...)

  1. expected behaviour
    Installer working smoothly :)

  2. incorrect behaviour
    In the console window of the browser there are messages like:

    GEThttp://192.168.50.10/install/img/x.gif [HTTP/1.1 404 Not Found 270ms]

Such messages occur for all referenced files. After all the installer doesn't create any tables in the db and stops with an error:
Error creating wdata. Check configuration or file.

But the config.php in the GameEngine dir seems to be alright...

  1. the operating system & version
    Ubuntu 20

  2. PHP version on the server
    7.4.3

  3. MySQL / MariaDB version on the server
    mysql-server 8.0

So why are the relative paths not resolved? I tried creating symlinks, but I assume there is something to add in the apache or nginx (tried both) or php config?

Any hint appreciated !

French support - Feature

Hello, I've installed the server for my son and his school mates.

As they speak French and have just started learning English, is it possible to have the game in French?

Was this project to translate in french already started?

[Fixed] Wall and rally point

I think this project is dead, but anyway a fix to prevent build a wall and rally point anywhere. Also fix a bug where you have rally point (except spot 16) and you can't send troops

tr

Convert to RTL

Hello I have a problem when I translate the game to Arabic I don't know how to convert it to RTL so this is make a bad vision for the game

PHP 7.0 only ? or PHP 7.2 or 7.4 possible ?

I have 2 questions please.

  1. Does this script only run on PHP 7.0 or also on PHP 7.2 or even 7.4? Has anyone been able to test this extensively?
  2. I wanted to ask whether it is planned to develop this script further and to fix any bugs?
    I'm looking forward to info.
    Thanks very much

German Language

Hi,

are planned to add German Language to TravianZ?
I want to help, send me information how to do that and I'll translate it for you!

Best regards.

Troops sent to raid - vanish

  1. expected behaviour - after successful raid, generated report of plunder and troops return to village of origin

  2. incorrect behaviour - after the report for plunder is generated, and once expired time for troops to return, thees are never accounted back in the village (not sure for the resources)

  3. the operating system & version

  4. PHP version on the server
    PHP version: 7.3.6

  5. MySQL / MariaDB version on the server
    Database server

    Server: Localhost via UNIX socket
    Server type: Percona Server
    Server connection: SSL is not being used Documentation
    Server version: 5.7.23-23 - Percona Server (GPL), Release 23, Revision 500fcf5
    Protocol version: 10
    User: xxxxxx@xxxxxx
    Server charset: UTF-8 Unicode (utf8)

Web server

cpsrvd 11.86.0.27
Database client version: libmysql - 5.6.43
PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
PHP version: 7.3.6

bug

1 Hi I found a few bugs
does not show ip address when i try to find it by player ip addresses through multihunter

2 although the player has protection, allows everyone to attack
Server running on: v.8.3.5

Troops and Nations

Hello,
Digging through the code, I found "traces" of the "Monsters" nation.
Since I use this code locally with friends, I decided to add this nation.
I modified the database by adding the columns in the units table, I created the trainings, the reinforcements, the troops in unidata, the templates that are going well, and change an impressive number of "$ i = 1 ; $ i <= 50; $ i ++ "in" $ i = 1; $ i <= 60; $ i ++ "

Everything works perfectly, until I launch troops.
Indeed, the troops do not decrement the village, and when they return, they are added to those of the village.
I have 10 u51 on the village, I send them (reinforcement, attack, raid, whatever, the result is the same), the movement is ok, on the other hand, I have 10 troops in the village + 10 troops in movement, on their return I find myself with 20 u51.
I searched a lot but there I dry, if someone has an idea or a lead, I am interested.
Best Regards.

Unable to conquer WW Village

  1. Expected: Send Chieftains / Catapults to WW Village => at least destroy buildings & Decrease Loyalty.
  2. Incorrect: Send Chieftains / Catapults to WW Village: Only get resources and does not destroy nor decrease loyalty. (Sent 3 chieftains in 1 wave).
  3. Unix based MacOS 10.15.4
  4. PHP Ver: 7.4.2
  5. MySQL Server Ver: 5.7.26

Maximum warehouse capacity

Hello!
My users are currently experiencing a problem!
We are on a speed x10000000
The problem being that we may increase the level of the warehouse, the maximum figure remains the same .. ie: 2,147,483,647

Thank you for your reply !

Cordially!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.