[MU] [Help] Nhân vật DK master không đánh ra combo - Trang 2
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Trang 2 của 2 Đầu tiênĐầu tiên 1 2
Kết quả 11 đến 16 của 16
  1. #11
    Thành Viên Tâm Huyết bistro007_hp's Avatar
    Ngày tham gia
    Jun 2011
    Đang ở
    Hải Phòng
    Bài viết
    1,536
    Thanks
    302
    Thanked 703 Times in 388 Posts

    Ðề: [Help] Nhân vật DK master không đánh ra combo

    Trích dẫn Gửi bởi MUTHIENSON [Only registered and activated users can see links. ]
    Lỗi này do tvweb rồi , reset xong mất combo luôn.
    Ai fix được lỗi này chỉ giúp em với.


    xin mấy người cách fix ấy. dùng nbb web cho lẹ
    Nhận bán fanpage giá rẻ Liên hệ [Only registered and activated users can see links. ]

    Bán dữ liệu Data MuOnline ~200k Số
    Nhận quảng cáo FB
    Liên hệ 01234567182

  2. #12
    Thành Viên Tâm Huyết mattroilan's Avatar
    Ngày tham gia
    May 2007
    Bài viết
    489
    Thanks
    91
    Thanked 549 Times in 193 Posts

    Ðề: [Help] Nhân vật DK master không đánh ra combo

    up cái code của file doreset.php lên đây
    Khách viếng thăm hãy cùng mattroilan xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  3. #13
    Thành Viên
    Ngày tham gia
    Feb 2012
    Bài viết
    35
    Thanks
    11
    Thanked 1 Time in 1 Post

    Ðề: [Help] Nhân vật DK master không đánh ra combo

    File do_reset.php đây ạ


    Mà sao nhân vật DK 2 phải 220 mới combo được cho dù trong SCF_Skills.ini đã set như thế này


    [Common]
    SCFEnableSkillAutoLearn=0
    SCFDisableLevelReqForSkillsUsage=1

    [Fix]
    SCFFixDKTwisting=1
    SCFResetComboBelow220Level=0



    PHP Code:
    <?php
    include_once("security.php");
    include(
    'config/config_class.php');
    include(
    'config/config_reset.php');
    include(
    'config/config_hotrotanthu.php');
    include(
    'config/config_gioihanrs.php');
    include(
    'config/config_relife.php');
    include(
    'function.php');

    $account $_GET['account'];
    $character $_GET['character'];
    $passtransfer $_GET['passtransfer'];

    if (
    $passtransfer == $transfercode) {
        include(
    'do_reset_nozen.php');
        
    //Begin Giới hạn Reset trong ngày
        
    if($use_gioihanrs == 1) {
            
    $CountNoResetInDay=$row[6] + 1;
            include(
    'gioihanrs.php');
            if(
    $row[6] >= $gioihanrs) {
                echo 
    "Bạn đã Reset hết số lần Reset trong ngày. Xin vui lòng Ủy thác và đợi Reset tiếp vào ngày mai";
                exit();
            }
        }
        
    //End Giới hạn Reset trong ngày
        //Begin Giới hạn Reset trong ngày với Vpoint
        
    else if($use_gioihanrs == 2) {
            
    $CountNoResetInDay=$row[6] + 1;
            if ( 
    <= $row[1] && $row[1] <= $GioiHanReset1 ) {
                if ( 
    <= $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay1 $VpointReset $VpointReset0_GioiHan0;
                else if ( 
    $ResetInDay1 $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay2 $VpointReset $VpointReset1_GioiHan0;
                else if ( 
    $ResetInDay2 $CountNoResetInDay $VpointReset $VpointReset2_GioiHan0;
            }
            else if ( 
    $GioiHanReset1 $row[1] && $row[1] <= $GioiHanReset2 ) {
                if ( 
    <= $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay1 $VpointReset $VpointReset0_GioiHan1;
                else if ( 
    $ResetInDay1 $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay2 $VpointReset $VpointReset1_GioiHan1;
                else if ( 
    $ResetInDay2 $CountNoResetInDay $VpointReset $VpointReset2_GioiHan1;
            }
            else if ( 
    $GioiHanReset2 $row[1] && $row[1] <= $GioiHanReset3 ) {
                if ( 
    <= $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay1 $VpointReset $VpointReset0_GioiHan2;
                else if ( 
    $ResetInDay1 $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay2 $VpointReset $VpointReset1_GioiHan2;
                else if ( 
    $ResetInDay2 $CountNoResetInDay $VpointReset $VpointReset2_GioiHan2;
            }
            else if ( 
    $GioiHanReset3 $row[1] && $row[1] <= $GioiHanReset4 ) {
                if ( 
    <= $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay1 $VpointReset $VpointReset0_GioiHan3;
                else if ( 
    $ResetInDay1 $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay2 $VpointReset $VpointReset1_GioiHan3;
                else if ( 
    $ResetInDay2 $CountNoResetInDay $VpointReset $VpointReset2_GioiHan3;
            }
            else if ( 
    $GioiHanReset4 $row[1] && $row[1] <= $GioiHanReset5 ) {
                if ( 
    <= $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay1 $VpointReset $VpointReset0_GioiHan4;
                else if ( 
    $ResetInDay1 $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay2 $VpointReset $VpointReset1_GioiHan4;
                else if ( 
    $ResetInDay2 $CountNoResetInDay $VpointReset $VpointReset2_GioiHan4;
            }
            else if ( 
    $GioiHanReset5 $row[1] && $row[1] <= $GioiHanReset6 ) {
                if ( 
    <= $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay1 $VpointReset $VpointReset0_GioiHan5;
                else if ( 
    $ResetInDay1 $CountNoResetInDay && $CountNoResetInDay <= $ResetInDay2 $VpointReset $VpointReset1_GioiHan5;
                else if ( 
    $ResetInDay2 $CountNoResetInDay $VpointReset $VpointReset2_GioiHan5;
            }
            if ( 
    $vpoint[0] < $VpointReset ) {
                echo 
    "Không có đủ Vpoint yêu cầu Reset. Bạn đang Reset $row[1] lần, và đã Reset $row[6] lần trong ngày hôm nay. Bạn cần có $VpointReset V.Point để Reset lần tiếp theo";
                exit();
            }
            
    $vpointnew $vpoint[0] - $VpointReset;
        }
        else {
            
    $CountNoResetInDay=$row[6] + 1;
            
    $vpointnew $vpoint[0];
        }
        
    //End Giới hạn Reset trong ngày
        
    if ($PkLevel_check 0) {
            echo 
    "Bạn đang là Sát thủ. Phải rửa tội trước khi Reset.";
            exit();
        }
        if ( (
    $row[1] >= $reset_cap_0) AND ($row[1] < $reset_cap_1) ) {
            
    $level $level_cap_1;
            
    $zen $zen_cap_1;
            
    $time_reset_next $time_reset_next_1;
            
    $chao $chao_cap_1;
            
    $cre $cre_cap_1;
            
    $blue $blue_cap_1;
        }
        else if ( (
    $row[1] >= $reset_cap_1) AND ($row[1] < $reset_cap_2) ) {
            
    $level $level_cap_2;
            
    $zen $zen_cap_2;
            
    $time_reset_next $time_reset_next_2;
            
    $chao $chao_cap_2;
            
    $cre $cre_cap_2;
            
    $blue $blue_cap_2;
        }
        else if ( (
    $row[1] >= $reset_cap_2) AND ($row[1] < $reset_cap_3) ) {
            
    $level $level_cap_3;
            
    $zen $zen_cap_3;
            
    $time_reset_next $time_reset_next_3;
            
    $chao $chao_cap_3;
            
    $cre $cre_cap_3;
            
    $blue $blue_cap_3;
        }
        else if ( (
    $row[1] >= $reset_cap_3) AND ($row[1] < $reset_cap_4) ) {
            
    $level $level_cap_4;
            
    $zen $zen_cap_4;
            
    $time_reset_next $time_reset_next_4;
            
    $chao $chao_cap_4;
            
    $cre $cre_cap_4;
            
    $blue $blue_cap_4;
        }
        else if ( (
    $row[1] >= $reset_cap_4) AND ($row[1] < $reset_cap_5) ) {
            
    $level $level_cap_5;
            
    $zen $zen_cap_5;
            
    $time_reset_next $time_reset_next_5;
            
    $chao $chao_cap_5;
            
    $cre $cre_cap_5;
            
    $blue $blue_cap_5;
        }
        else if ( (
    $row[1] >= $reset_cap_5) AND ($row[1] < $reset_cap_6) ) {
            
    $level $level_cap_6;
            
    $zen $zen_cap_6;
            
    $time_reset_next $time_reset_next_6;
            
    $chao $chao_cap_6;
            
    $cre $cre_cap_6;
            
    $blue $blue_cap_6;
        }
        else if ( (
    $row[1] >= $reset_cap_6) AND ($row[1] < $reset_cap_7) ) {
            
    $level $level_cap_7;
            
    $zen $zen_cap_7;
            
    $time_reset_next $time_reset_next_7;
            
    $chao $chao_cap_7;
            
    $cre $cre_cap_7;
            
    $blue $blue_cap_7;
        }
        else if ( (
    $row[1] >= $reset_cap_7) AND ($row[1] < $reset_cap_8) ) {
            
    $level $level_cap_8;
            
    $zen $zen_cap_8;
            
    $time_reset_next $time_reset_next_8;
            
    $chao $chao_cap_8;
            
    $cre $cre_cap_8;
            
    $blue $blue_cap_8;
        }
        else if ( (
    $row[1] >= $reset_cap_8) AND ($row[1] < $reset_cap_9) ) {
            
    $level $level_cap_9;
            
    $zen $zen_cap_9;
            
    $time_reset_next $time_reset_next_9;
            
    $chao $chao_cap_9;
            
    $cre $cre_cap_9;
            
    $blue $blue_cap_9;
        }
        else if ( (
    $row[1] >= $reset_cap_9) AND ($row[1] < $reset_cap_10) ) {
            
    $level $level_cap_10;
            
    $zen $zen_cap_10;
            
    $time_reset_next $time_reset_next_10;
            
    $chao $chao_cap_10;
            
    $cre $cre_cap_10;
            
    $blue $blue_cap_10;
        }
        else if ( (
    $row[1] >= $reset_cap_10) AND ($row[1] < $reset_cap_11) ) {
            
    $level $level_cap_11;
            
    $zen $zen_cap_11;
            
    $time_reset_next $time_reset_next_11;
            
    $chao $chao_cap_11;
            
    $cre $cre_cap_11;
            
    $blue $blue_cap_11;
        }
        else if ( (
    $row[1] >= $reset_cap_11) AND ($row[1] < $reset_cap_12) ) {
            
    $level $level_cap_12;
            
    $zen $zen_cap_12;
            
    $time_reset_next $time_reset_next_12;
            
    $chao $chao_cap_12;
            
    $cre $cre_cap_12;
            
    $blue $blue_cap_12;
        }
        else if ( (
    $row[1] >= $reset_cap_12) AND ($row[1] < $reset_cap_13) ) {
            
    $level $level_cap_13;
            
    $zen $zen_cap_13;
            
    $time_reset_next $time_reset_next_13;
            
    $chao $chao_cap_13;
            
    $cre $cre_cap_13;
            
    $blue $blue_cap_13;
        }
        else if ( (
    $row[1] >= $reset_cap_13) AND ($row[1] < $reset_cap_14) ) {
            
    $level $level_cap_14;
            
    $zen $zen_cap_14;
            
    $time_reset_next $time_reset_next_14;
            
    $chao $chao_cap_14;
            
    $cre $cre_cap_14;
            
    $blue $blue_cap_14;
        }
        else if ( (
    $row[1] >= $reset_cap_14) AND ($row[1] < $reset_cap_15) ) {
            
    $level $level_cap_15;
            
    $zen $zen_cap_15;
            
    $time_reset_next $time_reset_next_15;
            
    $chao $chao_cap_15;
            
    $cre $cre_cap_15;
            
    $blue $blue_cap_15;
        }
        else if ( (
    $row[1] >= $reset_cap_15) AND ($row[1] < $reset_cap_16) ) {
            
    $level $level_cap_16;
            
    $zen $zen_cap_16;
            
    $time_reset_next $time_reset_next_16;
            
    $chao $chao_cap_16;
            
    $cre $cre_cap_16;
            
    $blue $blue_cap_16;
        }
        else if ( (
    $row[1] >= $reset_cap_16) AND ($row[1] < $reset_cap_17) ) {
            
    $level $level_cap_17;
            
    $zen $zen_cap_17;
            
    $time_reset_next $time_reset_next_17;
            
    $chao $chao_cap_17;
            
    $cre $cre_cap_17;
            
    $blue $blue_cap_17;
        }
        else if ( (
    $row[1] >= $reset_cap_17) AND ($row[1] < $reset_cap_18) ) {
            
    $level $level_cap_18;
            
    $zen $zen_cap_18;
            
    $time_reset_next $time_reset_next_18;
            
    $chao $chao_cap_18;
            
    $cre $cre_cap_18;
            
    $blue $blue_cap_18;
        }
        else if ( (
    $row[1] >= $reset_cap_18) AND ($row[1] < $reset_cap_19) ) {
            
    $level $level_cap_19;
            
    $zen $zen_cap_19;
            
    $time_reset_next $time_reset_next_19;
            
    $chao $chao_cap_19;
            
    $cre $cre_cap_19;
            
    $blue $blue_cap_19;
        }
        else if ( (
    $row[1] >= $reset_cap_19) AND ($row[1] < $reset_cap_20) ) {
            
    $level $level_cap_20;
            
    $zen $zen_cap_20;
            
    $time_reset_next $time_reset_next_20;
            
    $chao $chao_cap_20;
            
    $cre $cre_cap_20;
            
    $blue $blue_cap_20;
        }
        
    //Begin hỗ trợ tân thủ
        
    if ($hotrotanthu == 1) {
            if( (
    $capsudung >= 1) && ($cap1_reset_min<=$row[1] && $row[1]<=$cap1_reset_max) && ($cap1_relife_min<=$row[5] && $row[5]<=$cap1_relife_max) ) {
                
    $level $level $cap1_levelgiam;
            }
            else if( (
    $capsudung >= 2) && ($cap2_reset_min<=$row[1] && $row[1]<=$cap2_reset_max) && ($cap2_relife_min<=$row[5] && $row[5]<=$cap2_relife_max) ) {
                
    $level $level $cap2_levelgiam;
            }
            else if( (
    $capsudung >= 3) && ($cap3_reset_min<=$row[1] && $row[1]<=$cap3_reset_max) && ($cap3_relife_min<=$row[5] && $row[5]<=$cap3_relife_max) ) {
                
    $level $level $cap3_levelgiam;
            }
            else if( (
    $capsudung >= 4) && ($cap4_reset_min<=$row[1] && $row[1]<=$cap4_reset_max) && ($cap4_relife_min<=$row[5] && $row[5]<=$cap4_relife_max) ) {
                
    $level $level $cap4_levelgiam;
            }
            else if( (
    $capsudung >= 5) && ($cap5_reset_min<=$row[1] && $row[1]<=$cap5_reset_max) && ($cap5_relife_min<=$row[5] && $row[5]<=$cap5_relife_max) ) {
                
    $level $level $cap5_levelgiam;
            }
        }
        
    //End hỗ trợ tân thủ
        
    switch ($row[5]) {
            case 
    0:
                
    $reset_relifes $rl_reset_relife1;
                
    $point_relifes 0;
                
    $ml_relifes 0;
                break;
            case 
    1:
                
    $reset_relifes $rl_reset_relife2;
                
    $point_relifes $rl_point_relife1;
                
    $ml_relifes $rl_ml_relife1;
                break;
            case 
    2:
                
    $reset_relifes $rl_reset_relife3;
                
    $point_relifes $rl_point_relife2;
                
    $ml_relifes $rl_ml_relife2;
                break;
            case 
    3:
                
    $reset_relifes $rl_reset_relife4;
                
    $point_relifes $rl_point_relife3;
                
    $ml_relifes $rl_ml_relife3;
                break;
            case 
    4:
                
    $reset_relifes $rl_reset_relife5;
                
    $point_relifes $rl_point_relife4;
                
    $ml_relifes $rl_ml_relife4;
                break;
            case 
    5:
                
    $reset_relifes $rl_reset_relife6;
                
    $point_relifes $rl_point_relife5;
                
    $ml_relifes $rl_ml_relife5;
                break;
            case 
    6:
                
    $reset_relifes $rl_reset_relife7;
                
    $point_relifes $rl_point_relife6;
                
    $ml_relifes $rl_ml_relife6;
                break;
            case 
    7;
                
    $reset_relifes $rl_reset_relife8;
                
    $point_relifes $rl_point_relife7;
                
    $ml_relifes $rl_ml_relife7;
                break;
            case 
    8:
                
    $reset_relifes $rl_reset_relife9;
                
    $point_relifes $rl_point_relife8;
                
    $ml_relifes $rl_ml_relife8;
                break;
            case 
    9:
                
    $reset_relifes $rl_reset_relife10;
                
    $point_relifes $rl_point_relife9;
                
    $ml_relifes $rl_ml_relife9;
                break;
            case 
    10:
                
    $reset_relifes $rl_reset_relife11;
                
    $point_relifes $rl_point_relife10;
                
    $ml_relifes $rl_ml_relife10;
                break;
        }
        if ( 
    $row[1] >= $reset_relifes ) {
            echo 
    "$character đang ReLife: $row[5] - Reset: $row[1]. Để Reset tiếp bạn cần phải ReLife.";
            exit();
        }
        
    $resetup $row[1] + 1;
        
    //Cong thuc Reset
        
    if ( ($jewel[0] < $chao) OR ($jewel[1] < $cre) OR ($jewel[2] < $blue) ) {
            echo 
    "Bạn không đủ Jewel trong ngân hàng.";
            exit();
        }
        if (
    $row[0] < $level) {
            echo 
    "$character cần $level level để Reset lần $resetup.";
            exit();
        }
        if (
    $row[2] < $zen) {
            echo 
    "$character cần $zen Zen để Reset lần $resetup.";
            exit();
        }
        
    $time_reset_next $row[7]+$time_reset_next*60;
        if (
    $time_reset_next $timestamp) {
            
    $time_free $time_reset_next $timestamp;
            echo 
    "$character cần $time_free giây nữa để Reset lần tiếp theo.";
            exit();
        }
        
    //Reset lần 1
        
    if ($row[1] == $reset_cap_0) {
            
    $resetpoint=$point_relifes+$point_cap_1;
            
    $resetmoney $row[2] - $zen_cap_1;
            
    $leadership $ml_relifes+$ml_cap_1;
        }
        
    //Reset cấp 1
        
    else if ($row[1] < $reset_cap_1) {
            
    $resetpoint=$point_relifes+$point_cap_1+$row[1]*$point_cap_1;
            
    $resetmoney $row[2] - $zen_cap_1;
            
    $leadership $ml_relifes+$ml_relifes+$ml_cap_1+$row[1]*$ml_cap_1;
        }
        
    //Reset cấp 1 -> 2
        
    else if ($row[1] >= $reset_cap_1 AND $row[1] < $reset_cap_2) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($row[1]-($reset_cap_1-1))*$point_cap_2;
            
    $resetmoney $row[2] - $zen_cap_2;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($row[1]-($reset_cap_1-1))*$ml_cap_2;
        }
        
    //Reset cấp 2 -> 3
        
    else if ($row[1] >= $reset_cap_2 AND $row[1] < $reset_cap_3) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($row[1]-($reset_cap_2-1))*$point_cap_3;
            
    $resetmoney $row[2] - $zen_cap_3;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($row[1]-($reset_cap_2-1))*$ml_cap_3;
        }
        
    //Reset cấp 3 -> 4
        
    else if ($row[1] >= $reset_cap_3 AND $row[1] < $reset_cap_4) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($row[1]-($reset_cap_3-1))*$point_cap_4;
            
    $resetmoney $row[2] - $zen_cap_4;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($row[1]-($reset_cap_3-1))*$ml_cap_4;
        }
        
    //Reset cấp 4 -> 5
        
    else if ($row[1] >= $reset_cap_4 AND $row[1] < $reset_cap_5) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($row[1]-($reset_cap_4-1))*$point_cap_5;
            
    $resetmoney $row[2] - $zen_cap_5;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($row[1]-($reset_cap_4-1))*$ml_cap_5;
        }
        
    //Reset cấp 5 -> 6
        
    else if ($row[1] >= $reset_cap_5 AND $row[1] < $reset_cap_6) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($row[1]-($reset_cap_5-1))*$point_cap_6;
            
    $resetmoney $row[2] - $zen_cap_6;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($row[1]-($reset_cap_5-1))*$ml_cap_6;
        }
        
    //Reset cấp 6 -> 7
        
    else if ($row[1] >= $reset_cap_6 AND $row[1] < $reset_cap_7) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($row[1]-($reset_cap_6-1))*$point_cap_7;
            
    $resetmoney $row[2] - $zen_cap_7;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($row[1]-($reset_cap_6-1))*$ml_cap_7;
        }
        
    //Reset cấp 7 -> 8
        
    else if ($row[1] >= $reset_cap_7 AND $row[1] < $reset_cap_8) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($row[1]-($reset_cap_7-1))*$point_cap_8;
            
    $resetmoney $row[2] - $zen_cap_8;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($row[1]-($reset_cap_7-1))*$ml_cap_8;
        }
        
    //Reset cấp 8 -> 9
        
    else if ($row[1] >= $reset_cap_8 AND $row[1] < $reset_cap_9) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($row[1]-($reset_cap_8-1))*$point_cap_9;
            
    $resetmoney $row[2] - $zen_cap_9;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($row[1]-($reset_cap_8-1))*$ml_cap_9;
        }
        
    //Reset cấp 9 -> 10
        
    else if ($row[1] >= $reset_cap_9 AND $row[1] < $reset_cap_10) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($row[1]-($reset_cap_9-1))*$point_cap_10;
            
    $resetmoney $row[2] - $zen_cap_10;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($row[1]-($reset_cap_9-1))*$ml_cap_10;
        }
        
    //Reset cấp 10 -> 11
        
    else if ($row[1] >= $reset_cap_10 AND $row[1] < $reset_cap_11) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($point_cap_10*($reset_cap_10-$reset_cap_9))+($row[1]-($reset_cap_10-1))*$point_cap_11;
            
    $resetmoney $row[2] - $zen_cap_11;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($ml_cap_10*($reset_cap_10-$reset_cap_9))+($row[1]-($reset_cap_10-1))*$ml_cap_11;
        }
        
    //Reset cấp 11 -> 12
        
    else if ($row[1] >= $reset_cap_11 AND $row[1] < $reset_cap_12) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($point_cap_10*($reset_cap_10-$reset_cap_9))+($point_cap_11*($reset_cap_11-$reset_cap_10))+($row[1]-($reset_cap_11-1))*$point_cap_12;
            
    $resetmoney $row[2] - $zen_cap_12;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($ml_cap_10*($reset_cap_10-$reset_cap_9))+($ml_cap_11*($reset_cap_11-$reset_cap_10))+($row[1]-($reset_cap_11-1))*$ml_cap_12;
        }
        
    //Reset cấp 12 -> 13
        
    else if ($row[1] >= $reset_cap_12 AND $row[1] < $reset_cap_13) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($point_cap_10*($reset_cap_10-$reset_cap_9))+($point_cap_11*($reset_cap_11-$reset_cap_10))+($point_cap_12*($reset_cap_12-$reset_cap_11))+($row[1]-($reset_cap_12-1))*$point_cap_13;
            
    $resetmoney $row[2] - $zen_cap_13;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($ml_cap_10*($reset_cap_10-$reset_cap_9))+($ml_cap_11*($reset_cap_11-$reset_cap_10))+($ml_cap_12*($reset_cap_12-$reset_cap_11))+($row[1]-($reset_cap_12-1))*$ml_cap_13;
        }
        
    //Reset cấp 13 -> 14
        
    else if ($row[1] >= $reset_cap_13 AND $row[1] < $reset_cap_14) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($point_cap_10*($reset_cap_10-$reset_cap_9))+($point_cap_11*($reset_cap_11-$reset_cap_10))+($point_cap_12*($reset_cap_12-$reset_cap_11))+($point_cap_13*($reset_cap_13-$reset_cap_12))+($row[1]-($reset_cap_13-1))*$point_cap_14;
            
    $resetmoney $row[2] - $zen_cap_14;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($ml_cap_10*($reset_cap_10-$reset_cap_9))+($ml_cap_11*($reset_cap_11-$reset_cap_10))+($ml_cap_12*($reset_cap_12-$reset_cap_11))+($ml_cap_13*($reset_cap_13-$reset_cap_12))+($row[1]-($reset_cap_13-1))*$ml_cap_14;
        }
        
    //Reset cấp 14 -> 15
        
    else if ($row[1] >= $reset_cap_14 AND $row[1] < $reset_cap_15) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($point_cap_10*($reset_cap_10-$reset_cap_9))+($point_cap_11*($reset_cap_11-$reset_cap_10))+($point_cap_12*($reset_cap_12-$reset_cap_11))+($point_cap_13*($reset_cap_13-$reset_cap_12))+($point_cap_14*($reset_cap_14-$reset_cap_13))+($row[1]-($reset_cap_14-1))*$point_cap_15;
            
    $resetmoney $row[2] - $zen_cap_15;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($ml_cap_10*($reset_cap_10-$reset_cap_9))+($ml_cap_11*($reset_cap_11-$reset_cap_10))+($ml_cap_12*($reset_cap_12-$reset_cap_11))+($ml_cap_13*($reset_cap_13-$reset_cap_12))+($ml_cap_14*($reset_cap_14-$reset_cap_13))+($row[1]-($reset_cap_14-1))*$ml_cap_15;
        }
        
    //Reset cấp 15 -> 16
        
    else if ($row[1] >= $reset_cap_15 AND $row[1] < $reset_cap_16) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($point_cap_10*($reset_cap_10-$reset_cap_9))+($point_cap_11*($reset_cap_11-$reset_cap_10))+($point_cap_12*($reset_cap_12-$reset_cap_11))+($point_cap_13*($reset_cap_13-$reset_cap_12))+($point_cap_14*($reset_cap_14-$reset_cap_13))+($point_cap_15*($reset_cap_15-$reset_cap_14))+($row[1]-($reset_cap_15-1))*$point_cap_16;
            
    $resetmoney $row[2] - $zen_cap_16;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($ml_cap_10*($reset_cap_10-$reset_cap_9))+($ml_cap_11*($reset_cap_11-$reset_cap_10))+($ml_cap_12*($reset_cap_12-$reset_cap_11))+($ml_cap_13*($reset_cap_13-$reset_cap_12))+($ml_cap_14*($reset_cap_14-$reset_cap_13))+($ml_cap_15*($reset_cap_15-$reset_cap_14))+($row[1]-($reset_cap_15-1))*$ml_cap_16;
        }
        
    //Reset cấp 16 -> 17
        
    else if ($row[1] >= $reset_cap_16 AND $row[1] < $reset_cap_17) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($point_cap_10*($reset_cap_10-$reset_cap_9))+($point_cap_11*($reset_cap_11-$reset_cap_10))+($point_cap_12*($reset_cap_12-$reset_cap_11))+($point_cap_13*($reset_cap_13-$reset_cap_12))+($point_cap_14*($reset_cap_14-$reset_cap_13))+($point_cap_15*($reset_cap_15-$reset_cap_14))+($point_cap_16*($reset_cap_16-$reset_cap_15))+($row[1]-($reset_cap_16-1))*$point_cap_17;
            
    $resetmoney $row[2] - $zen_cap_17;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($ml_cap_10*($reset_cap_10-$reset_cap_9))+($ml_cap_11*($reset_cap_11-$reset_cap_10))+($ml_cap_12*($reset_cap_12-$reset_cap_11))+($ml_cap_13*($reset_cap_13-$reset_cap_12))+($ml_cap_14*($reset_cap_14-$reset_cap_13))+($ml_cap_15*($reset_cap_15-$reset_cap_14))+($ml_cap_16*($reset_cap_16-$reset_cap_15))+($row[1]-($reset_cap_16-1))*$ml_cap_17;
        }
        
    //Reset cấp 17 -> 18
        
    else if ($row[1] >= $reset_cap_17 AND $row[1] < $reset_cap_18) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($point_cap_10*($reset_cap_10-$reset_cap_9))+($point_cap_11*($reset_cap_11-$reset_cap_10))+($point_cap_12*($reset_cap_12-$reset_cap_11))+($point_cap_13*($reset_cap_13-$reset_cap_12))+($point_cap_14*($reset_cap_14-$reset_cap_13))+($point_cap_15*($reset_cap_15-$reset_cap_14))+($point_cap_16*($reset_cap_16-$reset_cap_15))+($point_cap_17*($reset_cap_17-$reset_cap_16))+($row[1]-($reset_cap_17-1))*$point_cap_18;
            
    $resetmoney $row[2] - $zen_cap_18;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($ml_cap_10*($reset_cap_10-$reset_cap_9))+($ml_cap_11*($reset_cap_11-$reset_cap_10))+($ml_cap_12*($reset_cap_12-$reset_cap_11))+($ml_cap_13*($reset_cap_13-$reset_cap_12))+($ml_cap_14*($reset_cap_14-$reset_cap_13))+($ml_cap_15*($reset_cap_15-$reset_cap_14))+($ml_cap_16*($reset_cap_16-$reset_cap_15))+($ml_cap_17*($reset_cap_17-$reset_cap_16))+($row[1]-($reset_cap_17-1))*$ml_cap_18;
        }
        
    //Reset cấp 18 -> 19
        
    else if ($row[1] >= $reset_cap_18 AND $row[1] < $reset_cap_19) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($point_cap_10*($reset_cap_10-$reset_cap_9))+($point_cap_11*($reset_cap_11-$reset_cap_10))+($point_cap_12*($reset_cap_12-$reset_cap_11))+($point_cap_13*($reset_cap_13-$reset_cap_12))+($point_cap_14*($reset_cap_14-$reset_cap_13))+($point_cap_15*($reset_cap_15-$reset_cap_14))+($point_cap_16*($reset_cap_16-$reset_cap_15))+($point_cap_17*($reset_cap_17-$reset_cap_16))+($point_cap_18*($reset_cap_18-$reset_cap_17))+($row[1]-($reset_cap_18-1))*$point_cap_19;
            
    $resetmoney $row[2] - $zen_cap_19;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($ml_cap_10*($reset_cap_10-$reset_cap_9))+($ml_cap_11*($reset_cap_11-$reset_cap_10))+($ml_cap_12*($reset_cap_12-$reset_cap_11))+($ml_cap_13*($reset_cap_13-$reset_cap_12))+($ml_cap_14*($reset_cap_14-$reset_cap_13))+($ml_cap_15*($reset_cap_15-$reset_cap_14))+($ml_cap_16*($reset_cap_16-$reset_cap_15))+($ml_cap_17*($reset_cap_17-$reset_cap_16))+($ml_cap_18*($reset_cap_18-$reset_cap_17))+($row[1]-($reset_cap_18-1))*$ml_cap_19;
        }
        
    //Reset cấp 19 -> 20
        
    else if ($row[1] >= $reset_cap_19 AND $row[1] < $reset_cap_20) {
            
    $resetpoint=$point_relifes+($point_cap_1*$reset_cap_1)+($point_cap_2*($reset_cap_2-$reset_cap_1))+($point_cap_3*($reset_cap_3-$reset_cap_2))+($point_cap_4*($reset_cap_4-$reset_cap_3))+($point_cap_5*($reset_cap_5-$reset_cap_4))+($point_cap_6*($reset_cap_6-$reset_cap_5))+($point_cap_7*($reset_cap_7-$reset_cap_6))+($point_cap_8*($reset_cap_8-$reset_cap_7))+($point_cap_9*($reset_cap_9-$reset_cap_8))+($point_cap_10*($reset_cap_10-$reset_cap_9))+($point_cap_11*($reset_cap_11-$reset_cap_10))+($point_cap_12*($reset_cap_12-$reset_cap_11))+($point_cap_13*($reset_cap_13-$reset_cap_12))+($point_cap_14*($reset_cap_14-$reset_cap_13))+($point_cap_15*($reset_cap_15-$reset_cap_14))+($point_cap_16*($reset_cap_16-$reset_cap_15))+($point_cap_17*($reset_cap_17-$reset_cap_16))+($point_cap_18*($reset_cap_18-$reset_cap_17))+($point_cap_19*($reset_cap_19-$reset_cap_18))+($row[1]-($reset_cap_19-1))*$point_cap_20;
            
    $resetmoney $row[2] - $zen_cap_20;
            
    $leadership=$ml_relifes+($ml_cap_1*$reset_cap_1)+($ml_cap_2*($reset_cap_2-$reset_cap_1))+($ml_cap_3*($reset_cap_3-$reset_cap_2))+($ml_cap_4*($reset_cap_4-$reset_cap_3))+($ml_cap_5*($reset_cap_5-$reset_cap_4))+($ml_cap_6*($reset_cap_6-$reset_cap_5))+($ml_cap_7*($reset_cap_7-$reset_cap_6))+($ml_cap_8*($reset_cap_8-$reset_cap_7))+($ml_cap_9*($reset_cap_9-$reset_cap_8))+($ml_cap_10*($reset_cap_10-$reset_cap_9))+($ml_cap_11*($reset_cap_11-$reset_cap_10))+($ml_cap_12*($reset_cap_12-$reset_cap_11))+($ml_cap_13*($reset_cap_13-$reset_cap_12))+($ml_cap_14*($reset_cap_14-$reset_cap_13))+($ml_cap_15*($reset_cap_15-$reset_cap_14))+($ml_cap_16*($reset_cap_16-$reset_cap_15))+($ml_cap_17*($reset_cap_17-$reset_cap_16))+($ml_cap_18*($reset_cap_18-$reset_cap_17))+($ml_cap_19*($reset_cap_19-$reset_cap_18))+($row[1]-($reset_cap_19-1))*$ml_cap_20;
        }
        
    //Fix Menh lenh DarkLord > 32k
        
    if ( $leadership>64000 $leadership=64000;
        
    //End Cong thuc Reset
        //Tat ca cac Quest
        
    $all_quest "UPDATE Character SET Quest=0xaaeaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff WHERE Name='$character'";
        include(
    'do_reset_nozen2.php');
        
    kiemtra_topmonth($resetup);
        echo 
    "$character Reset lần thứ $resetup thành công! Sau khi Reset hãy vào phần Rút Điểm để lấy Point sử dụng";
    }
    ?>
    Khách viếng thăm hãy cùng MUTHIENSON xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  4. #14
    Vi phạm quy định
    Ngày tham gia
    Mar 2008
    Bài viết
    262
    Thanks
    294
    Thanked 36 Times in 27 Posts

    Ðề: [Help] Nhân vật DK master không đánh ra combo

    Cần Reset_no_zen2.php & reset_vip_nozen 2 .php
    Khách viếng thăm hãy cùng kipphong3 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  5. #15
    Thành Viên Tâm Huyết vuhaihoang's Avatar
    Ngày tham gia
    Jun 2009
    Bài viết
    494
    Thanks
    279
    Thanked 58 Times in 48 Posts

    Ðề: [Help] Nhân vật DK master không đánh ra combo

    dk class3 tạo = mumaket ah
    [Only registered and activated users can see links. ]

  6. #16
    Thành Viên
    Ngày tham gia
    Feb 2012
    Bài viết
    35
    Thanks
    11
    Thanked 1 Time in 1 Post

    Ðề: [Help] Nhân vật DK master không đánh ra combo

    Không , class DK làm nv từ đầu đến master . NV 2 thì rs xong 220 mới combo được
    Nhân vật DK master thì rs xong mất combo luôn , mà làm nv220 ngoài tvweb 1.85 vào cũng ko có combo
    Khách viếng thăm hãy cùng MUTHIENSON xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 
Trang 2 của 2 Đầu tiênĐầu tiên 1 2

Các Chủ đề tương tự

  1. dk cấp 3 ko làm combo được
    Bởi mrgacon trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 1
    Bài viết cuối: 21-08-10, 09:32 PM
  2. 1 vài hình ảnh cho dự án mới (Combo 6 nhỏ)
    Bởi thaihoa91 trong diễn đàn Võ Lâm Truyền Kỳ (Jx Server)
    Trả lời: 23
    Bài viết cuối: 06-07-10, 07:58 PM

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 05:52 AM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.