Jump to content

Recommended Posts

Posted (edited)

Ive got this script for TTs rec quest on a l2 c6 server
But it seems to be buggy on the 2nd turn to Crocus npc, it opens the dialog and press on the 1st msg but it doesn't press the 2nd dialog which is to deliver the liquor
I suppose there s some issue on this
ClickAndWait("menu_select?ask=622&reply=1", "\"I have your liquor right here!\"");
but i cant find whats wrong with it.
 

 

moveDistance = 40;
ShowToClient("HS Quest", "Starting");
TargetNpc("Jeremy", 31521);
MoveTo(GetTarget():GetLocation(), moveDistance);
Talk();
ClickAndWait("npc_268467491_Quest", "Quest");

ClickAndWait("quest_choice?choice=4&option=1", "[Delivery of Special Liquor]");
ClickAndWait("Quest 622_DeliveryOfSpecialLiquor 31521-1.htm", "I'll deliver your liquor.");
Talk();
ClickAndWait("npc_268466761_Quest", "Quest");

ClickAndWait("quest_choice?choice=0&option=1", "[Egg Delivery]");

ClickAndWait("quest_accept?quest_id=621", "\"I'll deliver your eggs.\"");
ClearTargets();
MoveTo(149523, -112674, -2064, moveDistance);
MoveTo(149232, -112515, -2064, moveDistance);
MoveTo(148811, -112609, -2102, moveDistance);
MoveTo(148020, -113173, -2139, moveDistance);
MoveTo(147880, -113297, -2121, moveDistance);
MoveTo(147788, -113247, -2101, moveDistance);
MoveTo(147640, -113362, -2113, moveDistance);
TargetNpc("Beolin", 31547);
MoveTo(GetTarget():GetLocation(), moveDistance);
Talk();

ClickAndWait("talk_select", "Quest");
ClickAndWait("menu_select?ask=622&reply=1", "\"I'm here to deliver some liquor.\"");
ClearTargets();
UseSkill(411, false, false); -- Stealth
MoveTo(147553, -113295, -2112, moveDistance);
MoveTo(148261, -113299, -2114, moveDistance);
MoveTo(148788, -113558, -2068, moveDistance);
MoveTo(149356, -114168, -1931, moveDistance);
MoveTo(149806, -114435, -1906, moveDistance);
MoveTo(149839, -114455, -1903, moveDistance);
MoveTo(149839, -114455, -1903, moveDistance);
MoveTo(149861, -114468, -1900, moveDistance);
MoveTo(150152, -114633, -1835, moveDistance);
MoveTo(150659, -114889, -1706, moveDistance);
MoveTo(151236, -114991, -1601, moveDistance);
MoveTo(151783, -114967, -1567, moveDistance);
MoveTo(154331, -114990, -1543, moveDistance);
MoveTo(154884, -115123, -1552, moveDistance);
MoveTo(157320, -115468, -1896, moveDistance);
TargetNpc("Pulin", 31543);
MoveTo(GetTarget():GetLocation(), moveDistance);
Talk();
ClickAndWait("npc_268467494_Quest", "Quest");
ClickAndWait("menu_select?ask=621 &reply=1", "\"I've got some Boiled Eggs for you.\"");

ClearTargets();
UseSkill(411, false, false); -- Stealth
MoveTo(157625, -115375, -1904, moveDistance);
MoveTo(157345, -113753, -1816, moveDistance);
MoveTo(157273, -113486, -1787, moveDistance);
MoveTo(157033, -113136, -1768, moveDistance);
MoveTo(156818, -112782, -1723, moveDistance);
MoveTo(156745, -112559, -1755, moveDistance);
MoveTo(156745, -112420, -1815, 400);
MoveTo(156767, -111853, -2316, moveDistance);
MoveTo(156726, -111706, -2362, moveDistance);
MoveTo(156217, -111193, -2581, moveDistance);
MoveTo(156226, -111007, -2587, moveDistance);
MoveTo(156103, -110747, -2604, moveDistance);
MoveTo(156049, -110581, -2621, moveDistance);
MoveTo(156046, -110307, -2637, moveDistance);
MoveTo(156302, -108979, -2646, moveDistance);
MoveTo(156175, -107782, -2624, moveDistance);
MoveTo(156082, -107385, -2628, moveDistance);
MoveTo(155686, -106904, -2685, moveDistance);
MoveTo(155576, -106301, -2741, moveDistance);
TargetNpc("Naff", 31544);
MoveTo(GetTarget():GetLocation(), moveDistance);
Talk();
ClickAndWait("npc_268467494_Quest", "Quest");
ClickAndWait("menu_select?ask=621 &reply=1", "\"I have some Boiled Eggs for you!\"");
ClearTargets();
UseSkill(411, false, false); -- Stealth
MoveTo(155634, -105771, -2754, moveDistance);
MoveTo(155242, -105110, -2745, moveDistance);
MoveTo(153798, -102583, -2968, moveDistance);
MoveTo(153763, -102111, -2942, moveDistance);
MoveTo(153823, -100883, -2920, moveDistance);
MoveTo(153339, -101099, -2930, moveDistance);
MoveTo(152999, -101165, -2923, moveDistance);
MoveTo(150581, -101459, -2890, moveDistance);
MoveTo(149578, -101108, -2896, moveDistance);
MoveTo(148627, -100975, -2944, moveDistance);
MoveTo(148206, -100980, -2993, moveDistance);
MoveTo(148151, -100981, -2999, moveDistance);
MoveTo(148151, -100981, -2999, moveDistance);
MoveTo(147856, -100984, -3034, moveDistance);
UseSkill(411, false, false); -- Stealth
MoveTo(146203, -100996, -3191, moveDistance);
MoveTo(145388, -101122, -3198, moveDistance);
MoveTo(145174, -101227, -3179, moveDistance);
MoveTo(144964, -101395, -3251, moveDistance);
MoveTo(144496, -101923, -3493, moveDistance);
MoveTo(143734, -102905, -3551, moveDistance);
MoveTo(143152, -103717, -3596, moveDistance);
MoveTo(142991, -103961, -3588, moveDistance);
MoveTo(142601, -104346, -3612, moveDistance);
MoveTo(141325, -105099, -3629, moveDistance);
MoveTo(141037, -105273, -3613, moveDistance);
TargetNpc("Crocus", 31545);
MoveTo(GetTarget():GetLocation(), moveDistance);
Talk();
ClickAndWait("npc_268467494_Quest", "Quest");

ClickAndWait("menu_select?ask=621 &reply=1", "I've got your eggs right here.");
ClearTargets();
UseSkill(411, false, false); -- Stealth
MoveTo(140706, -105813, -3613, moveDistance);
MoveTo(140549, -106122, -3627, moveDistance);
MoveTo(140918, -108510, -3627, moveDistance);
MoveTo(141260, -109048, -3582, moveDistance);
MoveTo(141598, -109393, -3590, moveDistance);
TargetNpc("Kuber", 31546);
MoveTo(GetTarget():GetLocation(), moveDistance);
Talk();
ClickAndWait("npc_268467494_Quest", "Quest");

ClickAndWait("quest_choice?choice=0&option=1", "[Egg Delivery (Continue)]");

ClickAndWait("menu_select?ask=621&reply=1", "\"Egg delivery, sir!\"");

Talk();
ClickAndWait("npc_268467498_Quest", "Quest");

ClickAndWait("quest_choice?choice=2&option=1", "[Delivery of Special Liquor (Continue)]");

ClickAndWait("menu_select?ask=622&reply=1", "\"I'm here to deliver some liquor.\"");
ClearTargets();
MoveTo(141598, -109393, -3590, moveDistance);
MoveTo(141260, -109048, -3582, moveDistance);
MoveTo(140918, -108510, -3627, moveDistance);
MoveTo(140549, -106122, -3627, moveDistance);
MoveTo(140706, -105813, -3613, moveDistance);
TargetNpc("Crocus", 31545);
MoveTo(GetTarget():GetLocation(), moveDistance);
Talk();
ClickAndWait("npc_268467498_Quest", "Quest");

ClickAndWait("menu_select?ask=622&reply=1", "\"I have your liquor right here!\"");
ClearTargets();
UseSkill(411, false, false); -- Stealth
MoveTo(140666, -105534, -3632, moveDistance);
MoveTo(140809, -106328, -3627, moveDistance);
MoveTo(141462, -106713, -3566, moveDistance);
MoveTo(142096, -107027, -3483, moveDistance);
MoveTo(145586, -108668, -3414, moveDistance);
MoveTo(146012, -108871, -3336, moveDistance);
MoveTo(148009, -108896, -2804, moveDistance);
MoveTo(148450, -108907, -2681, moveDistance);
MoveTo(149113, -109208, -2532, moveDistance);
MoveTo(149456, -110147, -2378, moveDistance);
MoveTo(149432, -110697, -2296, moveDistance);
MoveTo(148811, -112609, -2102, moveDistance);
MoveTo(148020, -113173, -2139, moveDistance);
MoveTo(147880, -113297, -2121, moveDistance);
MoveTo(147788, -113247, -2101, moveDistance);
MoveTo(147640, -113362, -2113, moveDistance);
TargetNpc("Beolin", 31547);
MoveTo(GetTarget():GetLocation(), moveDistance);
Talk();
ClickAndWait("npc_268467494_Quest", "Quest");

ClickAndWait("menu_select?ask=621&reply=1", "I've got your eggs right here.");
ClearTargets();
UseSkill(411, false, false); -- Stealth
MoveTo(147497, -113283, -2111, moveDistance);
MoveTo(148618, -112292, -2167, moveDistance);
MoveTo(148663, -112251, -2164, moveDistance);
MoveTo(148663, -112251, -2164, moveDistance);
MoveTo(148737, -112187, -2157, moveDistance);
MoveTo(149253, -112169, -2094, moveDistance);
MoveTo(150770, -111986, -2253, moveDistance);
MoveTo(151966, -111637, -2421, moveDistance);
MoveTo(152700, -111065, -2544, moveDistance);
MoveTo(155693, -108786, -2637, moveDistance);
MoveTo(156177, -107896, -2623, moveDistance);
MoveTo(156068, -107427, -2626, moveDistance);
MoveTo(156021, -106713, -2703, moveDistance);
MoveTo(155962, -106267, -2739, moveDistance);
MoveTo(155685, -106013, -2739, moveDistance);
TargetNpc("Naff", 31544);
MoveTo(GetTarget():GetLocation(), moveDistance);
Talk();
ClickAndWait("npc_268467498_Quest", "Quest");
ClickAndWait("menu_select?ask=622 &reply=1", "Say \"I've brought you some specially brewed liquor!\"");
ClearTargets();
UseSkill(411, false, false); -- Stealth
MoveTo(155627, -105753, -2754, moveDistance);
MoveTo(154921, -107248, -2677, moveDistance);
MoveTo(153327, -110668, -2636, moveDistance);
MoveTo(151559, -111982, -2357, moveDistance);
MoveTo(151166, -112356, -2269, moveDistance);
MoveTo(150650, -113093, -2116, moveDistance);
MoveTo(150569, -113424, -2030, moveDistance);
MoveTo(150557, -113474, -2020, moveDistance);
MoveTo(150557, -113474, -2020, moveDistance);
MoveTo(150554, -113488, -2018, moveDistance);
MoveTo(150437, -114225, -1877, moveDistance);
MoveTo(150670, -114642, -1710, moveDistance);
UseSkill(411, false, false); -- Stealth
MoveTo(151070, -114788, -1608, moveDistance);
MoveTo(151303, -114796, -1577, moveDistance);
MoveTo(151328, -114797, -1575, moveDistance);
MoveTo(151328, -114797, -1575, moveDistance);
MoveTo(151470, -114801, -1569, moveDistance);
MoveTo(154068, -114937, -1547, moveDistance);
MoveTo(154952, -115084, -1560, moveDistance);
MoveTo(157330, -115469, -1896, moveDistance);
TargetNpc("Pulin", 31543);
MoveTo(GetTarget():GetLocation(), moveDistance);
Talk();
ClickAndWait("npc_268467498_Quest", "Quest");
ClickAndWait("menu_select?ask=622 &reply=1", "\"Here's the liquor delivery.\"");
ClearTargets();
UseSkill(411, false, false); -- Stealth
MoveTo(157622, -115380, -1903, moveDistance);
MoveTo(157260, -115388, -1896, moveDistance);
MoveTo(157184, -115389, -1896, moveDistance);
MoveTo(157184, -115389, -1896, moveDistance);
MoveTo(157119, -115390, -1893, moveDistance);
MoveTo(156279, -115348, -1767, moveDistance);
MoveTo(155237, -115127, -1582, moveDistance);
MoveTo(154470, -115046, -1539, moveDistance);
MoveTo(151841, -114885, -1570, moveDistance);
MoveTo(151278, -114842, -1590, moveDistance);
MoveTo(150887, -114739, -1637, moveDistance);
MoveTo(150596, -114343, -1778, moveDistance);
MoveTo(150225, -113701, -2032, moveDistance);
MoveTo(150007, -113347, -2083, moveDistance);
MoveTo(149829, -113246, -2081, moveDistance);
MoveTo(149834, -112961, -2082, moveDistance);
MoveTo(149745, -112826, -2064, moveDistance);
MoveTo(149540, -112670, -2064, moveDistance);
MoveTo(149540, -112670, -2064, moveDistance);
TargetNpc("Jeremy", 31521);
Talk();
ClickAndWait("npc_268466761_Quest", "Quest");

ClickAndWait("quest_choice?choice=3&option=1", "[Egg Delivery (Continue)]");

ClickAndWait("menu_select?ask=621 &reply=3", "\"I made all the deliveries.\"");
Talk();
ClickAndWait("npc_268456331_Quest", "Quest");

ClickAndWait("quest_choice?choice=7&option=1", "[Delivery of Special Liquor (Continue)]");

ClickAndWait("menu_select?ask=622 &reply=3", "\"Yes, I finished all the deliveries.\"");
 

Edited by DjNanos
  • 2 weeks later...

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.



×
×
  • Create New...