iopietro / Travianz-Legacy

Join our Discord Server: https://discordapp.com/invite/9fbJKP9 | New repo: https://github.com/iopietro/Travianz
GNU General Public License v3.0
160 stars 96 forks source link

Tasks for TravianZ Version 8.3.5 #544

Open Shadowss opened 6 years ago

Shadowss commented 6 years ago

Hello guys,

That tasks remain to fix from version after release 8.3.4

System / Automatic Enforced Game Rules

The following things are automatically enforced by the system. Therefore it is no longer possible that you get banned for sending too many resources or friendly conquering / attacking another village: the system will simply not allow you to do this. Automatic Pushing Protection

To get rid of the complete pushing (= excessive resource transfers) section in the rules we developed the below described automatic pushing protection system.

The limitations to the amount of resources a player may send to another one are now hard coded. Therefore it is no longer possible that you get banned for sending too many resources: the system will simply not allow you to do this.

The limitations are complicated and connected to the relationship between the accounts in question.

The different connection types are:

Type 1 Players were not sitters and have not used the same computer or the same network (IP) recently.
Type 2 Players have been sitters recently or have used the same network (IP).
Type 3 Players are currently sitters or used the same PC recently.

Additionally 6 transfer categories exist:

Resource transfers to a bigger player
Resource transfers to a smaller player
Resource transfers to a bigger player to feed own reinforcements
Resource transfers to a smaller player to feed own reinforcements
Raiding a bigger player
Raiding a smaller player

Hourly production

All limitations are based in the hourly production. The resources produced in an hour are calculated by summing up the production of lumber, clay, iron and crop (all crop produced minus the inhabitants of your account) for the complete account. Furthermore one hour of the last week's average net raiding (raiding income - resources lost by being raided) is added to give the hourly production for the account.

Possible combinations of resources:

If the resource transfers are limited to crop (e.g. feeding of reinforcements or supplying artefact villages) resource transfers which include other resources than crop may not be possible. Therefore you have to take care about the combination of resources you try to send away.

Sending resources in advance:

In some cases it is allowed to send resources for some days in advance. For example if you are allowed to send 7 days in advance, you could send the sum of the hourly production from Monday till Sunday all at once.

Rules for connection type 1

can send 2 production hours to bigger player (7 days in advance) but nothing if your account is smaller than 50 population
can send 3 production hours to smaller player (7 days in advance) but nothing if your account is smaller than 50 population
can send 150% crop consumed by your troops reinforcing the other player (100% for 24h in advance)
can send 300% crop consumed by your troops reinforcing the other player (100% for 24h in advance)
can raid bigger player unlimited (when in the same alliance §2 in this section applies)
can raid smaller player unlimited (when in the same alliance §1 in this section applies)

Rules for connection type 2

can send 1 production hours to bigger player (3 days in advance) but nothing if your account is smaller than 50 population
can send 2 production hours to smaller player (3 days in advance) but nothing if your account is smaller than 50 population
can send 125% crop consumed by your troops reinforcing the other player (100% for 12h in advance)
can send 150% crop consumed by your troops reinforcing the other player (100% for 12h in advance)
can raid bigger player unlimited (when in the same alliance §2 in this section applies)
raiding a smaller player is limited by §1 in this section

Rules for connection type 3

cannot send anything to bigger player, bigger player needs to send first
can send 2 hours production to smaller player (1 days in advance) but nothing if your account is smaller than 50 population
can send 100% crop consumed by your troops reinforcing the other player (100% for 6h in advance if the transfers are only crop)
can send 100% crop consumed by your troops reinforcing the other player (100% for 12h in advance if the transfers are only crop)
can raid bigger limited by §2 in this section
can raid smaller limited by §1 in this section
cannot raid villages that have been sent resources in the last 6h by a player you have connection type 3 with

Exceptions

Wonder of the World villages can be supplied unlimited.
Wonder of the World villages can be attacked and reinforced unlimited.
Artefact villages can be supplied with CROP unlimited.
Marketplace trades: If the trade balance (without raid and supply) is within 20% a trade is always possible.

Automatic Conquering Protection

The conquering limitations are also hard coded.

These limitations are not that complicated but also connected to the relationship between the accounts in question.

The different connection types are:

Type 1 Players were not sitters and have not used the same computer or the same network (IP) recently.
Type 2 Players have been sitters recently or have used the same network (IP).
Type 3 Players are currently sitters or used the same PC recently.

Rules for connection type 1

can conquer village when both players have not been in the same or an allied alliance within the last 2 days AND both players are not currently in alliances that have NAP with each others

Rules for connection type 2

can conquer village when there has been NO active sitter connection within the last 14 days AND both players have not been in the same or an allied alliance within the last 2 days AND both players are not currently in alliances that have NAP with each others

Rules for connection type 3

can NOT conquer village of each other

Exceptions

Wonder of the World villages can always be conquered as long as they are not the last village of the defender.
Artefact villages can always be conquered as long as they are not the last village or the capital of the defender.
velhbxtyrj commented 6 years ago

Perhaps with the activation of artifacts there are problems. I captured the artifact and it became immediately active. Although it should pass a minimum of 30 minutes before activation.

iopietro commented 6 years ago

The population grow up and down, but it seems that the max population of that village is 785, lol.

iopietro commented 6 years ago

@velhbxtyrj Yes, it's a little incongruency, if you send catas and conquer an artifact, the village will be destroyed and it will be printed twice instead of once.

iopietro commented 6 years ago

@velhbxtyrj Because I speeded up the server to a x10000 for a few minutes, lol.

velhbxtyrj commented 6 years ago

Hmm .. And I just got into these few minutes))

velhbxtyrj commented 6 years ago

@iopietro You can go to my account and look at the village number 4. I added it through the admin panel.

Especially pay attention to building cells.

iopietro commented 6 years ago

@velhbxtyrj Yep, lol, unlucky. Probably someone edited that village in the admin panel, but wrongly.

velhbxtyrj commented 6 years ago

@iopietro I created it as usual. But something went wrong. Inside the village, I built buildings from scratch. They immediately became level 20, the cells themselves for construction are unclear how they were created. In half the cells, resources are not required for construction and when building a building it immediately becomes level 20. This is clearly visible in the mill.

iopietro commented 6 years ago

Did you create (from the admin panel) it in an occupied cell?

velhbxtyrj commented 6 years ago

It was a free cell (Abandoned valley)

velhbxtyrj commented 6 years ago

Maybe I misunderstood the question. I added a new village through the admin area in the free cell (Abandoned valley).

The fifth village is also added. But with her everything is fine.

iopietro commented 6 years ago

Ok, so I don't know what's the problem, can you change your account password so I can verify it from your account?

velhbxtyrj commented 6 years ago

I wrote the password in the game message

velhbxtyrj commented 6 years ago

After I replaced the capital in the Palace should be written: define("CAPITAL","This is your capital"); This inscription is not displayed, instead of it the opportunity to change the capital again is displayed.

https://github.com/Shadowss/TravianZ/blob/0ad0100b3fb0140161b46fa9e1d394cb34eafccc/Templates/Build/26.tpl#L65

iopietro commented 6 years ago

Fixed the last one in f264cb6b8d63276aa7bed60a3a5b34f8f3965808.

Shadowss commented 6 years ago

Fixed

velhbxtyrj commented 6 years ago

This is in my browsers Google Chrome, Mozilla Firefox, Internet Explorer, Microsoft Edge: Try clearing your browser's cache.

default

default

iopietro commented 6 years ago

@Shadowss Yep, I fixed that 2/3 commits ago, but I forgot to change the version of CSS files (to have the new CSS files, you can press CTRL + R or as @velhbxtyrj said clear the cache).

Shadowss commented 6 years ago

Ahh yes , just refresh and works fine.

@iopietro @velhbxtyrj : I remember in T3.6 version are only 4 types of medals

  1. Attacker of the week = t2_1
  2. Defender of the week = t3_1
  3. Robbers of the week = t4_1
  4. Climbers of the week (population grow) = t1_1

There are one type of medals that appear ... and one not appear

I refer to this : t6_1

velhbxtyrj commented 6 years ago

@Shadowss It seems nothing is missing from the files New display of oases.zip

Shadowss commented 6 years ago

Great , i`ll update the git. Looks awesome

velhbxtyrj commented 6 years ago

In the section "Server Maintenance", when this option is enabled, maybe it makes sense to turn off hunger?

Shadowss commented 6 years ago

@velhbxtyrj : yeah it`s a great idea. On real Travian hunger is deactivated under maintenance.

velhbxtyrj commented 6 years ago

As for the medals, I do not remember.

Shadowss commented 6 years ago

Bounty anomany

anomaly

eliopinho commented 6 years ago

@iopietro npc calculator trade not working as expected..

For example i do an npc to train some type of troops , after i train the troops sometimes big amounts of resources left to do other npc and train again..

Should use "all" avaliable resouces to use only one time npc trade, (if was enougth space on warehouses etc)

But this only happen sometimes

Shadowss commented 6 years ago

Same is in real travian , as I remember. Can you make a movie ?

eliopinho commented 6 years ago

Ok then ;-)

Shadowss commented 6 years ago

For example I have the warehouse 240.000 and the granary 960.000 , i make an NPC and i can train maximul for example : 2000 caesaris. After this NPC i remain with 1,6 mil resource and with 0 iron in warehouse. I must do another NPC for another 2000 caesaris.

@iopietro : I tray again with another WW Village ( I completly destroy first village ) , i conquer another WW , I didn`t change anything from Admin panel , and start to build World of Wander , no population changed. Population has changed only if i build resource or other buildings. World of Wander is excluded. WTF ?

eliopinho commented 6 years ago

Yes i know that, but if you have for example 10000 resources each and a warehouse of 80000

Makes sense spend all of the resources in once npc trade (not left for example 0 iron and 5000 each)

All the numbers are example only..

Shadowss commented 6 years ago

Does anyone full change log of T3.6 ?

iopietro commented 6 years ago

@Shadowss, I don't have it.

@eliopinho, NPC trading works like in the original Travian, what's the bug/problem with it?

eliopinho commented 6 years ago

@iopietro if works like real travian no problem then.. i comment thinking the distrubution was not correct sometimes.. but i do not remember if in real one is the same, (i never have gold in official servers) :)

iopietro commented 6 years ago

@Shadowss You're right, I unfortunately don't remember very well the "Climber of the week" medal (I can remember well the other three).

Shadowss commented 6 years ago

Also there are in intro screenshot. Must to be removed and leave only four if this. Last medal that i post must to be removed. Clibers of the week exists in t3.6 but four image not five. If you understat what i mean

velhbxtyrj commented 6 years ago

@Shadowss Most likely this is real information. Unless of course you meant it :)

Dear players!

We present to your attention the version of Travian 3.6, the changes in which are aimed mainly at supporting players who play alone.

General changes:

Paid options of the Golden Club:

Free opportunities of the Golden Club:

This version has not yet been introduced on any server, but already on November 23, 2009 will be available on the ninth server.

Best regards, The Travian team

Shadowss commented 6 years ago

And why is not mention about introduction of artifact? T3.5 don't have artifacts.

Also about Arhitect is not metion

velhbxtyrj commented 6 years ago

It seems the artifacts were from version T3.5:

https://github.com/Shadowss/TravianZ/issues/518#issuecomment-384439242

Artifacts in the middle of the game: in 150-180 days in the ordinary north and in 50-60 days on the high-speed.

@Shadowss See the inscription of this image. You added this image :) https://user-images.githubusercontent.com/1140613/38555875-7045af6c-3cd0-11e8-84eb-fd76648e61c3.png

iopietro commented 6 years ago

Yes, T3.5 had artifacts.

Shadowss commented 6 years ago

Hmm i play in 2009 i thing T3.5 and there are no artifacts

velhbxtyrj commented 6 years ago

@Shadowss For an architect, do you mean it?

  • Architect: Allows you to queue up to three buildings despite the lack of resources (Cost: 1 unit of gold per building)
iopietro commented 6 years ago

The "Master builder" I think.

Shadowss commented 6 years ago

Good morning guys,

I refer to the Stonemason's Lodge.

Post from 06.04.2008 => sat interior 06 04 08

Post from 13.04.2009 (still no treasury and artifact but have Stonemason's Lodge) => capitala

About medals should be remove that part :

        //Rank climbers of the week
        $result = mysqli_query($database->dblink,"SELECT id, clp FROM ".TB_PREFIX."users WHERE id > 5 AND access < 8 ORDER BY clp DESC Limit 10");
        $i=0;
        while($row = mysqli_fetch_array($result)){
            $i++;
            $img="t6_".($i)."";
            $quer="insert into ".TB_PREFIX."medal(userid, categorie, plaats, week, points, img) values(".(int) $row['id'].", '10', ".($i).", '".(int) $week."', '".$row['clp']."', '".$img."')";
            $resul=mysqli_query($database->dblink,$quer);
        }

We have this part and is more likley real Travian and this is the medal for climbers (population grow) :

        //Climbers of the week
        $result = mysqli_query($database->dblink,"SELECT id, Rc FROM ".TB_PREFIX."users WHERE id > 5 AND access < 8 ORDER BY Rc DESC, id DESC Limit 10");
        $i=0;
        while($row = mysqli_fetch_array($result)){
            $i++;
            $img="t1_".($i)."";
            $quer="insert into ".TB_PREFIX."medal(userid, categorie, plaats, week, points, img) values(".(int) $row['id'].", '3', ".($i).", '".(int) $week."', '".$row['Rc']."', '".$img."')";
            $resul=mysqli_query($database->dblink,$quer);
        }
velhbxtyrj commented 6 years ago

Look at the icons. It's still a T3 travian. Travian T3.6 already updated icons. They have been updated from version T3.5.

May 30, 2009 (The beginning of version T3.5) New buttons / pictures New HTML structure (Old graphics packages do not work)

Shadowss commented 6 years ago

So i play Travian T3? :))

About the medals we can leave it if it`s already coded.

PS : looks awesome T3.6 vs T3 :)

@iopietro : please don`t forget to code oasis part in crop_finder.php

Also artifact of the unique fool remain on Treasury but cannot be recapture

artifact

velhbxtyrj commented 6 years ago

T3 has several stages of development. Each of which has many of its stages of development. June 30, 2006 (Start of Travian T3) March 18, 2007 (Official presentation of "classic" servers) May 30, 2009 (The beginning of version T3.5) June 15, 2009 (The beginning of the version of T3.51)

All this is arranged according to the dates in my message: https://github.com/Shadowss/TravianZ/issues/518#issuecomment-384439242

Shadowss commented 6 years ago

Thanks

velhbxtyrj commented 6 years ago

@iopietro @Shadowss One more moment connected with natars:

The removal of the lock from artifacts, villages of Natar, building scrolls in the 3 version of the game occurs the day after their appearance in the game. In the 4th version of the game, artifacts and building scrolls appear unlocked.

And on the official servers were unblocked at 14:00 on server time.

Shadowss commented 6 years ago

@iopietro : In Admin Panel can be implemented a section like this ?

admin panel

velhbxtyrj commented 6 years ago

I found some information from the archive. Here are the links:

http://archive.forum.travian.com/showthread.php?t=107504

http://archive.forum.travian.com/showthread.php?t=107670

http://archive.forum.travian.com/showthread.php?t=116993

http://archive.forum.travian.com/showthread.php?t=128837

http://archive.forum.travian.com/showthread.php?t=116600

If it's very interesting, then you can read this thread of the forum:

http://archive.forum.travian.com/forumdisplay.php?f=288&page=25