Truebot & linh tinh[Cấm chat nhảm]

  • Thread starter Thread starter micral
  • Ngày gửi Ngày gửi

Có nên lập 1 subbox bot discussion không ?


  • Total voters
    61
  • Poll closed .
Status
Không mở trả lời sau này.
KEN_BALAMO nói:
Cho hỏi ! Bãn Truebot này có xài dc WINDOWN SERVE ko nhĩ :-? ! Sao mà mình làm theo các bước của bác Mircal hết rùi mà bật Truebot lên nó bão version này ko thích hợp :o


2k, 2k s, xp ..., 2k3, ... đều chạy tuốt

Nhưng theo kinh nghiệm thì hình như 2k Pro chạy được nhiều truebot nhất, 2k3 Server ít dis nhất, XP là bình thường :>
 
em đang chơi bên sever Trương Phi, hiện nay lv63 & đang train Quang Bình lv40
theo kinh nghiệm của em khi treo Hướng Bàng (lv61) thì khi đánh ở Địa 56 & Địa 61 thì có vài vấn đề xảy ra với script của em. Đó là khi bị đánh chết mà vẫn không tự dis đc
lúc ở Địa 56, con Hướng Bàng bị chết vài lần, may nhờ em phát hiện kịp, còn wa Địa 61, em treo đêm và sáng ra thì đã thấy mình lẻ loi, con Hướng Bàng thì ôm của cải đi mất.
nay em nhờ mí anh xem giúp, cái script của em có bị gì không??
và nếu có thể thì em nhờ anh chỉnh sửa lại giúp em
var state = ""
var ghost_count = 0;
var DisconnectFlag = 0.3;
var hpFraction = 0.8;
var spFraction = 0.8;

function onNPCAppear(npcmapid,x,y)
{
ts.ClickOnNPC(npcmapid)
ts.ClickOnNPC(npcmapid)
}

function MyAttack(){
m = findMonster()
n = MonsterAlive()
sk = SkillID("Attack");
ts.SendAttack(
ts.Character.Row
, ts.Character.Col
, m.Row
, m.Col
, sk
)
ts.Character.MAXHP = 354
}
function MyPartnerAttack(){
m = findMonster()
sk = SkillID("Attack");
ts.SendAttack(
ts.CurrentPartner.Row
, ts.CurrentPartner.Col
, m.Row
, m.Col
, sk
)
ts.CurrentPartner.MAXHP = 590
}

function BattleStarted(){
}

function BattleStoped(){
AutoEatHPSP()
CheckDisconnect();
//ts.ClickOnNPC(1)

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

}
function onLuckyGod(){
debug("LUCKY G O D.",0xFF0000)
}
function OnTimer(){
}
function FinishAnswerFuckGod(){
if(ghost_count>=3){
ts.Disconect();
}
}


function Start(){
// no remove this function
}
function Stop(){
// no remove this function
}

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) || (oSlot.itemid == 26223)) { 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 AutoEatHPSP() {
var bRet=true;
if (ts.Character.HP < (ts.Character.MAXHP * hpFraction)){
doEatHP(0,(ts.Character.MAXHP)-ts.Character.HP)
}
if (ts.Character.SP < (ts.Character.MAXSP * spFraction)){
doEatSP(0,(ts.Character.MAXSP)-ts.Character.SP)
}
if (ts.CurrentPartner.HP < (ts.CurrentPartner.MAXHP * hpFraction)){
doEatHP(ts.CurrentPartner.Order,(ts.CurrentPartner.MAXHP )-ts.CurrentPartner.HP)
}
if (ts.CurrentPartner.SP < (ts.CurrentPartner.MAXSP * spFraction)){
doEatSP(ts.CurrentPartner.Order,(ts.CurrentPartner.MAXSP )-ts.CurrentPartner.SP)
}
}
function CheckDisconnect(){
if(ts.Character.HP < 100
|| ts.CurrentPartner.HP < 100
){
ts.Disconect();
}
}


function AutoSendItem(playerid)
{
for(var i=1;i<=25;i++)
{
var oSlot = ts.MyItems(i);
var oItem = ITEMS.Item(oSlot.itemid);
if( oSlot.itemid == 0){ continue; }
if (oSlot.num >= 50)
{
debug("Item " + oItem.getName() + " already full(" + oSlot.num + ").")
debug("Automatic Send To (" + playerid + ")")
ts.SendItemTo(00098424, oSlot.slot, oSlot.num)
break;
}
}
}


function AcceptedParty(playerid){
// If you not understand No change anything in this function
for(var i=0;i<PartyFriends.length;i++){
if(playerid == PartyFriends){
ts.AcceptParty(playerid)
if(playerid == DefaultSena){
ts.sena(playerid)
}
break;
}
}
}

function InitBot(){
SetPartyFriend("Cafe")
SetPartyFriend("DisneyM")
SetPartyFriend("friend name")
SetPartyFriend("friend name")

SetSena("DisneyM")
//Sit()
//Start()
//ts.ClickOnNPC(1)

}

InitBot()
 
micra oi
sao down load về máy thì nó dòi cai gi y'
sao ko vao` dc la sao
 
mấy pro cho mình hỏi tý ,mấy cái script tren chỉ danh cho 2.2.4 thôi hả minh choi bên tào tháo mà log vô bàn.2.4 khó wa,nó cứ báo
Connecting Server.......
Connected for 203.113.150.6:6414
Current mapid 12412
Connection Closed.
còn bàn 2.0.4 thì vao binh thuong nhung mà minh khong biet scrip của 2.0.4
mong may ban giúp dỡ mình tý
 
Mấy bạn cho mình hỏi, nếu mình chơi 3 acc thì chỉ cần chạy 1 cái WPE và 3 cái truebot thôi sao ?
Vậy mình phải để 3 cái truebot cho 3acc ở 3 folder khác nhau à ?
Qui trình chạy như thế này có được không :
- Chạy WPE
- Chọn filter
- Enable filter
- Chạy 1 lúc 3 cái truebot
- trong program target thì chọn cái truebot nào cũng được à ?
- Login = truebot cho 3 acc

Mình viết script cho 2 con lv 1 Flee ở turn 2, nếu 1 con thì nó Flee được,
nhưng 2 con lv 1 thì chỉ có 1 trong 2 con Flee thôi,con còn lại thì ở lại hưởng exp và tăng lv, còn đệ thì cả 2 con đệ (của con Flee và không Flee) đều hưởng exp và tăng lv đều đều :-s :-s
Vậy mình phải viết thế nào để cả 2 con đều Flee o turn 2 (giống o hang Cự Lộc đó mà) .
Còn vấn đề này nữa , sao con lv 1 lại Flee trước khi các char lv 14x đánh
con của mình toàn Flee sau cùng. ::( ::(
Mong các bạn giải thích sớm cho mình .
 
Mọi người cho mình hỏi cái: TB ngoài file truebot.exe và scrip.js ra, thì còn cần những file nào nữa để chạy tốt vậy, ai bít chỉ giùm nha
 
MC hay các bác nào khác biết xin chỉ dùm .
Trích dẫn:
HÕ H¥u Tôn Exp+ 624
mid id = 12301
Finish
************************************
Battle Count : 3
Dead Count : 0
Pet KO Count : 0
Lucky Count : 0
Ghost Count : 0
Warrior's FAI : HÕ H¥u Tôn : 91
************************************
mid id = 12063
Lay Chua Xin Dung Dis >_<
Start battle
Wen Chou Level=117 HP=1298/1298
Evil Guard Level=2 HP=27/27
FengJi Level=82 HP=627/627
Evil Guard Level=2 HP=27/27
Combat request.
Connection Closed.

Tại sao cứ đánh khoảng 3,4 trận là Dis không hiểu lí do ?Mình đang sử dụng TB ver 2.2.0.4 ,có lẽ do script ?

Đây là Code của Leader

Code:

var state = "" var ghost_count = 0; var god_count = 0; var die_count = 0; var pet_die_count = 0; var battle_count = 0; var DisconnectFlag = 0.3; var HealingFlag = 0.5; var hpFraction = 0.8; var spFraction = 0.7; var MyMapID = 15802; var mapid1 = 12301; //inside var mapid2 = 12063; var warpid1 = 1; var warpid2 = 2; var warp_pos_x_min = 502; var warp_pos_x_max = 622; var warp_pos_y = 335; var warp_pos_x_B = 202; var warp_pos_y_B = 555; var battle_round; var myParty = new Array(708276,858817,912359,1663327,697735); //ca'c id trong pt pt_leader = myParty[0]; //id chu pt pt_sena = myParty[1]; //id quan su function MyAttack(){ m = SelectF1Target(); // hoac: // m = findMonster(); (nhu tdck thuo`ng) battle_round++; sk = SkillID("Fire Arrow"); //skill ts.SendAttack( ts.Character.Row , ts.Character.Col , m.Row , m.Col , sk ); } function MyPartnerAttack(){ m = SelectF1Target(); sk = SkillID("Attack"); ts.SendAttack( ts.CurrentPartner.Row , ts.CurrentPartner.Col , m.Row , m.Col , sk ) } function BattleStarted(){ battle_count++; battle_round=0; } function BattleStoped(){ EatHP(); EatSP(); ViewState(); } 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 ViewState(){ debug("************************************",0xFF0000) debug(" Battle Count : " + battle_count ,0xFF0000) debug(" Dead Count : " + die_count ,0xFF0000) debug(" Pet KO Count : " + pet_die_count, 0xFF0000) debug(" Lucky Count : " + god_count, 0xFF0000) debug(" Ghost Count : " + ts.Character.Ghost ,0xFF0000) debug(" Warrior's FAI : " + ts.CurrentPartner.CharName +" : " + ts.CurrentPartner.fai,0xFF0000) debug("************************************",0xFF0000) } function onEvilGod(){ ghost_count++ debug("E V I L G O D."+"["+ghost_count+"]",0x0000FF) msg = "Wrong.Add(\""+ts.LastQuestion+"\",\""+ts.LastResponseAnswer+"\")" WriteLog("Wrong.js",msg) } function onLuckyGod(){ 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 onNPCAppear( npcmapid , x , y ){ //debug(npcmapid,0) if(npcmapid == npcmapid){ ts.ClickOnNPC(npcmapid) ts.ClickOnNPC(npcmapid) } } function FinishAnswerFuckGod(){ cdelay(3) god_count++; if(ghost_count>=3){ debug("3 ghost, disconnect now",0x00aaaa) frm.mnuEnableReconnect.Checked = false; ts.Disconect(); } if(state=="autowarp"){ //cdelay(3); WarpLink( mapid2 ,warpid2 , mapid1 ,warpid1); } } 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 NpcDialogMenu(DialogId){ ts.SelectChoice(1); debug("Cau chua di coan "+DialogId,0x0000FF) ts.SendEnd(); } function NpcDialog(DialogId){ ts.SendEnd(); } function Start(){ debug("Moving to battlefield...",0); state="autowarp"; var x = get_random(warp_pos_x_min,warp_pos_x_max) ts.Walk(x,warp_pos_y); WarpLink( mapid2 ,warpid2 , mapid1 ,warpid1); } function Stop(){ state=""; } function CheckDisconnect(){ if(ts.Character.HP < (DisconnectFlag * ts.Character.MAXHP) || ts.CurrentPartner.HP <(DisconnectFlag * ts.CurrentPartner.MAXHP) ){ frm.mnuEnableReconnect.Checked = false; ts.Disconect(); } } function OnPrivateMsg(PlayerName , Msg){ debug(PlayerName + ": " + Msg,0); } function InitBot() { debug("my bot" , 0x00FF00 ); EatHP(); EatSP(); Timer.Enabled=true; } function OnTimer(){ } function WaitAcceptParty(playerid){ for (var i=0; i<myParty.length;i++) { if (playerid ==myParty) { ts.AcceptParty(playerid); } } } function AcceptedParty(playerid){ //pname = getPlayerName(playerid) if(playerid == pt_sena) { ts.sena(playerid) //set strategist } pt_count++; if (pt_count==4) { //full pt 5 nguoi state=""; Start(); } } function RequestPartyAcceptFrom(PlayerId ){ } function PartyStop( playerid ){ for (var i=0; i<myParty.length;i++) { if (playerid ==myParty) { ts.Disconect(); } } } function onPlayerWalk( uid , x , y ){ //debug("uid = " + uid + " x = " + x + " y = " + y,0); } function warpFinish(){ if(state=="autowarp"){ if(ts.Character.mapid == mapid1){ ts.Walk(warp_pos_x_B,warp_pos_y_B); ts.Delay(4000); WarpLink( mapid2 ,warpid2 , mapid1 ,warpid1); }else if(ts.Character.mapid==mapid2){ var x = get_random(warp_pos_x_min,warp_pos_x_max) ts.Walk(x,warp_pos_y); ts.Delay(4000); WarpLink( mapid2 ,warpid2 , mapid1 ,warpid1); } } } InitBot() debug(ts.Character.Ghost,0x0000FF)



Còn đây là của Mem
Code:

var state = "" var ghost_count = 0; var god_count = 0; var die_count = 0; var pet_die_count = 0; var battle_count = 0; var DisconnectFlag = 0.3; var HealingFlag = 0.5; var hpFraction = 0.7; var spFraction = 0.4; var MyMapID = 15802; var battle_round; var myParty = new Array(11111,708276,33333,44444,55555); //ca'c id trong pt pt_leader = myParty[1]; //id chu pt pt_sena = myParty[0]; //id quan su function MyAttack(){ m = SelectF1Target(); // hoac: // m = findMonster(); (nhu tdck thuo`ng) battle_round++; sk = 12003; //skillhkick 13007 lkich13010 ts.SendAttack( ts.Character.Row , ts.Character.Col , m.Row , m.Col , sk ); } function MyPartnerAttack(){ m = SelectF1Target(); sk = 10000; ts.SendAttack( ts.CurrentPartner.Row , ts.CurrentPartner.Col , m.Row , m.Col , sk ) } function BattleStarted(){ battle_count++; battle_round=0; } function BattleStoped(){ EatHP(); EatSP(); ViewState(); } 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 ViewState(){ debug("************************************",0xFF0000) debug(" Battle Count : " + battle_count ,0xFF0000) debug(" Dead Count : " + die_count ,0xFF0000) debug(" Pet KO Count : " + pet_die_count, 0xFF0000) debug(" Lucky Count : " + god_count, 0xFF0000) debug(" Ghost Count : " + ts.Character.Ghost ,0xFF0000) debug(" Warrior's FAI : " + ts.CurrentPartner.CharName +" : " + ts.CurrentPartner.fai,0xFF0000) debug("************************************",0xFF0000) } function onEvilGod(){ ghost_count++ debug("E V I L G O D."+"["+ghost_count+"]",0x0000FF) msg = "Wrong.Add(\""+ts.LastQuestion+"\",\""+ts.LastResponseAnswer+"\")" WriteLog("Wrong.js",msg) } function onLuckyGod(){ 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 onNPCAppear( npcmapid , x , y ){ //debug(npcmapid,0) if(npcmapid == npcmapid){ ts.ClickOnNPC(npcmapid) ts.ClickOnNPC(npcmapid) } } function FinishAnswerFuckGod(){ cdelay(3) god_count++; if(ghost_count>=3){ debug("3 ghost, disconnect now",0x00aaaa) frm.mnuEnableReconnect.Checked = false; 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 Start(){ } function Stop(){ } function CheckDisconnect(){ if(ts.Character.HP < (DisconnectFlag * ts.Character.MAXHP) || ts.CurrentPartner.HP <(DisconnectFlag * ts.CurrentPartner.MAXHP) ){ frm.mnuEnableReconnect.Checked = false; ts.Disconect(); } } function OnPrivateMsg(PlayerName , Msg){ } function InitBot() { debug("my bot" , 0x00FF00 ); EatHP(); EatSP(); Timer.Enabled=true; } function OnTimer(){ if (ts.CurrentParty==0) ts.RequestParty(pt_leader); } function WaitAcceptParty(playerid){ for (var i=0; i<myParty.length;i++) { if (playerid ==myParty) { ts.AcceptParty(playerid); } } } function AcceptedParty(playerid){ } function RequestPartyAcceptFrom(PlayerId ){ } function PartyStop( playerid ){ for (var i=0; i<myParty.length;i++) { if (playerid ==myParty) { ts.Disconect(); } } } function onPlayerWalk( uid , x , y ){ //debug("uid = " + uid + " x = " + x + " y = " + y,0); } function warpFinish(){ //debug("Enter to map id: " + ts.Character.mapid + " by portal id: " + ts.LastWarpId ,0) } InitBot() debug(ts.Character.Ghost,0x0000FF)



Xin giúp dùm !!


Sao không ai giúp dùm em hết vậy ??? :(( :(( :((
 
Bạn viết scrip vậy ai po tay luôn ,ko thấy j hết, viết phải scrip phải rõ ràng chút chứ bạn
 
MrBobby nói:
Còn vấn đề này nữa , sao con lv 1 lại Flee trước khi các char lv 14x đánh
con của mình toàn Flee sau cùng. ::( ::(
Mong các bạn giải thích sớm cho mình .

để giải quyết vấn đề nay có 2 cách
thứ nhất turn 2 cả team phải def để lv1 đào tẩu cái này thì ko tốt lắm vì mất thời gian
thứ 2 la bạn cho lv agi cao hơn cả pt 1 hoặc 2 điểm agi là được thôi
 
Làm sao để dùng TB xem lv của những người trong sv vậy các bạn. Trong Xcab thì xem player name, còn trong TB thấy chức năng đó ko dùng được.
 
Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin
 
Duke nếu lo chít mà hông dis thì ... đeo 36 kế chương zô là hữu hịu nhất hà ... thấy script đúng mà có sai đâu hông hỉu sao ko tự dis ^^
 
longhung nói:
để giải quyết vấn đề nay có 2 cách
thứ nhất turn 2 cả team phải def để lv1 đào tẩu cái này thì ko tốt lắm vì mất thời gian
thứ 2 la bạn cho lv agi cao hơn cả pt 1 hoặc 2 điểm agi là được thôi

lv 1 có thể có agi cao hơn cả pt 14x à, bằng cách nào vậy ? :o
Mình mới chơi nên không hiểu lắm, lv 14x thì agi gốc chắc không thể dưới 100 được (thường là vậy, để còn pk, lôi đài chứ) còn chuyện cả team def là không có vì mình đã quan chiến nhiều team, khong có team nào def cả (lính không nhảy lên đánh khi lv 1 Flee). Tự dưng đánh xong turn 1 là 2 con lv 1 biến mất (có một vái team thì thấy Flee, còn lại thí tự dưng biến mất không vết tích), đúng o ngoài nhìn (không quan chiến) thì thấy 2 con lv 1 xuất hiện o ngoài. :o :o
 
Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin Ai còn giữ cái script Lưu Tiểu Đệ ko cho em xin
 
cái script này bot luu tieu de ver 2.0.4 sao ko đc
Mã:
var state = "" 
var ghost_count = 0; 
var god_count = 0; 
var die_count = 0; 
var pet_die_count = 0; 
var battle_count = 0; 
var pt_count = 0;
var DisconnectFlag = 0.3; 
var HealingFlag = 0.5; 
var hpFraction = 0.8; 
var spFraction = 0.4; 

var NPC = 3;

var battle_round;

var myParty = new Array(ID,ID,ID,ID,ID); //ca'c id trong pt
pt_leader = myParty[0]; //id chu pt
pt_sena = myParty[1]; //id quan su

function MyAttack(){ 
sk = 10000; //skill
ts.SendAttack(ts.Character.Row, ts.Character.Col, SelectF1Target().Row, SelectF1Target().Col, sk);
battle_round++;
} 


function MyPartnerAttack(){ 
sk = 10000; //skill
ts.SendAttack(ts.CurrentPartner.Row, ts.CurrentPartner.Col, SelectF1Target().Row, SelectF1Target().Col, sk);
} 

function BattleStarted(){ 
battle_count++; 
battle_round=0;
} 

function BattleStoped(){ 
EatHP();
EatSP();
ViewState();
} 

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 ViewState(){ 
debug("************************************",0xFF0000) 
debug(" Battle Count : " + battle_count ,0xFF0000) 
debug(" Dead Count : " + die_count ,0xFF0000) 
debug(" Pet KO Count : " + pet_die_count, 0xFF0000) 
debug(" Lucky Count : " + god_count, 0xFF0000) 
debug(" Ghost Count : " + ts.Character.Ghost ,0xFF0000) 
debug(" Warrior's FAI : " + ts.CurrentPartner.CharName +" : " + ts.CurrentPartner.fai,0xFF0000) 
debug("************************************",0xFF0000) 
} 

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

function onLuckyGod(){ 
debug("LUCKY G O D.",0xFF0000) 
} 


function FinishAnswerFuckGod(){ 
cdelay(3);
god_count++; 
if(ghost_count>=3){ 
debug("3 ghost, disconnect now",0x00aaaa) 
frm.mnuEnableReconnect.Checked = false;
ts.Disconect(); 
} 
cdelay(2);
Start();
} 

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 Start() 
{ 
   ts.ClickOnNPC(NPC);
} 

function Stop(){ 
}

function CheckDisconnect(){ 
   if(ts.Character.HP < (DisconnectFlag * ts.Character.MAXHP)
   || ts.CurrentPartner.HP <(DisconnectFlag * ts.CurrentPartner.MAXHP)
   ){
        ts.Disconect();
   }
} 

function InitBot() { 
   EatHP();
   EatSP();
} 

function WaitAcceptParty(playerid){ 
for (var i=0; i<myParty.length;i++) {
   if (playerid ==myParty[i]) { ts.AcceptParty(playerid); }
}
} 

function AcceptedParty(playerid){ 
if(playerid == pt_sena)  
{ 
   ts.sena(playerid) //set strategist 
} 
pt_count++;
if (pt_count == 4) { //full pt 5 nguoi
   Start();
}
} 

function PartyStop( playerid ){ 
for (var i=0; i<myParty.length;i++) {
   if (playerid == myParty[i]) { ts.Disconect();}
}
}

function onPlayerWalk( uid , x , y ){ 
if (uid > 101 && uid < 501) {
      debug("GM den roi chay thoi",0xFF0000);
      ts.Disconect(); 
  }
} 

function NpcDialogMenu(DialogId) 
{ 
   debug("dialog menu ID = " + ts.DialogId, 0 ); 
   ts.SendEnd(); 
} 

function NpcDialog(DialogId) 
{ 
   debug("dialog ID = " + ts.DialogId, 0); 
   if (DialogId == 12118) 
   {
         ts.ClickOnNPC(NPC);
         ts.ClickOnNPC(NPC);
   }
   else{ ts.SendEnd(); }
}

function PlayerOnline(playerid) {
  if (playerid > 101 && playerid < 501) {
      debug("GM den roi chay thoi",0xFF0000);
      ts.Disconect(); 
  }
  if(playerid == pt_leader);
  {
     ts.RequestParty(pt_leader);
  }
}

InitBot() 
debug("So ma dang deo : " + ts.Character.Ghost,0x0000FF)
login vào nó cứ ghi dialog 12132,dialog 12039 ......
 
MrBobby nói:
lv 1 có thể có agi cao hơn cả pt 14x à, bằng cách nào vậy ? :o
Mình mới chơi nên không hiểu lắm, lv 14x thì agi gốc chắc không thể dưới 100 được (thường là vậy, để còn pk, lôi đài chứ) còn chuyện cả team def là không có vì mình đã quan chiến nhiều team, khong có team nào def cả (lính không nhảy lên đánh khi lv 1 Flee). Tự dưng đánh xong turn 1 là 2 con lv 1 biến mất (có một vái team thì thấy Flee, còn lại thí tự dưng biến mất không vết tích), đúng o ngoài nhìn (không quan chiến) thì thấy 2 con lv 1 xuất hiện o ngoài. :o :o

Chài, đâu phải con nào cũng tăng agi hết đâu bạn, tăng agi chỉ để những ai thích PK, đi tháp hay đánh võ đài thôi. Còn train lvl chỉ cần agi vừa đủ là train được òi. Nếu agi bạn cao quá thì chịu khó mua CNHU về mà hồi lại, còn flee thì cứ cho con lvl 1 agi cao hơn pt 1 agi là OK òi. Như mấy con lvl của tôi agi = 40 à, PK hay đi mấy cái event thấy lvl cao thế chứ chít hoài à :D, thủy buff hồi sinh không kịp lun đóa :devil:
 
sao ko ai trả lời tui hết dzậy sao ko ai trả lời tui hết dzậy sao ko ai trả lời tui hết dzậy sao ko ai trả lời tui hết dzậy sao ko ai trả lời tui hết dzậy sao ko ai trả lời tui hết dzậy sao ko ai trả lời tui hết dzậy sao ko ai trả lời tui hết dzậy sao ko ai trả lời tui hết dzậy
 
ai có cái script bot DDA Tống Dũng voi ca~ Giãng Dung share tui nhé
 
Status
Không mở trả lời sau này.
Back
Top