Search found 5 matches

by solin
2018-02-16 15:48:39
Forum: I need script!
Topic: pathfinding
Replies: 0
Views: 6520

pathfinding

Hi guys, I am in the middle of writing new mining script and I think this is the hardest part now, to create a pathfinding algorithm. I can tell what statics are good to as part of the path, I can tell what are not good and I can tell what objects are making tile impassable for me. With these known ...
by solin
2009-12-06 19:04:33
Forum: I need script!
Topic: How to find out if there is any kind of obejct on the ground
Replies: 9
Views: 2624

findtype does not work for static objects
use injection.dll of version 505.18 and use function uo.privategettile
You can find out how it works by search on this forum

Yes that was new to me, I have findtype for the rock searching and I am using privategettile for searching the possible mining ...
by solin
2009-12-03 22:19:24
Forum: I need script!
Topic: How to find out if there is any kind of obejct on the ground
Replies: 9
Views: 2624

yes it does show info.
now I found this
,findtype type [color container_object|ground|my] - seek for object and point finditem on it if found.
Number of item stacks found may be retrieved by uo.findcount()

this is almost what I need, the only trouble is that it is scaning all the squares in ...
by solin
2009-12-03 15:02:05
Forum: I need script!
Topic: How to find out if there is any kind of obejct on the ground
Replies: 9
Views: 2624

yes it does show info.
now I found this
,findtype type [color container_object|ground|my] - seek for object and point finditem on it if found.
Number of item stacks found may be retrieved by uo.findcount()

this is almost what I need, the only trouble is that it is scaning all the squares in ...
by solin
2009-12-02 20:31:31
Forum: I need script!
Topic: How to find out if there is any kind of obejct on the ground
Replies: 9
Views: 2624

How to find out if there is any kind of obejct on the ground

Hello, I am finishing my mining script and now I need to do last thing... walking, on my shard it is nightmare because of rocks appearing on the ground. My idea is to scan the direction I want to go if there is a rock on the ground or not, if there is rock, try to find different path. I hope it is ...