Jump to content

Recommended Posts

Posted

this script is working but its working like as a bicycle vs porsche compared to my script.

 

mb i will share this later

 

I have auto restock

Auto exchange aa

auto captcha (only sound)

auto sell crap

auto rebuff

auto tp

and the character do not use one room its using all of them runing in cylce and killing all.

 

btw wtt nobless script for auto captcha (can be on my hwid)

Nice script u have, would be great if shared :)

Posted

Hello, seems not working in L2tales, at least the part where bot must auto tp back to omens, is it possible to fix that?

go to omens and run script, working fine.

Posted
   var item:tl2item;
begin
while true do begin
delay(1000);
    if not inventory.user.byid(728, item) or (item.count<1) then begin // (iditem, item) logo após (item.cound<xxx) quantidade do item
      Engine.SetTarget(13270); // (id do npc)
      Engine.DlgOpen;
      Engine.DlgSel(6); // (qual opção de janela do npc escolher)
      Engine.NPCExchange(728, 10); // (iditem, quandidade)
      Print('OK');
      delay(1000);
end;
end;
end.

auto restock

just add or remove ids and bypasses

and if you want, can merge to.

Posted (edited)

Anyone can help me linking auto return +buff with tts quest. I get the logic but not too sure on syntax how to link deadcheck function it that.

 

 if user.inrange(147936, -55368, -2760, 250) and User.Buffs.ByID(1204, buffCheck) then begin
        Print('Teleport to HS');
        Engine.SetTarget(31275);
        Engine.DlgOpen;
        Delay(500);
        Engine.DlgSel(1);
        Delay(500);
        Engine.DlgSel(11);  //teleports to hs
        Delay(5000);
    end;    
                          
    if user.inrange(149600, -112707, -2060, 250) then begin   //hs spawn location
      
      Engine.MoveTo(149526, -112683, -2090);  // moves close to jeremy 
       while not User.Dead  do       // and while not dead I want to start cycle to run arround.. cant get to work..    function called  deadCheck
  Engine.SetTarget(31521);                                      ///jeremy
  Engine.DlgOpen;
  Engine.DlgSel('Quest');
  Delay(500);
  Engine.DlgSel('Egg Delivery');
  Delay(500);
  Engine.bypasstoserver('Quest 621_EggDelivery 31521-1.htm');
  Engine.MoveTo(149722,-112600,-2090);
  Engine.MoveTo(150404,-113188,-2141);
Edited by Giedrius0301
Posted (edited)

_____________________________________________________________________________________

 

HI PPL

I begin with : thank you for all information on this forum.    U ARE TOP !

i have one question please i trying to make my own script for teleport with alt +b (database) but i have one probleme.

 

I explain my when iam coming at the last step of my script,
( button  : GO TO NPC )  my script dont work.
I found only ( 
L2UI_CT1.Button_DF_Down )   on WINHEX but  he dont work , if you can help me thanks alot.
sorry for my english
 

 

SCRIPT :

 

begin
Engine.BypassToserver('_dropMonstersByName_ gem dragon');                  
delay(1000);
Engine.BypassToserver('_dropMonsterDetailsByName_22830');                  
delay(1000);
Engine.BypassToserver('_L2UI_CT1.Button_DF_Down');           // dont work     WICH SYNTAX I MUST WRITE PLEASE , ty 
delay(1000);
end.

 

 

i show u my screenshot game and winhex : 

 

TY PER AVANCE

 

 

173475Shot00058.png

 

Edited by krea04
Posted (edited)
my syntax :  but i dont know where i need to write ACTION  can u help me please ty

Engine.BypassToserver('_L2UI_CT1.Button_DF_Down');
 
________________________________________________________________________________________________________
 
begin
Engine.BypassToserver('_dropMonstersByName_ gem dragon');                  
delay(1000);
Engine.BypassToserver('_dropMonsterDetailsByName_22830');                  
delay(1000);
Engine.BypassToserver('"action="_L2UI_CT1.Button_DF_Down');     // dont work too :/   i dont know where i must write action
delay(1000);
end.
Edited by krea04
Posted

 

Anyone can help me linking auto return +buff with tts quest. I get the logic but not too sure on syntax how to link deadcheck function it that.

 

 if user.inrange(147936, -55368, -2760, 250) and User.Buffs.ByID(1204, buffCheck) then begin
        Print('Teleport to HS');
        Engine.SetTarget(31275);
        Engine.DlgOpen;
        Delay(500);
        Engine.DlgSel(1);
        Delay(500);
        Engine.DlgSel(11);  //teleports to hs
        Delay(5000);
    end;    
                          
    if user.inrange(149600, -112707, -2060, 250) then begin   //hs spawn location
      
      Engine.MoveTo(149526, -112683, -2090);  // moves close to jeremy 
       while not User.Dead  do       // and while not dead I want to start cycle to run arround.. cant get to work..    function called  deadCheck
  Engine.SetTarget(31521);                                      ///jeremy
  Engine.DlgOpen;
  Engine.DlgSel('Quest');
  Delay(500);
  Engine.DlgSel('Egg Delivery');
  Delay(500);
  Engine.bypasstoserver('Quest 621_EggDelivery 31521-1.htm');
  Engine.MoveTo(149722,-112600,-2090);
  Engine.MoveTo(150404,-113188,-2141);

 

can someone help with this one ? still strugling 

Posted
var
item: TL2Item;
buff: TL2Buff;

function buffCheck: Boolean;
begin
    if not User.Buffs.ByID(1062, buff) then begin
        Result:=true;
        Print('Buffs are needed. Buffing...');
        Delay(500);
        engine.bypasstoserver('_bbshome');
        Delay(500);
        engine.bypasstoserver('02');
        Delay(500);
        engine.bypasstoserver('0b');
        Delay(500);
        engine.bypasstoserver('01a');
        Delay(500);
        Print('Buffed.'); 
    end;
Result:=false;
end;

function deadCheck: Boolean;
begin
Result := false;
    if User.Dead then begin
        Result := true;
        Print('Dead. Pressing to village.');
        Delay(1000);
        Engine.FaceControl(0,false);
        Engine.GoHome;
        Delay(10000);
    end;
end;

begin
while true do begin
delay(150);

           if user.inrange(45368, 49656, -3048, 5000) then begin
        buffCheck;
        end;
        
        if user.inrange(45368, 49656, -3048, 5000) and user.buffs.byid(1062, buffCheck) then begin
  Print('Going back to spot.');
  Engine.bypasstoserver('_bbshome'); 
  Delay(1000);
  Engine.bypasstoserver('02');
  Delay(1000);
  Engine.bypasstoserver('0a');
  Delay(1000);
  Engine.bypasstoserver('033');
  Delay(1000);
  Engine.bypasstoserver('0f');
  Delay(1000);
  Engine.bypasstoserver('_bbsgetfav');
  Delay(5000);
    end;
    if user.inrange(-19185, 13553, -4880, 500) then begin     
           Engine.MoveTo(-18056, 13544, -4880);
           Engine.MoveTo(-17864, 13896, -4880);
           Engine.MoveTo(-16872, 13832, -4880);
      delay(1000);
    
    Engine.FaceControl(0,true);
    while not deadCheck do delay(3000);
    end;
end;
end.

Script for boting in dark omens, when die, check buffs, teleport to spot.

If you want change farm spot, change coordinates and teleport.

 

no teleport and rebuff in l2 tales need help plis

Posted

 

Anyone can help me linking auto return +buff with tts quest. I get the logic but not too sure on syntax how to link deadcheck function it that.

 

 if user.inrange(147936, -55368, -2760, 250) and User.Buffs.ByID(1204, buffCheck) then begin
        Print('Teleport to HS');
        Engine.SetTarget(31275);
        Engine.DlgOpen;
        Delay(500);
        Engine.DlgSel(1);
        Delay(500);
        Engine.DlgSel(11);  //teleports to hs
        Delay(5000);
    end;    
                          
    if user.inrange(149600, -112707, -2060, 250) then begin   //hs spawn location
      
      Engine.MoveTo(149526, -112683, -2090);  // moves close to jeremy 
       while not User.Dead  do       // and while not dead I want to start cycle to run arround.. cant get to work..    function called  deadCheck
  Engine.SetTarget(31521);                                      ///jeremy
  Engine.DlgOpen;
  Engine.DlgSel('Quest');
  Delay(500);
  Engine.DlgSel('Egg Delivery');
  Delay(500);
  Engine.bypasstoserver('Quest 621_EggDelivery 31521-1.htm');
  Engine.MoveTo(149722,-112600,-2090);
  Engine.MoveTo(150404,-113188,-2141);

 

 

Correct syntax of "while" is:

while not User.Dead do
 begin

   delay(150);
   
    //your code here
    //your code here
    //your code here
    //your code here

 end;
Posted

 

Correct syntax of "while" is:

while not User.Dead do
 begin

   delay(150);
   
    //your code here
    //your code here
    //your code here
    //your code here

 end;
function deadCheck: Boolean;
begin
Result := false;
    if User.Dead then begin
        Result := true;
        Print('Dead. Pressing to village.');
        Delay(1000);
        Engine.FaceControl(0,false);
        Engine.GoHome(rtTown);
        Delay(1000);
    end;
end;
                                                      that is a deadcheck function 
 
   if user.inrange(149600, -112707, -2060, 250) then begin    //spawn hs
      Engine.MoveTo(149526, -112683, -2090);                  //close to jeremy
       Engine.FaceControl(0,true);    
       while not deadcheck  do begin
  Engine.FaceControl(0,true);    
  Engine.SetTarget(31521);
  Delay(500);                                     ///jeremy
  Engine.DlgOpen;
  Delay(500);
  Engine.DlgSel('Quest');
  Delay(500);
  Engine.DlgSel('Egg Delivery');
  Delay(500);
and so on.. for whole delivery quest
 
end;
end;
 
 
what I am missing there? it would not pick up that character is dead and would not teleport to town.. it is doing all running fine.. 
Posted

 

Thx adr.bot and Boukipike, the scrip work very well, not 100% but work fine (only stock in some respawn areas of goodard, i don't have all i thick), in the morning i take 100 frintezza pass, saw the scrip work fine for me. i one to said thank a lot for the help, i use a combination of procedure and function (like a adr.bot said), and use if and while with engine.queststatus() whit the different stage of quest (thx to boukipike).

 

 

P.S: i don't replay to adr.bot the question about backing to cal hall, the command you said me is (rttohall) but don't work, saw i read the scrip manual and i found there, the command is (rttoholl) whit "o".

 

 

Can u share this script, pls?

Posted

_____________________________________________________________________________________

 

HI PPL

 

I begin with : thank you for all information on this forum.    U ARE TOP !

 

i have one question please i trying to make my own script for teleport with alt +b (database) but i have one probleme.

 

I explain my when iam coming at the last step of my script,

( button  : GO TO NPC )  my script dont work.

I found only ( L2UI_CT1.Button_DF_Down )   on WINHEX but  he dont work , if you can help me thanks alot.

sorry for my english

 

 

SCRIPT :

 

begin
Engine.BypassToserver('_dropMonstersByName_ gem dragon');                  
delay(1000);
Engine.BypassToserver('_dropMonsterDetailsByName_22830');                  
delay(1000);
Engine.BypassToserver('_L2UI_CT1.Button_DF_Down');           // dont work     WICH SYNTAX I MUST WRITE PLEASE , ty 
delay(1000);
end.

 

 

i show u my screenshot game and winhex : 

 

TY PER AVANCE

 

 

173475Shot00058.png

 

 

try use http://rghost.net/8HGjpZjCm

Posted (edited)

i dont know why do u have so big problem with this....

Engine.BypassToserver('_bbshome');                  
delay(1000);
Engine.BypassToserver('08');                  
delay(1000);
Engine.BypassToserver('0b Gem Dragon');                  
delay(1000);
Engine.BypassToserver('0d');                  
delay(1000);
Engine.BypassToserver('0d');                  
delay(1000);

btw is not tales dead?

 

 

ohh i can see its not tales :>

 

so mb this will work ;P

Engine.BypassToServer('_bbshome', True);
delay(1500);
   Engine.BypassToServer('_dropMonstersByName_ Scarlet Stakato Noble', True);
   delay(1500);
    Engine.BypassToServer('_dropMonsterDetailsByName_22636', True);
   delay(1500);
     Engine.BypassToServer('_dropMonsterDetailsByName_22636_3', True);
   delay(1500);
end;
Edited by m44ti
  • 2 weeks later...
Posted (edited)

hello... I am playing L2neo... and I am using L2adrenaline script qust tateossian... but I have a problema when my player is dead he return to the city and he try take buff... when he try take buff he stuck... 


 


9a1017a875cdba322f63d57d581e8592o.jpg

Edited by juliopecador

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

    • Update M54: Global HP/MP/CP consumable handling expanded beyond combat-only usage. Offensive mage idle recovery with learned skill Battle Heal. Spellhowler/Storm Screamer prioritizes Hurricane, using Vampiric Claw mostly below 90% HP. Major structural refactor initialized: Added category/class organization such as Archer, Dagger, Tank, Mage, Healer, Support and Specialized class files. Further structural cleanup. Extracted combat memory/state and more class-policy logic from the main controller. Added global stuck/inactivity watchdog for bots blocked by terrain/geodata. Added unreachable dropped ground-item timeout/temporary blacklist. Reworked Necromancer/Soultaker PvP: Dominator level 78+ maintains learned Arcane Power toggle on. Overlord/Dominator level 44+ maintains learned Soul Guard toggle automatically. Stability/scalability update: Bot controller ticks staggered instead of all starting in the same phase: Same 350 ms update rate retained Reduces simultaneous AI workload bursts. Removed the old manual aggressive-monster EVT_AGGRESSION bridge. Phantoms now use native Lucera setActive() behavior so monsters aggro them naturally. Reduced unnecessary NPC scans and native AI event pressure. Added saved-bot equipment overrides using a separate database table:         lucera_autobots_items Existing lucera_autobots remains the main saved-bot identity/state table. Equipment rows are linked to saved bots through bot_id. Added optional convenience view to show bot name together with equipment overrides:         lucera_autobots_items_view Added editable equipment slots in columns: Weapon Shield Helmet Chest Legs Gloves Boots Necklace Left/Right Earrings Left/Right Rings Equipment override values: 0 = use normal class/level profile item -1 = force slot empty >0 = equip that Item ID Custom equipment works only for saved database bots. Default class/level equipment profiles remain unchanged. Supports custom equipment from No Grade to S Grade, regardless of the bot's current level. Added validation for invalid item IDs and incompatible equipment slots. Added handling for: Two-handed weapons vs shields Full-body armor vs separate leggings Added all-grade Soulshots and Spiritshots to bot inventory/replenishment so custom lower-grade weapons still use the correct shots. Mage profiles that already use Blessed Spiritshots keep that behavior with all relevant grades available. First save the bot normally so it exists in table:         lucera_autobots Then open:         lucera_autobots_items Find the row with the same bot_id and edit only the equipment slots you want. Example: weapon_id = 6608 shield_id = -1 helmet_id = 0 chest_id = 0 legs_id = 0 gloves_id = 0 boots_id = 0 This means: weapon_id 6608 → custom weapon shield_id -1 → no shield all 0 values → keep normal default profile equipment After editing the DB, despawn and respawn the saved bot so M54 reloads its equipment overrides. Do not edit bot_id. Use it only to identify which saved bot the equipment row belongs to.   DOWNLOAD
    • It will be multi client so it will detect the client from the files and adapt the packets and asset loading. I am aiming for C4 and H5 after IL
    • this is just to simplify your life, time, and can be done for free by yourself just watch some tutorials, in case you don't wanna waste time check it out!   https://l2getwork.art   https://l2getwork.art/showcase.html  
    • Good job! Any chance for it to be downgradeable or at least compatible with older chronicles?
    • Fermata now runs in a web browser too. Try it here: https://web.fermata.gg/    
  • 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..