Aires Jr Posted August 10, 2018 Posted August 10, 2018 Hi guys, someone have a script to Oficial Server's, that is possible to lvl 1-85 with Ertheias Warrior? Quote
Leanse Posted August 22, 2018 Posted August 22, 2018 Good Night Guys! Im just needing an script to make a sound alert when the captha windows appear. Its for Classic 2.0 Server I try lot of ways to do it but cannot reach it. Thx in advance!! Quote
zicadocf Posted August 27, 2018 Posted August 27, 2018 (edited) Xd Edited August 27, 2018 by zicadocf Quote
Rudatooy Posted September 1, 2018 Posted September 1, 2018 On 8/22/2018 at 12:55 AM, Leanse said: Good Night Guys! Im just needing an script to make a sound alert when the captha windows appear. Its for Classic 2.0 Server I try lot of ways to do it but cannot reach it. Thx in advance!! I also need that same script Quote
CertifiedNewbie Posted September 25, 2018 Posted September 25, 2018 Hi guys looking for a script that i can use to move to a few different locations grab a bunch of mobs then pull all the mobs to a corner to AOE and then repeat the process. Is there something out there i can do to accomplish this? Quote
AnitahIsBack Posted September 25, 2018 Posted September 25, 2018 (edited) 3 hours ago, CertifiedNewbie said: Hi guys looking for a script that i can use to move to a few different locations grab a bunch of mobs then pull all the mobs to a corner to AOE and then repeat the process. Is there something out there i can do to accomplish this? Simple script, but u can edit It: function checkAgro: boolean; var npc: TL2Npc; begin result := Engine.FindEnemy(npc, user, 1100)); end; begin engine.moveto(123,123,123); engine.useskill(123); engine.facecontrol(0,true); while checkAgro do delay(1111); engine.facecontrol(0,false); end. Edited September 25, 2018 by AnitahIsBack Quote
gemisiz1 Posted October 5, 2018 Posted October 5, 2018 On 7/15/2015 at 2:16 AM, adr.bot said: have fun xd var meele, range, lowHP, highHP:cardinal; item:tl2item; begin lowHP := 40; //change HP count in % meele := 6592; //weapon ID highHP := 80; //change HP count in % range := 7577; //weapon ID while true do begin delay(500); if (user.hp<lowHP) and inventory.user.byid(meele, item) and not(item.equipped) then begin engine.useitem(meele); end; if (user.hp>highHP) and inventory.user.byid(range, item) and not(item.equipped) then begin engine.useitem(range); end; end; end. EDIT: rly nice, take script and run, even "thanks" dont say xd hi how can i do it according to buff. for example, when the dance ends, it will be dual. You will use the sword weapon while you have a dance buff Quote
adr.bot Posted October 5, 2018 Posted October 5, 2018 1 hour ago, gemisiz1 said: hi how can i do it according to buff. for example, when the dance ends, it will be dual. You will use the sword weapon while you have a dance buff function isHaveBuff(BuffArray : array of cardinal) : boolean; var i:integer; buff : tl2buff; begin result := true; for i := 0 to high(BuffArray) do begin if not user.buffs.byid(BuffArray[i], buff) then begin result := false; exit; end; end; end; function getItem(id : cardinal) : tl2item; var item : tl2item; begin inventory.user.byid(id, item); result := item; end; var item : tl2item; ItemID_1, ItemID_2 : cardinal; begin ItemID_1 := 7577; ItemID_2 := 6608; while delay(555) do begin if not isHaveBuff([1040, 1068]) then begin if (getItem(ItemID_1) <> nil) and (not getItem(ItemID_1).equipped) then begin engine.useItem(ItemID_1); end; end else begin if (getItem(ItemID_2) <> nil) and (not getItem(ItemID_2).equipped) then begin engine.useItem(ItemID_2); end; end; end; end. should do job Quote
gemisiz1 Posted October 6, 2018 Posted October 6, 2018 12 hours ago, adr.bot said: function isHaveBuff(BuffArray : array of cardinal) : boolean; var i:integer; buff : tl2buff; begin result := true; for i := 0 to high(BuffArray) do begin if not user.buffs.byid(BuffArray[i], buff) then begin result := false; exit; end; end; end; function getItem(id : cardinal) : tl2item; var item : tl2item; begin inventory.user.byid(id, item); result := item; end; var item : tl2item; ItemID_1, ItemID_2 : cardinal; begin ItemID_1 := 7577; ItemID_2 := 6608; while delay(555) do begin if not isHaveBuff([1040, 1068]) then begin if (getItem(ItemID_1) <> nil) and (not getItem(ItemID_1).equipped) then begin engine.useItem(ItemID_1); end; end else begin if (getItem(ItemID_2) <> nil) and (not getItem(ItemID_2).equipped) then begin engine.useItem(ItemID_2); end; end; end; end. should do job thanks works very well. Can we do it according to the party buff? Quote
adr.bot Posted October 6, 2018 Posted October 6, 2018 11 minutes ago, gemisiz1 said: thanks works very well. Can we do it according to the party buff? yes u can Quote
gemisiz1 Posted October 6, 2018 Posted October 6, 2018 1 hour ago, adr.bot said: yes u can how to change which code Quote
adr.bot Posted October 6, 2018 Posted October 6, 2018 29 minutes ago, gemisiz1 said: how to change which code party.chars.items(Index).byid(id, tl2buff) Quote
gemisiz1 Posted October 6, 2018 Posted October 6, 2018 4 minutes ago, adr.bot said: party.chars.items(Index).byid(id, tl2buff) function isHaveBuff(BuffArray : array of cardinal) : boolean; var i:integer; buff : tl2buff; begin result := true; for i := 0 to high(BuffArray) do begin if not party.chars.items(Index).byid(id, tl2buff) then begin result := false; exit; end; end; end; not working :( Quote
adr.bot Posted October 6, 2018 Posted October 6, 2018 2 minutes ago, gemisiz1 said: function isHaveBuff(BuffArray : array of cardinal) : boolean; var i:integer; buff : tl2buff; begin result := true; for i := 0 to high(BuffArray) do begin if not party.chars.items(Index).byid(id, tl2buff) then begin result := false; exit; end; end; end; not working :( u need use for loop to party chars too Quote
Snowmandev Posted October 7, 2018 Posted October 7, 2018 hey im new here, but can anybody direct me towards some info on a bot for L2 NA Classic? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.