catalin87 2 Posted October 23, 2015 Share Posted October 23, 2015 (edited) Hello ,I'm new to using the bot , I created a profile for the klaxxi daily quests , but i have problems with 2 quests :-http://www.wowhead.com/quest=31268/a-little-brain-work-http://www.wowhead.com/quest=31487/sonic-disruptionthey both require me to use an item on a mob and then kill them .If i use the UseItemOn class , it just uses the item on them and it moves on to the next. I tried using macro in fight class but the lua code doesn't work from some reason and it doesn't check for the condition of target id and it uses items all the time.Is there any way to make it so it attacks after it uses item on mob?Some help would be very appreciated.Thanks in advance!p.s.:I need to mention that I'm using an older version (1.2.4) so it might not have the newer options. Edited October 23, 2015 by catalin87 Link to comment https://wrobot.eu/forums/topic/2439-2-daily-quests-annoy-me/ Share on other sites More sharing options...
Droidz 2738 Posted October 25, 2015 Share Posted October 25, 2015 Hello,Sorry, I cannot help you, you use an very old WRobot version, he has a lot of change since.But the best way is to use C# code if you cannot make it to work with default options of "easy quests profile". Link to comment https://wrobot.eu/forums/topic/2439-2-daily-quests-annoy-me/#findComment-11250 Share on other sites More sharing options...
catalin87 2 Posted October 25, 2015 Author Share Posted October 25, 2015 Ok ... thanks ! I guess the only way is to override the pulse method(function). Link to comment https://wrobot.eu/forums/topic/2439-2-daily-quests-annoy-me/#findComment-11251 Share on other sites More sharing options...
catalin87 2 Posted October 28, 2015 Author Share Posted October 28, 2015 UPDATE: Managed to get everything working . I know you said I have an old version , still I'm posting this because it might help someone. As I mentioned in my first post , the quests required you to use an item on an elite so it becomes weaker. I tried overriding the pulse method (I'm coming from java so it might be called function) with no success. I have no idea how the original thing looks so I decided to give up on that. Then I revisited my original plan to modify my fight class so it includes those items and i will describe the steps: 1. Add code like this to the Add Spell field : RunMocroText("/use Sonic Disruption Fork") 2. You might want to add a distance condition so it doesn't use the item when the target is too far. 3. Add a Lua Script condition that looks something like this: local npcId = tonumber((UnitGUID("target")):sub(6, 10), 16); isSTarget=false; if ((npcId == 64717 ) or (npcId == 64720)) then isSTarget= true; end 4. Fill the Return value research with the value: true . 5. Fill the Return value var with the value: isSTarget . 6. Go to Spell Settings list and change the field: Not spell, is lua script to True 7. Now you have to options to use the item on the intended target without spamming the item. If the item leaves a debuff on the target you can add a Target buff condition . If the item doesn't leave a debuff go to Spell Settings list and change the field: Once per Target to True 8. Finally you can add the quest as a normal grinder quest. Hope this helps ! Link to comment https://wrobot.eu/forums/topic/2439-2-daily-quests-annoy-me/#findComment-11260 Share on other sites More sharing options...
Droidz 2738 Posted October 28, 2015 Share Posted October 28, 2015 Thank you for giving the solution, I have added license key at your WRobot account. Link to comment https://wrobot.eu/forums/topic/2439-2-daily-quests-annoy-me/#findComment-11261 Share on other sites More sharing options...
catalin87 2 Posted October 29, 2015 Author Share Posted October 29, 2015 Thanks a lot! I just wanted to help the community , but I appreciate the gift Link to comment https://wrobot.eu/forums/topic/2439-2-daily-quests-annoy-me/#findComment-11271 Share on other sites More sharing options...
Retardo101 0 Posted November 6, 2015 Share Posted November 6, 2015 Thanks very much for your contribution.. helped me alot :D Link to comment https://wrobot.eu/forums/topic/2439-2-daily-quests-annoy-me/#findComment-11339 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now