Mail all over the world?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Mail all over the world?

#1 Post by beanybabe » Fri Aug 07, 2015 9:06 am

I was hoping someone may have made a function to run to mail box were ever you were. I'm not sure if that can be done with any of the travel functions without extra code. I need to run get items from mail and was hoping to not do unnecessary running to other zones if possible.

Here is example of what I was thinking of you call it with value of 1 or 2 to goto, or return from mailbox. with the ids already in TravelTo this might be best to be a part of it. I put code for stronghold and heffner in as an example.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
-- Start and End at portal
-- movementvalue 1 = to, 2 = from, 3 = atthemailbox 4 = returnedtoportal 5 = mailoutofrange 
----------------
	function tomailguildcastle()
	end
	function frommailguildcastle()
	end
	function tomailstronghold()
		movementvalue = 1
		player:moveTo(CWaypoint(-23214, 44751), true)
		player:moveTo(CWaypoint(-23464, 44061), true)
	end
	frommailstronghold()
		player:moveTo(CWaypoint(-23227, 44642), true)
	end
	function tomailvaranascentral()
	end
	function frommailvaranascentral()
	end
	function tomailheffner()
		player:moveTo(CWaypoint(-6397, -3858), true)
	player:moveTo(CWaypoint(-6690, -3801), true)
	player:moveTo(CWaypoint(-6739, -3810), true)
	player:moveTo(CWaypoint(-7155, -3968), true)
	end
	function frommailheffner()
	player:moveTo(CWaypoint(-6772,-3832), true)
	player:moveTo(CWaypoint(-6659,-3823), true)
	player:moveTo(CWaypoint(-6413,-3856), true)
	player:moveTo(CWaypoint(-6328,-3905), true)
	end		
	function tomaillogar()
	end
	function frommaillogar()
	end
	function tomailsascilliasteepsreiford()
	end
	function frommailsascilliasteepsreiford()
	end
	function tomailaslan()
	end
	function frommailaslan()
	end
	function tomailravenfell()
	end
	function frommailravenfell()
	end
	function tomailweepingcoast()
	end
	function frommailweepingcoast()
	end
	function tomailsavagelands()
	end
	function frommailsavagelands()
	end
	function tomailystrahighlandsharf()
	end
	function frommailystrahighlandsharf()
	end
	function tomaildragonfangridgelyk()
	end
	function frommaildragonfangridgelyk()
	end
	function tomailsavagelandsgreentower()
	end
	function frommailsavagelandsgreentower()
	end
	----------------------------------------
	-- check location
	print (RoMScript("GetZoneName()"))
	
	if zone = 6 and movementvalue = 1 then
		travelto("GlorySquare")
		function tomailstronghold()
		return = 3
	end
	if zone = 6 and movementvalue = 2 then
		function frommailstronghold()
		return = 4
	end
	if zone = 13 and movementvalue = 1 then
		travelto("Heffner")
		function tomailheffner()
		return = 3
	end
	if zone = 13 and movementvalue = 2 then
		function frommailheffner()
		return = 4
	end
	
	
</waypoints>

User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: Mail all over the world?

#2 Post by Bill D Cat » Sat Aug 08, 2015 12:13 pm

Adding movement options to Rock's userfunction_travelTo could be possible, but in the end I don't think it would be all that practical. For the most part, it would only work if you were to create the paths from the various Snoop locations to the nearest mailbox. So if you are somewhere else in the zone, it would have no way of creating a direct path back to Snoop, and would likely end up using a Recall or Transport To: type skill to get to a known location first. Then you would have to use multiple jumps via Snoop just to get back to the zone you were in before finally moving to that mailbox.

Seems like a lot of extra transporting just to get to a mailbox that could, in theory, just be around the corner from you in the first place. All because the userfunction didn't know where exactly you were in relation to a known starting point.

User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Mail all over the world?

#3 Post by beanybabe » Sat Aug 08, 2015 1:16 pm

Yes that was the plan from snoop to the main mail box in area, each mail box would have a recall back to the snoop in the area. normally the travelTo will just fail if it cannot find a route at all. It may be only practical to route for the low level zones and any daily's spots or grind locations.

Ill try to get it to work for the 2 spots I put in so far and see if it is useful at all.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests