Yoko

All sides of Injection
It is currently 2025-12-17 20:06:09

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2008-02-17 16:10:41 
Offline

Joined: 2005-07-28 20:31:08
Posts: 25
I will try to explain my Doubt.
I wanna target the floor in myX+1 and myY-1, but I didnt' know how to do that, I was trying like this:

Code:
z = Uo.GetZ("self")
x = Uo.GetX("self")
y = Uo.GetY("self")

j = 1
i = 1

uo.waittargettile('str(x+j),str(y-i),str(z)')


When I used this, it always target onde the floor under me.

Somebody can help me?

Thanks.

[]'s

_________________
Image
Image
Image


Top
   
 Post subject:
PostPosted: 2008-02-17 17:42:07 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
Code:
uo.waittargettile( lasttile_OR_tilenum, x, y, z)

_________________
The End.


Top
   
 Post subject:
PostPosted: 2008-02-17 18:29:12 
Offline

Joined: 2005-07-28 20:31:08
Posts: 25
I'm wrote:
Code:
uo.waittargettile( lasttile_OR_tilenum, x, y, z)


I wanna target my tile info + 1.
Ex: I'm on the X:1578 & y: 1675, the floor that I wanna target the X:1579 & Y:1675, this isn't a fixed target, because I will walk, and this tiles will change.

understand?

[]'s

_________________
Image

Image

Image


Top
   
 Post subject:
PostPosted: 2008-02-17 18:42:22 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
uo.waittargettile(lasttile/tilenum,[x],[y],[z])


You are missing the 1st variable...

For example:
Code:
uo.waittargettile("400",str(x)+1,str(y),str(z))

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2008-02-18 01:09:58 
Offline

Joined: 2005-07-28 20:31:08
Posts: 25
Mr Nmy wrote:
Code:
uo.waittargettile(lasttile/tilenum,[x],[y],[z])


You are missing the 1st variable...

For example:
Code:
uo.waittargettile("400",str(x)+1,str(y),str(z))


Qhen I change my uo.waittargettile() to your, the injection doesn't run the script, but when I take off the "+1" the scripts run normaly.

How do I discovery this "tilenum"?

Thanks.

[]'s

_________________
Image

Image

Image


Top
   
 Post subject:
PostPosted: 2008-02-18 03:15:50 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Incorrect example.. rofl. Use my example:

Code:
uo.waittargettile( "0", str( uo.getX() + 1 ), str( uo.getY() -1 ), str( uo.getZ() ) )

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2008-02-18 04:01:47 
Offline

Joined: 2005-07-28 20:31:08
Posts: 25
Destruction wrote:
Incorrect example.. rofl. Use my example:

Code:
uo.waittargettile( "0", str( uo.getX() + 1 ), str( uo.getY() -1 ), str( uo.getZ() ) )


Thanks everybody.
It works fine now. xD

[]'s

_________________
Image

Image

Image


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


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:  
Powered by phpBB® Forum Software © phpBB Limited