Page 1 of 1

waypoint of golden egg is not work

Posted: Tue May 14, 2013 8:43 pm
by mrtgtr

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.

Re: waypoint of golden egg is not work

Posted: Tue May 14, 2013 10:55 pm
by rock5
Are you using a proper code editor such as Notepad++ http://www.notepad-plus-plus.org?

Re: waypoint of golden egg is not work

Posted: Tue May 14, 2013 11:05 pm
by lisa

Code: Select all

Command> print(getTEXT("Sys422386_name"))
An Easy Lay?

Code: Select all

Command> print(getTEXT("Sys425174_name"))
An Easy Lay?

Re: waypoint of golden egg is not work

Posted: Thu May 16, 2013 7:51 am
by mrtgtr
rock5 wrote:Are you using a proper code editor such as Notepad++ http://www.notepad-plus-plus.org?
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ı?"

Re: waypoint of golden egg is not work

Posted: Thu May 16, 2013 7:54 am
by mrtgtr
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 ?

Re: waypoint of golden egg is not work

Posted: Thu May 16, 2013 8:17 am
by rock5
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.

Re: waypoint of golden egg is not work

Posted: Thu May 16, 2013 9:03 am
by mrtgtr
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 :)

Re: waypoint of golden egg is not work

Posted: Thu May 16, 2013 9:24 am
by mrtgtr
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

Re: waypoint of golden egg is not work

Posted: Thu May 16, 2013 9:45 am
by mrtgtr
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 ?

Re: waypoint of golden egg is not work

Posted: Thu May 16, 2013 10:18 am
by rock5
You are using an addon to automatically select the quest, right? Maybe the addon can't tell the difference between the 2 quests.

Re: waypoint of golden egg is not work

Posted: Thu May 16, 2013 10:47 am
by mrtgtr
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

Re: waypoint of golden egg is not work

Posted: Thu May 16, 2013 1:01 pm
by rock5
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.