Mã: 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 NS_count = 0; byte myturn = 0; byte peturn = 0; byte pt1 = 0; byte pt2 = 0; byte pt3 = 0; byte pt4 = 0; double mapid1 = 12421; double mapid2 = 12815; byte warpid1 = 2; byte warpid2 = 1; /***** Chinh sua ID Member o day *****/ uint idmem1 = 1825092; uint idmem2 = 1596006; uint idmem3 =02214021 ; uint idmem4_sena =1282311; /*************************************/ /*********************** My Attack *************************/ public override void MyAttack() { myturn++; if (myturn == 1) { CharacterInfo MyChar = ts.Character; //NPCCombatObject Monster = findMonster(); ts.SendAttack(MyChar.Row, MyChar.Col, 0, 3, 17001); } if (myturn ==2) { CharacterInfo MyChar = ts.Character; //NPCCombatObject Monster = findMonster(); ts.SendAttack(MyChar.Row, MyChar.Col, 0, 4, 17001); } if (myturn >=3) { CharacterInfo MyChar = ts.Character; //NPCCombatObject Monster = findMonster(); ts.SendAttack(MyChar.Row, MyChar.Col, 0, 3, 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, 1, 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(); ViewState(); ts.SendEnd(); } /******************* Receive Question *********************/ public override void doRecvQuestion() { NS_count++; } /******************** 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() { if (pt1 == 0) {ts.AcceptParty(idmem1);} if (pt2 == 0) {ts.AcceptParty(idmem2);} if (pt3 == 0) {ts.AcceptParty(idmem3);} if (pt4 == 0) {ts.AcceptParty(idmem4_sena);} } /********************* Accepted Party **********************/ public override void AcceptedParty(uint playerid) { if (playerid == idmem1) {debug(playerid + " Gia nh?p d?i ngu");pt1 = 1;} if (playerid == idmem2) {debug(playerid + " Gia nh?p d?i ngu");pt2 = 1;} if (playerid == idmem3) {debug(playerid + " Gia nh?p d?i ngu");pt3 = 1;} if (playerid == idmem4_sena) {debug(playerid + " Gia nh?p d?i ngu");pt4 = 1; ts.Sena(idmem4_sena);debug(playerid + " Làm Quân Su");} if (pt1 ==1 && pt2 == 1 && pt3 == 1 && pt4 == 1) {ts.SetTimerOnOff(false);ts.delay(1000);debug("Ð?i ngu dã d?y -> Start");Start();} } /*********************** Party Stop ************************/ public override void PartyStop(uint playerid) { if (playerid == idmem1) {debug(playerid+" R?i kh?i d?i ng? -> Disconnect !!!");ts.Disconnect();} if (playerid == idmem2) {debug(playerid+" R?i kh?i d?i ng? -> Disconnect !!!");ts.Disconnect();} if (playerid == idmem3) {debug(playerid+" R?i kh?i d?i ng? -> Disconnect !!!");ts.Disconnect();} if (playerid == idmem4_sena) {debug(playerid+" R?i kh?i d?i ng? -> Disconnect !!!");ts.Disconnect();} } /********************** Warp Finish ************************/ public override void warpFinish() { Start(); } /************************* Start ***************************/ public override void Start() { if (ts.Character.mapid == mapid1) { ts.delay(600); ts.Warp(warpid1); return; } else if (ts.Character.mapid == mapid2) { ts.Warp(warpid2); return; } } /************************** Stop ***************************/ public override void Stop() { } /*********************** View State ************************/ void ViewState() { 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? l?n g?p BTQ : "+ NS_count +" S? con ma : " + ts.Character.ghost ,255) ; debug("======= Script by TiêuPhong - Ð?ng_K?ng_S?n =======",255) ; } /********************* Fishish Answer **********************/ public override void FinishAnswer() { ts.delay(2000); Start(); } /************************ Init Bot *************************/ public override void InitBot() { ts.SetTimerOnOff(true); ts.SetReconnectTime(4); AddDropItemList("viênongmật"); AddDropItemList("Dâu đỏ"); AddDropItemList("Táo nhỏ"); AddDropItemList("tựđ uốngthuốc"); AddDropItemList("Táo nhỏ"); AddDropItemList("Bành Bột Mì"); AddDropItemList("viên công kích"); ViewState(); } đây là script chủ pt Mã: 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; /***** Chinh sua ID chu Party o day *****/ uint idchupt = 507931; /*************************************/ /*********************** My Attack *************************/ public override void MyAttack() { myturn++; if (myturn == 1) { CharacterInfo MyChar = ts.Character; //NPCCombatObject Monster = findMonster(); ts.SendAttack(MyChar.Row, MyChar.Col, 0, 1, 10000); } if (myturn >=2) { CharacterInfo MyChar = ts.Character; //NPCCombatObject Monster = findMonster(); ts.SendAttack(MyChar.Row, MyChar.Col, 0, 1, 18001); } } /******************* 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, 1, 10005); } if (peturn >= 2) { CharacterInfo MyWarrior = ts.CurrentPartner; //NPCCombatObject Monster = findMonster(); ts.SendAttack(MyWarrior.Row, MyWarrior.Col, 0, 4, 18001); } } /********************* 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() { ts.RequestParty(507931); } /************************* Start ***************************/ public override void Start() { debug("Request Party .........."); ts.RequestParty(507931); } /************************** Stop ***************************/ public override void Stop() { debug("************************************************** **********************",255) ; debug(" Số trận đá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) ; debug("======= Script by Jet007 - Copy Right GameVN–™ =======",255) ; } /********************** Player Online **********************/ public override void PlayerOnline(uint playerid) { if (playerid ==507931) {debug(507931 + " Is Now Online, RequestParty ......");ts.delay(500);ts.RequestParty(507931);} } /************************ Init Bot *************************/ public override void InitBot() { ts.SetTimerOnOff(true); ts.SetReconnectTime(2); AddDropItemList("viênongmật"); AddDropItemList("Dâu đỏ"); AddDropItemList("Táo nhỏ"); AddDropItemList("tựđ uốngthuốc"); AddDropItemList("Táo nhỏ"); AddDropItemList("Bành Bột Mì"); AddDropItemList("viên công kích"); Stop(); debug("Login Okie, Request Party .......");ts.delay(500);ts.RequestParty(507931); } đây là mem ko hiểu cái này là do mạng vnn or fpt hay là về sciprt của legna tui sài cái scirpt này khoanagr 1 tuần chạy rất tốt nhưng sau khoảng 1 tuần thì tự dưng nó đấnh rất lagggg từ mấy k điểm xuống mấy trăm nè
Ko phải là do mạng của vnn or fpt cả,vì bây giờ người người bot nhà nhà bot hỏi sao mà ko lag đc.MOD close topic này luôn
Thế bạn hổm rày ko nghe về gà tạo nhiều quá ko del làm nghẻn và lagg à , đơn nhiên ban ngày luyện cự lộc là laggg hơn ban đêm rùi ! ko phải do script gì hết :'>
Bây giờ bot chổ nào cũng vậy thôi,ra Thành tuyết thì 1 đám nhìn là hết muốn bot rùi,còn vào Cự Lộc thì khỏi nói rùi.Muốn đc nhiều điểm thì tốt nhất treo đêm thôi .
uh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do script uh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do scriptuh noi chung la` ko phai do script