Only Scrip TrueBot + Legn@

  • Thread starter Thread starter nmt_l
  • Ngày gửi Ngày gửi
Status
Không mở trả lời sau này.

nmt_l

Donkey Kong
Thấy một số người vẫn không dung được mấy cái chương trình TrueBot và Legn@, làm cái Topic này dành cho những người không hiểu tí gì về lập trình có thể sử dụng được. Có nhiều người không hiểu nên bị coi là ăn sẵn :D, thôi thì đã lỡ hướng dẫn họ thì làm luôn cho họ mấy cái scrip luôn, mấy cái này sưu tầm linh tinh trên gamevn. Trước hết hướng dẫn lại từ đầu làm thế nào để chạy được, ai biết rồi thì thôi nhé.
Những người mới chơi phải log in vào Ts để chơi or luyện lv, nhưng hiện nay có một số chương trình hỗ trợ cho gamer đỡ thời gian và công sức để luyện lv hơn đó là TrueBot và Legn@. Để sử dụng cần phải load 2 cái chương trình đó về máy ( down ở các trang trong này, tự tìm về và down nhé, tìm trong hộp lưu trữ cũng có). Để có thế luyện được lv thì cần có scrip để chạy, do luyện lv ở nhiều chỗ khác nhau trong Ts nên tương ứng với mỗi chỗ có các scrip khác nhau, chẳng hạn không thể mang cái scrip ở Cự Lộc qua đánh ở Hoàng Cung Diệp Thành được. Muốn luyện Lv ở chỗ nào thì copy cái scrip ở chỗ đó, paste vào cái scrip cũ ( click phải chuột vào cái scrip cũ, chọn edit rồi xóa cái cũ đi đè cái mới lên ). Để thuận lợi hơn cho việc sử dụng nên tạo các folder riêng cho từng acc ( những người sử dụng Bot thường 1 máy chạy 5 acc ), các folder chỉnh sửa skil của các acc. Sau khi hoàn tất các việc đó là có thể chạy rồi. Post lại lên đây scrip ở Cự lôc hiện nay mọi người hay luyện ở đó cho bà con tham khảo
 
Scip sử dụng cho TrueBot của chủ Pt:
var state = ""
var ghost_count = 0;
var god_count = 0;
var hpFraction = 0.9;
var spFraction = 0.9;
var warp_back = 0;
var flag_stop = 0;
var check = 0;
var turn1 = 0;
var turn2 = 0;
var counter = 0;
var time1 = 0;
var time2 = 0;
var delay1 = 1000;
var delay2 = 500;

//my vars
//Chinh sua o duoi !!!
var mapid1 = 12013;
var mapid2 = 12521;
var warpid1 = 1;
var warpid2 = 5;
var id_chupt = 1111111; // Điền Id của chủ Pt vào đây
var id_ptmem1 = 222222;// Id của các thành viên trong Pt
var id_ptmem2 = 333333;
var id_ptmem3 = 444444;
var id_ptmem4 = 555555;
var id_quansu = *******;// Điền lại Id của Quân sư

function MyAttack(){
turn1++;
if (turn1 == 1) {
sk = SkillID("Attack"); // Đặt skill của tướng, thông tin về Id của skill tham khảo thêm

ts.SendAttack(
ts.Character.Row
, ts.Character.Col
, 0
, 2
, sk // vị trí đánh của tướng 0 tưong ứng với hàng sau, 2 tương ứng với vị trí đánh, 0,2 tức là hàng sau, vị trí thứ 2 tính từ trái qua phải
)
}
if (turn1 >= 2) {
sk = SkillID("Attack");

ts.SendAttack(
ts.Character.Row
, ts.Character.Col
, 0
, 4
, sk
)
}
}

function MyPartnerAttack(){
turn2++;
if (turn2 == 1) {
sk = SkillID("Fire Arrow");

ts.SendAttack(
ts.CurrentPartner.Row
, ts.CurrentPartner.Col
, 0
, 2
, sk
)
}
if (turn2 >= 2) {
sk = SkillID("Defend");

ts.SendAttack(
ts.CurrentPartner.Row
, ts.CurrentPartner.Col
, ts.CurrentPartner.Row
, ts.CurrentPartner.Col
, sk
)
}
}

function BattleStarted(){
check = 0;
turn1 = 0;
turn2 = 0;
warp_back = 0;
flag_stop = 0;
time1 = 0;
time2 = 0;
}
function BattleStoped(){
check = 1;
SaveWarrior();
EatHP();
EatSP();
//DoSendItem()
DoDropItem()
time1 = 0;
time2 = 0;
}

function EatHP(){
if (ts.Character.HP < (ts.Character.MAXHP * hpFraction)){
doEatHP(0,(ts.Character.MAXHP * hpFraction)-ts.Character.HP)
}
if (ts.CurrentPartner.HP < (ts.CurrentPartner.MAXHP * hpFraction)){
doEatHP(ts.CurrentPartner.Order,(ts.CurrentPartner.MAXHP * hpFraction)-ts.CurrentPartner.HP)
}
}

function EatSP(){
if (ts.Character.SP < (ts.Character.MAXSP * spFraction)){
doEatSP(0,(ts.Character.MAXSP * spFraction)-ts.Character.SP)
}
if (ts.CurrentPartner.SP < (ts.CurrentPartner.MAXSP * spFraction)){
doEatSP(ts.CurrentPartner.Order,(ts.CurrentPartner.MAXSP * spFraction)-ts.CurrentPartner.SP)
}
}

function SaveWarrior(){
if(ts.CurrentPartner.HP< 10){
frm.mnuEnableReconnect.Checked = false;
ts.Disconect();
debug(" Cuu nguoi tren het! Disconnect nha! : ",0x0000FF)
}
}


function onEvilGod(){
ghost_count++
debug("E V I L G O D."+"["+ghost_count+"]",0x0000FF)
}

function onLuckyGod(){
god_count++;
debug("LUCKY G O D.",0xFF0000)
if(!QA.Exists(ts.LastQuestion)){
QA.Add(ts.LastQuestion,ts.LastResponseAnswer)
msg = "QA.Add(\""+ts.LastQuestion+"\",\""+ts.LastResponseAnswer+"\")"
WriteLog("QA.js",msg)
}
}

function NpcDialogMenu(DialogId){
debug("Menu "+DialogId,0x0000FF)
ts.SelectChoice(1);
ts.SendEnd();
}

function NpcDialog(DialogId) {
debug("Dialog "+DialogId,0x0000FF)
ts.SendEnd()
}

function FinishAnswerFuckGod(){
if (check = 1) { if (ts.Character.mapid==mapid1) {ts.Walk(1522,175);ts.delay(delay1);ts.delay(500);ts.warp(warpid1);};
if ((ts.Character.mapid==mapid2) && (flag_stop == 0)) {ts.Walk(60,1630);ts.delay(delay2);ts.delay(500);ts.warp(warpid2);}
}
if(ghost_count>=2){
debug("2 con ma rui! Disconnect thoi!",0x00aaaa)
ts.Disconect();
}
}

function doEatHP(order,difHp){
for(var i = 1;i<= 25 ;i++){
var oSlot = ts.MyItems.Item(i)
var oItem = ITEMS.Item(oSlot.itemid)
if (oSlot.itemid == 0){ continue; }
if(oItem.isHPItem()){
if (oItem.itemvalue > difHp){ continue; }
var eatHpAmt = (difHp - (difHp % oItem.itemvalue)) / oItem.itemvalue
if (eatHpAmt> 0){
if (eatHpAmt > oSlot.num){eatHpAmt = oSlot.num; }
ts.EatItem(i,eatHpAmt,order)
debug( "?"+oItem.itemname+" HP "+oItem.itemvalue+"at slot "+i+" decrease "+eatHpAmt+"?" ,0xC08008 )
difHp = difHp - eatHpAmt * oItem.itemvalue
}
}
}
}

function doEatSP(order,difSp){
for(var i = 1;i<= 25 ;i++){
var oSlot = ts.MyItems.Item(i)
var oItem = ITEMS.Item(oSlot.itemid)
if (oSlot.itemid == 0){ continue; }
if(oItem.isSPItem()){
if (oItem.itemvalue > difSp){ continue; }
var eatSpAmt = (difSp - (difSp % oItem.itemvalue)) / oItem.itemvalue
if (eatSpAmt> 0){
if (eatSpAmt > oSlot.num){eatSpAmt = oSlot.num; }
ts.EatItem(i,eatSpAmt,order)
debug( "?"+oItem.itemname+" SP "+oItem.itemvalue+"at slot "+i+" decrease "+eatSpAmt+"?" ,0xC08008 )
difSp = difSp - eatSpAmt * oItem.itemvalue
}
}
}
}

function DoDropItem() {
for(var i=1;i<=25;i++){
var oSlot = ts.MyItems(i);
if( oSlot.itemid == 0){ continue; }
var oItem = ITEMS.Item(oSlot.itemid);
var itemname = oItem.getName();
if( (itemname == "AutoAttackPill"
|| itemname == "Honey pill"
|| itemname == "AutoTonicPill"

|| itemname == "Saltedshoots"
|| itemname == "ZhuoScroll"
|| itemname == "HasteScroll")){
ts.DropItem(oSlot.slot,oSlot.num);
}
}
}
/*function DoSendItem() {
for(var i=1;i<=25;i++){
var oSlot = ts.MyItems(i);
if( oSlot.itemid == 0){ continue; }
var oItem = ITEMS.Item(oSlot.itemid);
var itemname = oItem.getName();
if( (itemname == "AutoAttackPill"
|| itemname == "Honey pill"
|| itemname == "AutoTonicPill"
|| itemname == "Yellow wine"
|| itemname == "Saltedshoots"
|| itemname == "ZhuoScroll"
|| itemname == "HasteScroll") && oSlot.num ==50){
ts.SendItemTo(75909,oSlot.slot,oSlot.num);
} else { if ((itemname == "Blood tonic"
|| itemname == "6HerbPotion"
|| oSlot.itemid == 27035
|| itemname == "ZhongYuanDew"
|| itemname == "RefreshPill") && oSlot.num ==50)
{ts.SendItemTo(75909,oSlot.slot,oSlot.num);}
}
}
}*/



function Start(){
flag_stop = 0;
time1 = 0;
time2 = 0;
if (ts.Character.mapid==mapid1) {ts.Walk(1522,175);ts.delay(delay1);ts.warp(warpid1);}
if (ts.Character.mapid==mapid2) {ts.Walk(60,1630);ts.delay(delay2);ts.warp(warpid2);}
}

function Stop(){
flag_stop = 1;
}

function InitBot(){
debug("login okie", 0x00FF00)
ts.Horse();
EatHP();
EatSP();
if (ts.Character.mapid==12012) {flag_stop = 1;ts.warp(2);}
if (ts.Character.mapid==mapid2) {flag_stop = 1;ts.warp(warpid2);}
frm.mnuAutoEat.Checked = false;
frm.mnuEnableReconnect.Checked = true;
Timer.Enabled = true;
}


function OnTimer(){
counter++;
if (counter == 30) {
ts.AcceptParty(id_ptmem4);
ts.AcceptParty(id_ptmem3);
ts.AcceptParty(id_ptmem2);
ts.AcceptParty(id_ptmem1);
ts.sena(id_quansu);
ts.Warp(warpid1);
}
if (counter==1000) {counter=counter-900};
if (ts.Character.mapid==mapid2) {time1++; if (time1 == 10) {time1 = 0;flag_stop = 0;check = 1;ts.warp(warpid2);}}
if (ts.Character.mapid==mapid1) {time2++; if (time2 == 120) {time2 = 0;flag_stop = 0;check = 1;ts.warp(warpid1);}}
}

function PartyStop( playerid ){
if(playerid == id_chupt || playerid == id_ptmem1 || playerid == id_ptmem2 || playerid == id_ptmem3 || playerid == id_ptmem4){
ts.Disconect();
}
}

function warpFinish(){
if ((check == 1) && flag_stop==0) { if (ts.Character.mapid==mapid1) {ts.Walk(1522,175);ts.delay(delay1);ts.warp(warpid1);};}
if (ts.Character.mapid==mapid2) {ts.Walk(60,1630);ts.delay(delay2);ts.warp(warpid2);}
if (ts.Character.mapid==10952) {ts.Walk(902,875);ts.delay(1000);ts.delay(1000);ts.warp(1);}
}


InitBot()
debug("Ti`nh trang hien nay: " + ts.Character.Ghost + " con ma!",0xFF9933)
 
Scrip của Mem (chỉnh sửa các skill như vị trí đánh,...)
var state = ""
var ghost_count = 0;
var god_count = 0;
var hpFraction = 0.95;
var spFraction = 0.95;
var warp_back = 0;
var flag_stop = 0;
var turn1 = 0;
var turn2 = 0;
var time = 0;

//my vars
//Chinh sua o duoi !!!

var mapid1 = 12013;
var mapid2 = 12521;
var warpid1 = 1;
var warpid2 = 5;
var id_chupt = 111111;
var id_ptmem1 = 222222;
var id_ptmem2 = 333333;
var id_ptmem3 = 444444;
var id_ptmem4 = 555555;
var id_quansu = ******;

function MyAttack(){
turn1++;
if (turn1 == 1) {
sk = SkillID("Fire Arrow");

ts.SendAttack(
ts.Character.Row
, ts.Character.Col
, 0
, 2
, sk
)
}
if (turn1 >= 2) {
sk = SkillID("Attack");

ts.SendAttack(
ts.Character.Row
, ts.Character.Col
, 0
, 4
, sk
)
}
}

function MyPartnerAttack(){
turn2++;
if (turn2 == 1) {
sk = SkillID("Fire Arrow");

ts.SendAttack(
ts.CurrentPartner.Row
, ts.CurrentPartner.Col
, 1
, 2
, sk
)
}
if (turn2 >= 2) {
sk = SkillID("Defend");

ts.SendAttack(
ts.CurrentPartner.Row
, ts.CurrentPartner.Col
, ts.CurrentPartner.Row
, ts.CurrentPartner.Col
, sk
)
}
}

function BattleStarted(){
turn1 = 0;
turn2 = 0;
warp_back = 0;
flag_stop = 0;
time = 0;
}
function BattleStoped(){
SaveWarrior();
EatHP();
EatSP();
//DoSendItem()
}

function EatHP(){
if (ts.Character.HP < (ts.Character.MAXHP * hpFraction)){
doEatHP(0,(ts.Character.MAXHP * hpFraction)-ts.Character.HP)
}
if (ts.CurrentPartner.HP < (ts.CurrentPartner.MAXHP * hpFraction)){
doEatHP(ts.CurrentPartner.Order,(ts.CurrentPartner.MAXHP * hpFraction)-ts.CurrentPartner.HP)
}
}

function EatSP(){
if (ts.Character.SP < (ts.Character.MAXSP * spFraction)){
doEatSP(0,(ts.Character.MAXSP * spFraction)-ts.Character.SP)
}
if (ts.CurrentPartner.SP < (ts.CurrentPartner.MAXSP * spFraction)){
doEatSP(ts.CurrentPartner.Order,(ts.CurrentPartner.MAXSP * spFraction)-ts.CurrentPartner.SP)
}
}

function SaveWarrior(){
if(ts.CurrentPartner.HP< 10){
frm.mnuEnableReconnect.Checked = false;
ts.Disconect();
debug(" Cuu nguoi tren het! Disconnect nha! : ",0x0000FF)
}
}


function onEvilGod(){
ghost_count++
debug("E V I L G O D."+"["+ghost_count+"]",0x0000FF)
}

function onLuckyGod(){
god_count++;
debug("LUCKY G O D.",0xFF0000)
if(!QA.Exists(ts.LastQuestion)){
QA.Add(ts.LastQuestion,ts.LastResponseAnswer)
msg = "QA.Add(\""+ts.LastQuestion+"\",\""+ts.LastResponseAnswer+"\")"
WriteLog("QA.js",msg)
}
}

function FinishAnswerFuckGod(){
if(ghost_count>=2){
debug("2 con ma rui! Disconnect thoi!",0x00aaaa)
ts.Disconect();
}
}

function doEatHP(order,difHp){
for(var i = 1;i<= 25 ;i++){
var oSlot = ts.MyItems.Item(i)
var oItem = ITEMS.Item(oSlot.itemid)
if (oSlot.itemid == 0){ continue; }
if(oItem.isHPItem()){
if (oItem.itemvalue > difHp){ continue; }
var eatHpAmt = (difHp - (difHp % oItem.itemvalue)) / oItem.itemvalue
if (eatHpAmt> 0){
if (eatHpAmt > oSlot.num){eatHpAmt = oSlot.num; }
ts.EatItem(i,eatHpAmt,order)
debug( "?"+oItem.itemname+" HP "+oItem.itemvalue+"at slot "+i+" decrease "+eatHpAmt+"?" ,0xC08008 )
difHp = difHp - eatHpAmt * oItem.itemvalue
}
}
}
}

function doEatSP(order,difSp){
for(var i = 1;i<= 25 ;i++){
var oSlot = ts.MyItems.Item(i)
var oItem = ITEMS.Item(oSlot.itemid)
if (oSlot.itemid == 0){ continue; }
if(oItem.isSPItem()){
if (oItem.itemvalue > difSp){ continue; }
var eatSpAmt = (difSp - (difSp % oItem.itemvalue)) / oItem.itemvalue
if (eatSpAmt> 0){
if (eatSpAmt > oSlot.num){eatSpAmt = oSlot.num; }
ts.EatItem(i,eatSpAmt,order)
debug( "?"+oItem.itemname+" SP "+oItem.itemvalue+"at slot "+i+" decrease "+eatSpAmt+"?" ,0xC08008 )
difSp = difSp - eatSpAmt * oItem.itemvalue
}
}
}
}

/*function DoSendItem() {
for(var i=1;i<=25;i++){
var oSlot = ts.MyItems(i);
if( oSlot.itemid == 0){ continue; }
var oItem = ITEMS.Item(oSlot.itemid);
var itemname = oItem.getName();
if( (itemname == "AutoAttackPill"
|| itemname == "Honey pill"
|| itemname == "AutoTonicPill"
|| itemname == "Yellow wine"
|| itemname == "Saltedshoots"
|| itemname == "ZhuoScroll"
|| itemname == "HasteScroll") && oSlot.num ==50){
ts.SendItemTo(1572417,oSlot.slot,oSlot.num);
} else { if ((itemname == "Blood tonic"
|| itemname == "6HerbPotion"
|| oSlot.itemid == 27035
|| itemname == "ZhongYuanDew"
|| itemname == "RefreshPill") && oSlot.num ==50)
{ts.SendItemTo(1572417,oSlot.slot,oSlot.num);}
}
}
}*/

function PlayerOnline( playerid ){
if (playerid == id_chupt) {
if (ts.Character.mapid==12012) {ts.Warp(2);}
if (ts.Character.mapid==mapid2) {ts.warp(warpid2);}
}
}



function Start(){
}

function Stop(){
}

function InitBot(){
debug("login okie", 0x00FF00)
EatHP();
EatSP();
if (ts.Character.mapid==12012) {ts.Warp(2);}
if (ts.Character.mapid==mapid2) {ts.warp(warpid2);}
frm.mnuAutoEat.Checked = false;
frm.mnuEnableReconnect.Checked = true;
Timer.Enabled = true;
}

function OnTimer(){
if (ts.Character.mapid==12012) {time++; if (time ==5) {time = 0; ts.Warp(2);}}
if (ts.Character.mapid==mapid2) {time++; if (time ==5) {time = 0; ts.Warp(warpid2);}}
}

function PartyStop( playerid ){
if(playerid == id_chupt || playerid == id_ptmem1 || playerid == id_ptmem2 || playerid == id_ptmem3 || playerid == id_ptmem4){
if (ts.Character.mapid==12012) {ts.Warp(2);}
if (ts.Character.mapid==mapid2) {ts.warp(warpid2);}
}
}

function warpFinish(){
if (ts.Character.mapid==10952) {ts.Walk(902,875);ts.delay(1000);ts.delay(1000);ts.warp(1);}
}

InitBot()
debug("Ti`nh trang hien nay: " + ts.Character.Ghost + " con ma!",0xFF9933)
 
Của Gà (lv1) thường cho pt cùng để ăn điểm đạo sư đoàn kết
var state = ""
var ghost_count = 0;
var god_count = 0;
var hpFraction = 1;
var spFraction = 0.95;
var warp_back = 0;
var flag_stop = 0;
var turn1 = 0;
var turn2 = 0;
var time = 0;

//my vars
//Chinh sua o duoi !!!

var mapid1 = 12013;
var mapid2 = 12521;
var warpid1 = 1;
var warpid2 = 5;
var id_chupt = 111111;
var id_ptmem1 = 222222;
var id_ptmem2 = 333333;
var id_ptmem3 = 444444;
var id_ptmem4 = 555555;
var id_quansu = ******;

function MyAttack(){
turn1++;
if (turn1 == 1) {
sk = SkillID("Attack");

ts.SendAttack(
ts.Character.Row
, ts.Character.Col
, 0
, 2
, sk
)
}
if (turn1 >= 2) {
sk = SkillID("Escape ");

ts.SendAttack(
ts.Character.Row
, ts.Character.Col
, ts.Character.Row
, ts.Character.Col
, sk
)
}
}


function MyPartnerAttack(){
turn2++;
if (turn2 == 1) {
sk = SkillID("Fire Arrow");

ts.SendAttack(
ts.CurrentPartner.Row
, ts.CurrentPartner.Col
, 0
, 2
, sk
)
}
if (turn2 >= 2) {
sk = SkillID("Escape ");

ts.SendAttack(
ts.CurrentPartner.Row
, ts.CurrentPartner.Col
, ts.CurrentPartner.Row
, ts.CurrentPartner.Col
, sk
)
}
}

function BattleStarted(){
turn1 = 0;
turn2 = 0;
warp_back = 0;
flag_stop = 0;
time = 0;
}

function BattleStoped(){
SaveWarrior();
EatHP();
EatSP();
//DoSendItem()
DoDropItem()
}

function EatHP(){
if (ts.Character.HP < (ts.Character.MAXHP * hpFraction)){
doEatHP(0,(ts.Character.MAXHP * hpFraction)-ts.Character.HP)
}
if (ts.CurrentPartner.HP < (ts.CurrentPartner.MAXHP * hpFraction)){
doEatHP(ts.CurrentPartner.Order,(ts.CurrentPartner.MAXHP * hpFraction)-ts.CurrentPartner.HP)
}
}

function EatSP(){
if (ts.Character.SP < (ts.Character.MAXSP * spFraction)){
doEatSP(0,(ts.Character.MAXSP * spFraction)-ts.Character.SP)
}
if (ts.CurrentPartner.SP < (ts.CurrentPartner.MAXSP * spFraction)){
doEatSP(ts.CurrentPartner.Order,(ts.CurrentPartner.MAXSP * spFraction)-ts.CurrentPartner.SP)
}
}

function SaveWarrior(){
if(ts.CurrentPartner.HP< 10){
frm.mnuEnableReconnect.Checked = false;
ts.Disconect();
debug(" Cuu nguoi tren het! Disconnect nha! : ",0x0000FF)
}
}


function onEvilGod(){
ghost_count++
debug("E V I L G O D."+"["+ghost_count+"]",0x0000FF)
}

function onLuckyGod(){
god_count++;
debug("LUCKY G O D.",0xFF0000)
if(!QA.Exists(ts.LastQuestion)){
QA.Add(ts.LastQuestion,ts.LastResponseAnswer)
msg = "QA.Add(\""+ts.LastQuestion+"\",\""+ts.LastResponseAnswer+"\")"
WriteLog("QA.js",msg)
}
}

function FinishAnswerFuckGod(){
if(ghost_count>=2){
debug("2 con ma rui! Disconnect thoi!",0x00aaaa)
ts.Disconect();
}
}

function doEatHP(order,difHp){
for(var i = 1;i<= 25 ;i++){
var oSlot = ts.MyItems.Item(i)
var oItem = ITEMS.Item(oSlot.itemid)
if (oSlot.itemid == 0){ continue; }
if(oItem.isHPItem()){
if (oItem.itemvalue > difHp){ continue; }
var eatHpAmt = (difHp - (difHp % oItem.itemvalue)) / oItem.itemvalue
if (eatHpAmt> 0){
if (eatHpAmt > oSlot.num){eatHpAmt = oSlot.num; }
ts.EatItem(i,eatHpAmt,order)
debug( "?"+oItem.itemname+" HP "+oItem.itemvalue+"at slot "+i+" decrease "+eatHpAmt+"?" ,0xC08008 )
difHp = difHp - eatHpAmt * oItem.itemvalue
}
}
}
}

function doEatSP(order,difSp){
for(var i = 1;i<= 25 ;i++){
var oSlot = ts.MyItems.Item(i)
var oItem = ITEMS.Item(oSlot.itemid)
if (oSlot.itemid == 0){ continue; }
if(oItem.isSPItem()){
if (oItem.itemvalue > difSp){ continue; }
var eatSpAmt = (difSp - (difSp % oItem.itemvalue)) / oItem.itemvalue
if (eatSpAmt> 0){
if (eatSpAmt > oSlot.num){eatSpAmt = oSlot.num; }
ts.EatItem(i,eatSpAmt,order)
debug( "?"+oItem.itemname+" SP "+oItem.itemvalue+"at slot "+i+" decrease "+eatSpAmt+"?" ,0xC08008 )
difSp = difSp - eatSpAmt * oItem.itemvalue
}
}
}
}

function DoDropItem() {
for(var i=1;i<=25;i++){
var oSlot = ts.MyItems(i);
if( oSlot.itemid == 0){ continue; }
var oItem = ITEMS.Item(oSlot.itemid);
var itemname = oItem.getName();
if( (itemname == "AutoAttackPill"
|| itemname == "Honey pill"
|| itemname == "AutoTonicPill"

|| itemname == "Saltedshoots"
|| itemname == "ZhuoScroll"
|| itemname == "HasteScroll")){
ts.DropItem(oSlot.slot,oSlot.num);
}
}
}
/*function DoSendItem() {
for(var i=1;i<=25;i++){
var oSlot = ts.MyItems(i);
if( oSlot.itemid == 0){ continue; }
var oItem = ITEMS.Item(oSlot.itemid);
var itemname = oItem.getName();
if( (itemname == "AutoAttackPill"
|| itemname == "Honey pill"
|| itemname == "AutoTonicPill"
|| itemname == "Yellow wine"
|| itemname == "Saltedshoots"
|| itemname == "ZhuoScroll"
|| itemname == "HasteScroll") && oSlot.num ==50){
ts.SendItemTo(75909,oSlot.slot,oSlot.num);
} else { if ((itemname == "Blood tonic"
|| itemname == "6HerbPotion"
|| oSlot.itemid == 27035
|| itemname == "ZhongYuanDew"
|| itemname == "RefreshPill") && oSlot.num ==50)
{ts.SendItemTo(75909,oSlot.slot,oSlot.num);}
}
}
}*/

function PlayerOnline( playerid ){
if (playerid == id_chupt) {
if (ts.Character.mapid==12012) {ts.Warp(2);}
if (ts.Character.mapid==mapid2) {ts.warp(warpid2);}
}
}


function Start(){
}

function Stop(){
}

function InitBot(){
debug("login okie", 0x00FF00)
EatHP();
EatSP();
if (ts.Character.mapid==12012) {ts.Warp(2);}
if (ts.Character.mapid==mapid2) {ts.warp(warpid2);}
frm.mnuAutoEat.Checked = false;
frm.mnuEnableReconnect.Checked = true;
Timer.Enabled = true;
}

function OnTimer(){
if (ts.Character.mapid==12012) {time++; if (time ==5) {time = 0; ts.Warp(2);}}
if (ts.Character.mapid==mapid2) {time++; if (time ==5) {time = 0; ts.Warp(warpid2);}}
}

function PartyStop( playerid ){
if(playerid == id_chupt || playerid == id_ptmem1 || playerid == id_ptmem2 || playerid == id_ptmem3 || playerid == id_ptmem4){
if (ts.Character.mapid==12012) {ts.Warp(2);}
if (ts.Character.mapid==mapid2) {ts.warp(warpid2);}
}
}

function warpFinish(){
if (ts.Character.mapid==10952) {ts.Walk(902,875);ts.delay(1000);ts.delay(1000);ts.warp(1);}
}

InitBot()
debug("Ti`nh trang hien nay: " + ts.Character.Ghost + " con ma!",0xFF9933)
 
Đây là scrip theo Legn@ của chủ Pt
double DisconnectFlag = 0.3; // Disconnect when current HP is below 30%

double hpFractionEat = 0.8; //Eat HP when current HP<= 80%
double spFractionEat = 0.8;
double hpFraction = 0.95; //Eat until current HP >= 95 %
double spFraction = 0.95;

byte DisconFai = 00; // Faith of warrior to disconnect

byte battle_count = 0;

byte myturn = 0;
byte peturn = 0;

byte pt1 = 0;
byte pt2 = 0;
byte pt3 = 0;
byte pt4 = 0;

double mapid1 = 12013;
double mapid2 = 12521;
byte warpid1 = 1;
byte warpid2 = 5;

/***** Chinh sua ID Member o day *****/

uint idmem1 = 111111; //chủ pt không cần điền Id vì đây là scip cảu chủ pt
uint idmem2 = 222222;
uint idmem3 = 333333;
uint idmem4_sena = 444444;

/*************************************/

/*********************** My Attack *************************/
public override void MyAttack()
{
myturn++;
if (myturn == 1)
{
CharacterInfo MyChar = ts.Character;
//NPCCombatObject Monster = findMonster();
ts.SendAttack(MyChar.Row, MyChar.Col, 0, 2, 10000);
}
if (myturn >=2)
{
CharacterInfo MyChar = ts.Character;
//NPCCombatObject Monster = findMonster();
ts.SendAttack(MyChar.Row, MyChar.Col, 0, 4, 10000);
}
}


/******************* My Partner Attack *********************/
public override void MyPartnerAttack()
{
peturn++;
if (peturn == 1)
{
CharacterInfo MyWarrior = ts.CurrentPartner;
//NPCCombatObject Monster = findMonster();
ts.SendAttack(MyWarrior.Row, MyWarrior.Col, 0, 2, 17001);
}
if (peturn >= 2)
{
CharacterInfo MyWarrior = ts.CurrentPartner;
//NPCCombatObject Monster = findMonster();
ts.SendAttack(MyWarrior.Row, MyWarrior.Col, 0, 4, 17001);
}
}


/********************* Battle Started **********************/
public override void BattleStarted()
{
battle_count++;
myturn = 0;
peturn = 0;
}


/********************* Battle Stoped ***********************/
public override void BattleStoped()
{
AutoEatFood();
ProcessInventoryAction();
CheckDisconnect();
Stop();
}


/******************* Receive Question *********************/
public override void doRecvQuestion()
{
}


/******************** Response Answer **********************/
public override void ResponseAnswer()
{
string tmp=ts.LastQuestion.Replace("=?","");
int ans=ts.Eval(tmp);
byte ans_index=Convert.ToByte(ts.LastAnswers[ans.ToString()]);
ts.Answer(ans_index);
}


/******************** NPC Dialog Menu **********************/
public override void NpcDialogMenu(ushort DialogId)
{
debug("Dialog Menu ID = "+DialogId.ToString());
}


/********************* NPC Dialog ID ***********************/
public override void NpcDialog(ushort DialogId)
{
debug("Dialog ID = "+DialogId.ToString());
}


/********************* On NPC Appear ***********************/
public override void onNPCAppear(ushort npcmapid, int x, int y)
{
}


/************************ On Timer *************************/
public override void OnTimer()
{

}


/********************** Warp Finish ************************/
public override void warpFinish()
{
Start();
}
/************************* Start ***************************/
public override void Start()
{
if (ts.Character.mapid == mapid1) {
ts.Walk(1542,180);
ts.Warp(warpid1);
return;
} else
if (ts.Character.mapid == mapid2) {
ts.Warp(warpid2);
return;
}
}

/************************** Stop ***************************/
public override void Stop()
{
debug("************************************************** **********************",255) ;
debug(" S? tr?n dánh : " + battle_count ,255) ;
debug(" HP c?a "+ts.Character.CharName+" = " + ts.Character.HP +" "+ "/" +" "+ ts.Character.MAXHP,255);
debug(" HP c?a "+ts.CurrentPartner.CharName +" = " + ts.CurrentPartner.HP + " "+"/" +" "+ ts.CurrentPartner.MAXHP +" "+" FAI = " + ts.CurrentPartner.fai,255);
debug(" S? con ma : " + ts.Character.ghost ,255) ;

}


/********************* Fishish Answer **********************/
public override void FinishAnswer()
{
Start();
}


/**************** Request Party Accept From ****************/

public override void RequestPartyAcceptFrom(uint playerid)
{
if (playerid == idmem1) {ts.delay(500);ts.AcceptParty(playerid); pt1 = 1;debug(playerid + " Johned team");}
if (playerid == idmem2) {ts.delay(500);ts.AcceptParty(playerid); pt2 = 1;debug(playerid + " Johned team");}
if (playerid == idmem3) {ts.delay(500);ts.AcceptParty(playerid); pt3 = 1;debug(playerid + " Johned team");}
if (playerid == idmem4_sena) {ts.delay(500);ts.AcceptParty(playerid);ts.delay(500);ts.Sena(playerid); pt4 = 1;debug(playerid + " Johned team, Qua^n Su = "+playerid);}
if (pt1 == 1 && pt2 == 1 && pt3 == 1 && pt4 == 1) {debug("Party Full -> Start ");Start();}
}

/*********************** Party Stop ************************/
public override void PartyStop(uint playerid)
{
if (playerid == idmem1) {debug("Dis by "+playerid+" dis");ts.Disconnect();}
if (playerid == idmem2) {debug("Dis by "+playerid+" dis");ts.Disconnect();}
if (playerid == idmem3) {debug("Dis by "+playerid+" dis");ts.Disconnect();}
if (playerid == idmem4_sena) {debug("Dis by "+playerid+" dis");ts.Disconnect();}
}

/************************ Init Bot *************************/
public override void InitBot()
{
AddDropItemList("viênongm?t");
AddDropItemList("t?d u?ngthu?c");
AddDropItemList("viên công kích");
Stop();
}
 
Của mem, cái này dùng chung cho các mem, kể cà gà chỉ cần sửa lại Skill Id là được
double DisconnectFlag = 0.3; // Disconnect when current HP is below 30%

double hpFractionEat = 0.8; //Eat HP when current HP<= 80%
double spFractionEat = 0.8;
double hpFraction = 0.95; //Eat until current HP >= 95 %
double spFraction = 0.95;

byte DisconFai = 00; // Faith of warrior to disconnect

byte battle_count = 0;

byte myturn = 0;
byte peturn = 0;

byte pt1 = 0;
byte pt2 = 0;
byte pt3 = 0;
byte pt4 = 0;

/***** Chinh sua ID chu Party o day *****/

uint idchupt = ******;

/*************************************/

/*********************** My Attack *************************/
public override void MyAttack()
{
myturn++;
if (myturn == 1)
{
CharacterInfo MyChar = ts.Character;
//NPCCombatObject Monster = findMonster();
ts.SendAttack(MyChar.Row, MyChar.Col, 0, 2, 12003);
}
if (myturn >=2)
{
CharacterInfo MyChar = ts.Character;
//NPCCombatObject Monster = findMonster();
ts.SendAttack(MyChar.Row, MyChar.Col, 0, 4, 10000);
}
}


/******************* My Partner Attack *********************/
public override void MyPartnerAttack()
{
peturn++;
if (peturn == 1)
{
CharacterInfo MyWarrior = ts.CurrentPartner;
//NPCCombatObject Monster = findMonster();
ts.SendAttack(MyWarrior.Row, MyWarrior.Col, 1, 2, 12003);
}
if (peturn >= 2)
{
CharacterInfo MyWarrior = ts.CurrentPartner;
//NPCCombatObject Monster = findMonster();
ts.SendAttack(MyWarrior.Row, MyWarrior.Col, 0, 4, 17001);
}
}


/********************* Battle Started **********************/
public override void BattleStarted()
{
battle_count++;
myturn = 0;
peturn = 0;
}


/********************* Battle Stoped ***********************/
public override void BattleStoped()
{
AutoEatFood();
ProcessInventoryAction();
CheckDisconnect();
Stop();
}


/******************* Receive Question *********************/
public override void doRecvQuestion()
{
}


/******************** Response Answer **********************/
public override void ResponseAnswer()
{
string tmp=ts.LastQuestion.Replace("=?","");
int ans=ts.Eval(tmp);
byte ans_index=Convert.ToByte(ts.LastAnswers[ans.ToString()]);
ts.Answer(ans_index);
}


/************************ On Timer *************************/
public override void OnTimer()
{
}


/************************* Start ***************************/
public override void Start()
{
debug("Request Party ..........");
ts.RequestParty(idchupt);
}


/************************** Stop ***************************/
public override void Stop()
{
debug("************************************************** **********************",255) ;
debug(" S? tr?n dánh : " + battle_count ,255) ;
debug(" HP c?a "+ts.Character.CharName+" = " + ts.Character.HP +" "+ "/" +" "+ ts.Character.MAXHP,255);
debug(" HP c?a "+ts.CurrentPartner.CharName +" = " + ts.CurrentPartner.HP + " "+"/" +" "+ ts.CurrentPartner.MAXHP +" "+" FAI = " + ts.CurrentPartner.fai,255);
debug(" S? con ma : " + ts.Character.ghost ,255) ;

}
/********************** Player Online **********************/
public override void PlayerOnline(uint playerid)
{
if (playerid == idchupt) {debug(idchupt + " Is Now Online, RequestParty ......");ts.delay(500);ts.RequestParty(idchupt);}
}

/************************ Init Bot *************************/
public override void InitBot()
{
AddDropItemList("viênongm?t");
AddDropItemList("t?d u?ngthu?c");
AddDropItemList("viên công kích");
Stop();
{debug("Login Okie, Request Party .......");ts.delay(500);ts.RequestParty(idchupt);}
}
 
Bác cho em hỏi trong phần script cua Legn@ thì các attck của nhân vật điền vao sau cái này phải không: if (myturn == 1), vi dụ nhé đây là turn1 thì ta muốn turn 1 bắn hỏa tiễn thì điền như vậy có đúng không: if (myturn == Fire Arow) có cần cho dấu " " vào không? if (myturn == "Fire Arrow")
Và cả cái này nữa nó có phải là vị trí đánh không: (MyChar.Row, MyChar.Col, 0, 2, 12003, Bác chỉ em luôn là nếu muốn đánh hàng dưới vào hà kỷ thì điền như nào và muốn đánh hàng trên thi điền như nào
Thanks bác.
 
Cái if(my turn==1) là turn combat, =1 là turn 1,=2 là turn 2,.. còn chỉnh sửa skill là ở cái lệnh ts.SendAttack, chỉnh sửa skill và vị trí đánh ở trong cái command này, câu lệnh này có 5 tham số ở trong, 2 cái đầu chỉ định con đánh ( tướng hay đệ) không cân sửa, chỉ quan tâm tới 3 tham số sau, tiếp đến 2 tham số thứ tự là hàng và cột, hàng là chỉ NPC đứng trước hay sau, hàng 0 la hang sau, hàng trước là 1, còn cột là vị trí của NPC tính từ trái qua phải, cái cuối là skill để đánh, chẳng hạn 12003 là hỏa tiễn, 18001 là chạy trốn,... Cho nên nếu muốn đánh hàng sau, vị trí thứ 2 tính từ trái qua thì sửa là ts.SendAttack(MyChar.Row, MyChar.Col, 0, 2, 12003); còn muốn đánh hàng trên thì sửa là ts.SendAttack(MyChar.Row, MyChar.Col, 1, 2, 12003); Đây là Id của các skill post lại tham khảo thêm
ID = 10000:"Attack":SP = 0 // Đánh thường
ID = 10001:"Throw Stone":SP = 9
ID = 10002:"Trunk Charge":SP = 13
ID = 10003:"Trap":SP = 14
ID = 10004:"Wood Spirit":SP = 18
ID = 10005:"Shooting Stone":SP = 22 //Ném đá
ID = 10006:"Grim Tooth":SP = 28
ID = 10007:"Rolling Stone":SP = 34
ID = 10008:"Sand Storm":SP = 38
ID = 10009:"Deactivate Shield":SP = 10
ID = 10010:"Activate Shield":SP = 33
ID = 10011:"Mountain Press":SP = 40
ID = 10012:"Earthquake":SP = 50
ID = 10013:"Stampede":SP = 45
ID = 10014:"Deactivate Reflect":SP = 10
ID = 10015:"Reflect":SP = 40
ID = 11001:"Drown":SP = 8
ID = 11002:"Ice Wall":SP = 11
ID = 11003:"Ice Scimitar":SP = 12 //Băng kiếm
ID = 11004:"Healing Stream":SP = 22
ID = 11005:"Power Geyser":SP = 18
ID = 11006:"SP Recovery":SP = 35
ID = 11007:"Heal":SP = 35
ID = 11008:"Flood ":SP = 26
ID = 11009:"Full SP Recovery":SP = 40
ID = 11010:"Full Heal":SP = 42
ID = 11011:"Hailstone":SP = 32
ID = 11012:"Esuna":SP = 15
ID = 11013:"Resurrection ":SP = 40
ID = 11014:"Freeze":SP = 40
ID = 11015:"Defrost":SP = 10
ID = 12001:"Start Fire":SP = 9
ID = 12002:"Flame":SP = 12
ID = 12003:"Fire Arrow":SP = 15 // Hỏa tiễn
ID = 12004:"Fire Ball":SP = 22
ID = 12005:"Fire Wheel":SP = 22
ID = 12006:"Deathblow":SP = 24
ID = 12007:"Flamedance":SP = 30
ID = 12008:"Flame Tornado":SP = 30
ID = 12009:"Flame Saber":SP = 30 //Hỏa kiếm
ID = 12010:"Drake Inferno":SP = 37
ID = 12011:"Inferno Wheel":SP = 37
ID = 12012:"Flame Strike":SP = 46
ID = 12013:"Breath of Fire":SP = 50
ID = 12014:"Reign of Fire":SP = 60
ID = 12015:"Nova":SP = 50 // Bạch hồng quán nhật
ID = 13001:"Wind":SP = 9
ID = 13002:"Whirlwind":SP = 15 // Tuyền phong (trói)
ID = 13003:"Wind Walk":SP = 13
ID = 13004:"Violent Gale":SP = 23
ID = 13005:"Invisibility":SP = 22
ID = 13006:"Typhoon":SP = 30
ID = 13007:"Stun Strike":SP = 31 //Huyền kích
ID = 13008:"Replication":SP = 38
ID = 13009:"Tornado":SP = 40
ID = 13010:"Combo Attack":SP = 40
ID = 13011:"Mini":SP = 33
ID = 13012:"Magnify":SP = 33
ID = 13013:"Random Hit":SP = 49
ID = 13014:"Healing Breeze":SP = 45
ID = 14001:"Scan ":SP = 0
ID = 14002:"Flee":SP = 10 //Đào tẩu
ID = 14003:"Bazaar":SP = 0
ID = 14004:"Excavation":SP = 0
ID = 14005:"Alchemy":SP = 0
ID = 14006:"Shout":SP = 20
ID = 14007:"Awakening":SP = 5
ID = 14008:"Slumber":SP = 15
ID = 14009:"Recruit":SP = 0
ID = 14010:"Mining":SP = 0
ID = 14011:"Forging":SP = 0
ID = 14012:"Cooperate":SP = 36
ID = 14013:"Cheer":SP = 36
ID = 14014:"Antidote":SP = 8
ID = 14015:"Envenom ":SP = 25
ID = 14016:"Trade":SP = 0
ID = 14017:"Sit":SP = 0
ID = 14018:"Deep Prospecting":SP = 0
ID = 14019:"Creation":SP = 0
ID = 14020:"Confuse":SP = 30
ID = 14021:"Blind":SP = 25
ID = 14022:"Eye Drops":SP = 10
ID = 14023:"Riding":SP = 0
ID = 14024:"Hocus Pokus":SP = 20
ID = 14025:"Mug":SP = 0
ID = 10016:"Golem":SP = 120
ID = 11016:"Shiva ":SP = 120
ID = 12016:"Phoenix":SP = 120
ID = 13015:"Wood Dragon":SP = 120
ID = 14026:"Summon":SP = 0
ID = 14027:"Mentor":SP = 0
ID = 14028:"Teamwork":SP = 0
ID = 14029:"Gypsy's Bomb":SP = 60
ID = 14030:"Gypsy's Crush":SP = 80
ID = 10017:"Stone Golem":SP = 120
ID = 10018:"Rock Golem":SP = 120
ID = 10019:"Golem":SP = 120
ID = 11017:"Lady of Lake":SP = 120
ID = 11018:"Goddess of Stream":SP = 120
ID = 11019:"Shiva ":SP = 120
ID = 12017:"Pyro Fly":SP = 120
ID = 12018:"Fire Bird":SP = 120
ID = 12019:"Phoenix":SP = 120
ID = 13016:"Leaf Lizard":SP = 120
ID = 13017:"Grass Serpeant":SP = 120
ID = 13018:"Wood Dragon":SP = 120
ID = 15001:"Capture":SP = 0
ID = 15002:"Net":SP = 0
ID = 15003:"Net Success":SP = 0
ID = 16001:"Arrow Tower":SP = 0
ID = 17001:"Defend":SP = 0 // Phòng vệ
ID = 18001:"Escape ":SP = 0 // Chạy trốn
ID = 18002:"Escape Fail":SP = 0
ID = 19001:"Item":SP = 0
ID = 20001:"Vampiric Tree":SP = 0
ID = 20002:"Poisoned":SP = 0
ID = 20003:"Deflect Harm":SP = 0
ID = 20004:"Disastrous Phantom":SP = 0
ID = 20005:"God of Luck":SP = 0
ID = 20006:"Protect":SP = 0
ID = 20007:"Deactivate Protect":SP = 0
ID = 20008:"Amulet ":SP = 0
ID = 20009:"Siege Ram":SP = 0
ID = 20010:"Blade Truck":SP = 0
ID = 20011:"Arbalest ":SP = 0
ID = 20012:"Catapult":SP = 0
ID = 20013:"Fence/ Arrow Tower":SP = 0
ID = 20014:"Quad Darkness":SP = 60
ID = 20015:"Quad Esuna":SP = 60
ID = 20016:"Head of Dragon":SP = 40
ID = 20017:"Right Claw":SP = 40
ID = 20018:"Left Talon ":SP = 40
 
Vậy nếu đứng thủ thì ta thay vì viết ID ta viết "Defend" có được không vậy, như trong ví dụ của bác ta sẽ bắn hỏa tiễn vào triệu hoành (con địa) chứ không phải vào con Hà nghi (con phong) đúng vậy không bác.
 
Vậy có script của con QS của Legna kô ?? Làm sao set QS ??? Có auto giống như của tb kô ??
Nêu vị trí chô đó kô cò con đứng có được tính là 1 chô kô ?? Giống như ở Cự Lộc, hàng trên. Bên trái có 1 chỗ trống. Vậy có tính là 1 chô kô và 2 con kia là 2 và 3 ?? làm ơn giúp mình với nha, Mình chả hiểu tí gì về lập trình mặc dù đã có học ^^.
Cho hỏi có script Auto send Item kô vậy bạn ???
 
dai ca viet em cai scipit bot HC duoc ko vay duoc. thi` thhx dai ca nhieu` em thac mac dung' cai walk T_T
 
noname123 nói:
Vậy có script của con QS của Legna kô ?? Làm sao set QS ??? Có auto giống như của tb kô ??
Nêu vị trí chô đó kô cò con đứng có được tính là 1 chô kô ?? Giống như ở Cự Lộc, hàng trên. Bên trái có 1 chỗ trống. Vậy có tính là 1 chô kô và 2 con kia là 2 và 3 ?? làm ơn giúp mình với nha, Mình chả hiểu tí gì về lập trình mặc dù đã có học ^^.
Cho hỏi có script Auto send Item kô vậy bạn ???
Không tính nếu không có con đứng ở đó, trong scrip của chủ pt có set quân sư rồi còn gì, hơn nữa nhìn vào cái legn của chủ pt nó còn hiện thông tin cho mình con nào la quân sư lúc mới party
 
Ok. Thanks sir. Cho hỏi chút là đoạn script con chủ pt của Legn@ sao nó báo lỗi: ) expected và Invalid expression term ')' . Hem biêt tại sao luôn. Mới log thữ con chủ pt đã bị báo lỗi đó ^^.
Còn đoạn script Auto Send hoặc Auto Drop ?? Bạn có biết hem, chỉ mình dzớiiiiiii. Help me please. Thanks much ...
 
noname123 nói:
Ok. Thanks sir. Cho hỏi chút là đoạn script con chủ pt của Legn@ sao nó báo lỗi: ) expected và Invalid expression term ')' . Hem biêt tại sao luôn. Mới log thữ con chủ pt đã bị báo lỗi đó ^^.
Còn đoạn script Auto Send hoặc Auto Drop ?? Bạn có biết hem, chỉ mình dzớiiiiiii. Help me please. Thanks much ...
Sửa trong cái hàm này public override void RequestPartyAcceptFrom(uint playerid) có cái delay(5 00) thành delay(500), không hiểu sao cứ post lên đây lại thành ra thế :p.
 
bac lmt oi em thay cai scipit bot CL cua bac sao ay' a' ko thay co' con de. ban 2 con dau` tien
ma cai nay` co tu. pt ko vay. bac
cho em hoi them 2 acc 100 + 2 acc 90 + 1 con pet 92 +70 +80 +60 thi` bot 1 ga duoc ko bac' combo 100% ko de? em cho no escape :D
 
Về vấn đề combo và sử dụng được lệnh escape thì lấy lv của các acc cộng lại chia trung bình ra, nếu >=71 thì dùng được câu lệnh đó, nếu không gà sẽ up lv cho đến khi trung bình trung của pt>=71. Còn bắn hàng trên thì các bạn phải sửa lại scrip của nó, ở đây chỉ là scrip chung, chỉnh sửa tùy theo từng Pt và agi của tướng cũng như của đệ, chẳng hạn muốn pet của mem 1 bắn hang trên thì sẽ là ts.SendAttack(MyWarrior.Row, MyWarrior.Col, 1, 2, 12003); của hàm public override void MyPartnerAttack() . Còn tự động pt thì phải điền các Id của mem vào trong khai báo chủ PT, đồng thời trong srcip của mem phải gõ id vào chỗ uint idchupt = ******;
 
Cho mình hỏi thêm: muốn cho time ra vào hang nhanh hoặc chậm thì chỉnh ra sao?
Bạn cũng sửa dùm mình cho con chủ pt nha. Chủ pt mình tướng turn 1 hỏa tiễn 2 con hàng trên còn pet thì combo cùng gà. giúp mình nha nmt_l
 
cho 1 script legne@ nói về bót NPC được hem dạ, thax trước
 
Status
Không mở trả lời sau này.
Back
Top