if i put in a secure box 1 bandage 100 gold and a robe
setrecevingcontainer on my backpack
emptycontainer on secure
it return to me 1 bandage 100 gold a robe
but in secure there are a key and a deed..
why i cannot pick up that?
i had see that..
Code: Select all
//Yoko: check for identity of containers
if(obj->get_serial()==to_container||obj->get_serial()==m_world->get_player()->get_serial())
{
sprintf(buf, "Yoko has save you from bankloss!");
client_print(buf);
return;
}
// find our from container
GameObject * from_obj = m_world->find_object(obj->get_serial());
int cnt=0; char sbuf[80];
for(GameObject::iterator i = from_obj->begin(); i != from_obj->end(); ++i)
{
uint32 item = i->get_serial();
uint16 quantity = i->get_quantity();
if(quantity == 0) quantity = 1;
if(item != to_container)
{move_container(item, quantity, to_container);cnt++;
if(empty_speed >0)
{sprintf(sbuf,"Injection %i", cnt);
SetWindowText(m_gui.m_main_window.get_hwnd(),sbuf);
Sleep(empty_speed);}
}
}
sprintf(buf, "%i objects transferred", cnt, to_container);
client_print(buf);
if change this with try to drag the item that i will get?
it's possible?