Thread: Attuning items
View Single Post
  #4  
Old 02-17-2013, 04:15 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

how are you returning the items?

$client->SummonItem() accepts the following parameters

item_id, charges=0, attune=0, aug1=0, aug2=0, aug3=0, aug4=0, aug5=0, slot_id=30

you'll need to check $item#_attuned in your script to get the value of the attuned flag for the item that was turned in

take a look at the return_items subroutine in plugins\check_handin.pl for an example
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote