Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

TravianZ Official (yi12345) - bugs list

Junior Spellweaver
Joined
Feb 25, 2012
Messages
172
Reaction score
21
Can the medals (7 days) be fixed ?
Because i have it on 7 days, nut it will not give them automaticly ?

Can it be fixed, because i need it.
 
  • Like
Reactions: F6Q

F6Q

Newbie Spellweaver
Joined
Feb 3, 2014
Messages
63
Reaction score
5
why no body answer :(

new bug in gold club when u add any village or player in gold club with out troop !
you can attack so many fake attack to another player !!!
 
Newbie Spellweaver
Joined
Jul 11, 2012
Messages
19
Reaction score
1
another issue is failed re enforcements, button disappears whether troops added from dbase or trained
 
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
@ColdSubzero : i think it work but first time it takes some times like 10 days. I don`t know yet. Will test , and I know about that problem.
westcut : if you don`t put an screen (image) we don`t know what you say.
F6Q : don`t send me private message i don`t read it , please post in here all problems. About that bug put screen to see what you say.\
MisterPr0 : thanks for support :D
ronix : also I receive that error randomly ...

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't be destroyed.,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,',1391785267,0)' at line 1

Appers when i send 5000 catapults to destroy an user capital. Capital is on 0 but user remain and attack remain on rally point on 0:00:00 time
 
Last edited:
Junior Spellweaver
Joined
Feb 25, 2012
Messages
172
Reaction score
21
ColdSubzero : i think it work but first time it takes some times like 10 days. I don`t know yet. Will test , and I know about that problem.

Hi Cata7007,

Well, after two weeks the medal works.
So I think after the first two weeks everything will work, i just have to wait for another week and then see if it will do automatically.

Sorry, for my concern about that, but the problem is solved, only wait for the first time two weeks if you set the melds on 7 days.

Best Regards
Cold-Subzero
 

F6Q

Newbie Spellweaver
Joined
Feb 3, 2014
Messages
63
Reaction score
5
thank's Cata7007

Cata7007 why the task's when end not Invisible ?

when task's end writed --->
”Not loaded!”

this img
NarcisRO - TravianZ Official (yi12345) - bugs list - RaGEZONE Forums

NarcisRO - TravianZ Official (yi12345) - bugs list - RaGEZONE Forums

and why the task 30 number ?

i see in real travian 25 taks can u delet number 26-27-28-29-30 ?

thansk
 
Newbie Spellweaver
Joined
Jul 11, 2012
Messages
19
Reaction score
1
that happens after pressing sendback,
 
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360

[USER=833088]ronix
: also I receive that error randomly ...

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't be destroyed.,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,',1391785267,0)' at line 1

Appers when i send 5000 catapults to destroy an user capital. Capital is on 0 but user remain and attack remain on rally point on 0:00:00 time

try change this..
from:
PHP:
$info_cat = "".$catp_pic.", Village can't be destroyed.";
to:
PHP:
$info_cat = "".$catp_pic.", Village can\'t be destroyed.";
another fix i will post soon.
 
Junior Spellweaver
Joined
Jul 4, 2012
Messages
134
Reaction score
5
@ronix

Fix it?

Fatal error: Out of memory (allocated 1048576) (tried to allocate 40 bytes) in /home/tiwars/domains/tarwin.com/public_html/gu2/GameEngine/Data/resdata.php on line 77
 

F6Q

Newbie Spellweaver
Joined
Feb 3, 2014
Messages
63
Reaction score
5
hi ronix thank you for fix cata
---------
1 problem in there ! why no troop of my own village not die !
REMOVED
NarcisRO - TravianZ Official (yi12345) - bugs list - RaGEZONE Forums

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

and another problem is this xD why not send info ?
// When all troops die, sends no info...send info
$info_troop= "None of your soldiers have returned";
$data_fail = ''.$from['owner'].','.$from['wref'].','.$owntribe.','.$unitssend_att.','.$unitsdead_att.','.$steal[0].','.$steal[1].','.$steal[2].','.$steal[3].','.$battlepart['bounty'].','.$to['owner'].','.$to['wref'].','.addslashes($to['name']).','.$targettribe.',,,'.$rom.','.$unitssend_deff[1].','.$unitsdead_deff[1].','.$ger.','.$unitssend_deff[2].','.$unitsdead_deff[2].','.$gal.','.$unitssend_deff[3].','.$unitsdead_deff[3].','.$nat.','.$unitssend_deff[4].','.$unitsdead_deff[4].','.$natar.','.$unitssend_deff[5].','.$unitsdead_deff[5].',,,'.$data['t11'].','.$dead11.','.$unitstraped_att.',,'.$info_ram.','.$info_cat.','.$info_chief.','.$info_troop.','.$info_hero;
 
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
ronix

Fix it?

Fatal error: Out of memory (allocated 1048576) (tried to allocate 40 bytes) in /home/tiwars/domains/tarwin.com/public_html/gu2/GameEngine/Data/resdata.php on line 77
get more memory
 
  • Like
Reactions: F6Q
Newbie Spellweaver
Joined
Oct 23, 2013
Messages
13
Reaction score
2
by the way @ronix when you can see the batle problem, see to the scouts, to spy another village the attacker must send at least 90% a quantity of spys that village have in the moment,
in this moment one vilage with 300spys can succefully scouted with 30!?!?
and also take a look on nature attacks (oasis) if the attack is raid and troops of the attacker is 75% more powerfull than the defender troops all should die, not survive 1 of a kind :D

keep the good joob, im desperate for a fix to first problem (hero attacks) ;)
cheers []
 
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
by the way @ronix when you can see the batle problem, see to the scouts, to spy another village the attacker must send at least 90% a quantity of spys that village have in the moment,
in this moment one vilage with 300spys can succefully scouted with 30!?!?
and also take a look on nature attacks (oasis) if the attack is raid and troops of the attacker is 75% more powerfull than the defender troops all should die, not survive 1 of a kind :D

keep the good joob, im desperate for a fix to first problem (hero attacks) ;)
cheers []

========================
fix scout calculation
file \GameEngine\Battle.php
===========================
find line code:
PHP:
        if(!empty($DefendersAll)){
    
        // Calculates the total points of the Defender
        if(!empty($DefendersAll)){
            foreach($DefendersAll as $defenders) {
                
                for ($i=1;$i<=50;$i++) {$def_ab[$i]=0;}
                $fromvillage = $defenders['from'];
                $enforcetribe = $database->getUserField($database->getVillageField($fromvillage,"owner"),"tribe",0);
                $ud=($enforcetribe-1)*10;                
                if($defenders['from']>1) { //don't check nature tribe
                    $armory = $database->getABTech($defenders['from']); // Armory level every village enforcement
                    $def_ab[$ud+1] = $armory['a1'];
                    $def_ab[$ud+2] = $armory['a2'];
                    $def_ab[$ud+3] = $armory['a3'];
                    $def_ab[$ud+4] = $armory['a4'];
                    $def_ab[$ud+5] = $armory['a5'];
                    $def_ab[$ud+6] = $armory['a6'];
                    $def_ab[$ud+7] = $armory['a7'];
                    $def_ab[$ud+8] = $armory['a8'];
                }
                
                if ($type==1) {
                    $datadefScout=$this->getDataDefScout($defenders,$def_ab,$defender_artefact);
                    $dp+=$datadefScout['dp'];
                    $cdp+=$datadefScout['cdp'];
                    $involve=$datadef['involve'];
                    if ($datadefScout['detect']==1) $detected = 1;
                }else{
                    $datadef=$this->getDataDef($defenders,$def_ab);
                    $dp+=$datadef['dp'];
                    $cdp+=$datade['cdp'];
                    $involve=$datadef['involve'];
                    
                }            
                
                $reinfowner = $database->getVillageField($fromvillage,"owner");
                $defhero = $this->getBattleHero($reinfowner);
				//calculate def hero from enforcement
				if($defenders['hero'] != 0){
					$cdp += $defhero['dc'];
					$dp += $defhero['di'];
					$dp = $dp * $defhero['db'];
					$cdp = $cdp * $defhero['db'];
				}  
            }
        }
	}
                
        
        // Calculate the total number of points Attacker
change to:
PHP:
			if(!empty($DefendersAll) && $DefenderWref>0){
				foreach($DefendersAll as $defenders) {
					for ($i=1;$i<=50;$i++) {$def_ab[$i]=0;}
					$fromvillage = $defenders['from'];
					$enforcetribe = $database->getUserField($database->getVillageField($fromvillage,"owner"),"tribe",0);
					$ud=($enforcetribe-1)*10;				
					if($defenders['from']>0) { //don't check nature tribe
						$armory = $database->getABTech($defenders['from']); // Armory level every village enforcement
						$def_ab[$ud+1] = $armory['a1'];
						$def_ab[$ud+2] = $armory['a2'];
						$def_ab[$ud+3] = $armory['a3'];
						$def_ab[$ud+4] = $armory['a4'];
						$def_ab[$ud+5] = $armory['a5'];
						$def_ab[$ud+6] = $armory['a6'];
						$def_ab[$ud+7] = $armory['a7'];
						$def_ab[$ud+8] = $armory['a8'];
					}
					if ($type==1) {
						$datadefScout=$this->getDataDefScout($defenders,$def_ab,$defender_artefact);
						$dp+=$datadefScout['dp'];
						$cdp+=$datadefScout['cdp'];
						$involve=$datadefScout['involve'];
						if ($datadefScout['detect']==1) $detected = 1;
					}else{
						$datadef=$this->getDataDef($defenders,$def_ab);
						$dp+=$datadef['dp'];
						$cdp+=$datadef['cdp'];
						$involve=$datadef['involve'];
					}			
					$reinfowner = $database->getVillageField($fromvillage,"owner");
					$defhero = $this->getBattleHero($reinfowner);
					//calculate def hero from enforcement
					if($defenders['hero'] != 0){
						$cdp += $defhero['dc'];
						$dp += $defhero['di'];
						$dp = $dp * $defhero['db'];
						$cdp = $cdp * $defhero['db'];
					}	
				}
			}
			// Calculate the total number of points Attacker

find this line code:
PHP:
            if($type == 1) {//scout
                    for($i=$start;$i<=$end;$i++) {
                        global ${'u'.$i};
                        $j = $i-$start+1;
                        if($Attacker['u'.$i]>0 && ($i == 4 || $i == 14 || $i == 23 || $i == 44)){
                            if(${att_ab.$abcount} > 0) { 
                                    $ap += (35 + (35 + 300 * ${'u'.$i}['pop'] / 7) * (pow(1.004, ${att_ab.$abcount}) - 1)) * $Attacker['u'.$i];// ^ ($Attacker['u'.$i]/100);
                            }else{
                                $ap += $Attacker['u'.$i]*25;
                            }
                        }
change to:
PHP:
			if($type == 1) {//scout
					for($i=$start;$i<=$end;$i++) {
						global ${'u'.$i};
						$j = $i-$start+1;
						if($Attacker['u'.$i]>0 && ($i == 4 || $i == 14 || $i == 23 || $i == 44)){
							if(${'att_ab'.$abcount} > 0) { 
									$ap += (35 + (35 + 300 * ${'u'.$i}['pop'] / 7) * (pow(1.00697, ${'att_ab'.$abcount}) - 1)) * $Attacker['u'.$i];
							}else{
								$ap += $Attacker['u'.$i]*35;
							}
						}
find line code:
PHP:
                if($type == 1)
                {
                        
                        $holder = pow((($rdp*$moralbonus)/$rap),$Mfactor);
                        $holder = $holder / (1 + $holder);
                        // Attacker
                        $result[1] = $holder;

                        // Defender
                        $result[2] = 0;
                }
change to:
PHP:
			if($type == 1){

				$holder = pow(($rdp/$rap),1.5);
				if($holder>1) $holder=1;
				
				// Attacker
				$result[1] = $holder;
				if ($att_tribe==5) $result[1] = 0; //Birds of Prey cannot die when scout

				// Defender
				$result[2] = 0;
 

F6Q

Newbie Spellweaver
Joined
Feb 3, 2014
Messages
63
Reaction score
5
Hi RoniX & Cata7007,
how can edit info in Battle ? when i attack Treasury to stealing scrolls. do not show me info
how can edit info ?

REMOVED
but in my Treasury is Scrolls
shadow & ronix thank's a lot

Regards :
F6Q
 
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
@F6Q : What info ? On bounty or where ?

NarcisRO - TravianZ Official (yi12345) - bugs list - RaGEZONE Forums


ronix : in Admin panel on section Search IGMs/Reports , on IGMs section when i try to view something says Under Construction. Any chance to print that information in here ?
 
Last edited:
  • Like
Reactions: F6Q

F6Q

Newbie Spellweaver
Joined
Feb 3, 2014
Messages
63
Reaction score
5
@cata7007

where info write cranny destroyed.

there ! when we attack Treasury to stealing scrolls. most be write the scroll has been stealing !! do not show info on up the bounty

and in your attack must be write the scroll King arthurs Chalice has been stealing
NarcisRO - TravianZ Official (yi12345) - bugs list - RaGEZONE Forums

NarcisRO - TravianZ Official (yi12345) - bugs list - RaGEZONE Forums
 
Last edited:
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
F6Q : What info ? On bounty or where ?

NarcisRO - TravianZ Official (yi12345) - bugs list - RaGEZONE Forums


ronix : in Admin panel on section Search IGMs/Reports , on IGMs section when i try to view something says Under Construction. Any chance to print that information in here ?
F6Q -the info capture artefact is exacly like img above, you cannot compare the info like travian t4. if building has destroyed by cata, you can check in file Automation.php in section cata like this:
PHP:
$info_cat = "".$catp_pic.", ".$this->procResType($tbgid,$can_destroy,$isoasis)." destroyed.";
cata7007 - what should be displayed in section Search IGMs/Reports?
 
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
@ronix : any report have a numer , example :

When we type in here number 263 to print report , battle report , spying report , resource report , etc.

We have a small problems. When an user want to found a new village for found new village server request 750 resource right ? Ok that restriction not work you can found new village even you don`t have resource and also if you have resource the resource will not be deducted from your resource.

Second problem is link registration :

Progress of your invited friends

As soon as a player you invited has found his 2 village, you will be credited with 50 gold.

Players brought in
UID Member since Inhabitants Villages Gold
You have not brought in any new players yet.

I invite 2 players , and also have found second village like it said , that not work ... server don`t print in here nothing and also don`t give 50 gold.

So , entire link registration is bugged...

I checked database in table users appers row : invited but is empty
 
Last edited:
  • Like
Reactions: F6Q
Back
Top