golden egg

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Spondz
Posts: 7
Joined: Fri Apr 04, 2014 4:16 am

golden egg

#1 Post by Spondz » Sat Apr 05, 2014 7:25 pm

Hello, i have problem with my golden egg bot. He can't take quest from npc this is code

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- Rock5's Millers Ranch Chickens run Version 1.1 edit by karasik666 -->
<onLoad>
	repeat questname=RoMScript("TEXT('Sys422386_name')"); yrest(500) until questname -- ie. "An Easy Lay?"
	repeat npcname=RoMScript("TEXT('Sys114930_name')"); yrest(500) until npcname -- ie. "Jenna Miller"
</onLoad>
	<!-- #  1 --><waypoint x="3981" z="3110" tag="Main">
		repeat queststate = getQuestStatus(questname); yrest(500) until queststate
		if queststate == "complete" then
			-- Complete quest
			player:target_NPC(npcname);
			sendMacro("CompleteQuest()"); yrest(2000);
			-- Accept quest
			player:target_NPC(npcname);
			sendMacro("AcceptQuest()"); yrest(2000);
			__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));	
		elseif queststate == "incomplete" then
			-- Collect eggs
			if 1 > inventory:getItemCount(204789) then -- Get more feed
				__WPL:setWaypointIndex(__WPL:findWaypointTag("Get Feed"));	
			else
				if player:target_Object(112955,8000) then -- Feed Hens
					__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"))
				else
					__WPL:setWaypointIndex(__WPL:findWaypointTag("Get Eggs"))
				end
			end
		else
			-- Accept quest
			player:target_NPC(npcname);
			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,1500) do -- Fresh Eggs
				sendMacro("UseSkill(1,1)") yrest(100)
				sendMacro("UseSkill(1,1)") yrest(100)
				sendMacro("UseSkill(1,1)") yrest(100)
				sendMacro("UseSkill(1,1)") yrest(4000)
			end
		end
		while player:target_Object(114931,1050) do -- Gold Eggs
			sendMacro("UseSkill(1,1)") yrest(100)
			sendMacro("UseSkill(1,1)") yrest(100)
			sendMacro("UseSkill(1,1)") yrest(100)
			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>
look attachment what my bot to do...
Some can fix my script or give me good script for golden eggs?

ps. i use script for this topic http://www.solarstrike.net/phpBB3/viewt ... 1&start=80
and still have the same problem
Attachments
rom3.jpg

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: golden egg

#2 Post by rock5 » Sat Apr 05, 2014 10:36 pm

Have you tried my MRC_Optimesed script? http://www.solarstrike.net/phpBB3/viewt ... 139#p12139
  • 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

Spondz
Posts: 7
Joined: Fri Apr 04, 2014 4:16 am

Re: golden egg

#3 Post by Spondz » Sun Apr 06, 2014 4:43 am

working, thanks ;)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest