Yoko

All sides of Injection
It is currently 2025-12-23 14:22:11

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2005-05-05 07:20:10 
Offline

Joined: 2005-04-26 14:29:04
Posts: 6
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


Top
   
 Post subject:
PostPosted: 2005-05-05 07:31:30 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
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).


Top
   
 Post subject:
PostPosted: 2005-05-05 09:09:53 
Offline

Joined: 2005-04-26 14:29:04
Posts: 6
How can i use an item from container? could u tell me?


Top
   
 Post subject:
PostPosted: 2005-05-05 12:52:36 
Offline
Expert!
User avatar

Joined: 2005-04-23 10:19:43
Posts: 388
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.


Top
   
 Post subject:
PostPosted: 2005-05-05 14:25:05 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
http://yoko.netroof.net/forum/viewtopic ... 1375#21375
Var Sunduk1='0x40226380' ; backpack with full bags
Var Sunduk2='0x401E6ABC' ; backpack with empty bags


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 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