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

Newbie Spellweaver
Joined
Oct 29, 2015
Messages
22
Reaction score
0
ok thank you. i test your demo Version and i think i found a bug. i hope you understand what i mean:
If you are in the village and there is a building order to run( for exemple a woodcuter). With counter. When the construction time is over, the game starts the start page. So the first page. Where you can register, etc. Can you do so when the construction period is over, the site remains in the village? I am looking forward to an answer please. (I used a translator.)
 
Newbie Spellweaver
Joined
Oct 29, 2015
Messages
22
Reaction score
0
i have a other question. This script: is the same as ?
Or is the demo site only for exemple ?
I'm asking because I am testing on the demo site and have found some small bugs.
 
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
The test server is now :
 
Newbie Spellweaver
Joined
Jan 6, 2012
Messages
18
Reaction score
0
Demo page not work... if you need a server i will be make a new one for this demo system ?
 
Skilled Illusionist
Joined
Mar 9, 2011
Messages
391
Reaction score
120
Works again
ronix you are here ?

Maybe you can help us with catapults system. Is make by you. We have some bug
PHP:
        // Formula for the calculation of catapults needed
        if($catp > 0 && $tblevel != 0) {
            $wctp = pow(($rap/$rdp),1.5);
            $wctp = ($wctp >= 1)? 1-0.5/$wctp : 0.5*$wctp;
            $wctp *= $catp+($att_ab8/1.5);
            $artowner = $database->getVillageField( $DefenderWref, "owner" );
            $bartefact = count($database->getOwnUniqueArtefactInfo2($artowner,1,3,0));
            $bartefact1 = count($database->getOwnUniqueArtefactInfo2($DefenderWref,1,1,1));
            $bartefact2 = count($database->getOwnUniqueArtefactInfo2($artowner,1,2,0));
            if($bartefact > 0){
                $strongerbuildings = 5;
            }elseif($bartefact1 > 0){
                $strongerbuildings = 4;
            }elseif($bartefact2 > 0){
                $strongerbuildings = 3;
            }else{
                $strongerbuildings = 1;
            }
            $good_effect = $bad_effect = 1;
            $foolartefact = $database->getFoolArtefactInfo(3,$DefenderWref,$artowner);
            if(count($foolartefact) > 0){
                foreach($foolartefact as $arte){
                    if($arte['bad_effect'] == 1){
                        $bad_effect = $arte['effect2'];
                    }else{
                        $good_effect = $arte['effect2'];
                    }
                }
            }

            if($stonemason==0){
                $need = round((($moralbonus * (pow($tblevel,2) + $tblevel + 1)) / (8 * (round(200 * pow(1.0205,$att_ab8))/200) / $strongerbuildings / $good_effect * $bad_effect)) + 0.5);
            }else{
                $need = round((($moralbonus * (pow($tblevel,2) + $tblevel + 1)) / (8 * (round(200 * pow(1.0205,$att_ab8))/200) / ($bid34[$stonemason]['attri']/100) / $strongerbuildings / $good_effect * $bad_effect)) + 0.5);
            }

            // Number catapults to take down the building
            $result[3] = $need;
            //Number catapults nego
            $result[4] = $wctp;
            $result[5] = $moralbonus;
            $result[9] = $att_ab8;
            $result[10]=$strongerbuildings / $good_effect * $bad_effect;
        }
        if($ram > 0 && $walllevel != 0) {
            $wctp = pow(($rap/$rdp),1.5);
            $wctp = ($wctp >= 1)? 1-0.5/$wctp : 0.5*$wctp;
            $wctp *= ($ram/2) + ($att_ab7/1.5);
            $artowner = $database->getVillageField( $DefenderWref, "owner" );
            $bartefact = count($database->getOwnUniqueArtefactInfo2($artowner,1,3,0));
            $bartefact1 = count($database->getOwnUniqueArtefactInfo2($DefenderWref,1,1,1));
            $bartefact2 = count($database->getOwnUniqueArtefactInfo2($artowner,1,2,0));
            if($bartefact > 0){
                $strongerbuildings = 5;
            }else if($bartefact1 > 0){
                $strongerbuildings = 4;
            }else if($bartefact2 > 0){
                $strongerbuildings = 3;
            }else{
                $strongerbuildings = 1;
            }
            $good_effect = $bad_effect = 1;
            $foolartefact = $database->getFoolArtefactInfo(3,$DefenderWref,$artowner);
            if(count($foolartefact) > 0){
                foreach($foolartefact as $arte){
                    if($arte['bad_effect'] == 1){
                        $bad_effect = $arte['effect2'];
                    }else{
                        $good_effect = $arte['effect2'];
                    }
                }
            }
            if($stonemason==0){
                $need = round((($moralbonus * (pow($walllevel,2) + $walllevel + 1)) / (8 * (round(200 * pow(1.0205,$att_ab7))/200) / $strongerbuildings / $good_effect * $bad_effect)) + 0.5);
            }else{
                $need = round((($moralbonus * (pow($walllevel,2) + $walllevel + 1)) / (8 * (round(200 * pow(1.0205,$att_ab7))/200) / ($bid34[$stonemason]['attri']/100) / $strongerbuildings / $good_effect * $bad_effect)) + 0.5);
            }
            // Number catapults to take down the building
            $result[7] = $need;

            // Number catapults to action
            $result[8] = $wctp;

        }
 
Last edited:
Back
Top