Page 1 of 2

butterlfly for low HP character

Posted: Sat Jan 14, 2012 10:31 am
by kuripot
guys i have a solution in butterfly daily quest for low HP that can't kill Gale and Gardener..

but of course you cant finish the quest alone.... you need to join in traditional raid party in the area


i apply here what i had learned from other waypoint...

Re: butterlfly for low HP character

Posted: Sun Jan 15, 2012 10:24 pm
by SneakyBotter99
Hi there i like this script, however i have a character that can kill these with ease here is your script that i tweaked,





<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">

<waypoints><!-- MountSpeedhack -->
<onLoad>
RoMScript("DEFAULT_CHAT_FRAME:AddMessage('|cffffff00MountSpeedhack: "Horse" Press key.CTRL to ACTIVATE! or DEactivate.|r')")
repeat
while not keyPressedLocal(key.VK_CONTROL) do yrest(100); end;
MountSpeedHack();
RoMScript("DEFAULT_CHAT_FRAME:AddMessage('|cffffff00MountSpeedhack: ACTIVATED!|r')")
yrest(1500);

while not keyPressedLocal(key.VK_CONTROL) do yrest(100); end;
MountSpeedoff();
RoMScript("DEFAULT_CHAT_FRAME:AddMessage('|cffffff00MountSpeedhack: DEactivated.|r')")
yrest(1500);
until false

startjParty();
startGMDetect()
while (true) do
yrest(100);
end;

function quest()
local queststate = getQuestStatus("Catch Butterflies")
if queststate == "complete" then
player:mount("Horse");
__WPL:setForcedWaypointType("TRAVEL")
end
end

--== User Option ==--

Deliver = 0 -- Change if you want to enable/disable deliver quests 0=disable, any number = deliver after that amount of eggs (must b bigger than 9)
LagTime = 0 -- Affects accepting/completing quests. Increase LagTime if time is wasted by repeated CompleteQuests or AcceptQuests.
RunningSpeed = 59 -- The speed the character runs when not teleporting. 50 is normal. Recommended 100.
UseTeleporter = false -- Use Jduratedj's teleport userfunction. Please make sure you have it installed to use this option.
Timeout = 300 -- Time hens and eggs stay in the ignore list before being given another chance. '0' disables it, remains permanently in ignore list.
debugging = true -- Set to true to display extra useful information regarding egg drop rates and ignore lists.

--=================--

-- Apply speed hack
local playerAddress = memoryReadIntPtr(getProc(), addresses.staticbase_char, addresses.charPtr_offset);
if playerAddress ~= 0 then
memoryWriteFloat(getProc(), playerAddress + 0x40, RunningSpeed);
end
</onLoad>
</waypoints>

<!-- # 1 --><waypoint x="6414" z="5468" y="159">
player:target_NPC("Robbie Butcher");
AcceptQuestByName("Catch Butterflies");
local dqCount, dqPerDay = RoMScript("Daily_count()");
if dqCount == 10 then
sendMacro("LeaveParty();")
player:sleep();
else
player:target_NPC("Robbie Butcher");
AcceptQuestByName("Catch Butterflies")
end
</waypoint>
<!-- # 4 --><waypoint x="6339" z="4882" y="182">
player:mount("Horse");
__WPL:setForcedWaypointType("TRAVEL")
</waypoint>
<!-- # 5 --><waypoint x="6435" z="4451" y="182"> </waypoint>
<!-- # 6 --><waypoint x="6503" z="4201" y="182"> </waypoint>
<!-- # 7 --><waypoint x="6530" z="4085" y="204"> </waypoint>
<!-- # 8 --><waypoint x="6551" z="3997" y="204"> </waypoint>
<!-- # 10 --><waypoint x="6572" z="3904" y="204"> </waypoint>
<!-- # 11 --><waypoint x="6605" z="3765" y="172"> </waypoint>
<!-- # 12 --><waypoint x="6834" z="3592" y="173"> </waypoint>
<!-- # 13 --><waypoint x="7031" z="3445" y="190"> </waypoint>
<!-- # 1 --><waypoint x="7135" z="3174" y="190"> </waypoint>
<!-- # 3 --><waypoint x="7360" z="3209" y="182"> </waypoint>
<!-- # 4 --><waypoint x="7342" z="3323" y="181"> </waypoint>
<!-- # 5 --><waypoint x="7449" z="3364" y="181"> </waypoint>
<!-- # 6 --><waypoint x="7514" z="3167" y="182"> </waypoint>
<!-- # 7 --><waypoint x="7631" z="3176" y="181"> </waypoint>
<!-- # 8 --><waypoint x="7662" z="3082" y="182"> </waypoint>
<!-- # 9 --><waypoint x="7555" z="3034" y="181"> </waypoint>
<!-- # 10 --><waypoint x="7541" z="3054" y="181">
queststate = getQuestStatus("Catch Butterflies")
if queststate == "complete" then
__WPL:setDirection(WPT_BACKWARD);
else
__WPL:setForcedWaypointType("NORMAL")
__WPL:setWaypointIndex(__WPL:findWaypointTag("one"));
end
</waypoint>
<!-- # 12 --><waypoint x="7610" z="2659" tag ='one'> </waypoint>
<!-- # 13 --><waypoint x="7662" z="2315" y="182"> </waypoint>
<!-- # 14 --><waypoint x="7646" z="2063" y="182">player:mount(); </waypoint>
<!-- # 15 --><waypoint x="7416" z="2033" y="177">player:mount(); </waypoint>
<!-- # 16 --><waypoint x="7104" z="2209" y="176">player:mount(); </waypoint>
<!-- # 17 --><waypoint x="6914" z="2155" y="176">player:mount(); </waypoint>
<!-- # 18 --><waypoint x="6911" z="2450" y="182">player:mount(); </waypoint>
<!-- # 19 --><waypoint x="7425" z="2660" y="181">
queststate = getQuestStatus("Catch Butterflies")
if queststate == "incomplete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("two"));
else
__WPL:setForcedWaypointType("TRAVEL")
__WPL:setWaypointIndex(__WPL:findWaypointTag("three"));
end
</waypoint>
<!-- # 21 --><waypoint x="7400" z="2656" tag ='two'> </waypoint>
<!-- # 22 --><waypoint x="6991" z="2577" y="181"> </waypoint>
<!-- # 23 --><waypoint x="6211" z="2389" y="181"> </waypoint>
<!-- # 24 --><waypoint x="6261" z="2211" y="182">player:mount(); </waypoint>
<!-- # 25 --><waypoint x="6356" z="1784" y="182">player:mount(); </waypoint>
<!-- # 26 --><waypoint x="6537" z="1786" y="181">player:mount(); </waypoint>
<!-- # 27 --><waypoint x="6689" z="1788" y="178">player:mount(); </waypoint>
<!-- # 28 --><waypoint x="6769" z="1995" y="177">player:mount(); </waypoint>
<!-- # 29 --><waypoint x="6927" z="2180" y="177">player:mount(); </waypoint>
<!-- # 30 --><waypoint x="7015" z="2507" y="181"> </waypoint>
<!-- # 31 --><waypoint x="7611" z="2707" y="182">
queststate = getQuestStatus("Catch Butterflies")
if queststate == "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("three"));
else
__WPL:setForcedWaypointType("TRAVEL")
__WPL:setWaypointIndex(__WPL:findWaypointTag("one"));
end
</waypoint>
<!-- # 33 --><waypoint x="7610" z="2722" tag ='three'> </waypoint>
<!-- # 34 --><waypoint x="7534" z="3036" y="181">player:mount(); </waypoint>
<!-- # 35 --><waypoint x="7638" z="3073" y="182"> </waypoint>
<!-- # 36 --><waypoint x="7629" z="3177" y="182"> </waypoint>
<!-- # 37 --><waypoint x="7523" z="3183" y="182"> </waypoint>
<!-- # 38 --><waypoint x="7471" z="3355" y="181">player:mount(); </waypoint>
<!-- # 39 --><waypoint x="7348" z="3326" y="182"> </waypoint>
<!-- # 40 --><waypoint x="7366" z="3204" y="182"> </waypoint>
<!-- # 41 --><waypoint x="7140" z="3172" y="189">player:mount(); </waypoint>
<!-- # 42 --><waypoint x="7031" z="3498" y="189"> </waypoint>
<!-- # 43 --><waypoint x="6621" z="3769" y="173">player:mount(); </waypoint>
<!-- # 44 --><waypoint x="6558" z="3958" y="203">player:mount(); </waypoint>
<!-- # 45 --><waypoint x="6474" z="4284" y="182"> </waypoint>
<!-- # 46 --><waypoint x="6320" z="4903" y="181">player:mount(); </waypoint>
<!-- # 47 --><waypoint x="6350" z="5072" y="182"> </waypoint>
<!-- # 48 --><waypoint x="6427" z="5398" y="177">
queststate = getQuestStatus("Catch Butterflies");
if queststate == "complete" then
player:target_NPC("Robbie Butcher");
CompleteQuestByName("Catch Butterflies")
end
local dqCount, dqPerDay = RoMScript("Daily_count()");
if dqCount == 10 then
sendMacro("LeaveParty();")
player:sleep();
else
player:target_NPC("Robbie Butcher");
AcceptQuestByName("Catch Butterflies")
end
</waypoint>
</waypoints>

Re: butterlfly for low HP character

Posted: Sun Jan 15, 2012 10:28 pm
by SneakyBotter99
there is a script that kills you, and i was thinking that using this script could speed up this nasty butterfly daily quest.


so for instead of setting the waypoint to return you get the character to kill himself.

i have added this as a macro but getting the bot to use it once the daily quests have been completed and then ressurecting itself and then mounting up and completing the quest is beyond me but i know it can be done.

could anyone share a script such as that?

to kill yourself its /run RotateCamera(1,999,999.999,999);

Re: butterlfly for low HP character

Posted: Sun Jan 15, 2012 10:46 pm
by SneakyBotter99
1 more thing perhaps for the Passive Leech bot instead of getting it to act as bait and run around attracting mobs, why not set up a rest function and get the bot to check at regular time intervals, then it kills itself once quest is complete. then it doesnt look like your running a bot.

Re: butterlfly for low HP character

Posted: Sun Jan 15, 2012 11:40 pm
by lisa
killing yourself in open zone like that for anyone to see will just get you banned, eventually.

Re: butterlfly for low HP character

Posted: Mon Jan 16, 2012 4:16 am
by Germangold
I use the killing methode all the time and its well know on my server Muinin

Re: butterlfly for low HP character

Posted: Mon Jan 16, 2012 10:48 pm
by SneakyBotter99
Anyone Help with this script would be awesome! :))

Re: butterlfly for low HP character

Posted: Wed Feb 08, 2012 5:18 am
by kuripot
guys anyone knows how can i use this mount???

Code: Select all

player:mount(Dagger Skeleton Mount (Permanent));
player:mount(209502);
http://www.runesdatabase.com/item/20950 ... -permanent


from private server

Re: butterlfly for low HP character

Posted: Wed Feb 08, 2012 5:58 am
by rock5
What you do it use "player:mount()". If it doesn't work, you start a post and say "player:mount() doesn't recognise my mount". Then we say "ok we'll add it.". :)

It's actually been awhile since mount has been updated. I'll try to do a thorough update. Your mount will be included in next revision.

BTW. That mount looks awesome, and 6 riders! I didn't know mounts could hold that many.

Re: butterlfly for low HP character

Posted: Wed Feb 08, 2012 6:12 am
by lisa
you can use this for now.
There are 589 mounts all up, so you can imagine not all of them are in the mounts table, it would take quite some time to do that.

Yup and just 299 dias too lol

Re: butterlfly for low HP character

Posted: Wed Feb 08, 2012 6:38 am
by rock5
I just finished doing it. I have a few other things I've done so it wont be long before the next commit.

Edit: added 66 mounts btw.

Re: butterlfly for low HP character

Posted: Wed Feb 08, 2012 6:43 am
by kuripot
for the meantime where do i put the inventory lua till next commit not yet come??



edited... NVM i got it micromacro\scripts\rom\classes

Re: butterlfly for low HP character

Posted: Wed Feb 22, 2012 12:20 pm
by Alleexx
SneakyBotter99 wrote:to kill yourself its /run RotateCamera(1,999,999.999,999);
That doesn't seem to work on my server. Only thing that happens is that the whole screen becomes white and I have to do stuck report.

Re: butterlfly for low HP character

Posted: Sun Feb 26, 2012 7:42 am
by chesterfield
butterfly with 10 multiple daily quest run automatically, can this be?
Sorry about my bad English

Re: butterlfly for low HP character

Posted: Sun Feb 26, 2012 11:30 pm
by kuripot
try this... not sure... i just edited

Re: butterlfly for low HP character

Posted: Sun Feb 26, 2012 11:50 pm
by lisa
I use these 2, follow similar lines but stop at different places when they get to butterflies.

Re: butterlfly for low HP character

Posted: Mon Mar 19, 2012 11:27 am
by runnpray
lisa wrote:I use these 2, follow similar lines but stop at different places when they get to butterflies.
Lisa, I have been trying to use the scripts but without success. If I target the npc (green circle) it will either pick up or turn in the quest but otherwise it will just run back and forth. Do I need a userfunction of somesort? thank you.

code -

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
	<!-- #  1 --><waypoint x="7548" z="2981" y="184">
	repeat 
	local queststate = getQuestStatus("Catch Butterflies")
	yrest(2000) 
	until queststate == "complete"
	__WPL:setDirection(WPT_FORWARD);
	</waypoint>
	<!-- #  2 --><waypoint x="7581" z="3034" y="184">	</waypoint>
	<!-- #  3 --><waypoint x="7671" z="3126" y="184">	</waypoint>
	<!-- #  4 --><waypoint x="7555" z="3191" y="184">	</waypoint>
	<!-- #  5 --><waypoint x="7435" z="3346" y="184">	</waypoint>
	<!-- #  6 --><waypoint x="7365" z="3343" y="184">	</waypoint>
	<!-- #  7 --><waypoint x="7342" z="3222" y="184">	</waypoint>
	<!-- #  8 --><waypoint x="7255" z="3180" y="193">	</waypoint>
	<!-- #  9 --><waypoint x="7157" z="3231" y="193">	</waypoint>
	<!-- # 10 --><waypoint x="7049" z="3417" y="193">	</waypoint>
	<!-- # 11 --><waypoint x="6626" z="3747" y="175">	</waypoint>
	<!-- # 12 --><waypoint x="6560" z="3976" y="206">	</waypoint>
	<!-- # 13 --><waypoint x="6479" z="4387" y="185">	</waypoint>
	<!-- # 14 --><waypoint x="6326" z="5027" y="184">	</waypoint>
	<!-- # 15 --><waypoint x="6427" z="5431" y="172">
	local queststate = getQuestStatus("Catch Butterflies")
	if queststate == "complete" then
		player:target_NPC("Robbie Butcher");
		CompleteQuestByName("Catch Butterflies")	
	end
	yrest(1000)
	local dqCount, dqPerDay = RoMScript("Daily_count()");
	if dqCount ~= 10 then
		player:target_NPC("Robbie Butcher");
		AcceptQuestByName("Catch Butterflies")
	else
		inventory:update();
		player:update();
		if inventory:itemTotalCount(202434) > 0 then
			inventory:useItem(202434);
			yrest(2000)
			player:target_NPC("Robbie Butcher");
			AcceptQuestByName("Catch Butterflies")			
		else
			player:sleep();
		end 
	end
	__WPL:setDirection(WPT_BACKWARD);
	</waypoint>
</waypoints>

Re: butterlfly for low HP character

Posted: Wed Mar 21, 2012 8:42 pm
by runnpray
Not sure if I posted in wrong sub-forum?

Re: butterlfly for low HP character

Posted: Wed Mar 21, 2012 8:56 pm
by lisa
runnpray wrote:Lisa, I have been trying to use the scripts but without success. If I target the npc (green circle) it will either pick up or turn in the quest but otherwise it will just run back and forth. Do I need a userfunction of somesort? thank you.
My guess is it is because of different language client and the NPC isn't called "Robbie Butcher" and the quest probably isn't called "Catch Butterflies"

So you can just change those to suit your language.

Re: butterlfly for low HP character

Posted: Thu May 17, 2012 9:58 am
by warlord
lisa wrote:
runnpray wrote:Lisa, I have been trying to use the scripts but without success. If I target the npc (green circle) it will either pick up or turn in the quest but otherwise it will just run back and forth. Do I need a userfunction of somesort? thank you.
My guess is it is because of different language client and the NPC isn't called "Robbie Butcher" and the quest probably isn't called "Catch Butterflies"

So you can just change those to suit your language.

I have same problem, targeting npc not work for me
my code

Code: Select all

		player:target_NPC("Robbie Butcher"); yrest(1000);
		sendMacro("OnClick_QuestListButton(3,1)")  yrest(1000);
		sendMacro("CompleteQuest();")
		sendMacro("CloseWindows();"); yrest(1000);
script says
We try to find NPC Robbie Butcher:
We successfully target NPC Robbie Butcher and try to open the dialog window.

but dialog window dont appear and quest is not accepted or finished, when I manualy target that npc, it works well
I tried either

Code: Select all

player:target_NPC("Robbie Butcher");
and also

Code: Select all

player:target_NPC(118072);
with same result

BTW: it worked for me for about an year or so, it stoped working before about half year but I was using older bot version till last game patch, after which I was forced to update whole bot, not only address