player:target_Object Problem

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

player:target_Object Problem

#1 Post by mattstar81 » Sun Sep 05, 2021 4:13 am

hello community,

In my mystical altar WP the bot should click the Mystic Stone Table to get into the instance. he makes it 70% positive. what can i improve?

Code: Select all

	<!-- # 68 --><waypoint x="-14655" z="-15165" y="1615">
	sendMacro('InviteByName("xxx")');
	</waypoint>
	<!-- # 69 --><waypoint x="-14711" z="-15135" y="1615">
		player:target_Object("Mystischer Steintisch");
		waitForLoadingScreen();
		__WPL:setForcedWaypointType("NORMAL");
		changeProfileOption("WAYPOINT_DEVIATION", 0);
		changeProfileOption("MAX_TARGET_DIST", 90);
		changeProfileOption("COMBAT_RANGED_PULL", false);
	</waypoint>
	
	<!-- # 70 --><waypoint x="568" z="1785" y="983">	</waypoint>
	<!-- # 71 --><waypoint x="821" z="1789" y="983">	</waypoint>

User avatar
Administrator
Site Admin
Posts: 5318
Joined: Sat Jan 05, 2008 4:21 pm

Re: player:target_Object Problem

#2 Post by Administrator » Mon Sep 06, 2021 7:46 am

Maybe simply retrying the target_Object on a short delay could do the trick, like so:

Code: Select all

	<!-- # 69 --><waypoint x="-14711" z="-15135" y="1615">
		player:target_Object("Mystischer Steintisch");
		yrest(1000);
		player:target_Object("Mystischer Steintisch");
		waitForLoadingScreen();
		__WPL:setForcedWaypointType("NORMAL");
		changeProfileOption("WAYPOINT_DEVIATION", 0);
		changeProfileOption("MAX_TARGET_DIST", 90);
		changeProfileOption("COMBAT_RANGED_PULL", false);
	</waypoint>

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: player:target_Object Problem

#3 Post by mattstar81 » Wed Sep 08, 2021 4:20 am

1a class
thank you very much now it's running smoothly :D

Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 0 guests