PDA

View Full Version : [MU] [Help] Nhân vật DK master không đánh ra combo



MUTHIENSON
12-04-12, 07:34 PM
Nhân vật DK khi lên master không thể nào đánh ra combo được .
Ai đã từng gặp lỗi này cho em xin cách fix :(

Scf 11.00.00 = 800k( by Sungamevn.com )

thanh_ca
12-04-12, 11:55 PM
pm người bán ấy =)).Mu sv của ai thì đem đến nhà người ta mà hỏi :))

mattroilan
13-04-12, 12:30 AM
em config lại trong file reset của web là ok...

xunhim8x
13-04-12, 10:15 AM
try.vn trả lời : .................................................. ...........

MUTHIENSON
13-04-12, 03:20 PM
em config lại trong file reset của web là ok...


Cái này ko phải do web anh ạ. do server hoặc do main hay sao ấy . DK lên master ko có tuyệt chiêu combo

--- Chế độ gộp bài viết ---


pm người bán ấy =)).Mu sv của ai thì đem đến nhà người ta mà hỏi :))

Trốn lâu rồi , hehe :"> L-) o=>

godhoang
13-04-12, 04:25 PM
đoán không lầm thì 11.00 có 1 vài lỗi thôi
lâu lâu có người tự nhiên kô combo đc, fải reset lại thì mới work

nếu kô đc nữa thì phải xóa nhân vật, lạ ghê :|
từng bị r.

mattroilan
13-04-12, 04:29 PM
Cái này ko phải do web anh ạ. do server hoặc do main hay sao ấy . DK lên master ko có tuyệt chiêu combo





em chạy query này cho anh... rồi copy cái quest ra nhé

Select Quest from character where name = '_ten_nhan_vat_bi_loi_'

phoxuaxua
13-04-12, 05:27 PM
các bản Server cua SCF không bị lỗi combo đâu, có thể do làm quest = mumaker lên class3, nhưng không add Q, hoặc trong quá trình làm quest bị lỗi gì đó, nên không combo được thôi. Bây giờ làm lại quest từ trong game, set về class1 xóa luôn quest cũ đi, rồi vào game làm lần lượt nên. Hoặc có thể add quest từ Mumaker chọn quest thứ 4 add cho nhân vật rồi vào game thử combo xem

MUTHIENSON
13-04-12, 10:51 PM
em chạy query này cho anh... rồi copy cái quest ra nhé

Select Quest from character where name = '_ten_nhan_vat_bi_loi_'

quest nó ra thế này anh ạ .


0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FF


các bản Server cua SCF không bị lỗi combo đâu, có thể do làm quest = mumaker lên class3, nhưng không add Q, hoặc trong quá trình làm quest bị lỗi gì đó, nên không combo được thôi. Bây giờ làm lại quest từ trong game, set về class1 xóa luôn quest cũ đi, rồi vào game làm lần lượt nên. Hoặc có thể add quest từ Mumaker chọn quest thứ 4 add cho nhân vật rồi vào game thử combo xem

Cám ơn 2 anh , để em test thử . tiện đây cho em hỏi ai bán main ss6.2 fix chuẩn kèm antihack = bao nhiêu tiền ạ

MUTHIENSON
14-04-12, 08:59 PM
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.

=:)=:)=:)=:)=:)=:)=:)=:)

bistro007_hp
14-04-12, 09:26 PM
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ẹ :| =P~

mattroilan
14-04-12, 11:28 PM
up cái code của file doreset.php lên đây

MUTHIENSON
18-04-12, 05:24 PM
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
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 ( 0 <= $row[1] && $row[1] <= $GioiHanReset1 ) {
if ( 0 <= $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 ( 0 <= $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 ( 0 <= $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 ( 0 <= $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 ( 0 <= $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 ( 0 <= $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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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_ca p_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=0xaaeaffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffffffffff ffffff 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";
}
?>

kipphong3
18-04-12, 11:29 PM
Cần Reset_no_zen2.php & reset_vip_nozen 2 .php

vuhaihoang
19-04-12, 12:10 AM
dk class3 tạo = mumaket ah ;))

MUTHIENSON
19-04-12, 08:00 PM
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