Yoko

All sides of Injection
It is currently 2025-10-16 20:03:48

All times are UTC+02:00




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
PostPosted: 2009-10-05 08:41:53 
Offline

Joined: 2007-11-13 00:39:14
Posts: 125
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


Top
   
 Post subject:
PostPosted: 2009-10-05 10:16:16 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
UO.Ignore('finditem')
and try search again.


Top
   
 Post subject:
PostPosted: 2009-10-05 12:53:42 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
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

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2009-10-05 13:05:49 
Offline

Joined: 2007-11-13 00:39:14
Posts: 125
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


Top
   
 Post subject:
PostPosted: 2009-10-05 17:26:17 
Offline

Joined: 2007-11-13 00:39:14
Posts: 125
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...


Top
   
 Post subject:
PostPosted: 2009-10-05 17:35:34 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
var Belt='0x00000000' - Id of belt
uo.FindType('0x0F06','0x0388',Belt)

You must open belt befort search.


Top
   
 Post subject:
PostPosted: 2009-10-05 17:39:18 
Offline

Joined: 2007-11-13 00:39:14
Posts: 125
so belt id always changes how to make skript wich opens all diferent belts in my backpack ?


Top
   
 Post subject:
PostPosted: 2009-10-05 17:41:14 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Place all item in backpack :D


Top
   
 Post subject:
PostPosted: 2009-10-05 17:44:41 
Offline

Joined: 2007-11-13 00:39:14
Posts: 125
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


Top
   
 Post subject:
PostPosted: 2009-10-05 19:13:46 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
uo.FindType('0x09B0')
uo.Usetype('finditem') - type missmatch UO.UseObject(...


Top
   
 Post subject:
PostPosted: 2009-10-05 19:47:55 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
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.

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 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