Page 1 of 1

,drop "bug" or error

Posted: 2009-03-20 00:53:05
by xinxilas
im at 100,100,0
then i use ,drop 0 0 0 -4
itens goes to -4 Z of the world
--> OK!
Working way: it reads the last number of ,drop as the Z of the WORLD, so the item will go to -4

------

im at 100,100,2
then i use ,drop 0 0 0 -2
itens goes to -2 Z of the world
--> OK!
Working way: it reads the last number of ,drop as the Z of the WORLD, so the item will go to -2

--------------------------

im at 100,100,6
then i use ,drop 0 0 0 2
itens goes to 8 Z of the world
--> DIFFERENT!
Working way: it reads the last number of ,drop using CHAR's Z + NUMBER, so the item will go to 8

So if im at +Z i cant drop itens between 0 and my Z
If im at Z=10 i cant drop to Z=5 of yhe world

Posted: 2009-03-20 01:34:14
by xinxilas
Same for uo.drop

if im at Z=10

I cant drop the item to Z=5
uo.drop(1,x,y,Zp,item)
If Zp is -5 and MyZ=10 ill try to drop at -5 and not 10 - 5 = 5
And Zp is 5 ill try to drop at 15 , cuz will +numbers the formula is Z = MyZ + Zp

Posted: 2009-03-23 21:39:30
by Bangbuss
how can i drop item to regular -3 if i am at z=15? i dont understand your formula :shock:

Posted: 2009-09-09 20:30:03
by xinxilas
man its not difficult to understand the explaining and the examples of the problem.. im just reporting it... if the devs want to fix, just fix

Posted: 2009-09-09 21:15:44
by Destruction
Use uo.moveitem()

uo.drop() is deprecated

>>im just reporting it
Moved.

Posted: 2009-09-10 00:21:33
by xinxilas
do not work too
same problem

2 criters for 2 circunstacnes

if i am at Z=6 and move the item to 0 0 0 5 it will drop to Z=11 (my z PLUS Z from the comand)

if i am at Z=6 and want to drop it to Z=1
i supose to use 0 0 0 -5 right?
yeah.. but using moveitem 0 0 0 -5 it will try to drop at Z=-5
and not my Z minus Z from the comand)

Posted: 2009-09-10 09:25:28
by Mirage
Excuse me for my english.
try this

Code: Select all

UO.Msg(".resync")
UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self'),UO.GetZ('self')+z)


for z=-5. And you get 6-5=1