Yoko
http://forum.yoko.com.ua/

Drop items by name... is it possible?
http://forum.yoko.com.ua/viewtopic.php?f=3&t=3916
Page 1 of 1

Author:  rodox [ 2005-05-05 07:20:10 ]
Post subject:  Drop items by name... is it possible?

Well, I have a problem... I'm training Cartography... Its like that... use the blank map (a Blank map) and creates a new map... just (map) ... but both have the same Type... i would like to know if it is possible to DROP only items in my bag which is named "map" ! Could someone help me? thanks ;D

Author:  flake [ 2005-05-05 07:31:30 ]
Post subject: 

I would like advise you something different:
Make a script that will:
Search for a blank map in some container, then move one map to your backpack, make 'a map' out of it, and then drop it.
This should solve the problem with the type (because there is only one map in your backpack).

Author:  rodox [ 2005-05-05 09:09:53 ]
Post subject: 

How can i use an item from container? could u tell me?

Author:  Beyonder [ 2005-05-05 12:52:36 ]
Post subject: 

1) Blank maps in the chest, no maps at all in backpack.
2) Moving 1 blank map to backpack.
Code:
UO.FindType('MAP_TYPE',-1,'CHEST_ID')
UO.MoveItem('finditem',1,'backpack')

3) Creating map.
Code:
UO.FindType('MAP_TYPE',-1,'backpack')
UO.WaitMenu('SOME MENU ACTIONS HERE')
UO.UseObject('finditem')

4) Dropping it.
Code:
UO.FindType('MAP_TYPE',-1,'backpack')
UO.Drop('finditem')


This is what should help.

Author:  Sfagnum [ 2005-05-05 14:25:05 ]
Post subject: 

http://yoko.netroof.net/forum/viewtopic ... 1375#21375
Var Sunduk1='0x40226380' ; backpack with full bags
Var Sunduk2='0x401E6ABC' ; backpack with empty bags

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/