@
[Only registered and activated users can see links. Click Here To Register...]... the luna weekly changed, if you have the quest and have the 7 Quest items you cannot get more than 7, you cannot loot the thing. I already had a routine for giving the quest back to Eli and retaking it ( and I wrote it at some point here), but now it is mandatory otherwise you are wasting entries and the quest gives stigma enchant stones.
Also there are a few ways to make it, either soul bind all chars in Lakrum or Pandaimonium/Illuma and use the return skill (since Eli NPC is near the obelisk in both cities), or use a scroll for these cities. The difference in code will be minimal in the first section.
Since my all my characters have less than 1000 kinah and since I have other things to do I cannot soul bind them all in Lakrum because first I need to make them sell something in broker to get the necessary kinah and then bind them all one by one, I'll be using the exchanged scroll we were given for this script for now since I have plenty of thousands on each char.
If you use it with
UseID=<item ID> it automatically selects the first option, in this case Pandaimonium for me. I also plan to add more securities, I realized one of my chars didn't have the quest, probably returned it to Eli, got the red key and and then lagged when was about to retake it and thus couldn't loot any more Quest items. This will be in the To do list.
But for now it is essential you add this to the weekly script, alter it and make it possible for Asmodian/Elyos Na/Eu too and also make a choice of what you will use (scroll or return or whatever up to you, I'll do my thing anyways).
My code is meant for some pinged connections and many clients at the same time, high delays and securities whether we are in the right spot, whether the NPC dialog opened indeed, and if something doesn't work as intended it uses a WaitForResponse, better be slow and 100% sure than to be slightly faster and risk to lose it all.
This will be used right after the first ENDIF and before anything else in the main script.
Code:
_IFQuestInventoryContains=182216117,7;
#EXECUTE=EliQuest;
#ENDIF
...this is the function
Code:
start_EliQuest;
UseID=164020501; Scroll for everything, automatically takes you to 1st option in my case Pandaimonium
Delay=1000;
#DO=60000; <--wait till we are in the obelisk area
Command=/select Eli;
Delay=1000;
#UNTIL=%TargetName,Eli; <--obelisk location Pandaimonium
Delay=4000;
FlySmooth=1620.381,1399.366,193.127; Eli in Pandaimonium
FlySmooth=1620.381,1399.366,193.127;
Command=/select Eli;
Delay=1000;
Command=/select Eli;
Delay=1000;
#IF=%TargetName,Eli;
#ELSE
WaitForResponse=%Var30 has an Eli loc problem;
#ENDIF
Delay=1000;
Command=/attack;
Delay=500;
Command=/attack;
Delay=500;
Command=/attack;
Delay-1000;
_IFFrameVisible=170; <- If npc dialog is opened
#ELSE
WaitForResponse=%Var30 has an Eli dialog Problem;
#ENDIF
Delay=100;
FrameAction=170,STATE,SHOW; NPC Dialog
FrameAction=170,XPOS,0; Positions it to corner
FrameAction=170,YPOS,0;
Delay=1000;
DialogClick=QuestSelect80875; Quest Defeat Mechaturerk
Delay=2000;
DialogClick=select1;
Delay=2000;
DialogClick=select1;
Delay=2000;
Mouse=186,309; OK button
Delay=2000;
Command=/attack;
Delay=500;
Command=/attack;
Delay=500;
Command=/attack;
Delay-1000;
_IFFrameVisible=170; <- If npc dialog is opened
#ELSE
WaitForResponse=%Var30 has an Eli dialog Problem;
#ENDIF
Delay=100;
FrameAction=170,STATE,SHOW; NPC Dialog
FrameAction=170,XPOS,0; Positions it to corner
FrameAction=170,YPOS,0;
Delay=1000;
DialogClick=QuestSelect80875; Quest Defeat Mechaturerk
Delay=2000;
Mouse=186,309; Accept button
Delay=2000;
end_EliQuest;
My To-Do List (I'll implement those probably tomorrow):
- When we start the script in every char, our chars need to have at least 1 Quest item or 1 Red key, if our chars has none that means they do not have the quest, in this case use scroll/return, go to Eli and take the quest before continuing.
...if it is possible to check if we have a quest, let me know, this would be a more correct way to do it in programming aspect.
- The chars still cannot target-loot the boxes, at least for me, they have to go near the box, get the camera really close, and use F7 to select it and then do the thing. There are times that the character strangely doesn't do anything, it selects the box, commands /attack, hits 0x43 key but still nothing. In this case we gotta add a protection that once we go there, we have to make sure that the item was looted, if we have e.g. 2 quest items, after the looting routine we have to have 3 (etc)
- Same thing for the red key, if we are going to loot, we better have 0 red keys after the routine and have +1 box from the golden chest. That is even more important since this item comes once every 7 weeks!
- Super important, I have to do something about the core combat routine, I do not understand why my chars sit there sometimes getting hit doing nothing. I see the script commanding /use skill blah blah so why doesn't it work, pretty weird. Also there is something wrong, if I am on the client while this happens, and I manually hit the skills with the keyboard (while the script is running) the character doesn't hit as well. the character also seems to move really slowly there, as if he is having 1 speed, pretty weird. Other times it simply uses only the 2nd skill (the ranged aoe) and nothing else. I think this is because of the routine at that spot is super fast and simply lags/bugs for me.
- The final area is now full of mobs always, so the route from start to finish has to change, instead of moving to the ground, it is wiser to use gravity and move in a mid-air path, this way we will be in mid air when we are in the core area and 90% of the mobs are melee, they will not be able to hit us while we slowly kill them with our ranged hits and AoEs, once done we can remove the gravity and continue.
P.S. you do not have to implement these, I'll do them for me anyway, I am just mentioning them and when I do them I'll give it to you to make them global, lunas are super important now, especially the daily since most of our chars get s-rank even when the first barrier gets down. Every week you can get a brokerable manastone or brokerable 20x transparent transformation scrolls from the daily luna blue key box. These can make pretty good money.
(also you get the legendary purple enchant stones that can be used in tradeable items to enchant and then resell, more money this way in the long run)