At least in the latest core, if account's expansion mode is set from default to AOS (account.Set_UO_Expansion("AOS")), and nothing else is changed, all spellbooks appear empty.
Instead of correct packets 0x24 (Draw Container) & 0x3C (Items In Container), POL sends 0x25 (Add Item To Container) & 0x24 (Draw Container). Especially weird this is because if spellbook is opened using UO::SendViewContainer(), correct packets are sent and spells show up correctly.
Because spellbook's usescript is not started even if set in itemdesc.cfg, fixing this clean way requires hooking doubleclick and handling spellbook in there.
I thought this is still worth reporting.
UO expansion AOS and empty spellbook (POL 097 2008-02-26)
Moderator: POL Developer
Re: UO expansion AOS and empty spellbook (POL 097 2008-02-26)
ncrsn, do this bug still exist? I haven't tested (MuadDib is going to do this soon =x), but checking the code I can't see a way this would happen.
I'd be glad if you could give more information. It just happens when you set the expansion via script? If you logout and reconnect, can you now see the book? If you save your shard (but still logged in), can you see the book now? This ALWAYS happens?
Thanks.
I'd be glad if you could give more information. It just happens when you set the expansion via script? If you logout and reconnect, can you now see the book? If you save your shard (but still logged in), can you see the book now? This ALWAYS happens?
Thanks.
Re: UO expansion AOS and empty spellbook (POL 097 2008-02-26)
I tend to test things couple of times before reporting, but if you wish, I'll recheck this one. After all there are new releases and it's been a while since I noticed this, so I can't say for sure no longer.
It will take at least few days, but I'll take another look at this and eventually get back to you.
It will take at least few days, but I'll take another look at this and eventually get back to you.
Re: UO expansion AOS and empty spellbook (POL 097 2008-02-26)
This is an age old CLIENT bug.
Turn AOS features on via servspecopt.cfg Feature Enable. Once that is set 0x20, your client will see the books.
Turn AOS features on via servspecopt.cfg Feature Enable. Once that is set 0x20, your client will see the books.
Re: UO expansion AOS and empty spellbook (POL 097 2008-02-26)
Yes and no. Spellbooks are requiring a different style packet entirely for this. You are seeing them due to a bug in the client, as it builds these new spellbooks (AOS+) via a bitwise flag per circle. The AOS+ client is not seeing them at all because you have not enabled the 0x20 Feature (to fully activate AOS+ viewing of spellbooks).ncrsn wrote:if spellbook is opened using UO::SendViewContainer(), correct packets are sent and spells show up correctly.
Re: UO expansion AOS and empty spellbook (POL 097 2008-02-26)
Code: Select all
01-28-2009 MuadDib:
Changed: Rewrote ObjCache Building. Now constructs the packet for uokr/aos once when sending
to a group (send to in range). Previous method built this packet per client requiring
it. Should improve handling in populated areas.
Fixed: Client bug where AOS Expansion accounts could not see normal magery books without
UOFeatureEnable 0x20 bit set. Although this IS a client bug, found a way to fix this
VERY common bug server-side. As a feature of this fix, you can now have the AOS
features that do NOT require 0x20 (tooltips etc), AND the magery books work without
packet hooks.
Re: UO expansion AOS and empty spellbook (POL 097 2008-02-26)
To my setup, the latest 098 beta release fixed the issue.
Thanks for doing extra work with this, especially because I as the scripter am the one to blame.
Thanks for doing extra work with this, especially because I as the scripter am the one to blame.