Harvesting converter for yGather?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
mithandir
Posts: 5
Joined: Sat Sep 12, 2009 1:16 am

Harvesting converter for yGather?

#1 Post by mithandir » Sat Sep 12, 2009 6:43 am

Is anybody able to convert the coordinates created by yGather so that we can use them as waypoint and harvesting point inside the bot? So we could create a hugh path from one harvest point to the nearest other one.

GurdyMan
Posts: 34
Joined: Fri Sep 11, 2009 5:34 pm

Re: Harvesting converter for yGather?

#2 Post by GurdyMan » Sat Sep 12, 2009 6:48 am

It would take a lot of work to organize those points and make it so you don't get stuck. It's probably more efficient to just make a path, walk it a while and then remake the path.

mithandir
Posts: 5
Joined: Sat Sep 12, 2009 1:16 am

Re: Harvesting converter for yGather?

#3 Post by mithandir » Sat Sep 12, 2009 2:18 pm

I have a working solution for sorting a list of random waypoints so that you go to the nearest harvesting point. In combination with RomMultiHack you can take the direct connections when enabling "Wallclimb".

Actual process:
I take the createpath.lua and create harvesting points in random order. My Java Programm calculates the best direct route of all points I took. In a testrun the combination of build-in unstuck and "wallclimb" worked very well.

Its sure that you should not use you main account for that as you are using wallclimb ...

Does anybody know how the coordinates from yGather can be converted to the waypoints used by the bot? Its the only thing missing ...

Tomorrow I will add a UI in my Java program and then I will release it so everybody can take advantage of it.

GurdyMan
Posts: 34
Joined: Fri Sep 11, 2009 5:34 pm

Re: Harvesting converter for yGather?

#4 Post by GurdyMan » Sat Sep 12, 2009 7:39 pm

You'll have to make a parser to pull the info from the SaveVariables.lua file.

Find out who programmed it and send him an email for info on the tags he uses. Or read the files to see if he left comments.

Avaryan
Posts: 10
Joined: Sun Sep 06, 2009 3:18 pm

Re: Harvesting converter for yGather?

#5 Post by Avaryan » Sat Sep 12, 2009 9:54 pm

It would be nice if we had something like yGather that would not only collect the infomation, but also return the information to a central database when you exit the client. Then, on log in, add those coordinates to your map.

Wishful thinking though.

mithandir
Posts: 5
Joined: Sat Sep 12, 2009 1:16 am

Re: Harvesting converter for yGather?

#6 Post by mithandir » Sun Sep 13, 2009 2:26 am

Structure SavedVariables: [zone] -> [id] -> [newidx]

Example:

Code: Select all

[2] = {
		[1002] = {
			[1] = {
				["y"] = 879.81,
				["x"] = 396.56,
			},
		},
		[1004] = {
			[2] = {
				["y"] = 319.2,
				["x"] = 492.45,
			},
			[3] = {
				["y"] = 260.79,
				["x"] = 377.39,
			},
			[1] = {
				["y"] = 879.81,
				["x"] = 396.56,
			},
			[4] = {
				["y"] = 434.49,
				["x"] = 621.21,
			},
			[5] = {
				["y"] = 515.14,
				["x"] = 574.08,
			},
		},
The question is not how to parse them, but how to convert e.g. 515.14 / 575.08 to xxxx / xxxx so that we can use this in the bot.

User avatar
droppen
Posts: 179
Joined: Mon Aug 03, 2009 10:32 pm

Re: Harvesting converter for yGather?

#7 Post by droppen » Sun Sep 13, 2009 3:19 am

Hmm, interesting, does ygather have the database of all flower's sticks and stones? i don't think its possible to make wayponts that do not get stuck, unless you make a waypoint system that learns.

mithandir
Posts: 5
Joined: Sat Sep 12, 2009 1:16 am

Re: Harvesting converter for yGather?

#8 Post by mithandir » Sun Sep 13, 2009 3:31 am

Quote myself: "I take the createpath.lua and create harvesting points in random order. My Java Programm calculates the best direct route of all points I took. In a testrun the combination of build-in unstuck and "wallclimb" (-> MultiHack) worked very well.

Its sure that you should not use you main account for that as you are using wallclimb ...
"

I'm running a bot since yesterday evening with a waypoint file generated this way.

User avatar
droppen
Posts: 179
Joined: Mon Aug 03, 2009 10:32 pm

Re: Harvesting converter for yGather?

#9 Post by droppen » Sun Sep 13, 2009 5:07 am

Right, but i don't want to hack or use any other software on top of micromacro.

mithandir
Posts: 5
Joined: Sat Sep 12, 2009 1:16 am

Re: Harvesting converter for yGather?

#10 Post by mithandir » Sun Sep 13, 2009 9:09 am

The tool is available here: http://rapidshare.com/files/279508739/c ... points.zip

A readme is included.

What the tool does is:
1) Take a unsorted waypoint file as input
2) Sort the file by going from each point to the nearest other point
3) Save the new version as "xxx_optimized.xml" in the same path the sourcefile was found
4) Then you can run the new file as normal

Post Reply

Who is online

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