Kết quả 1 đến 2 của 2
Chủ đề: Reset Web TV
-
28-02-11, 07:20 AM #1
- Ngày tham gia
- Oct 2010
- Bài viết
- 885
- Thanks
- 62
- Thanked 146 Times in 115 Posts
Reset Web TV
PHP Code:<?php
//Nhan vat la Dark Lord
if ( $row[2] == $class_dl_1 OR $row[2] == $class_dl_2 ) {
$sql_relife_script="UPDATE Character Set [clevel]='1',[experience]='0',[LevelUpPoint]='0',[pointdutru]='$rl_point_relifes',[Relifes]='$relife',[Leadership]='$rl_ml_relifes',[resets]='0',[strength]='$Strength',[dexterity]='$Dexterity',[vitality]='$Vitality',[energy]='$Energy',[Life]='$Life',[MaxLife]='$MaxLife',[Mana]='$Mana',[MaxMana]='$MaxMana',[MapNumber]='$MapNumber',[MapPosX]='$MapPosX',[MapPosY]='$MapPosY',[MapDir]='$Mapdir',[magiclist]= CONVERT(varbinary(180), null),[isThuePoint]='0',[ResetVIP]='0',[PointThue]='0' WHERE name='$character'";
$sql_relife_exec = $db->Execute($sql_relife_script);
}
//Nhan vat khong phai DarkLord
else {
$sql_relife_script="UPDATE Character Set [clevel]='1',[experience]='0',[LevelUpPoint]='0',[pointdutru]='$rl_point_relifes',[Relifes]='$relife',[resets]='0',[strength]='$Strength',[dexterity]='$Dexterity',[vitality]='$Vitality',[energy]='$Energy',[Life]='$Life',[MaxLife]='$MaxLife',[Mana]='$Mana',[MaxMana]='$MaxMana',[MapNumber]='$MapNumber',[MapPosX]='$MapPosX',[MapPosY]='$MapPosY',[MapDir]='$Mapdir',[magiclist]= CONVERT(varbinary(180), null),[Leadership]='0',[isThuePoint]='0',[ResetVIP]='0',[PointThue]='0' WHERE name='$character'";
$sql_relife_exec = $db->Execute($sql_relife_script);
}
//All Quest For Class 3
if ($row[2] == $class_dw_3 OR $row[2] == $class_dk_3 OR $row[2] == $class_elf_3) {
$sql_all_quest = $db->Execute($all_quest);
}
$add_xoaykiem="UPDATE Character Set MagicList=0x2c0000430000440000450000460000470000290000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000 WHERE name='$character'";
$add_muitenvotan="UPDATE Character Set magiclist=0x2e00004300004400004500004600004700004d0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000 WHERE name='$character'";
$add_skill_sum="UPDATE Character Set MagicList=0xda0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000 WHERE name='$character'";
//Add Xoay kiem cho DK
if ($XoayKiem == 1) {
if ($row[2] == $class_dk_1 OR $row[2] == $class_dk_2 OR $row[2] == $class_dk_3) {
$sql_add_xoaykiem = $db->Execute($add_xoaykiem);
}
}
//Add Mui ten vo tan cho Elf C3
if ($MuiTenVoTan ==1) {
if ($row[2] == $class_elf_3) {
$sql_add_muitenvotan = $db->Execute($add_muitenvotan);
}
}
//Add Skill cho Summoner
if ($RedStom == 1) {
if ($row[2] == $class_sum_1 OR $row[2] == $class_sum_2 OR $row[2] == $class_sum_3) {
$sql_add_redstom = $db->Execute($add_skill_sum);
}
}
//Reset Point Master Skill
if ( ($row[2] == $class_dw_3) || ($row[2] == $class_dk_3) || ($row[2] == $class_elf_3) || ($row[2] == $class_mg_2) || ($row[2] == $class_dl_2) || ($row[2] == $class_sum_3) ) {
$sql_reset_master_point = "UPDATE Character SET SCFMasterPoints='$row[4]' WHERE Name='$character'";
$result_reset_matser_point = $db->Execute($sql_reset_master_point) OR DIE("Lỗi Query: $sql_reset_master_point");
}
//Begin Luu data tai sinh
if ($char_back_reged_check > 0) {
$msquery = "UPDATE Character_back Set [Resets]='0',[LevelUpPoint]='$rl_point_relifes',[Class]='$row[2]',[Relifes]='$relife' WHERE name='$character'";
$msresults= $db->Execute($msquery);
}
?>Khách viếng thăm hãy cùngcarotkhoaitayxây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
28-02-11, 03:20 PM #2
- Ngày tham gia
- Oct 2010
- Bài viết
- 885
- Thanks
- 62
- Thanked 146 Times in 115 Posts
Ðề: Reset Web TV
uppppppppppppppppppppppppppppppppppp
Khách viếng thăm hãy cùngcarotkhoaitayxây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
Các Chủ đề tương tự
-
Reset càng cao thì lv càng lên chậm SCF v10.07.65
Bởi yunathem trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 1Bài viết cuối: 10-06-11, 11:08 AM -
Hỏi cách chia server non reset va server reset
Bởi hoangtinpro trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 5Bài viết cuối: 26-03-11, 03:36 AM -
[Help] Cách cho reset về 0
Bởi chipfamily trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 6Bài viết cuối: 14-12-10, 08:23 PM -
giúp em sửa cái reset với
Bởi phongcaithe trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 0Bài viết cuối: 17-08-10, 04:32 PM -
reset tất cả account về reset 1 lần
Bởi mrgacon trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 4Bài viết cuối: 12-08-10, 06:56 AM