SphereServer BugTracker - SphereServer
View Issue Details
0002403SphereServerexecutable - genericpublic23-09-14 09:1113-10-14 17:03
Coruja 
XuN 
normalmajoralways
resolvedfixed 
 
 
Automated (specify build number)
None
None
0002403: Pets accepting any item the owner gives him
Pets can eat t_fruit (example), but if I try to give him any other item != t_fruit, it will aceppt the item and place it on pet backpack (layer 21) which can't be opened by the pet owner

the only way to get back these items is kill the pet to pickup the items from the loot


the correct behavior is make pets accept only items which they will eat, otherwise they will refuse the item
I tested on rideable (eg: c_llama) and non-rideable (eg: c_rabbit) npcs and both can reproduce the bug
No tags attached.
Issue History
23-09-14 09:11CorujaNew Issue
08-10-14 17:51XuNNote Added: 0002458
10-10-14 20:12BenNote Added: 0002463
13-10-14 17:03XuNStatusnew => resolved
13-10-14 17:03XuNResolutionopen => fixed
13-10-14 17:03XuNAssigned To => XuN

Notes
(0002458)
XuN   
08-10-14 17:51   
I think it's ok because if this is blocked in the source some people wanting to do it will be in trouble.

IMO a softcoded fix for pets using @NPCAcceptItem will be the perfect solution.
(0002463)
Ben   
10-10-14 20:12   
@ReceiveItem can also be used here form even more control.

Doing this in hardcode would not be wise. There would need to be acceptions for pack llamas and pack horses... best done in softcode