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
,drop "bug" or error
Moderators: Murderator+, Murderator
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Use uo.moveitem()
uo.drop() is deprecated
>>im just reporting it
Moved.
uo.drop() is deprecated
>>im just reporting it
Moved.
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.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
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)
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)
Excuse me for my english.
try this
for z=-5. And you get 6-5=1
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