Jump to content

Recommended Posts

  • 2 weeks later...
Posted

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!!

Captcha l2 Classic.jpg

Posted
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!!

Captcha l2 Classic.jpg

I also need that same script

 

  • 4 weeks later...
Posted

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?

Posted (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 by AnitahIsBack
  • 2 weeks later...
Posted
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

Posted
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

Posted
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?
 

Posted
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 :(

Posted
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

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.




  • Posts

    • L2VikosMemory | User Manual 1. General Information L2VikosMemory is a memory optimization tool for Lineage II. It automatically clears the game cache, reducing RAM usage and improving stability. 2. Installation Extract L2VikosMemory.dll and ogg.dll into the game folder (where l2.exe is located). No additional steps are required. 3. Configuration L2VikosMemory settings can be adjusted in the L2VikosMemory.cfg file: CleanInterval=X – Cleanup interval (in minutes) TryElevate=true/false – Enable/disable privilege escalation AltClientGuard=true/false – Compatibility setting for STRIXGUARD Example Configuration: CleanInterval=3   TryElevate=false   AltClientGuard=false   4. Verification The log file L2VikosMemory.log contains: Connection status Cleanup results Freed memory 5. Troubleshooting If L2VikosMemory is not working: Check if the DLL files are in the correct folder. Try running the game as an administrator. Check the log file for errors. 6. Support For support, contact Artem on Telegram. 7. Additional Information Compatibility: Supports most Lineage II clients. Recommended Interval: 3-5 minutes. Gameplay Impact: No effect on gameplay performance. Price: $150
    • L2 LOKAGAMERS - WEBSITE DESIGN    
    • Then wtf do You even do there? That's the issue. You think I only have those customers with negative experiance. I don't beg my customers to "post positive review in my topic at MXC's". 80% of them don't even have an account here. I don't care. But for TIME TO TIME, someone post a bad experiance review, because he had to wait and got refunded becausae of that...oh...now no-lifers like Cuntw0lf have something to do with their life. None of You were my customer so...You can fuck off 😎✌️
    • Where did I mention that you scam people? I was mentioning that people have to wait every now and then and to be honest that shouldn't happen. And I am not talking about these cases when your city get flooded. However, do what u think is appropriate, I really can't care enough.
    • I sell 20-30 launchers and logo designs per every 1 report about DELAY. Not scamm. DELAY. I don't have to feed Your croocked curiosity. If You don't know what "custom" means, I won't waste more time on You. Go spread Your conspiracy theories in other topics.
  • Topics

×
×
  • Create New...