Help need to make questbot
Re: Help need to make questbot
typo i ment the bot
iam not sure the distance is gonna solve this issue. I changed it in the profile to 100 but still it attacks every single muschroom and sticks at 1 waypoint
iam not sure the distance is gonna solve this issue. I changed it in the profile to 100 but still it attacks every single muschroom and sticks at 1 waypoint
Re: Help need to make questbot
Maybe you should avoid that area then?bloodslain wrote:typo i ment the bot
iam not sure the distance is gonna solve this issue. I changed it in the profile to 100 but still it attacks every single muschroom and sticks at 1 waypoint
- 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: Help need to make questbot
i just tryed to add this on top of the waypoint file
but it just got ignored ( or can i only use this command in the profile? )
problem is that every spot there is full of those dahm mushrooms
Code: Select all
<onLeaveCombat>
if inventory:itemTotalCount(201171) > 4 then __WPL:setForcedWaypointType("RUN") end
</onLeaveCombat>
problem is that every spot there is full of those dahm mushrooms
Re: Help need to make questbot
Or maybe you are taking too long to kill them. I have no trouble with mages. What class do you use? Also, do you do all the available quests in town first?bloodslain wrote:i just tryed to add this on top of the waypoint filebut it just got ignored ( or can i only use this command in the profile? )Code: Select all
<onLeaveCombat> if inventory:itemTotalCount(201171) > 4 then __WPL:setForcedWaypointType("RUN") end </onLeaveCombat>
problem is that every spot there is full of those dahm mushrooms
onLeaveCombat can only be used in the profile. At the moment the only other section you can add is the onLoad
section.
- 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: Help need to make questbot
I use mage, but got it solved made new waypoints and decreased the range and now its okay. see below the result in code
Now i have an new problem on a different waypoint. actually 2 problems. see code below
My problem is in the reward.
1. It opens the package but afterthis it doesnt equip it like it supposed to.
2. The reward is for every class different how can i build in a check?
Code: Select all
<waypoints>
<onLoad>
settings.profile.mobs = {"Fungus"};
changeProfileOption("MAX_TARGET_DIST", 100);
</onLoad>
<!-- # 1 --><waypoint x="-3697" z="-8683">
repeat queststate = getQuestStatus("Testing Your Skill"); yrest(500) until queststate
if queststate == "not accepted" then
player:target_NPC("Leighton");
sendMacro("OnClick_QuestListButton(1,1)"); yrest(2000);
sendMacro("AcceptQuest()"); yrest(2000);
sendMacro("CloseWindows()");
yrest(2000);
end
</waypoint>
<!-- # 5 --><waypoint x="-3780" z="-8486"> </waypoint>
<!-- # 6 --><waypoint x="-3855" z="-7980"> </waypoint>
<!-- # 7 --><waypoint x="-3772" z="-7940" tag="funguspath"> if inventory:itemTotalCount(201171) > 4 then __WPL:setForcedWaypointType("RUN") end </waypoint>
<!-- # 8 --><waypoint x="-3819" z="-7819"> if inventory:itemTotalCount(201171) > 4 then __WPL:setForcedWaypointType("RUN") end </waypoint>
<!-- # 9 --><waypoint x="-3947" z="-7815"> if inventory:itemTotalCount(201171) > 4 then __WPL:setForcedWaypointType("RUN") end </waypoint>
<!-- # 10 --><waypoint x="-4032" z="-7835"> if inventory:itemTotalCount(201171) > 4 then __WPL:setForcedWaypointType("RUN") end </waypoint>
<!-- # 11 --><waypoint x="-3874" z="-8026"> if inventory:itemTotalCount(201171) > 4 then __WPL:setForcedWaypointType("RUN") end
if 5 > inventory:itemTotalCount(201171) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("funguspath"));
end
</waypoint>
<!-- # 12 --><waypoint x="-3709" z="-7963"> </waypoint>
<!-- # 13 --><waypoint x="-3763" z="-8065"> </waypoint>
<!-- # 14 --><waypoint x="-3819" z="-8400"> </waypoint>
<!-- # 15 --><waypoint x="-3725" z="-8581"> </waypoint>
<!-- # 16 --><waypoint x="-3697" z="-8683">
player:target_NPC("Leighton");
sendMacro("OnClick_QuestListButton(3,1)"); yrest(2000);
sendMacro("CompleteQuest()"); yrest(2000);
sendMacro("CloseWindows()"); yrest(2000);
loadPaths("Pioneers/7 - Lively reward");
</waypoint>
</waypoints>
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="-3797" z="-8522">
-- Obtain Quest: Claiming armor
player:clearTarget();
player:rest(2);
player:target_NPC("Mallor");
player:rest(2);
sendMacro("OnClick_QuestListButton(1,1)"); yrest(2000);
sendMacro("AcceptQuest()"); yrest(2000);
sendMacro("CloseWindows()"); yrest(2000);
</waypoint>
<!-- # 5 --><waypoint x="-3776" z="-8575">
-- Finish Quest: claiming Armor
player:target_NPC("Shamp");
player:rest(2);
sendMacro("OnClick_QuestListButton(3,1)"); yrest(2000);
sendMacro("CompleteQuest()"); yrest(2000);
sendMacro("CloseWindows()"); yrest(2000);
sendMacro("UseItemByName('Armor Package');");
player:rest(2);
sendMacro("UseItemByName('Superior Traveling Robe');");
player:rest(2);
loadPaths("Pioneers/4 - Claim your potions");
</waypoint>
</waypoints>
1. It opens the package but afterthis it doesnt equip it like it supposed to.
2. The reward is for every class different how can i build in a check?
Re: Help need to make questbot
1. Are you sure the name is right? I thought the mage robe was called "Superior Robe".bloodslain wrote:My problem is in the reward.Code: Select all
... sendMacro("UseItemByName('Armor Package');"); player:rest(2); sendMacro("UseItemByName('Superior Traveling Robe');"); player:rest(2); loadPaths("Pioneers/4 - Claim your potions"); </waypoint> </waypoints>
1. It opens the package but afterthis it doesnt equip it like it supposed to.
2. The reward is for every class different how can i build in a check?
2. You may need to try to equip every type of gear. Here is the code I use when leaving Pioneers Village for the first time. You can use it as a reference.
Code: Select all
inventory:update();
inventory:useItem(201704); yrest(1000); -- Open Weapon Gift Bag
inventory:useItem(201705); yrest(1000); -- Open Armor Gift Bag
inventory:useItem(201706); yrest(1000); -- Open Potion Gift Bag
inventory:useItem(203343); yrest(1000); -- Open Supply Kit (Roping quest reward)
inventory:useItem(221536); -- Open Metal Ring (Roping quest reward)
inventory:useItem(221537); yrest(2000); -- Open Metal Ring (Roping quest reward)
inventory:update();
inventory:useItem(210512); -- Arm- Excellent Small Dagger
inventory:useItem(210513); -- Arm- Fine Dagger
inventory:useItem(210514); -- Arm- Fine Stort Staff
inventory:useItem(210515); -- Arm- Fine Wand
inventory:useItem(210516); -- Arm- Fine Long Sword
yrest(2000);
inventory:useItem(221582); -- Wear- Superior Traveling Dress (cloth scout)
inventory:useItem(221583); -- Wear- Superior Coat (cloth rogue)
inventory:useItem(221584); -- Wear- Superior Robe (cloth mage)
inventory:useItem(221585); -- Wear- Superior Traveling Robe (cloth priest)
inventory:useItem(221586); -- Wear- Superior Chaincoat (chain knight)
yrest(2000);
- 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
-
- Posts: 29
- Joined: Mon Jul 19, 2010 7:32 pm
Re: Help need to make questbot
What about doing something like this?
(Stolen from your egg script btw)
I use that script chunk for all my chars for doing dailies, I'd imagine it would work just as well for running normal quests?
Code: Select all
repeat queststate = getQuestStatus(questname); yrest(500) until queststate
if queststate == "complete" then
--load waypoint file to run back to town
end
I use that script chunk for all my chars for doing dailies, I'd imagine it would work just as well for running normal quests?
Re: Help need to make questbot
Well yeah that would be an option, alltough i dont want to call another waypoint script
I want to use 1 waypointscript for 1 quest but thnx for your input
I want to use 1 waypointscript for 1 quest but thnx for your input
-
- Posts: 29
- Joined: Mon Jul 19, 2010 7:32 pm
Re: Help need to make questbot
Well then instead of the load waypoint code, use a jump to waypoint code likebloodslain wrote:Well yeah that would be an option, alltough i dont want to call another waypoint script
I want to use 1 waypointscript for 1 quest but thnx for your input
Code: Select all
repeat queststate = getQuestStatus(questname); yrest(500) until queststate
if queststate == "complete" then
__WPL:setWaypointIndex( number);
__WPL:setForcedWaypointType( "RUN");
end
Re: Help need to make questbot
I tested your script modifing it for the fungus daily's but there was something in your fungus path it was not complete I had to add a else statement in your item count check as it didnt seem to care after the check it was auto forcing the waypoints to run... see my code:
Code: Select all
!-- # 5 --><waypoint x="-3855" z="-7980"> </waypoint>
<!-- # 6 --><waypoint x="-3772" z="-7940" tag="funguspath"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint>
<!-- # 7 --><waypoint x="-3819" z="-7819"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint>
<!-- # 8 --><waypoint x="-3947" z="-7815"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint>
<!-- # 9 --><waypoint x="-4032" z="-7835"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint>
<!-- # 10 --><waypoint x="-3874" z="-8026"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end
if 10 > inventory:itemTotalCount(201168) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("funguspath")); end
</waypoint>
Re: Help need to make questbot
Heres a freebie for anyone who takes the time to read this thread i am attaching my fungus daily altered from using your code here just a a play around thing i worked on testing your code. i tried several ways to change the sequence of item check but every time soon as it got to the item check line it immediately turned the waypoints into travel....
e.g. i tried
<!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 __WPL:setForcedWaypointType("RUN") end </waypoint> (still turned on travel sooon as it hit this check
and tried
<!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 then __WPL:setWaypointIndex(__WPL:findWaypointTag("questdone")); end</waypoint>
again soon as it hit the item check it just went into run mode
so the only way i got it to work correctly was
<!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint>
problem with this is it gets to the wp kills 1 fungus does the item check turns Travel on then turns it back to Normal and goes to the next wp... with your very small fungus path it took me 4 circuits to get 10 stems
I know theres a workaround here that will let the way-points work as always "Normal" until you meet the check i just don't have the scripting power and know the bot well enough yet to get it.
anyway heres the code i wrote for doing the 10 daily stems if anyone wants it i ran it all 10 times on a new character worked well.
Modified and made the daily freebie much faster now due to my mistake earlier.
e.g. i tried
<!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 __WPL:setForcedWaypointType("RUN") end </waypoint> (still turned on travel sooon as it hit this check
and tried
<!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 then __WPL:setWaypointIndex(__WPL:findWaypointTag("questdone")); end</waypoint>
again soon as it hit the item check it just went into run mode
so the only way i got it to work correctly was
<!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint>
problem with this is it gets to the wp kills 1 fungus does the item check turns Travel on then turns it back to Normal and goes to the next wp... with your very small fungus path it took me 4 circuits to get 10 stems
I know theres a workaround here that will let the way-points work as always "Normal" until you meet the check i just don't have the scripting power and know the bot well enough yet to get it.
anyway heres the code i wrote for doing the 10 daily stems if anyone wants it i ran it all 10 times on a new character worked well.
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<waypoints type="NORMAL">
<onLoad> settings.profile.mobs = {"Fungus"};
changeProfileOption("TARGET_LEVELDIF_BELOW", 15);
changeProfileOption("MAX_TARGET_DIST", 120);
</onLoad>
<!-- # 1 --><waypoint x="-3705" z="-8629"> </waypoint>
<!-- # 2 --><waypoint x="-3717" z="-8540"> </waypoint>
<!-- # 3 --><waypoint x="-3702" z="-8520">
repeat queststate = getQuestStatus("Need More Fungus Stems"); yrest(500) until queststate
if queststate == "not accepted" then
player:harvest(110583) yrest(2000)
sendMacro("OnClick_QuestListButton(1,2);"); yrest(1500);
sendMacro("AcceptQuest()"); yrest(1500);
sendMacro("CloseWindows()"); yrest(1500);
end
</waypoint>
<!-- # 4 --><waypoint x="-3780" z="-8486"> </waypoint>
<!-- # 5 --><waypoint x="-3855" z="-7980"> __WPL:setForcedWaypointType("NORMAL") </waypoint>
<!-- # 6 --><waypoint x="-3717" z="-7984" tag="funguspath"> if inventory:itemTotalCount(201168) > 9 then __WPL:setWaypointIndex(__WPL:findWaypointTag("questdone")); __WPL:setForcedWaypointType("RUN") end </waypoint>
<!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 then __WPL:setWaypointIndex(__WPL:findWaypointTag("questdone")); __WPL:setForcedWaypointType("RUN") end </waypoint>
<!-- # 8 --><waypoint x="-3804" z="-7843"> if inventory:itemTotalCount(201168) > 9 then __WPL:setWaypointIndex(__WPL:findWaypointTag("questdone")); __WPL:setForcedWaypointType("RUN") end </waypoint>
<!-- # 9 --><waypoint x="-3849" z="-7771"> if inventory:itemTotalCount(201168) > 9 then __WPL:setWaypointIndex(__WPL:findWaypointTag("questdone")); __WPL:setForcedWaypointType("RUN") end </waypoint>
<!-- # 10 --><waypoint x="-3886" z="-7711"> if inventory:itemTotalCount(201168) > 9 then __WPL:setWaypointIndex(__WPL:findWaypointTag("questdone")); __WPL:setForcedWaypointType("RUN") end </waypoint>
<!-- # 11 --><waypoint x="-3709" z="-7963" tag="questdone">
if 10 > inventory:itemTotalCount(201168) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("funguspath")); end
</waypoint>
<!-- # 12 --><waypoint x="-3763" z="-8065"> </waypoint>
<!-- # 13 --><waypoint x="-3819" z="-8400"> </waypoint>
<!-- # 14 --><waypoint x="-3725" z="-8581"> </waypoint>
<!-- # 15 --><waypoint x="-3697" z="-8683">
player:target_NPC("Leighton");
sendMacro("OnClick_QuestListButton(3,1)"); yrest(1500);
sendMacro("CompleteQuest()"); yrest(1500);
sendMacro("CloseWindows()"); yrest(1500);
__WPL:setForcedWaypointType("NORMAL")
</waypoint>
</waypoints>
Modified and made the daily freebie much faster now due to my mistake earlier.
Last edited by Valleyguy on Sun Aug 08, 2010 10:27 am, edited 1 time in total.
Re: Help need to make questbot
There is nothing in this code that should make it go into travel mode. I suggest you check the onevents in your profile. Maybe you have some code there that changes the waypoint type.Valleyguy wrote:Heres a freebie for anyone who takes the time to read this thread i am attaching my fungus daily altered from using your code here just a a play around thing i worked on testing your code. i tried several ways to change the sequence of item check but every time soon as it got to the item check line it immediately turned the waypoints into travel....
e.g. i tried
<!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 __WPL:setForcedWaypointType("RUN") end </waypoint> (still turned on travel sooon as it hit this check
and tried
<!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 then __WPL:setWaypointIndex(__WPL:findWaypointTag("questdone")); end</waypoint>
again soon as it hit the item check it just went into run mode
so the only way i got it to work correctly was
<!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint>
problem with this is it gets to the wp kills 1 fungus does the item check turns Travel on then turns it back to Normal and goes to the next wp... with your very small fungus path it took me 4 circuits to get 10 stems
I know theres a workaround here that will let the way-points work as always "Normal" until you meet the check i just don't have the scripting power and know the bot well enough yet to get it.
anyway heres the code i wrote for doing the 10 daily stems if anyone wants it i ran it all 10 times on a new character worked well.Code: Select all
<?xml version="1.0" encoding="utf-8"?> <waypoints type="NORMAL"> <onLoad> settings.profile.mobs = {"Fungus"}; changeProfileOption("TARGET_LEVELDIF_BELOW", 15); changeProfileOption("MAX_TARGET_DIST", 150); </onLoad> <!-- # 1 --><waypoint x="-3705" z="-8629"> </waypoint> <!-- # 2 --><waypoint x="-3717" z="-8540"> </waypoint> <!-- # 3 --><waypoint x="-3702" z="-8520"> repeat queststate = getQuestStatus("Need More Fungus Stems"); yrest(500) until queststate if queststate == "not accepted" then player:harvest(110583) yrest(2000) sendMacro("OnClick_QuestListButton(1,2);"); yrest(1500); sendMacro("AcceptQuest()"); yrest(1500); sendMacro("CloseWindows()"); yrest(1500); end </waypoint> <!-- # 4 --><waypoint x="-3780" z="-8486"> </waypoint> <!-- # 5 --><waypoint x="-3855" z="-7980"> </waypoint> <!-- # 6 --><waypoint x="-3717" z="-7984" tag="funguspath"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 7 --><waypoint x="-3758" z="-7918"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 8 --><waypoint x="-3804" z="-7843"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 9 --><waypoint x="-3849" z="-7771"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 10 --><waypoint x="-3886" z="-7711"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 11 --><waypoint x="-3950" z="-7674"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 12 --><waypoint x="-4015" z="-7690"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 13 --><waypoint x="-4061" z="-7747"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 14 --><waypoint x="-4046" z="-7824"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 15 --><waypoint x="-4032" z="-7897"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 16 --><waypoint x="-3989" z="-7945"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 17 --><waypoint x="-3930" z="-8004"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end </waypoint> <!-- # 18 --><waypoint x="-3874" z="-8026"> if inventory:itemTotalCount(201168) > 9 then __WPL:setForcedWaypointType("RUN") else __WPL:setForcedWaypointType("NORMAL") end if 10 > inventory:itemTotalCount(201168) then __WPL:setWaypointIndex(__WPL:findWaypointTag("funguspath")); end </waypoint> <!-- # 19 --><waypoint x="-3709" z="-7963"> </waypoint> <!-- # 20 --><waypoint x="-3763" z="-8065"> </waypoint> <!-- # 21 --><waypoint x="-3819" z="-8400"> </waypoint> <!-- # 22 --><waypoint x="-3725" z="-8581"> </waypoint> <!-- # 21 --><waypoint x="-3697" z="-8683"> player:target_NPC("Leighton"); sendMacro("OnClick_QuestListButton(3,1)"); yrest(1500); sendMacro("CompleteQuest()"); yrest(1500); sendMacro("CloseWindows()"); yrest(1500); </waypoint> </waypoints>
- 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: Help need to make questbot
rock5 wrote:There is nothing in this code that should make it go into travel mode. I suggest you check the onevents in your profile. Maybe you have some code there that changes the waypoint type.
Oh Crap i make a newb to test his code and i used the L1-L10 script / profile yes forgive me the code is fine i am a idiot!
Re: Help need to make questbot
hehehe sound farmiliar had the same problem while testing with an character.. but i knew my code should be correct so i was forced to look in my profile instantly glad you figured it out yourself
Re: Help need to make questbot
yea actually i found a way to code past my mistake till i was told about the profile thing lol if i was lvl 9 or lvl 11 the code never would have failed in the first place it was just that one pieces in that profile if lvl == 10 run for town! meh!bloodslain wrote:hehehe sound farmiliar had the same problem while testing with an character.. but i knew my code should be correct so i was forced to look in my profile instantly glad you figured it out yourself
Re: Help need to make questbot
Hi members of forum again i have problem with waypoint. New zone is come out and need to do new waypoints. I'm doing waypoint for dailys quests and have problem with count items.
I tested lot's of things but still he never start waypoint to finish quest.
Anybudy have any idea where did i do mistake.
If you going to test it start it in Rh'anka Village and you can see where is problem.
I tested lot's of things but still he never start waypoint to finish quest.
Anybudy have any idea where did i do mistake.
If you going to test it start it in Rh'anka Village and you can see where is problem.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="2479" z="30762" tag="npc"> </waypoint>
<!-- # 2 --><waypoint x="2619" z="30735"> </waypoint>
<!-- # 3 --><waypoint x="2704" z="30791"> </waypoint>
<!-- # 4 --><waypoint x="2680" z="30862"> </waypoint>
<!-- # 5 --><waypoint x="2547" z="31017"> </waypoint>
<!-- # 6 --><waypoint x="2573" z="31306"> </waypoint>
<!-- # 7 --><waypoint x="2562" z="31517"> </waypoint>
<!-- # 8 --><waypoint x="2451" z="31776"> </waypoint>
<!-- # 9 --><waypoint x="2430" z="31970"> </waypoint>
<!-- # 1 --><waypoint x="2416" z="32007"> </waypoint>
<!-- # 2 --><waypoint x="2381" z="32005"> </waypoint>
<!-- # 3 --><waypoint x="2373" z="31973">
player:target_NPC("Jaexis Spider skin");
sendMacro("OnClick_QuestListButton(3,1)"); yrest(1000);
sendMacro("CompleteQuest();") ; yrest(1000);
player:target_NPC("Jaexis Spider skin");
sendMacro("OnClick_QuestListButton(1,2)"); yrest(1000);
sendMacro("AcceptQuest();") ; yrest(1000);
</waypoint>
<!-- # 1 --><waypoint x="2412" z="31960"> </waypoint>
<!-- # 2 --><waypoint x="2566" z="31406"> </waypoint>
<!-- # 3 --><waypoint x="2547" z="31138"> </waypoint>
<!-- # 4 --><waypoint x="2550" z="31003"> </waypoint>
<!-- # 1 --><waypoint x="2539" z="30884" tag="items">
changeProfileOption("HARVEST_DISTANCE", 50);
player:target_Object(115605, 5500);
if inventory:itemTotalCount(115605) > 4 then __WPL:setWaypointIndex(__WPL:findWaypointTag("npc")); end
</waypoint>
<!-- # 2 --><waypoint x="2598" z="30881">
changeProfileOption("HARVEST_DISTANCE", 50);
player:target_Object(115605, 5500);
if inventory:itemTotalCount(115605) > 4 then __WPL:setWaypointIndex(__WPL:findWaypointTag("npc")); end </waypoint>
<!-- # 3 --><waypoint x="2641" z="30917"></waypoint>
<!-- # 4 --><waypoint x="2685" z="30808">
changeProfileOption("HARVEST_DISTANCE", 50);
player:target_Object(115605, 5500);
if inventory:itemTotalCount(115605) > 4 then __WPL:setWaypointIndex(__WPL:findWaypointTag("npc")); end </waypoint>
<!-- # 5 --><waypoint x="2668" z="30754"> </waypoint>
<!-- # 6 --><waypoint x="2636" z="30764">
changeProfileOption("HARVEST_DISTANCE", 50);
player:target_Object(115605, 5500);
if inventory:itemTotalCount(115605) > 4 then __WPL:setWaypointIndex(__WPL:findWaypointTag("npc")); end </waypoint>
<!-- # 7 --><waypoint x="2590" z="30735"> </waypoint>
<!-- # 8 --><waypoint x="2526" z="30766">
changeProfileOption("HARVEST_DISTANCE", 50);
player:target_Object(115605, 5500);
if inventory:itemTotalCount(115605) > 4 then __WPL:setWaypointIndex(__WPL:findWaypointTag("npc")); end </waypoint>
<!-- # 9 --><waypoint x="2500" z="30831">
changeProfileOption("HARVEST_DISTANCE", 50);
player:target_Object(115605, 5500);
if inventory:itemTotalCount(115605) > 4 then __WPL:setWaypointIndex(__WPL:findWaypointTag("npc")); else
__WPL:setWaypointIndex(__WPL:findWaypointTag("items"));end </waypoint>
</waypoints>
Re: Help need to make questbot
I don't know what you are collecting but usually the id of the object you click to collect is different to the id of the item in your inventory.
To get the id of the item you click, use "rom/getid.lua".
To get the id of the item in your inventory I would normally say search for it on getbuffed.com but it is a new item so wont be found yet. If you have the addon "Item Preview" you could look it up on that. There are probably other ways too.
To get the id of the item you click, use "rom/getid.lua".
To get the id of the item in your inventory I would normally say search for it on getbuffed.com but it is a new item so wont be found yet. If you have the addon "Item Preview" you could look it up on that. There are probably other ways too.
- 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: Help need to make questbot
Now works with correct id didn't know that is onother id in backpack to.
It's posible to do same function as changeProfileOption(); but for friends? I'm using lot's of character and easy to forgot add to averybudy that option. Happend to me lot's of times.
It's posible to do same function as changeProfileOption(); but for friends? I'm using lot's of character and easy to forgot add to averybudy that option. Happend to me lot's of times.
Re: Help need to make questbot
I quite often add the mobs for a particular waypoint file to it's onLoad section like thiswizzyslo wrote:Now works with correct id didn't know that is onother id in backpack to.
It's posible to do same function as changeProfileOption(); but for friends? I'm using lot's of character and easy to forgot add to averybudy that option. Happend to me lot's of times.
Code: Select all
settings.profile.mobs = {"Boar","Bear"};
Code: Select all
<onLoad>
settings.profile.friends = {"friend1","friend2"};
</onLoad>
- 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: Help need to make questbot
Hey mate,
Back again with some questions. Not about the questing part ( still trying to understand all code ) iam now trying to understand the gatheringcode everything good so far.. alltough is there a way to read your gathering level. Like: when it turn lvl 20 go to varanas and get the quests for higher lvl etc.
Back again with some questions. Not about the questing part ( still trying to understand all code ) iam now trying to understand the gatheringcode everything good so far.. alltough is there a way to read your gathering level. Like: when it turn lvl 20 go to varanas and get the quests for higher lvl etc.
Who is online
Users browsing this forum: No registered users and 4 guests