"is there a way to target by relative tile? ie: always target 1 tile to east."
In short, probably not. I've researched all the mining-related macros available on the internet for Stealth. In the Russian forum I'd find a post and then everyone's claiming it says "cannot see location" when trying to use their script.
I've been using Stealth for a couple days now. What I've found is the "tile" that Stealth needs in order to target the tile at x / y / z is the exact same tile number you can get from easyuo ... so you can record an area's information with easyuo and output it to Stealth and that works.
Example ...
This line in Stealth will properly target a tile to mine it (but only cave floor, not mountain edge) ...
TargetToTile(1343,1649,2892,0);
1343 is easyuo #LTARGETTILE
1649 is easyuo #LTARGETX
2892 is easyuo #LTARGETY
0 is easyuo #LTARGETZ
This only works on cave floors. The reason being, easyuo lets you set #LTARGETKIND ... and mountain sides are often different #LTARGETKIND than cave floors, and I'm failing to see in Stealth UO where you can set #LTARGETKIND.
I've tested using Stealth to find tiles ... the problem is I can find the tile # but I don't know how to reference it. I see the tile # when debugging, but it's nested in a very deep array and can't figure out how to reference it, and the variable name they used for it was only found on 1 page on the entire internet and it was in python and I'm using pascal ... I gave up trying to access that value and I just made an easyuo recorder that stores the values I get manually and then I convert the values to Stealth.
Post Merge: July 31, 2016, 07:37:55 PM
That code posted above, does it actually work for anyone? Drbadan, do you actually use that code successfully?
Because it's taken from here ...
http://forum.uorpg.net/viewtopic.php?t=7990And you yourself posted this to that ...
[04:25:36:796] You see: Drabadan
[04:25:39:156] System: Where do you want to use the Iron pickaxe?
[04:25:39:593] System: You have no line of sight to that location
[04:25:40:078] System: Where do you want to use the Iron pickaxe?
[04:25:40:281] System: You have no line of sight to that location
[04:25:42:843] You see: 3 уровень
[04:25:42:843] You see: Drabadan
[04:25:44:578] System: Where do you want to use the Iron pickaxe?
[04:25:44:937] System: You have no line of sight to that location
[04:25:45:359] System: Where do you want to use the Iron pickaxe?
[04:25:45:843] System: You have no line of sight to that location
[04:25:46:265] System: Where do you want to use the Iron pickaxe?
[04:25:46:625] System: You have no line of sight to that location
[04:25:47:875] System: Where do you want to use the Iron pickaxe?
[04:25:48:312] System: You have no line of sight to that location
[04:25:53:390] System: Where do you want to use the Iron pickaxe?
[04:25:53:875] System: You have no line of sight to that location
[04:25:54:328] System: Where do you want to use the Iron pickaxe?
[04:25:54:765] System: You have no line of sight to that location
So did you actually get it to work? If so, how?