Jump to content

Recommended Posts

Posted
10 minutes ago, siriys_blek said:

To walk around the rooms , like a mapped catas mostly i mean

Now i am searching script for CAPTCHA, cause some1 may report my bot.

 

what type of captcha exactly ,maybe it's shared alrdy..

  • 2 weeks later...
Posted
var
  adena:tl2item;
begin
  while engine.delay(555) do begin
  inventory.user.byid(57, adena);
    if assigned(adena) and (adena.count > 5 * 1000000) then begin // more than 5kk
      while not user.target.dead do delay(11);
      engine.facecontrol(0,false); delay(555);
      engine.entertext('.deposit'); delay(555);
      engine.facecontrol(0,true);
    end;
  end;
end.

 

Anyone can make this work?

  • 2 weeks later...
  • 1 month later...
Posted

Hi, 
I'm looking for a script for Sell/Buy actions with NPC on Interlude servers. Engine.Exchange doesn't work, so it must be done via packets.

Or if you know how to catch a specifit packets I will be grateful.

  • 3 weeks later...
Posted

Hi,

 

I have a problem with attached captcha.

 

I've tried with:

 

procedure  checkForCaptcha;
begin
  while  Engine.Status = lsOnline  do
  begin
    if  Engine.dlgtext.contains ('C0de') then
    begin
      engine.dlgsel ('C0de')
    end;
  end;
end;
begin
Script.NewThread(@checkForCaptcha);
end.

 

Scripts starts and works, but after aroud 1 minute it stops for some reason (any idea why?)

Shot00000.jpg

Posted
3 hours ago, Akyoto said:

Hi,

 

I have a problem with attached captcha.

 

I've tried with:

 


procedure  checkForCaptcha;
begin
  while  Engine.Status = lsOnline  do
  begin
    if  Engine.dlgtext.contains ('C0de') then
    begin
      engine.dlgsel ('C0de')
    end;
  end;
end;
begin
Script.NewThread(@checkForCaptcha);
end.

 

Scripts starts and works, but after aroud 1 minute it stops for some reason (any idea why?)

Shot00000.jpg

its captcha in tutorial window, not sure if there is api for tutorial window, but with packets should work fine

Posted (edited)
22 hours ago, adr.bot said:

its captcha in tutorial window, not sure if there is api for tutorial window, but with packets should work fine

 

Hi adr.bot,

 

thank you for the reply and advices. I have still few questions, and if you wouldnt mind to answer them that would be great.

 

1. Any idea where can I read about sending packets via scripts?

2. why above script is stopping after 1-2 minutes (is it because I have enabled other options in adrenaline like autobuffing and attacks?

Edited by Akyoto
Posted
5 hours ago, Akyoto said:

 

Hi adr.bot,

 

thank you for the reply and advices. I have still few questions, and if you wouldnt mind to answer them that would be great.

 

1. Any idea where can I read about sending packets via scripts?

2. why above script is stopping after 1-2 minutes (is it because I have enabled other options in adrenaline like autobuffing and attacks?

procedure OnPacket(ID, ID2: Cardinal; Data: Pointer; Size: Word);
begin
 print(ID);
 print(MemToHex(Data^, Size));
end;
begin
  delay(-1);
end.

this receive packets from server to client if i not wrong, "OnCliPacket" from client to server

to send packet

engine.sendtoserver('');

engine.sendtoclient('');

 

why ur script is stopping i have no idea

Posted (edited)

Hello adr.bot and everyone,

 

I have been using adrenalin quite long already, and have been making my own scripts with simple language. Atm I have a few questions from scripting that im facing atm on my own:

 

1- How to equip different jewels for each slot? For instance, if I use the command below it will equip and unequip the same jewel:

 

        Inventory.user.ById(12325, item); 
        Engine.UseItem(item);
        Inventory.user.ById(12325, item); 
        Engine.UseItem(item); 

 

I wanna equip one earring on each slot or substitute the earring that is being used in each slot.

 

2- How to identify the dialog from the NPC and select the correct answer (for instance, get a pet wolf quest, quite similar to anti captcha)? I think its using this code, right?

 

Engine.dlgtext.contains

I managed to identify the text, but engine.dlgsel does not work in this specific chat (it works for other NPC). I tried doing bypass like this:

if engine.dlgtext.contains('useful') then
begin
Engine.BypassToServer('1110003');

 

But it didnt work, here's the full dialog:

 <html><body>
Question:<br>What is the normal lifespan of a wolf in captivity?<br><fstring p1="" p2="" p3="" p4="" p5="">1110052</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110053</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110054</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110051</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110055</fstring></body></html>

 

 

3- How is possible to identify if the user has any dyes and which are them with the script?

 

4- Currently my auto level script sometimes could get stuck (invisible wall in town, a rock, tree or even some lag that might screw it). How can I "check" if the char is doing nothing and use scape or something?

 

5- My auto level scripts is currently for single char, how can I comunicate with another char in pt and make them follow the same script at the same time (for instance, my script goes to town, rebuff, restock and go back to farming location, but I want the other char in pt do the same at the same time and go back and wait for the rest before farming again). I thought I could manage doing that with party message.

 

Thanks very much if anyone can help with some of those questions!

Edited by nhaka
Posted
On 6/18/2018 at 8:57 PM, nhaka said:

Hello adr.bot and everyone,

 

I have been using adrenalin quite long already, and have been making my own scripts with simple language. Atm I have a few questions from scripting that im facing atm on my own:

 

1- How to equip different jewels for each slot? For instance, if I use the command below it will equip and unequip the same jewel:

 


        Inventory.user.ById(12325, item); 
        Engine.UseItem(item);
        Inventory.user.ById(12325, item); 
        Engine.UseItem(item); 

 

I wanna equip one earring on each slot or substitute the earring that is being used in each slot.

 

2- How to identify the dialog from the NPC and select the correct answer (for instance, get a pet wolf quest, quite similar to anti captcha)? I think its using this code, right?

 


Engine.dlgtext.contains

I managed to identify the text, but engine.dlgsel does not work in this specific chat (it works for other NPC). I tried doing bypass like this:


if engine.dlgtext.contains('useful') then
begin
Engine.BypassToServer('1110003');

 

 

But it didnt work, here's the full dialog:


 <html><body>
Question:<br>What is the normal lifespan of a wolf in captivity?<br><fstring p1="" p2="" p3="" p4="" p5="">1110052</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110053</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110054</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110051</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110055</fstring></body></html>

 

 

 

3- How is possible to identify if the user has any dyes and which are them with the script?

 

4- Currently my auto level script sometimes could get stuck (invisible wall in town, a rock, tree or even some lag that might screw it). How can I "check" if the char is doing nothing and use scape or something?

 

5- My auto level scripts is currently for single char, how can I comunicate with another char in pt and make them follow the same script at the same time (for instance, my script goes to town, rebuff, restock and go back to farming location, but I want the other char in pt do the same at the same time and go back and wait for the rest before farming again). I thought I could manage doing that with party message.

 

Thanks very much if anyone can help with some of those questions!

1. u should use items by oid

2. as example u can use engine.waitaction([ladlg], p1,p2) and then check engine.dlgtext example with command "pos"

3. no idea

4.  i think this should work

procedure doSoe();
begin
// stuff for soe
end;

var
	qwe:boolean;
begin
	qwe := false;
	if user.inrange(x,y,z,r) then
	begin
		engine.moveto(x,y,z);
	end;
	if user.inrange(x,y,z,r) then // at end point
		qwe := true;
	if not qwe then
		dosoe;
end.

5. no idea also

Posted (edited)
3 hours ago, adr.bot said:

1. u should use items by oid

2. as example u can use engine.waitaction([ladlg], p1,p2) and then check engine.dlgtext example with command "pos"

3. no idea

4.  i think this should work


procedure doSoe();
begin
// stuff for soe
end;

var
	qwe:boolean;
begin
	qwe := false;
	if user.inrange(x,y,z,r) then
	begin
		engine.moveto(x,y,z);
	end;
	if user.inrange(x,y,z,r) then // at end point
		qwe := true;
	if not qwe then
		dosoe;
end.

5. no idea also

 

TY Adr,

 

1. I managed how to find OID and I'm posting here if someone need what I made (its to unequip both rings with same ID, just change the ID in the script, you can change it to any kind of item, just need to adapt it):

 

function UseRingOID(showInfo: boolean = true): integer;
var
    item: TL2Item;
    i : integer;
    a: integer;
    b: integer;
    ringA: integer;
    ringB: integer;
    
begin
    for i:=0 to Inventory.User.Count-1 do
    begin
        if (Inventory.User.Items(i).Equipped) then
      begin
         Result := Inventory.User.Items(i).OID;
         if ((Inventory.User.Items(i).ID) = 12337) and not (a=1) then  //here put normal ID you are looking for
         begin
         Delay(555);
         ringA:= (Inventory.User.Items(i).OID);
         a:=1;
         Inventory.user.ByOId(ringA, item);            
         Engine.UseItem(item);          
         end
         else if ((Inventory.User.Items(i).ID) = 12337) and not (b=1) then //here  put normal ID you are looking for
         begin
         Delay(555);
         ringB:= (Inventory.User.Items(i).OID);
         b:=1;
         Inventory.user.ByOId(ringB, item);            
         Engine.UseItem(item);          
         end;
        end;
    end;
 Result := -1;
end;

 

2. I dunno if I understand your suggestion  but I managed to identify the window and the text, but I cant make it select the answer with engine.dlgsel nor engine.bypass. Do you know what I need to put in bypass to make this work. Here's the full chat of one of them (but all follow the same structure just changing the numbers). I think it might need some work to use it, because it does not follow the normal bypass dialog:

 

<html><body>
Question:<br>Pets are very useful to their owners. Which  of the following is <font color="LEVEL">not</font> an appropriate use of a pet?<br><fstring p1="" p2="" p3="" p4="" p5="">1110004</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110002</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110001</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110003</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110005</fstring></body></html

 

Or if you have an example with pos to select the answer?

 

Thanks for the other answers.

Edited by nhaka
Posted
1 hour ago, nhaka said:

 

TY Adr,

 

1. I managed how to find OID and I'm posting here if someone need what I made (its to unequip both rings with same ID, just change the ID in the script, you can change it to any kind of item, just need to adapt it):

 


function UseRingOID(showInfo: boolean = true): integer;
var
    item: TL2Item;
    i : integer;
    a: integer;
    b: integer;
    ringA: integer;
    ringB: integer;
    
begin
    for i:=0 to Inventory.User.Count-1 do
    begin
        if (Inventory.User.Items(i).Equipped) then
      begin
         Result := Inventory.User.Items(i).OID;
         if ((Inventory.User.Items(i).ID) = 12337) and not (a=1) then  //here put normal ID you are looking for
         begin
         Delay(555);
         ringA:= (Inventory.User.Items(i).OID);
         a:=1;
         Inventory.user.ByOId(ringA, item);            
         Engine.UseItem(item);          
         end
         else if ((Inventory.User.Items(i).ID) = 12337) and not (b=1) then //here  put normal ID you are looking for
         begin
         Delay(555);
         ringB:= (Inventory.User.Items(i).OID);
         b:=1;
         Inventory.user.ByOId(ringB, item);            
         Engine.UseItem(item);          
         end;
        end;
    end;
 Result := -1;
end;

 

2. I dunno if I understand your suggestion  but I managed to identify the window and the text, but I cant make it select the answer with engine.dlgsel nor engine.bypass. Do you know what I need to put in bypass to make this work. Here's the full chat of one of them (but all follow the same structure just changing the numbers). I think it might need some work to use it, because it does not follow the normal bypass dialog:

 


<html><body>
Question:<br>Pets are very useful to their owners. Which  of the following is <font color="LEVEL">not</font> an appropriate use of a pet?<br><fstring p1="" p2="" p3="" p4="" p5="">1110004</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110002</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110001</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110003</fstring><fstring p1="" p2="" p3="" p4="" p5="">1110005</fstring></body></html

 

Or if you have an example with pos to select the answer?

 

Thanks for the other answers.

hmm i never see dialog like that, seems there is no bypass strings xd

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Wooowww!! Thank you so much bruv!! Really useful!! Thank you for smart solution, work and sharing!!
    • Generate your own. There are tools. 
    • Server Athena x45 C4 is running online since 11 January 2026 without wipe.
    • L2SPIRIT OF LORENA x3 INTERLUDE Discord: Discord SPIRIT OF LORENA < WEBSITE: L2 Spirit of Lorena x3 Interlude WEBSITE: L2-LORENA Network x30 x1200 x5000 PvP GRAND OPENING – 12 JUNE 2026 19:00 UTC+2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ LONG TERM PROJECT NO WIPE CLASSIC INTERLUDE OLD SCHOOL COMMUNITY REAL PROGRESSION ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ WHY L2SPIRIT OF LORENA? Are you tired of servers that die after a few weeks? L2Spirit of LORENA was created for players who miss the true Interlude feeling: Clan Wars Castle Sieges Epic Bosses Party Farming Real Economy Long Term Progression No shortcuts. No instant endgame. No seasonal wipes. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SERVER INFORMATION 🛡 Chronicle: Interlude Type: Classic Low Rate Server: Long Term International Community ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ RATES EXP/SP x3 Adena x3 Drop x3 Spoil x3 Raid Boss x3 Seal Stones x3 Quest x3 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ DYNAMIC EXP SYSTEM 1-20 = x3.0 20-40 = x2.7 40-52 = x2.4 52-61 = x2.1 61-70 = x1.8 70-76 = x1.5 76-77 = x1.2 77-78 = x1.1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FEATURES Auto Learn Skills Auto Farm Available 2 Windows Maximum Retail Olympiad Epic Bosses Daily Events Stable Dedicated Server Active Administration ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ WHAT MAKES US DIFFERENT? No Wipe Policy Stable Economy Competitive Olympiad Clan Focused Gameplay Retail Feeling Friendly Community ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ THE JOURNEY MATTERS Every level. Every raid. Every item. Every victory. This is the Interlude experience you remember. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SERVER STATUS TOP L2JBRASIL:Top L2JBrasil de Servidores de Lineage2 - ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ OPENING DAY 12 June 2026 19:00 UTC+2 Prepare your clan. Prepare for war. The adventure begins. SEE YOU IN SPIRIT OF LORENA!
    • PlayerPort: The Ultimate In-Game Web Engine for Lineage 2 Hello. For those who don't know me, I specialize in Lineage 2 interface and client/server development. PlayerPort is my ongoing project - an attempt to build a truly universal, modular, multi-server in-game web engine. The goal is to stop "pushing" players out of the game to forums, websites, or external messengers. Instead, I want to keep them engaged by providing a seamless, high-quality experience directly within the game client. What is PlayerPort? It is a client-side module that acts as a hybrid UI. It integrates a lightweight web engine directly into the Lineage 2 client, bridging the gap between the native engine (UnrealScript/XML) and a modern web layer (HTML/JS/CSS). The Architecture: JS (Layer 0): Handles structural skeletons, widgets, and basic styling. Flash (Layer 1): Manages graphical wrappers, physics/animations, and transitions. PortNatives (C++ API): A low-level engine for math, logging, Windows interaction, WebSockets, and heavy lifting. This "sandwich" architecture allows for smooth, interactive, and high-performance UI components that don't suffer from the limitations of the legacy webkit. Key Features & Modules PortUI Framework: My own lightweight UI framework based on standard Lineage 2 methodology. No heavy external libraries - just vanilla JS with GPU-accelerated rendering. It allows for complex transitions, particles, parallax, and procedural animations without bloating the system. Advanced Report System: Fully integrated ticket management. Players can submit reports directly from the game, including attachments. It supports simple copy-paste or screenshot capture. PortNatives optimizes images (even 4K/8K) in milliseconds, reducing file size by up to 50x without losing quality, ensuring near-instant loading. Radio Module: A streamlined radio service with a vast selection of stations. Features include a mini-player (PIP), high-quality streams with jitter-fix, and a smart system that pre-checks connection status to avoid timeouts. PortStream (Streaming): Full integration for streaming platforms. You can display custom streamer lists or popular feeds directly in-game. Features include status monitoring, live preview tiles, PiP (Picture-in-Picture) playback, and native volume control (up to 200%). Communication Hub: Inter-server forums and messaging that allow collaborating projects to share news, welcome messages, and support systems without leaving the game. Admin & Analytics: Real-time dashboards tracking server population, player behavior, trade analysis, and anti-RMT/botting tools. The system builds connection chains between characters to assist administrators. Why does this matter? The current ecosystem is fragmented. By centralizing everything - support tickets, social interaction, radio, and streaming - within the client, we improve the "Quality of Life" for players and reduce administrative overhead. Performance: All network activity is handled by an external process, isolating it from the l2.exe core. We utilize "lazy" updates (periodic POSTs) and "active" subscriptions, ensuring minimal impact on game performance. Compatibility: Works on everything from ancient clients (like Grand Crusade p110) to the latest Essence/Live versions. Availability: I am looking for enthusiasts and server projects interested in adopting this. Integrating the system is fast and simple. The core service is free. Future Outlook I am currently focusing on PortCanvas, a proxy layer that will allow developers to replace native UI windows with custom web-based components. This will effectively turn Lineage 2 into a shell for fully custom web applications, accessible to anyone with basic web development skills - no complex compilers or proprietary editors required. If you are interested in implementing this on your project, or if you have questions, feel free to reach out.     Gallery https://imgur.com/a/Dqrl4L9         Contact: https://t.me/TELEGABOY See you in the next update. 🐀
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..