Yoko

All sides of Injection
It is currently 2026-01-22 21:26:03

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: waittargettile problem.
PostPosted: 2008-05-22 00:45:45 
Offline

Joined: 2004-04-29 06:34:07
Posts: 7
uo.waittargettile( "0", str( uo.getX() ), str( uo.getY() ), str( uo.getZ() ) )

I want to target the tile but this command throw "Target cannont seen"


uo.waittargettile( "1341", str( uo.getX() ), str( uo.getY() ), str( uo.getZ() ) )
work fine but i not know the tile num.

how can to resolve this?


Top
   
 Post subject:
PostPosted: 2008-05-22 08:44:44 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Try to input '-1' in first argument of this function


Top
   
 Post subject:
PostPosted: 2008-05-22 12:20:13 
Offline

Joined: 2004-07-29 16:29:52
Posts: 55
& if you need to know the tile# ,infotile
the -1 = 'any' if it works for you


Top
   
 Post subject:
PostPosted: 2008-05-22 23:57:23 
Offline

Joined: 2004-04-29 06:34:07
Posts: 7
UO.WaitTargetTile(-1,STR(UO.GetX()),STR(UO.GetY()),STR(UO.GetZ()))
UO.WaitTargetTile('-1',STR(UO.GetX()),STR(UO.GetY()),STR(UO.GetZ()))
UO.WaitTargetTile('any',STR(UO.GetX()),STR(UO.GetY()),STR(UO.GetZ()))

None these seem works

,infotile throw 1340 2109 1466 -90
but UO.GetX(), UO.GetY(), UO.GetZ() throw 2109 1466 166

I change WaitTargetTile for
UO.WaitTargetTile("1340",STR(UO.GetX()),STR(UO.GetY()),"166") and work fine

but
UO.WaitTargetTile(-1,STR(UO.GetX()),STR(UO.GetY()),"166")
UO.WaitTargetTile('-1',STR(UO.GetX()),STR(UO.GetY()),"166")
UO.WaitTargetTile('any',STR(UO.GetX()),STR(UO.GetY()),"166")
no work

UO.LClick
Is my only solution.
:(


Top
   
 Post subject:
PostPosted: 2008-05-24 17:40:49 
Offline
User avatar

Joined: 2004-04-11 13:20:44
Posts: 24
You may use uo.privategettile(x,y,-1,fromNumber,toNumber) function.

Search for this function in forum, to see a few examples.

Hope it helps you!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited