Jump to content

Recommended Posts

Posted (edited)

another question

 

Engine.UseKey();

 

Engine.UseKey(13);//enter

Engine.UseKey($26);//up
Engine.UseKey($28);//down

 

what code is for simple mouse left click

 

or how to move cursor on location and clicking without infocus the window

Edited by m44ti
Posted (edited)

Hello everyone.

 

I am trying to make a script, so when i get to level 15 for exemple, i'll stop attacking mobs, whait for te toon to get out of combat and use scroll of escape, if i am being attacked when i get the level i need, kill the mob or mobs  and whait again to get out of combat and use scroll.

 

i've been trying to work it out but with no success :(

 

begin
  if user.level<15 then begin
    engine.autosoulshot(5789, true);
    engine.autotarget(2500);
    engine.attack;
    engine.pickup;
  end;
  if (user.target.dead) then begin
    while user.incombat do
    delay(1000);
    engine.autosoulshot(5789, true);
    engine.autotarget(2500);
    engine.attack;
    engine.pickup;
  end;
    engine.useitem(12753);
    delay(20000)
end.

Hope someone can help me here, Thx

Edited by MaxWell1986
Posted

Hello everyone.

 

I am trying to make a script, so when i get to level 15 for exemple, i'll stop attacking mobs, whait for te toon to get out of combat and use scroll of escape, if i am being attacked when i get the level i need, kill the mob or mobs  and whait again to get out of combat and use scroll.

 

i've been trying to work it out but with no success :(

 

begin
  if user.level<15 then begin
    engine.autosoulshot(5789, true);
    engine.autotarget(2500);
    engine.attack;
    engine.pickup;
  end;
  if (user.target.dead) then begin
    while user.incombat do
    delay(1000);
    engine.autosoulshot(5789, true);
    engine.autotarget(2500);
    engine.attack;
    engine.pickup;
  end;
    engine.useitem(12753);
    delay(20000)
end.

Hope someone can help me here, Thx

this looks like show mobs count (if attack) but for some reason for me this doesnt work

var AggroMobs:integer; 

function MobsAttacking : integer; //Сколько мобов нас атакует?
var i, n: Integer;
begin
n := 0;
AggroMobs:=0;
for i := 0 to NpcList.Count - 1 do
if (NpcList.Items(i).Target = User) and not NpcList.Items(i).Dead then inc(n);
AggroMobs:= n;
Result := n;
end;

begin
print(MobsAttacking);
end.
Posted

its easy

U need to load map from the zone that is for example 60k range far away it will works like fuck off all the mobs

 

comments are in polish cuz its mine and u can ofc use translator.

//level 7-20 
       if ((User.Level>6) and (User.Level<20)) then begin

	   //TP orcbaracks
	   while not (user.InRange(-90494, 108207, -3552, 500)) do begin
          
          Engine.BypassToServer('_bbshome', True);
delay(1500);
   Engine.BypassToServer('_bbsgatekeeper', True);
   delay(1500);
    Engine.BypassToServer('_bbsgatekeeper_main-12.htm', True);
   delay(1500);
  Engine.BypassToServer('14', True);
        delay(1000);
   end;
//koniec TP orcbaracks

         

               engine.loadzone('OrcBaracks'); 
   delay(500);
   Engine.FaceControl(0,true);

    



   
                           
                            
   while (User.InRange(-90440, 108104, -3552, 5000)) do begin
            delay(500);

                      captcha();
                      checkdead();
                      checkbuff();

                  if (User.Level>19) then begin



                  engine.loadzone('Zero'); 
                 
                  while user.incombat do delay(1000);
                 Engine.FaceControl(0,false);
                 Print('LEVEL 20 ZMIENIAM SPOT');

                      captcha();
                      checkdead();
                      checkbuff();
                   

                 //tp do aden 
	while not (user.InRange(146217, 25191, -1992,500)) do begin
	delay(1000);
	Engine.BypassToServer('_bbshome', True);
delay(1500);
   Engine.BypassToServer('_bbsgatekeeper', True);
   delay(1500);
    Engine.BypassToServer('16', True);
   delay(1500);
   end;
//koniec tp aden

                      captcha();
                      checkdead();
                      checkbuff();


                       end;
                   
                  end;
        end;
               //koniec level 6-20
Posted

Would love fast answer... What is party guard? I have a bp in party if i pick him as party guard my char will attack mobs that attack bp? Or it's smth else?

Posted

Would love fast answer... What is party guard? I have a bp in party if i pick him as party guard my char will attack mobs that attack bp? Or it's smth else?

i guess yes

Posted

adr.bot first of all, thank you for your fast reply,

I've been searching for all the internet about the code you show me and  i found no solution for it :(

i found some other code but i dont think it can work too, maybe you can figure it out how to change it for better working.

while User.Level<15 do begin
  Engine.AutoSoulshot(5790, true);
  Engine.AutoTarget(2000);
  Engine.UseSkill(1177);
 if Inventory.Quest.ByName('Hills of Gold Monster Claw', item) then break;
end;
while User.Level<15 do begin
 Engine.AutoSoulshot(5790, true);  // Thise help to use scroll safely?
 Engine.UseSkill(1177);
 if User.InCombat=false then break;
end;
Engine.UseItem(12753);

I am not a experienced coder, in fact, i know nothing about delphi or some other codes, but i am a good searcher and a good learner, i started like 5 days ago with thise.

 

Since i dont know how to code, i am doing a code like thise:

http://www.nameyellow.racing/p2v836eQ

with no procedures and stuff like that, i am just starting :D

meanwhile, i am trying to make a code for thise part of the quest, i must get 5 item from one mob and 10 from another, thise is 1st quest for kamael female soulbreaker, i cant figure out how to do it, forgetting the last post i did about how to safely use scroll, i saw thise thing, the adrenalin window wont show any quest item but the L2 window show them, is thise a bug? is the adrenalin detecting the items but just not showing them? or is thise the reason i cant make the code to work?

 

NoQuestItem.th.jpg

Thanks for your attention guys :)

 

Posted

adr.bot first of all, thank you for your fast reply,

I've been searching for all the internet about the code you show me and  i found no solution for it :(

i found some other code but i dont think it can work too, maybe you can figure it out how to change it for better working.

while User.Level<15 do begin
  Engine.AutoSoulshot(5790, true);
  Engine.AutoTarget(2000);
  Engine.UseSkill(1177);
 if Inventory.Quest.ByName('Hills of Gold Monster Claw', item) then break;
end;
while User.Level<15 do begin
 Engine.AutoSoulshot(5790, true);  // Thise help to use scroll safely?
 Engine.UseSkill(1177);
 if User.InCombat=false then break;
end;
Engine.UseItem(12753);

I am not a experienced coder, in fact, i know nothing about delphi or some other codes, but i am a good searcher and a good learner, i started like 5 days ago with thise.

 

Since i dont know how to code, i am doing a code like thise:

http://www.nameyellow.racing/p2v836eQ

with no procedures and stuff like that, i am just starting :D

meanwhile, i am trying to make a code for thise part of the quest, i must get 5 item from one mob and 10 from another, thise is 1st quest for kamael female soulbreaker, i cant figure out how to do it, forgetting the last post i did about how to safely use scroll, i saw thise thing, the adrenalin window wont show any quest item but the L2 window show them, is thise a bug? is the adrenalin detecting the items but just not showing them? or is thise the reason i cant make the code to work?

 

NoQuestItem.th.jpg

Thanks for your attention guys :)

if adrenalin not show quest item so there is problem, you can try check quest status and make then

Posted (edited)

adr.bot first of all, thank you for your fast reply,

I've been searching for all the internet about the code you show me and  i found no solution for it :(

i found some other code but i dont think it can work too, maybe you can figure it out how to change it for better working.

while User.Level<15 do begin
  Engine.AutoSoulshot(5790, true);
  Engine.AutoTarget(2000);
  Engine.UseSkill(1177);
 if Inventory.Quest.ByName('Hills of Gold Monster Claw', item) then break;
end;
while User.Level<15 do begin
 Engine.AutoSoulshot(5790, true);  // Thise help to use scroll safely?
 Engine.UseSkill(1177);
 if User.InCombat=false then break;
end;
Engine.UseItem(12753);

I am not a experienced coder, in fact, i know nothing about delphi or some other codes, but i am a good searcher and a good learner, i started like 5 days ago with thise.

 

Since i dont know how to code, i am doing a code like thise:

http://www.nameyellow.racing/p2v836eQ

with no procedures and stuff like that, i am just starting :D

meanwhile, i am trying to make a code for thise part of the quest, i must get 5 item from one mob and 10 from another, thise is 1st quest for kamael female soulbreaker, i cant figure out how to do it, forgetting the last post i did about how to safely use scroll, i saw thise thing, the adrenalin window wont show any quest item but the L2 window show them, is thise a bug? is the adrenalin detecting the items but just not showing them? or is thise the reason i cant make the code to work?

 

NoQuestItem.th.jpg

Thanks for your attention guys :)

 

cracked adrenaline sometimes do not show a quest items. I manage it to play a sound to inform player thats smth is wrong but with original Adrenaline all works great.

 

I give u some examples from my old nobless script, It is as it is, I wrote this about 7 month ago. Today i know i would write it better but i dont have time and there is no need to do that beacause its working.

 

 

Modular check item status:

 

//check quest status
if (qprogress = 1) then begin
q1s := 100;
end;

if Engine.QuestStatus(241, 1) then begin
q1s := 101;
end;

if Engine.QuestStatus(241, 2) then begin
q1s := 102;
end;

if Engine.QuestStatus(241, 3) then begin
q1s := 103;
end;

if Engine.QuestStatus(241, 4) then begin
q1s := 104;
end;

if Engine.QuestStatus(241, 5) then begin
q1s := 105;
end;

if Engine.QuestStatus(241, 6) then begin
q1s := 106;
end;

if Engine.QuestStatus(241, 7) then begin
q1s := 107;
end;

if Engine.QuestStatus(241, 8) then begin
q1s := 108;
end;

if Engine.QuestStatus(241, 9) then begin
q1s := 109;
end;

if Engine.QuestStatus(241, 10) then begin
q1s := 110;
end;

if Engine.QuestStatus(241, 11) then begin
q1s := 111;
end;

if Engine.QuestStatus(241, 12) then begin
q1s := 111;
end;

if Engine.QuestStatus(241, 13) then begin
q1s := 113;
end;

if Engine.QuestStatus(241, 14) then begin
q1s := 114;
end;

if Engine.QuestStatus(241, 15) then begin
q1s := 115;
end;

if Engine.QuestStatus(241, 16) then begin
q1s := 116;
end;

if Engine.QuestStatus(241, 17) then begin
q1s := 116;
end;

if Engine.QuestStatus(241, 18) then begin
q1s := 118;
end;

if Engine.QuestStatus(241, 19) then begin
q1s := 119;
end;

if (Inventory.Quest.ByID(7677, QuestItem) = true) then begin

q1s := 200;
end;

if (qprogress = 2) then begin
q1s := 200;
end;


if Engine.QuestStatus(242, 1) then begin
q1s := 200;
end;

if Engine.QuestStatus(242, 2) then begin
q1s := 200;
end;

if Engine.QuestStatus(242, 3) then begin
q1s := 203;
end;
if Engine.QuestStatus(242, 4) then begin
q1s := 203;
end;
if Engine.QuestStatus(242, 5) then begin
q1s := 203;
end;
if Engine.QuestStatus(242, 6) then begin
q1s := 206;
end;
if Engine.QuestStatus(242, 7) then begin
q1s := 207;
end;
if Engine.QuestStatus(242, 8) then begin
q1s := 208;
end;
if Engine.QuestStatus(242, 9) then begin
q1s := 209;
end;
if Engine.QuestStatus(242, 10) then begin
q1s := 209;
end;
if Engine.QuestStatus(242, 11) then begin
q1s := 211;
end;
if (Inventory.Quest.ByID(7678, QuestItem) = true) then begin
q1s := 300;
end;

if (qprogress = 3) then begin
q1s := 300;
end;

if Engine.QuestStatus(246, 1) then begin
q1s := 300;
end;

if Engine.QuestStatus(246, 2) then begin
q1s := 302;
end;

if Engine.QuestStatus(246, 3) then begin
q1s := 303;
end;

if Engine.QuestStatus(246, 4) then begin
q1s := 304;
end;

if Engine.QuestStatus(246, 5) then begin
q1s := 305;
end;

if Engine.QuestStatus(246, 6) then begin
q1s := 306;
end;

if (Inventory.Quest.ByID(7679, QuestItem) = true) then begin
q1s := 400;
end;

if (qprogress = 4) then begin
q1s := 400;
end;

Example of module part

//start stage 7
    while (q1s=107) do begin
    
// tp heine
while (tep1=0) do begin
        captcha();
        checkdead();
        checkbuff();
    delay(1000);
    Engine.BypassToServer('_bbshome', True);
delay(1500);
Engine.BypassToServer('_bbsgatekeeper', True);
delay(1500);
Engine.BypassToServer('1d', True);
delay(1500);


    if user.InRange(111140, 218967, -3520,500) then begin
    tep1 := 1;
    end;
    end;
    tep1 := 0;


//koniec tp heine

Engine.MoveTo(110936, 219096, -3520);
Engine.MoveTo(110088, 219048, -3456);
Engine.MoveTo(110088, 217960, -3536);
Engine.MoveTo(110072, 217208, -3728);
Engine.MoveTo(109400, 217480, -3728);
Engine.MoveTo(108632, 217496, -3688);
Engine.MoveTo(107784, 217528, -3656);
Engine.MoveTo(107512, 217944, -3656);
Engine.MoveTo(107080, 218088, -3656);
Engine.MoveTo(107128, 217560, -3576);
Engine.MoveTo(107048, 216984, -3576);
Engine.MoveTo(106968, 216984, -3576);

Engine.SetTarget(31042);
delay(500);
Engine.DlgOpen;
delay(500);
Engine.DlgSel('Quest');
delay(500);
Engine.DlgSel('Path of the Noblesse');
delay(500);
Engine.DlgSel('Wait');
delay(500);

//tutaj jest q item 7589 1

if Engine.QuestStatus(241, 8) then begin

         Print('PART I 8/19');
         q1s := 108;
end;

end;
//koniec stage 7

 

Edited by m44ti
  • 2 weeks later...
Posted

If u place a wrong bypass name it will kick u from the server beacuse of antibot reason

And make sure that for button there is a false value in the bypass command for buttons and true for links if it will be wrong u will get kicked again. 

begin
  engine.useitem(9516);
         delay(500);
      Engine.BypassToServer('buff_book_1.htm#9516', false);



//NOW SELECT UR BUFFS NOW FROM THIS LIST:
//http://pastebin.com/xuty9qeA
//u need to cut out the bypasses for example
//this is vampiric rage 2 times:

delay(500);
Engine.BypassToServer('sb_r_b_p?id=324612#9516', true);

delay(500);
Engine.BypassToServer('sb_r_b_p?id=324612#9516', true);
delay(500);
//and so on and so on



//after u finish buff section u need to go to the songs section by this:
Engine.BypassToServer('buff_book_2.htm#9516', false);
delay(500);

//select ur dances and songs from list
//http://pastebin.com/bq8ELmSw
//cut out the bypasses and place it into the command (this is song of hunter):


Engine.BypassToServer('sb_r_b_p?id=68865#9516', true);
delay(500);
Engine.BypassToServer('sb_r_b_p?id=68865#9516', true);
delay(500);



end.
  • 2 weeks later...
Posted

Hello,

 

Does anyone have a Dominator script for Sel Mahum aoeing? Or at least something that does a similar thing that I could work on.

 

Thanks

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

    • ⚡ Fast order delivery is active 24/7! Upgrade your personal Gmail to Gemini Pro with full 2TB storage and premium Google One features today.
    • 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?
  • 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..