Cow in Logar event

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Sota
Posts: 13
Joined: Sun Feb 19, 2012 4:24 pm

Cow in Logar event

#1 Post by Sota » Sun Feb 19, 2012 4:29 pm

I have an idea to make a bot to feed a cow in Logar (event) and do not know how to do this script. Can anyone do this?

Germangold
Posts: 276
Joined: Thu Oct 22, 2009 3:58 am

Re: Cow in Logar event

#2 Post by Germangold » Sun Feb 19, 2012 6:41 pm

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints><onload>
while inventory:getItemCount(200338) > 0  do 
	player:target_NPC(112151);
	sendMacro("ChoiceOption(3);");  
	yrest(7777);
end break;</onload></waypoints>

User avatar
Sithlord512589
Posts: 36
Joined: Thu Mar 04, 2010 9:21 am

Re: Cow in Logar event

#3 Post by Sithlord512589 » Tue Feb 21, 2012 11:48 pm

Sorry, i am the dumb here.

I can´t get the code to work neither as profile in onLoad nor as waypoint-file.

it gives an error somewhere between
end break;
and
</onload>

someone please enlight me with this issue

thanks in advance
MAGE 75/ PRIEST 72 (soon 75) / ROUGE 6x
german client, Server Europe
Thankful User of the other peoples mindwork :-)

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Cow in Logar event

#4 Post by lisa » Wed Feb 22, 2012 12:08 am

code if for a WP file

instead of break I would probably use player:sleep() or even error(") to stop MM

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onload>
while inventory:getItemCount(200338) > 0  do 
   player:target_NPC(112151);
   sendMacro("ChoiceOption(3);");  
   yrest(7777);
end 
player:sleep()
</onload>
</waypoints>
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Germangold
Posts: 276
Joined: Thu Oct 22, 2009 3:58 am

Re: Cow in Logar event

#5 Post by Germangold » Wed Feb 22, 2012 5:00 am

sorry didnt testet my code

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 9 guests