Jump to content

Recommended Posts

Posted (edited)

Pretty new to scripting but with the help of people here I was able to fix my last on on here pretty easily.

Now here's the problem I'm attempting to create a script to do the Antharas quest on Interlude. I can handle the basic things but when my character goes back to the gate keeper in Aden after I kill off the first set of quest items in forsaken plains, rather than it porting to seal of shilen it ports right back to forsaken planes from the same GK. I know it's probably something really stupid that I need to change but I've been trying for a few hours now and still can't figure it out. Any help would be appreciated. Thanks guys. Its obviously not finished but I'm stuck on this part.

 

  
begin
   while Engine.Status = lsOnline do begin
  Engine.MoveTo(82111, 149267, -3495);
  Engine.MoveTo(81296, 149728, -3469);
  Engine.SetTarget(30753);
  Engine.DlgOpen;
  Engine.DlgSel(1);
  Engine.DlgSel(1);
  Engine.DlgSel(1);
  Engine.DlgSel(1);
  Engine.MoveTo(82568, 148888, -3495);
  Engine.SetTarget(30080);   // Clarissa
  Engine.MoveTo(83396, 147904, -3404);
  Engine.DlgOpen;
  Engine.DlgSel('Teleport');
  Engine.DlgSel('Town Of Aden');
  Engine.DlgSel('OK');
  Engine.MoveTo(146705, 25840, -2008);
  Engine.MoveTo(146638, 25967, -2008);
  Engine.SetTarget(30848);   // Elisa
  Engine.DlgOpen;
  Engine.DlgSel('Teleport');
  Engine.DlgSel('Forsaken Plains');
  Engine.DlgSel('OK');
  Engine.CancelTarget;
  Engine.MoveTo(166999, 36946, -4024);
  Engine.MoveTo(166087, 36228, -3948);
  Engine.MoveTo(165853, 36229, -3922);
  Engine.MoveTo(165390, 37134, -3768);
  Engine.MoveTo(165498, 37112, -3828);
  Engine.MoveTo(165526, 37578, -3726);
  Engine.MoveTo(165556, 38139, -3681);
  Engine.MoveTo(165230, 39019, -3686);
  Engine.MoveTo(165060, 39548, -3686);
  Engine.SetTarget(20680);   // Marsh Drake
  Engine.UseSkill(1239);
  Engine.CancelTarget;
  Engine.SetTarget(20679);   // Marsh Stalker
  Engine.UseSkill(1239);
  Engine.MoveTo(166528, 40283, -3656);
  end;
  end.
  Engine.UseItem('Scroll of Escape');
  Delay(500000);
 end.
 while Engine.Status = lsOnline do begin
 end.
  if user.inrange(147329, 30101, -2487,  1000) then
  begin
  Engine.MoveTo(147499, 29632, -2326);
  Engine.MoveTo(147438, 28295, -2294);
  Engine.MoveTo(147076, 27282, -2231);
  Engine.MoveTo(147311, 26257, -2133);
  Engine.MoveTo(147265, 25809, -2039);
  Engine.MoveTo(147045, 25764, -2039);
  end
  else if user.inrange(148112, 30439, -2456,  1000) then
  begin
  Engine.MoveTo(147571, 30049, -2487);
  Engine.MoveTo(147406, 29829, -2426);
  Engine.MoveTo(147391, 28754, -2294);
  Engine.MoveTo(147059, 27137, -2231);
  Engine.MoveTo(147297, 26195, -2107);
  Engine.MoveTo(147192, 25793, -2039);
  Engine.MoveTo(146791, 25752, -2039);
  end
  else if user.inrange(148946, 21121, -2136,  1000) then
  begin
  Engine.MoveTo(149737, 23023, -2167);
  Engine.MoveTo(149521, 24201, -2167);
  Engine.MoveTo(148592, 24395, -2039);
  Engine.MoveTo(148550, 25735, -2039);
  Engine.MoveTo(147283, 25746, -2039);
  Engine.MoveTo(146782, 25755, -2039);
  end
  else if user.inrange(148565, 30463, -2456,  1000) then
  begin
  Engine.MoveTo(147517, 29993, -2487);
  Engine.MoveTo(147393, 28936, -2294);
  Engine.MoveTo(147025, 26958, -2231);
  Engine.MoveTo(147288, 26134, -2085);
  Engine.MoveTo(147251, 25788, -2039);
  Engine.MoveTo(146788, 25750, -2039);
  end
  else if user.inrange(150227, 29104, -2456,  1000) then
  begin
  Engine.MoveTo(149883, 28669, -2463);
  Engine.MoveTo(149845, 27659, -2295);
  Engine.MoveTo(148157, 27610, -2295);
  Engine.MoveTo(147327, 26093, -2066);
  Engine.MoveTo(147117, 25745, -2039);
  Engine.MoveTo(146765, 25756, -2039);
  end
  else if user.inrange(146819, 28063, -2264, 1000) then
  begin
  Engine.MoveTo(147270, 26509, -2230);
  Engine.MoveTo(147263, 25819, -2039);
  Engine.MoveTo(146774, 25755, -2039);
  end
  else if user.inrange(144559, 22835, -2136, 1000) then
  begin
  Engine.MoveTo(147270, 26509, -2230);
  Engine.MoveTo(147263, 25819, -2039);
  Engine.MoveTo(146774, 25755, -2039);
  Engine.MoveTo(144559, 22835, -2136);
  Engine.MoveTo(145342, 23998, -2167);
  Engine.MoveTo(146420, 24492, -2039);
  Engine.MoveTo(146430, 25671, -2039);
  Engine.MoveTo(146769, 25735, -2039);
  end
  else if user.inrange(148010, 27996, -2264, 1000) then
  begin
  Engine.MoveTo(147738, 26885, -2231);
  Engine.MoveTo(147309, 25965, -2039);
  Engine.MoveTo(147130, 25763, -2039);
  Engine.MoveTo(146765, 25754, -2039);
  end
  else if user.inrange(146038, 30519, -2456, 1000) then
  begin
  Engine.MoveTo(147303, 30037, -2487);
  Engine.MoveTo(147437, 29679, -2352);
  Engine.MoveTo(147446, 28676, -2294);
  Engine.MoveTo(147034, 27101, -2231);
  Engine.MoveTo(147312, 26093, -2070);
  Engine.MoveTo(147243, 25752, -2039);
  Engine.MoveTo(146759, 25755, -2039);
  end
  else if user.inrange(144635, 26664, -2264, 1000) then
  begin
  Engine.MoveTo(144760, 27077, -2295);
  Engine.MoveTo(145221, 27639, -2295);
  Engine.MoveTo(144310, 27614, -1853);
  Engine.MoveTo(146707, 27628, -2295);
  Engine.MoveTo(146591, 27421, -2230);
  Engine.MoveTo(147483, 26236, -2120);
  Engine.MoveTo(147347, 25920, -2039);
  Engine.MoveTo(147221, 25770, -2039);
  Engine.MoveTo(146770, 25758, -2039);
  end
  else if user.inrange(144626, 29145, -2456, 1000) then
  begin
  Engine.MoveTo(144692, 29351, -2487);
  Engine.MoveTo(145057, 28500, -2429);
  Engine.MoveTo(145060, 27482, -2295);
  Engine.MoveTo(146649, 27643, -2295);
  Engine.MoveTo(146803, 27247, -2231);
  Engine.MoveTo(147506, 26114, -2079);
  Engine.MoveTo(147238, 25891, -2039);
  Engine.MoveTo(146893, 25794, -2039);
  Engine.MoveTo(146783, 25754, -2039);
  Engine.MoveTo(146777, 25755, -2008);
  end
  else
  begin
  Engine.SetTarget(30848);   // Elisa
  Engine.DlgOpen;
  Engine.DlgSel('Teleport');
  Engine.DlgSel('Seal of Shilen');
  Engine.DlgSel('OK');
  
Edited by NoToppingMeNow

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

    • Hello everyone, I am looking to purchase a Premium Lineage 2 High Five server pack. My main requirements are: Stability & Quality (Most Important): The pack must be highly stable with no system errors or major bugs. Custom Features: It must include ready-to-use custom features such as a fully functional Community Board, custom NPC Buffers, and Custom Item Sellers (GM Shops), etc. Complete Files: It is absolutely necessary that the full source code (src) and complete Geodata are included. If you are selling a pack that meets these criteria, please send me a PM or leave a reply with the following information: Brief details and key features of the pack Price Test server availability (I would like to test it before buying) Thank you!
    • L2jmobiusDevClon — Classic Interlude p110 Emulator L2jmobiusDevClon is actively developing a Lineage 2 Classic Interlude p110 emulator. Development is done in free time with a strong focus on: • Stability • Authentic Classic mechanics • Clean and optimized architecture The project is based on the L2jMobius source and is continuously evolving and improving. System Requirements: • Java 25 • MariaDB 12.0 • Client p110 Current Revision: 3.0 Development Status: Active Distribution: Free Official Website: https://www.l2jmobiusdevclon.pp.ua Discord Server: https://discord.gg/23a9S8g4Bn Contact: Telegram — @L2jmobiusDevClon Also available via private messages Project Goals: ✔ Improved stability ✔ Maximum Classic accuracy ✔ Core optimization We are currently looking for: • Testers • Server administrators Suggestions, bug reports, and ideas are always welcome. Contact us via: ✔ Discord ✔ Telegram ✔ Private Messages
    • i guess loading only the effects that are needed it will maybe work, like removing from reshade shader folder the ones that are not needed, depends on the pc also i guess, also limithing the game at 30fps can be better maybe
    • Up   SELL CHARACTERS L2 REBORN FRANZ x1     destroyer 74 lvl naked - 120 euro sws 71 lvl naked - 120 euro pp 66 skills - 120 euro se 64 lvl - 90 euro   Characters are legit with mail   i can wtt the characters for adena server franz   sell adena franz 250kk stock     add discord topeseller4081  
  • 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..