duonghoa2005
Donkey Kong
Có ai hướng dẩn dùm script bot Tào Tháo ko?Hoặc đại loại các quét gặp NPC ẩn.Thanks.Cho hỏi thêm cái,cái Request script legna đâu mất tiêu.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Nếu có xcab pro thì cực khổ chi nữa ông,hichci,tui chẳng hiểu nổi warp như nào,warp cứ nhắm cửa chui ra,làm cách nào warp 1 chổ?nmt_l nói:Bot TT thi wap 9 lần, đảm bảo bem ngay, co một cách đơn giản để lấy dialog bằng cách xem trong xcab bản pro đó, :p
Script có vần đề chứ sao , post cái script lên đây rùi hảy nóixFantasyx nói:cho tui hỏi sao lúc truy cập Legn@ thì nó báo lỗi expect là sao ?????
30 chả 30 chả
, save MP chứ ko liên quan gì nhau #
bac' o? dau the' de? em toi' tan noi nho` bac' bay` em
lam'
Tìm những chổ 3 xóa đi,tìm những chổ 4 sửa thành 3.Terry_89 nói:script bình thường là pt full 5 người giờ mình muốn pt 4 người thôi phải sửa như thế nào minh đã thử nhiều cách nhưng không đuợc toàn bị báo lỗi tùm lum hết![]()

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 turnchar = 0;
byte turnpet = 0;
byte pt_count = 0;
string state="";
uint tv1 = 01604545; // la QS luon
uint tv2 = 01993142;
uint tv3 = 01152949;
uint tv4 = 02164177;
uint maxpt = 4; //So thanh vien
public override void MyAttack()
{
turnchar++;
if (turnchar == 1)
{
CharacterInfo MyChar = ts.Character;
ts.SendAttack(MyChar.Row, MyChar.Col, 0, 3, 10000);
}
if (turnchar >=2)
{
CharacterInfo MyChar = ts.Character;
ts.SendAttack(MyChar.Row, MyChar.Col, 0, 4, 17001);
}
}
public override void MyPartnerAttack()
{
turnpet++;
if (turnpet == 1)
{
CharacterInfo MyWarrior = ts.CurrentPartner;
ts.SendAttack(MyWarrior.Row, MyWarrior.Col, 0, 1, 17001);
}
if (turnpet >= 2)
{
CharacterInfo MyWarrior = ts.CurrentPartner;
ts.SendAttack(MyWarrior.Row, MyWarrior.Col, 0, 4, 17001);
}
}
public override void BattleStarted()
{
turnchar=0;
turnpet=0;
ts.SetTimerOnOff(false);
}
public override void BattleStoped()
{
AutoEatFood();
ProcessInventoryAction();
}
public override void doRecvQuestion()
{
state="BTQ";
}
public override void ResponseAnswer()
{
int dtime=get_random(1,5);
debug("Delay "+dtime.ToString()+" before answer.");
string tmp=ts.LastQuestion.Replace("=?","");
int ans=ts.Eval(tmp);
byte ans_index=Convert.ToByte(ts.LastAnswers[ans.ToString()]);
debug("Answer choice:"+ans_index.ToString());
ts.Answer(ans_index);
}
public override void PartyStop(uint playerid)
{
if (playerid == tv1 || playerid == tv2 || playerid == tv3 || playerid == tv4) { ts.Disconnect(); }
}
public override void warpFinish()
{ if(ts.Character.mapid == 12815){ts.delay(1000);ts.Warp(1);}
else
if(ts.Character.mapid == 12421 && pt_count==maxpt){ ts.Walk(662,475);ts.delay(1000);ts.Warp(2); }
}
public override void Start()
{
warpFinish();
}
public override void FinishAnswer()
{
Start();
}
public override void OnTimer()
{
ts.AcceptParty(tv1);
ts.AcceptParty(tv2);
ts.AcceptParty(tv3);
ts.AcceptParty(tv4);
}
public override void AcceptedParty(uint playerid)
{
if(playerid == tv1)
{
ts.Sena(playerid);
}
pt_count++;
if(pt_count==maxpt){
debug(" So thanh vien la : " + pt_count ,0x0000FF);
Start();
}
else{
debug(" So thanh vien la : " + pt_count ,0x0000FF);
}
}
public override void InitBot()
{
if (ts.Character.mapid==12815){ ts.Warp(1); ts.Disconnect();}
ts.SetTimerOnOff(true);
ts.SetReconnectTime(1);
ts.SetMaxIdleTime(20);
AddDropItemList("viênongmật");
AddDropItemList("Dâu đỏ");
AddDropItemList("Táo nhỏ");
AddDropItemList("Bành Bột Mì");
AddDropItemList("tựđ uốngthuốc");
AddDropItemList("viên công kích");
}
Update legnadieorlive nói:May Anh Cho Em Hoi? . Em Bot Dc Khoang 30 Phut La No Lai Dung Yen Ko Danh Nua. Em Chang Hiu Tai Sao Ca , Anh Nao Pro Thi Giup Em Di !
Terry_89 nói:script bình thường là pt full 5 người giờ mình muốn pt 4 người thôi phải sửa như thế nào minh đã thử nhiều cách nhưng không đuợc toàn bị báo lỗi tùm lum hết![]()
cách của bạn mình thử trước đó rồi không đuợc đâu bị báo lỗi liềnduonghoa2005 nói:Tìm những chổ 3 xóa đi,tìm những chổ 4 sửa thành 3.
ac4demy_07 nói:đây, sửa như thế này nè
uint idmem1 = 123456; //chủ pt không cần điền Id vì đây là scip cảu chủ pt
uint idmem2 = 123456;
uint idmem3_sena = 123456;
//với lại sửa thêm 2 hàm này
/**************** 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_sena) {ts.delay(500);ts.AcceptParty(playerid);ts.delay(500);ts.Sena(playerid); pt3 = 1;debug(playerid + " Johned team, Qua^n Su = "+playerid);}
if (pt1 == 1 && pt2 == 1 && pt3 == 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_sena) {debug("Dis by "+playerid+" dis");ts.Disconnect();}
}