-
mrtgtr
- Posts: 67
- Joined: Wed Mar 21, 2012 5:09 pm
#1
Post
by mrtgtr » Tue May 14, 2013 8:43 pm
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="3981" z="3110" tag="Main">
queststate = getQuestStatus("An Easy Lay")
if queststate == "complete" then
-- Complete quest
player:target_NPC("Jenna Miller");
sendMacro("CompleteQuest()"); yrest(2000);
-- Accept quest
player:target_NPC("Jenna Miller");
sendMacro("AcceptQuest()"); yrest(2000);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
elseif queststate == "incomplete" then
-- Collect eggs
if 30 > inventory:getItemCount(204789) then -- Get more feed
__WPL:setWaypointIndex(__WPL:findWaypointTag("Get Feed"));
else
if player:target_Object(112955,8000) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"))
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("Get Eggs"))
end
end
else
-- Accept quest
player:target_NPC("Jenna Miller");
sendMacro("AcceptQuest()"); yrest(2000);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
end
</waypoint>
<!-- # 2 --><waypoint x="3940" z="3055" tag="Get Feed"> </waypoint>
<!-- # 4 --><waypoint x="3937" z="2978">
player:target_Object(112956,7000,true)
</waypoint>
<!-- # 5 --><waypoint x="3935" z="3051">__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));</waypoint>
<!-- # 6 --><waypoint x="3928" z="3185" tag="Get Eggs"> </waypoint>
<!-- # 8 --><waypoint x="3929" z="3261">
changeProfileOption("HARVEST_DISTANCE", 40)
while player:target_Object(112955,8500) do -- Check for hens
while player:target_Object(112958,1800) do
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(3000)
end
end
while player:target_Object(112958,1800) do -- Check for any missed eggs
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(3000)
end
while player:target_Object(114931,1800) do
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(3000)
end
changeProfileOption("HARVEST_DISTANCE", 75)
</waypoint>
<!-- # 9 --><waypoint x="3926" z="3198">__WPL:setWaypointIndex(__WPL:findWaypointTag("Main")); </waypoint>
</waypoints>
quest name is diffrent from "An Easy Lay" in our server,
quest name has 'Ç,ğ' letters and when I edit to quest name with ours , bot gives error.
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#2
Post
by rock5 » Tue May 14, 2013 10:55 pm
Are you using a proper code editor such as
Notepad++ http://www.notepad-plus-plus.org?
- 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.”
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#3
Post
by lisa » Tue May 14, 2013 11:05 pm
Code: Select all
Command> print(getTEXT("Sys422386_name"))
An Easy Lay?
Code: Select all
Command> print(getTEXT("Sys425174_name"))
An Easy Lay?
-
mrtgtr
- Posts: 67
- Joined: Wed Mar 21, 2012 5:09 pm
#4
Post
by mrtgtr » Thu May 16, 2013 7:51 am
yes I tried to change to uft 8 , it is working now but it is trying to accpet quest but it is not accepting to quest
quest name is "Çocuk Oyuncağı Mı?"
-
mrtgtr
- Posts: 67
- Joined: Wed Mar 21, 2012 5:09 pm
#5
Post
by mrtgtr » Thu May 16, 2013 7:54 am
lisa wrote:Code: Select all
Command> print(getTEXT("Sys422386_name"))
An Easy Lay?
Code: Select all
Command> print(getTEXT("Sys425174_name"))
An Easy Lay?
can you show where to change with this codes ?
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#6
Post
by rock5 » Thu May 16, 2013 8:17 am
Well,
getText("Sys422386_name") should return
Çocuk Oyuncağı Mı? so you could use
Code: Select all
queststate = getQuestStatus(getText("Sys422386_name"))
Note: this will only work for the first quest that gives you the golden egg. If you repeat the quest then the quest id and name are different.
Why don't you use my script?
http://www.solarstrike.net/phpBB3/viewt ... 139#p12139
My MRC_Optimized.xml has been heavily tested and optimized and also can handle the 2 different quest names in case you want to repeat the quest. Or maybe you can copy and paste the bits you need for your script.
- 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.”
-
mrtgtr
- Posts: 67
- Joined: Wed Mar 21, 2012 5:09 pm
#7
Post
by mrtgtr » Thu May 16, 2013 9:03 am
rock5 wrote:Well,
getText("Sys422386_name") should return
Çocuk Oyuncağı Mı? so you could use
Code: Select all
queststate = getQuestStatus(getText("Sys422386_name"))
Note: this will only work for the first quest that gives you the golden egg. If you repeat the quest then the quest id and name are different.
Why don't you use my script?
http://www.solarstrike.net/phpBB3/viewt ... 139#p12139
My MRC_Optimized.xml has been heavily tested and optimized and also can handle the 2 different quest names in case you want to repeat the quest. Or maybe you can copy and paste the bits you need for your script.
oww thanx good waypoint
-
mrtgtr
- Posts: 67
- Joined: Wed Mar 21, 2012 5:09 pm
#8
Post
by mrtgtr » Thu May 16, 2013 9:24 am
mrtgtr wrote:rock5 wrote:Well,
getText("Sys422386_name") should return
Çocuk Oyuncağı Mı? so you could use
Code: Select all
queststate = getQuestStatus(getText("Sys422386_name"))
Note: this will only work for the first quest that gives you the golden egg. If you repeat the quest then the quest id and name are different.
Why don't you use my script?
http://www.solarstrike.net/phpBB3/viewt ... 139#p12139
My MRC_Optimized.xml has been heavily tested and optimized and also can handle the 2 different quest names in case you want to repeat the quest. Or maybe you can copy and paste the bits you need for your script.
oww thanx good waypoint
now it is accepting quest, doing quest and when quest finish it is not complete also finished ?
sorry I took to quest :S
so do not accept to quest allready
-
mrtgtr
- Posts: 67
- Joined: Wed Mar 21, 2012 5:09 pm
#9
Post
by mrtgtr » Thu May 16, 2013 9:45 am
rock5 wrote:Well,
getText("Sys422386_name") should return
Çocuk Oyuncağı Mı? so you could use
Code: Select all
queststate = getQuestStatus(getText("Sys422386_name"))
Note: this will only work for the first quest that gives you the golden egg. If you repeat the quest then the quest id and name are different.
Why don't you use my script?
http://www.solarstrike.net/phpBB3/viewt ... 139#p12139
My MRC_Optimized.xml has been heavily tested and optimized and also can handle the 2 different quest names in case you want to repeat the quest. Or maybe you can copy and paste the bits you need for your script.
it is not taking to quest but if I take to quest, it is doing farming
I think Sys422386_name of our server is diffrent how I can learn it ?
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#10
Post
by rock5 » Thu May 16, 2013 10:18 am
You are using an addon to automatically select the quest, right? Maybe the addon can't tell the difference between the 2 quests.
- 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.”
-
mrtgtr
- Posts: 67
- Joined: Wed Mar 21, 2012 5:09 pm
#11
Post
by mrtgtr » Thu May 16, 2013 10:47 am
rock5 wrote:You are using an addon to automatically select the quest, right? Maybe the addon can't tell the difference between the 2 quests.
no
I have lootamatic,advquestbook,charplan,invitebyfri.
never mind I did quest 20 time, only I earn 1 golden egg and it is bound :S
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#12
Post
by rock5 » Thu May 16, 2013 1:01 pm
mrtgtr wrote:never mind I did quest 20 time, only I earn 1 golden egg and it is bound :S
Yes, that's the way it works now. The first time you do the quest each day, you will be rewarded with 1
bound Golden Egg. You can only get 1 Golden egg per day. That's why no one talks about it anymore; because you can't use it to make money.
- 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.”
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests