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

Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
12. Time zone from preference.tpl and also all options must to coded and also must coded in profile.tpl sitters options

Bug no. 12 must set from installation process not from preference.tpl.
my install has included it.
 
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
Ok , can you please look on function medals in Automation.php
 
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
Ok , can you please look on function medals in Automation.php
can you show the error page because i not find any error.

Bonus for artefact Great Masterstorage, greatgranary/greatwarehouse can build in capital or all village and required only mainbuilding level >=10 not already granary level 20 or warehouse level 20. my script has fixed.
 
Newbie Spellweaver
Joined
Jul 31, 2013
Messages
48
Reaction score
1
server speed 1000x

bug:1 people get alot of troops millions of troops 1 player kill all server

bug:2 this is the screenshot

3.PNG - TravianZ Official (yi12345) - bugs list - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Joined
Jun 20, 2011
Messages
582
Reaction score
182
WTF are you talking about guys? I don't uderstand what are you saying about bug 12. :|

Am I idiot??? :| :|

Is it fixed on yi12345's version, or not? Is the fix released here and updated on yi12345's version? I want to be fixed too! :)))))))

I AM A BIG BUG... :eek:tt1:
 
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
Naa , you can remove it from list. Not fixed but no need to be fixed.

About medals just dont updated after fixed time. Do nothing. Will test again.

@model : update server to last version.

@ronix : maybe you can fix bug 1 and forum survey, on forum survey appers the option for survey but after posting nothing appers.

And when you create natars apeers only spying report , great job but no appers incoming troops i mean red sword on dorf1 and nothing appers as incoming troops on rally point maybe you can fix this.
 
Last edited:
Skilled Illusionist
Joined
Sep 5, 2011
Messages
360
Reaction score
14
cata7007 ronix NarcisRO


Friends can see this:

BUG: When we want to make a building with no resources, just build a cramy after entering cramy copy the link with the right mouse button to level 2, then pasted the link into the address bar change the number we want to build and automatically resources without this active construction and we can always evolve without resources.

Can see this situation

Thanks

These prints are from your server cata7007

View attachment 139680View attachment 139681View attachment 139682View attachment 139683
 
Last edited:
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
@ronix : maybe you can fix bug 1 and forum survey, on forum survey appers the option for survey but after posting nothing appers.

And when you create natars apeers only spying report , great job but no appers incoming troops i mean red sword on dorf1 and nothing appers as incoming troops on rally point maybe you can fix this.

fix forum: i see later
spying natar report: yes right went spying no need appear incoming spy.. like real travian

WTF are you talking about guys? I don't uderstand what are you saying about bug 12. :|

Am I idiot??? :| :|

Is it fixed on yi12345's version, or not? Is the fix released here and updated on yi12345's version? I want to be fixed too! :)))))))

I AM A BIG BUG... :eek:tt1:

bug 12: are you mean Time zone? i fixed in install process.. you can choose what zone location

cata7007 ronix NarcisRO


Friends can see this:

BUG: When we want to make a building with no resources, just build a cramy after entering cramy copy the link with the right mouse button to level 2, then pasted the link into the address bar change the number we want to build and automatically resources without this active construction and we can always evolve without resources.

Can see this situation

Thanks

emmm... may be can fix if recheck the resource before continue the process.. i'am on the way
 
Last edited:
Skilled Illusionist
Joined
Sep 5, 2011
Messages
360
Reaction score
14
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /opt/lampp/htdocs/GameEngine/Database/db_MYSQL.php on line 903
 
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
Use a paid host. On my server don`t appers nothing , or stop error on your server
 
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
cata7007 ronix NarcisRO


Friends can see this:

BUG: When we want to make a building with no resources, just build a cramy after entering cramy copy the link with the right mouse button to level 2, then pasted the link into the address bar change the number we want to build and automatically resources without this active construction and we can always evolve without resources.

Can see this situation

Thanks
bug fix:
in file \GameEngine\Building.php
find this code in function procBuild and edit
PHP:
public function procBuild($get) {
		global $session, $village;
from:
PHP:
	$session->changeChecker();
	$this->upgradeBuilding($get['a']);
to :
PHP:
	$session->changeChecker();
	$this->canProcess($village->resarray['f'.$get['a'].'t'],$get['a']);
	$this->upgradeBuilding($get['a']);
from:
PHP:
	$session->changeChecker();
	$this->constructBuilding($get['id'],$get['a']);
to :
PHP:
	$session->changeChecker();
        $this->canProcess($get['a'],$get['id']);
	$this->constructBuilding($get['id'],$get['a']);


add this function:
PHP:
	public function canProcess($id,$tid) {
           //add fix by ronix
                global $session;
		if($session->access==BANNED){
			header("Location: banned.php");
                        exit;
		} else {
			if ($this->checkResource($id,$tid)!=4) {
				if($tid >= 19) {
					header("Location: dorf2.php");
                     		}
				else {
					header("Location: dorf1.php");
                     		 }
                                exit;
			 }
		}
	}
find function checkResource and edit
PHP:
//if($village->awood-$wood > 0 && $village->aclay-$clay > 0 && $village->airon-$iron > 0 && $village->acrop>-$crop > 0){

if($village->awood>=$wood && $village->aclay>=$clay && $village->airon>=$iron && $village->acrop>=$crop){
 
Last edited:
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
This is the travian reports :

And this is the troops remain after attack :

Troops:
Spearman 25666 Spearman
Axeman 247 Axeman
Paladin 3873 Paladin
Teutonic Knight 247 Teutonic Knight

Attack was RAID! , because catapult doesnt fire

LOOK AT THE DEFENDER NOT AT ATTACKER !!!


Another bug :

Peace system bug

Here is a video with bug :

dorf3.php in Templates/dorf3/3.tpl problem

In that file we have a problem , that page continuous refresh ...

You can view all in that video

And hambar and granary dont cout corectly because all granary and hambar are 100 % but problem is with refreshing

And please post how to set time from install step
 
Last edited:
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /opt/lampp/htdocs/GameEngine/Database/db_MYSQL.php on line 903

this is call from function getUpkeep in file Automation and value if($vid==0) { $vid=$village->wid; } is nothing to get value from $who=$database->getVillageField($vid,"owner");

to fix this is:
in file \GameEngine\Session.php
edit this: remark/disable include
//include ("Automation.php");

and in file \GameEngine\Village.php
edit this: remark/disable include
//include ("Automation.php");

and add to last line:
$village = new Village;
$building = new Building;
include_once ("Automation.php");

post here if is solve your problem.
 
Last edited:
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
This is the travian reports :

And this is the troops remain after attack :

Troops:
Spearman 25666 Spearman
Axeman 247 Axeman
Paladin 3873 Paladin
Teutonic Knight 247 Teutonic Knight

are this combat simulator is correct?
combatsim - TravianZ Official (yi12345) - bugs list - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Last edited:
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
Yes combat is correct , after attack troops is correct , report is not correct.

After attack , troops remaining as defender is correct but report is erronated

I think is the same bug as first bug from list . This image : [IMG]https://forum.ragezone.com/ima...rl]http://www.youtube.com/watch?v=Au5U15gf-Pc
 
Last edited:
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
fix finishAll if click Plus ON or click instant finish
in file \GameEngine\Building.php
find function finishAll and change:
from:
PHP:
		if($finish == 1 || $finish==0){
			$database->finishDemolition($village->wid);
			$technology->finishTech();
			$logging->goldFinLog($village->wid);
			$database->modifyGold($session->uid,2,0);
                        $stillbuildingarray = $database->getJobs($village->wid);
to:
PHP:
		if($finish != 2){
			$demolition=$database->finishDemolition($village->wid);
			$tech=$technology->finishTech();
			if ($finish==1 || $demolition>0 || $tect>0) {
				$logging->goldFinLog($village->wid);
				$database->modifyGold($session->uid,2,0);
			}
                        $stillbuildingarray = $database->getJobs($village->wid);
in file \Templates\Plus\7.tpl delete all and change to:
PHP:
<?php
		if($session->access!=BANNED){
			$building->finishAll();
			header("Location: plus.php?id=3");
		}else{
			header("Location: banned.php");
		}
 ?>
in file \GameEngine\Database\db_MYSQL.php
find this function and change:
PHP:
function finishDemolition($wid) {
		$q = "UPDATE " . TB_PREFIX . "demolition SET timetofinish=" . time() . " WHERE vref=" . $wid;
		$result= mysql_query($q, $this->connection);
		return mysql_affected_rows();
	}
in file \GameEngine\Technology.php find and change this function:
PHP:
	public function finishTech() {
		global $database,$village;
		$q = "UPDATE ".TB_PREFIX."research SET timestamp=".(time()-1)." WHERE vref = ".$village->wid;
		$result = $database->query($q);
		return mysql_affected_rows();
	}
 
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
Great job but we have a little problem : on construction and demolition is ok , on research in Academy , Armoury and Blacksmith have a little problem the research is finish but no gold taken.

Here is a video :

Bug 17 is fixed , and posted on yi12345 git some times ago.
 
Last edited:
Skilled Illusionist
Joined
Jun 24, 2010
Messages
351
Reaction score
360
Great job but we have a little problem : on construction and demolition is ok , on research in Academy , Armoury and Blacksmith have a little problem the research is finish but no gold taken.

Here is a video :

Bug 17 is fixed , and posted on yi12345 git some times ago.

typing error.. sorry::hahaha:
change : if ($finish==1 || $demolition>0 || $tect>0) {
to : if ($finish==1 || $demolition>0 || $tech>0) {
 
Back
Top