belt in backpack item in belt usetype dosen work

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
Mazer
Posts: 125
Joined: 2007-11-13 00:39:14

belt in backpack item in belt usetype dosen work

Post by Mazer »

Then i take belt with potions usetype doesent work until i open belt is it posible to use item from belt like something like this:

uo.FindType('Type','-1','Belt')
UO.usetype('finditem')

What does it men -1 ?

then i write this script it print me:
found object 2 (had 2 belts with same potions)
usetype cant find object

or how to make to open belts and drag tham to right corner of the screen ? usetype('Belt type') opens only one belt 2 times
Savage
Expert!
Posts: 1205
Joined: 2004-04-04 11:13:54
Location: Балаково, Саратовская обл.
Contact:

Post by Savage »

UO.Ignore('finditem')
and try search again.
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

i think it's about some pvp server, so what everyone does is use commands like ".drink_mana_total" etc you dont need script for that
Mazer
Posts: 125
Joined: 2007-11-13 00:39:14

Post by Mazer »

It makes spam then you have all these comands etc: .Drink_invis, greater heal mana bandagaes arm weapons, so i think that would be better
Mazer
Posts: 125
Joined: 2007-11-13 00:39:14

Post by Mazer »

Savage wrote:UO.Ignore('finditem')
and try search again.


Dosent work only i get messages from inj:
cant find item no mater where is it dont uderstand..


what about item type ?
ID=0xFFFFFFFF Type=0x0F06 6? Name=a Total Mana Refresh (100 charges)
Quantity: 1 Colour: 0x0388 Layer: 0 Has: 1
X=44 Y=82 Z=0 C=0x4003156D F=0x00 ignored

Type=0x0F06 6? how to understand this line ?

after this script
sub pot()
uo.FindType( '0x0f06','-1','my' )
uo.Usetype('finditem')
end sub

i got these messages:
Items found: 1
No item found.

wierd...
Savage
Expert!
Posts: 1205
Joined: 2004-04-04 11:13:54
Location: Балаково, Саратовская обл.
Contact:

Post by Savage »

var Belt='0x00000000' - Id of belt
uo.FindType('0x0F06','0x0388',Belt)

You must open belt befort search.
Mazer
Posts: 125
Joined: 2007-11-13 00:39:14

Post by Mazer »

so belt id always changes how to make skript wich opens all diferent belts in my backpack ?
Savage
Expert!
Posts: 1205
Joined: 2004-04-04 11:13:54
Location: Балаково, Саратовская обл.
Contact:

Post by Savage »

Place all item in backpack :D
Mazer
Posts: 125
Joined: 2007-11-13 00:39:14

Post by Mazer »

Thas the longest way :D i ever fought :) any idea how to open same type 2 belts ?


ok this dosent work too
uo.FindType('0x09B0')
uo.Usetype('finditem')

2 msg

Found object 1
not found object...

why ?


done by my self
sub pot()
var bag = '0x09B0'
var bagSerial
UO.FindType(Bag,-1,'backpack')
BagSerial = UO.GetSerial( 'finditem' )
UO.UseObject(BagSerial)
UO.Ignore( 'finditem' )
UO.FindType(Bag,-1,'backpack')
BagSerial = UO.GetSerial( 'finditem' )
end sub
Savage
Expert!
Posts: 1205
Joined: 2004-04-04 11:13:54
Location: Балаково, Саратовская обл.
Contact:

Post by Savage »

uo.FindType('0x09B0')
uo.Usetype('finditem') - type missmatch UO.UseObject(...
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

Mazer wrote:It makes spam then you have all these comands etc: .Drink_invis, greater heal mana bandagaes arm weapons, so i think that would be better

nonsense! I have played on pvp server like pvp-alfa and everyone is using those commands and it's perfectly fine.
If you are too stubborn, you can write script, that would open all belts and move containing of the belts to the backpack... still it's stupid to do so.
Post Reply