TravianZ Official (yi12345) - bugs list

Page 69 of 69 FirstFirst ... 1959616263646566676869
Results 1,021 to 1,025 of 1025
  1. #1021
    Registered Agony5 is offline
    MemberRank
    Oct 2015 Join Date
    11Posts

    Re: TravianZ Official (yi12345) - bugs list


    RaGEZONE Recommends

    RaGEZONE Recommends

    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.)

  2. #1022
    Registered Agony5 is offline
    MemberRank
    Oct 2015 Join Date
    11Posts

    Re: TravianZ Official (yi12345) - bugs list

    i have a other question. This script: https://github.com/Shadowss/TravianZ is the same as https://travian.martinambrus.com/ ?
    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.

  3. #1023
    $database->getIqLevel cata7007 is offline
    True MemberRank
    Mar 2011 Join Date
    Automation.phpLocation
    388Posts

    Re: TravianZ Official (yi12345) - bugs list

    The test server is now : TravianZ Testing Server
    if (!$CURUSER){
    require_once('main.php');
    exit;
    stderr("Error", "Be the best");
    die};

  4. #1024
    Registered AkisSoft is offline
    MemberRank
    Jan 2012 Join Date
    18Posts

    Re: TravianZ Official (yi12345) - bugs list

    Demo page not work... if you need a server i will be make a new one for this demo system ?

  5. #1025
    $database->getIqLevel cata7007 is offline
    True MemberRank
    Mar 2011 Join Date
    Automation.phpLocation
    388Posts

    Re: TravianZ Official (yi12345) - bugs list

    Works again
    @ronix you are here ?

    Maybe you can help us with catapults system. Is make by you. We have some bug https://github.com/Shadowss/TravianZ/issues/423
    PHP Code:
            // Formula for the calculation of catapults needed
            
    if($catp && $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)) / (* (round(200 pow(1.0205,$att_ab8))/200) / $strongerbuildings $good_effect $bad_effect)) + 0.5);
                }else{
                    
    $need round((($moralbonus * (pow($tblevel,2) + $tblevel 1)) / (* (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 && $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)) / (* (round(200 pow(1.0205,$att_ab7))/200) / $strongerbuildings $good_effect $bad_effect)) + 0.5);
                }else{
                    
    $need round((($moralbonus * (pow($walllevel,2) + $walllevel 1)) / (* (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 by cata7007; 1 Week Ago at 02:25 PM.
    if (!$CURUSER){
    require_once('main.php');
    exit;
    stderr("Error", "Be the best");
    die};




Advertisement