Question for Rock5
Question for Rock5
Hello,
I am just wondering where to start on creating a script that accepts a quest, goes out and gets a certain number or completed quest and then returns to npc to turn in and rinse and repeat. The only part im not sure of is the certain number or completed quests part. Thanks -Slash
I am just wondering where to start on creating a script that accepts a quest, goes out and gets a certain number or completed quest and then returns to npc to turn in and rinse and repeat. The only part im not sure of is the certain number or completed quests part. Thanks -Slash
Re: Question for Rock5
I'm also wondering about mounting too. I checked out the egg script for some clues about the completed quest code but I am so lost. Basically what I am trying to do is this. Accept quest (mounted up), Go to location, get the right number of items to complete quest, mount up and return the quest to npc and reaccept.
Re: Question for Rock5
1. Daily Quest Scripts are around just pick one and Mod it like you need it. Even with counting Quests, Changing Characters, and stoping the Bot.
i.E.: read here http://www.solarstrike.net/phpBB3/viewt ... =21&t=1762
2. There are several Mount-Addons You can use ingame and combine it with a simple sendMacro command, but also botsides:
if player:hasBuff("mount's buff") == false then
inventory:useItem("mount's name");
end;
or simple the Mount() function (not sure if it works with all Mounts/Languages.
Hope even if my name is not Rock5 I could help.
Greetz
p.s.: Learning botting is based on Searching the Forum and testing around
After trying 60+ minutes around and finally got everything sortet you feel somehow really happy 
i.E.: read here http://www.solarstrike.net/phpBB3/viewt ... =21&t=1762
2. There are several Mount-Addons You can use ingame and combine it with a simple sendMacro command, but also botsides:
if player:hasBuff("mount's buff") == false then
inventory:useItem("mount's name");
end;
or simple the Mount() function (not sure if it works with all Mounts/Languages.
Hope even if my name is not Rock5 I could help.
Greetz
p.s.: Learning botting is based on Searching the Forum and testing around


Re: Question for Rock5
Thanks Atroxa and I did search and I'm making some progress but this is not easy for me to understand. I'm getting better though.
Re: Question for Rock5
I have made it a long way tonight with much study.
I am getting stuck now. I need to know how I can get my bot to stay at waypoint #4 and not move on to waypoint #5 until the quantity of dailies items I need have been gathered.
<!-- # 4 --><waypoint x="8051" z="53158">
if 6 > inventory:getItemCount(208091) then end </waypoint>
I know that end is probably incorrect but I can't find anything on this and I'm wondering if someone can help me out.

<!-- # 4 --><waypoint x="8051" z="53158">
if 6 > inventory:getItemCount(208091) then end </waypoint>
I know that end is probably incorrect but I can't find anything on this and I'm wondering if someone can help me out.
Re: Question for Rock5
I went back and tagged the 5th waypoint and tried using an example from Rock's Egg script but its not working.
<!-- # 4 --><waypoint x="8051" z="53158">
if 6 > inventory:getItemCount(208091) then -- Continue
__WPL:setWaypointIndex(__WPL:findWaypointTag("Continue")); end </waypoint>
<!-- # 5 --><waypoint x="7708" z="52987" type="RUN" tag="Continue">
if player:hasBuff("Flying Rune Disk") == false then
inventory:useItem("Flying Rune Disk (Permanent)");
end; </waypoint>
<!-- # 4 --><waypoint x="8051" z="53158">
if 6 > inventory:getItemCount(208091) then -- Continue
__WPL:setWaypointIndex(__WPL:findWaypointTag("Continue")); end </waypoint>
<!-- # 5 --><waypoint x="7708" z="52987" type="RUN" tag="Continue">
if player:hasBuff("Flying Rune Disk") == false then
inventory:useItem("Flying Rune Disk (Permanent)");
end; </waypoint>
-
- Posts: 13
- Joined: Mon Apr 06, 2009 6:20 am
Re: Question for Rock5
I'm not used with tags and here in the Office i have no runes or bot installed but i think the solution could look like this:
(dont'n beat me if the syntax isn't correct)
If you have the desired amount of items the bot will "Continue", "else" it will do it "Again".
hope it helps
(dont'n beat me if the syntax isn't correct)
If you have the desired amount of items the bot will "Continue", "else" it will do it "Again".
Code: Select all
<!-- # 4 --><waypoint x="8051" z="53158" tag="Again">
if 6 > inventory:getItemCount(208091) then -- Continue
__WPL:setWaypointIndex(__WPL:findWaypointTag("Continue"));
else --Again
__WPL:setWaypointIndex(__WPL:findWaypointTag("Again"));
end </waypoint>
<!-- # 5 --><waypoint x="7708" z="52987" type="RUN" tag="Continue">
if player:hasBuff("Flying Rune Disk") == false then
inventory:useItem("Flying Rune Disk (Permanent)");
end; </waypoint>
Re: Question for Rock5
First, don't ask for my help, specifically, when anyone might be able to help you (and maybe much sooner). Just post your question and if anyone can help, they will. I read all posts, so if no one has helped you yet I will, if I can.
So where were we.
To stay at a waypoint usually means a loop. An 'if then' statement is NOT a loop. It just takes 1 of a number of actions then moves on. What you want is a 'while' or 'repeat' loop.
On second thought I just saw runensammlers solution and that's better. By moving back to the waypoint, it gives the bot a chance to do its thing, like responding to aggro for example. Also if you get pulled from the waypoint, you return to it.
Edit: On third thought, I see an error with runensammlers solution. I'm not sure how many items you want but if you want to stay at the waypoint until you have 5, for example, then the 3rd line should be,
So where were we.
To stay at a waypoint usually means a loop. An 'if then' statement is NOT a loop. It just takes 1 of a number of actions then moves on. What you want is a 'while' or 'repeat' loop.
On second thought I just saw runensammlers solution and that's better. By moving back to the waypoint, it gives the bot a chance to do its thing, like responding to aggro for example. Also if you get pulled from the waypoint, you return to it.
Edit: On third thought, I see an error with runensammlers solution. I'm not sure how many items you want but if you want to stay at the waypoint until you have 5, for example, then the 3rd line should be,
Code: Select all
if inventory:getItemCount(208091) >= 5 then -- Continue
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Question for Rock5
The reason I aimed the post at you Rock is because I was using your work as a learning tool. Anyways, I ended up tagging the 4th waypoint and It works great. Ty everyone for the help.
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests