Jump to content

L2 Adrenaline Scripts.


Recommended Posts

 

in my case I caught the name of the buff but in time to buff it to . and not buff . gk it in the normal wheel

begin

if user.inrange ( 111 731 , 219 011 , -3547 , 500)

then begin         Engine.SetTarget ( 31225 ) ;         Engine.DlgOpen ;         Delay (500 );  

       Engine.DlgSel ( 9);         Delay ( 1000) ;       end ;      end .

what should I do?

Link to comment
Share on other sites

I hope you change this "blablabla" for buffs bypass code no? xD

 

You need get string bypass using this script: its save txt file in you adrenaline folder

uses classes;
begin
with Tstringlist.create do
try
  Text := Engine.DlgText;
  SaveToFile(exepath+'show dlg'+'.txt');
finally
  Free;
 end;
end.
Edited by Anitah
Link to comment
Share on other sites

changed yes, '9' or 'Auto Buff ' and no catch ; /

 

So ofc dont work.

 

You need get string bypass using this script: its save txt file in you adrenaline folder

uses classes;
begin
with Tstringlist.create do
try
  Text := Engine.DlgText;
  SaveToFile(exepath+'show dlg'+'.txt');
finally
  Free;
 end;
end.

In this .txt just search autobuff bypass

 

If you dont understand me just copy .txt file here.

edit: run this script with bufer dialog open btw

Edited by Anitah
Link to comment
Share on other sites

  var obj: TL2NPC;

obj2: TL2Effect; 

begin

if user.inrange(111021, 219010, -3547, 500)  then begin

        Engine.SetTarget('zSnow');

        Engine.DlgOpen;

        Delay(500);

        Engine.BypassToServer('4');

        Delay(1000);  

      end; 

 

end.

 

 

 

 

 

my SO THIS.

Link to comment
Share on other sites

 

  var obj: TL2NPC;
obj2: TL2Effect; 
begin
if user.inrange(111021, 219010, -3547, 500)  then begin
        Engine.SetTarget('zSnow');
        Engine.DlgOpen;
        Delay(500);
        Engine.BypassToServer('4');
        Delay(1000);  
      end; 
 
end.
 
 
 
 
 
my SO THIS.

 

 

... xD

Look, just run this script with buffer dialog open:

uses classes;
begin
with Tstringlist.create do
try
  Text := Engine.DlgText;
  SaveToFile(exepath+'show dlg'+'.txt');
finally
  Free;
 end;
end.

And copy here .txt file

Link to comment
Share on other sites

uses classes;
begin
with Tstringlist.create do
try
Text := Engine.DlgText;
SaveToFile(exepath+'show dlg'+'.txt');
finally
Free;
end;
end

 

except that in .txt and perform this ?

 

 

var obj: TL2NPC;
obj2: TL2Effect; 
begin
if user.inrange(111021, 219010, -3547, 500)  then begin
        Engine.SetTarget('zSnow');
        Engine.DlgOpen;
        Delay(500);
        Engine.BypassToServer('4');
        Delay(1000);  
      end; 
 
end.
Link to comment
Share on other sites

Holy fuck man xD ...  Not so hard im not sure if is for me bad english or you just not read me xD

 

Is easy man, go to you lineage 2 server, and open buffer.

Go to adrenaline script window and run this script:

uses classes;
begin
with Tstringlist.create do
try
  Text := Engine.DlgText;
  SaveToFile(exepath+'show dlg'+'.txt');
finally
  Free;
 end;
end.

Now go to you adrenaline folder, you have show dlg.txt or something, open and copy all here.

Not so hard i think xD Cant explain better...

Link to comment
Share on other sites

 

- Look , 

 

text file show dlg.txt

uses classes;
begin
with Tstringlist.create do
try
  Text := Engine.DlgText;
  SaveToFile(exepath+'show dlg'+'.txt');
finally
  Free;
 end;
end.
 
text file show dlgautobuff.txt
 
<html><head><title>Macro Npc Buffer</title></head><body><center><img src="L2UI_CH3.herotower_deco" width=256 height=32><br><button value="Char Options" action="bypass -h Quest 5555_NPCBuffer buffpet 1 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"><table><tr><td><button value="Buffs" action="bypass -h Quest 5555_NPCBuffer redirect view_buffs 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td><td><button value="Resist" action="bypass -h Quest 5555_NPCBuffer redirect view_resists 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td></tr><tr><td><button value="Songs" action="bypass -h Quest 5555_NPCBuffer redirect view_songs 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td><td><button value="Dances" action="bypass -h Quest 5555_NPCBuffer redirect view_dances 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td></tr><tr><td><button value="Chants" action="bypass -h Quest 5555_NPCBuffer redirect view_chants 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td><td><button value="Special" action="bypass -h Quest 5555_NPCBuffer redirect view_special 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td></tr><tr><td><button value="Cubics" action="bypass -h Quest 5555_NPCBuffer redirect view_cubic 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td><td><button value="Auto Buff" action="bypass -h Quest 5555_NPCBuffer castBuffSet 0 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td></tr><tr><td><button value="Heal Me" action="bypass -h Quest 5555_NPCBuffer heal 0 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td><td><button value="Rem. Buffs" action="bypass -h Quest 5555_NPCBuffer removeBuffs 0 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td></tr></table><br><table><tr><td><button value="Create" action="bypass -h Quest 5555_NPCBuffer create_1 x x x" width=60 height=21 back="botaoes1.s04_over" fore="botaoes1.s04"></td></tr></table><br><font color="303030">Macro Npc Buffer</font></center></body></html>
 
 
correct?
Link to comment
Share on other sites

 

 

- Look , 

 

text file show dlg.txt

uses classes;
begin
with Tstringlist.create do
try
  Text := Engine.DlgText;
  SaveToFile(exepath+'show dlg'+'.txt');
finally
  Free;
 end;
end.
 
text file show dlgautobuff.txt
 
<html><head><title>Macro Npc Buffer</title></head><body><center><img src="L2UI_CH3.herotower_deco" width=256 height=32><br><button value="Char Options" action="bypass -h Quest 5555_NPCBuffer buffpet 1 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"><table><tr><td><button value="Buffs" action="bypass -h Quest 5555_NPCBuffer redirect view_buffs 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td><td><button value="Resist" action="bypass -h Quest 5555_NPCBuffer redirect view_resists 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td></tr><tr><td><button value="Songs" action="bypass -h Quest 5555_NPCBuffer redirect view_songs 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td><td><button value="Dances" action="bypass -h Quest 5555_NPCBuffer redirect view_dances 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td></tr><tr><td><button value="Chants" action="bypass -h Quest 5555_NPCBuffer redirect view_chants 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td><td><button value="Special" action="bypass -h Quest 5555_NPCBuffer redirect view_special 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td></tr><tr><td><button value="Cubics" action="bypass -h Quest 5555_NPCBuffer redirect view_cubic 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td><td><button value="Auto Buff" action="bypass -h Quest 5555_NPCBuffer castBuffSet 0 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td></tr><tr><td><button value="Heal Me" action="bypass -h Quest 5555_NPCBuffer heal 0 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td><td><button value="Rem. Buffs" action="bypass -h Quest 5555_NPCBuffer removeBuffs 0 0 0" width=120 height=21 back="botaoes1.s03_over" fore="botaoes1.s03"></td></tr></table><br><table><tr><td><button value="Create" action="bypass -h Quest 5555_NPCBuffer create_1 x x x" width=60 height=21 back="botaoes1.s04_over" fore="botaoes1.s04"></td></tr></table><br><font color="303030">Macro Npc Buffer</font></center></body></html>
 
 
correct?

 

no, if engine.dlgsel(); doesnt work then need use engine.bypasstoserver(string);

here is your "Auto Buff" button code 

<button value="Auto Buff" action="bypass -h Quest 5555_NPCBuffer castBuffSet 0 0 0" width=120 height=21

and you see bypass etc etc and use it like 

engine.bypasstoserver('Quest 5555_NPCBuffer castBuffSet 0 0 0');

no need copy bypass -h and then copy all until "

 

i dont know hope you understand xd

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...