Im using include canAccess (reserveitem function) in my script
if(!can_access(who, item))
return;
endif
It's impossible to destroy item via DestroyItem function when item is reserved.
In most cases function DestroyItem doesn't destroy items.
[POL 097-2006-10-19-gentoo] DestroyItem & ReserveItem
I don't get it. So if i want to destroy any reserved item i have to release it? that is pretty damn annoying. I have problems with my scripts right now because most of things can't be destroyed (guildstones, smelted ore etc).
Same problem with pol96.4 is described here:
http://forums.polserver.com/viewtopic.php?t=1001
Same problem with pol96.4 is described here:
http://forums.polserver.com/viewtopic.php?t=1001
First off, your response was pretty damned rude and uncalled for.
Secondly, its not a change I made, its also one that wasn't documented.
I didn't just write you off, I looked into it. Im restraining from flaming you back... but sheesh ... people say and Americans are rude....
Anyway the problem is theres a check now in DestroyItem() for if an item is 'gotten' which means its on the cursor.. it is setting it to gotten when picked up, but not ungetting it when dropped. Not sure exactly why yet, it ungets it if its equipment and put on, but otherwise nothing seems to be done when it is put back down.
Should have it fixed soon, though.
Secondly, its not a change I made, its also one that wasn't documented.
I didn't just write you off, I looked into it. Im restraining from flaming you back... but sheesh ... people say and Americans are rude....
Anyway the problem is theres a check now in DestroyItem() for if an item is 'gotten' which means its on the cursor.. it is setting it to gotten when picked up, but not ungetting it when dropped. Not sure exactly why yet, it ungets it if its equipment and put on, but otherwise nothing seems to be done when it is put back down.
Should have it fixed soon, though.