Info on how you fixed Spellbook when UOFeatureEnable=0x20

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 098.

Moderator: POL Developer

Post Reply
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am
Location: Italy

Info on how you fixed Spellbook when UOFeatureEnable=0x20

Post by xeon »

I've read in POL098 changelog this:
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.

Please, could you tell me how it is done? Do you send some magic packet to the client?

I'm in this very situation, and I'm stuck with POL096.
I've accounts with uo_expansion set to AOS, and, just because the spellbooks didn't work without UOFeatureEnable=0x20, I had to enable it. Unfortunately, our player base doesn't very like it (me neither) the AoS Tooltips which the client use with this configuration enabled, so I would like to disable UOFeatureEnable and leave only "uo_expansion AOS" set on the accounts, to use features like anim3.mul .

Pleeeeeeeease!!! Tell me!!!! :cheesy:
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am
Location: Italy

Re: Info on how you fixed Spellbook when UOFeatureEnable=0x2

Post by xeon »

I've set up a POL098 to test the difference with POL096 for this issue.

The account has uo_expansion set to AOS.
UOFeatureEnable isn't defined.

This is from POL096 when opening a spellbook. In this case, the client, as known, for a bug doesn't display the spells:

Code: Select all

23:57:19.34 Client -> Server: 0x06 (DoubleClick), frequ: 4, len: 0x05
066AE8E7D9

23:57:19.34 Server -> Client: 0x33 (EnDisableRedraw), frequ: 70, len: 0x02
3301

23:57:19.34 Server -> Client: 0x25 (AddSingleItemToContainer), frequ: 2, len: 0x14
256AE8E7D90EFA000001006D004E6AE088EE0000
256AE8E7D90EFA000001006D004E6AE088EE0000

23:57:19.34 Server -> Client: 0x24 (SendContainer), frequ: 3, len: 0x07
246AE8E7D9FFFF

This is the same spellbook opened in POL098:

Code: Select all

23:53:32.964 Client -> Server: 0x06 (DoubleClick), frequ: 4, len: 0x05
066AE8E7D9

23:53:32.964 Server -> Client: 0x33 (EnDisableRedraw), frequ: 40, len: 0x02
3301

23:53:32.964 Server -> Client: 0x25 (AddSingleItemToContainer), frequ: 2, len: 0x14
256AE8E7D90EFA000001006D004E6AE088EE0000

23:53:32.964 Server -> Client: 0x24 (SendContainer), frequ: 3, len: 0x07
246AE8E7D9FFFF

23:53:32.964 Server -> Client: 0x3C (AddMultipleObjectsToContainer), frequ: 3, len: 0x4C5
3CC50400406AE8E7DA1F2D000007002F00246AE8E7D900006AE8E7DB1F2E000001003000366AE8E7D900006AE8E7DC1F2F000002003200446AE8E7D900006AE8E7DD1F30000003002800156AE8E7D900006AE8E7DE1F31000004002A003D6AE8E7D900006AE8E7DF1F32000005003600466AE8E7D900006AE8E7E01F33000006002D001B6AE8E7D900006AE8E7E11F340000080038003D6AE8E7D900006AE8E7E21F35000009003200346AE8E7D900006AE8E7E31F3600000A002A00266AE8E7D900006AE8E7E41F3700000B0030004C6AE8E7D900006AE8E7E51F3800000C0033003A6AE8E7D900006AE8E7E61F3900000D003000486AE8E7D900006AE8E7E71F3A00000E003B00376AE8E7D900006AE8E7E81F3B00000F002C00456AE8E7D900006AE8E7E91F3C0000100033002D6AE8E7D900006AE8E7EA1F3D000011002D00206AE8E7D900006AE8E7EB1F3E000012003300176AE8E7D900006AE8E7EC1F3F0000130032004C6AE8E7D900006AE8E7ED1F40000014002A001F6AE8E7D900006AE8E7EE1F41000015002F00186AE8E7D900006AE8E7EF1F420000160031003B6AE8E7D900006AE8E7F01F43000017002D00266AE8E7D900006AE8E7F11F440000180031004A6AE8E7D900006AE8E7F21F450000190028004A6AE8E7D900006AE8E7F31F4600001A002E001F6AE8E7D900006AE8E7F41F4700001B0032004A6AE8E7D900006AE8E7F51F4800001C003200396AE8E7D900006AE8E7F61F4900001D0037001A6AE8E7D900006AE8E7F71F4A00001E002F00386AE8E7D900006AE8E7F81F4B00001F003700286AE8E7D900006AE8E7F91F4C000020003700386AE8E7D900006AE8E7FA1F4D000021003300246AE8E7D900006AE8E7FB1F4E000022002E003F6AE8E7D900006AE8E7FC1F4F0000230032001F6AE8E7D900006AE8E7FD1F50000024002C003B6AE8E7D900006AE8E7FE1F51000025002E00486AE8E7D900006AE8E7FF1F52000026003500326AE8E7D900006AE8E8001F53000027003600416AE8E7D900006AE8E8011F54000028003400156AE8E7D900006AE8E8021F55000029003A00306AE8E7D900006AE8E8031F5600002A003100346AE8E7D900006AE8E8041F5700002B002A00396AE8E7D900006AE8E8051F5800002C002F002C6AE8E7D900006AE8E8061F5900002D003700466AE8E7D900006AE8E8071F5A00002E003B00366AE8E7D900006AE8E8081F5B00002F002F00416AE8E7D900006AE8E8091F5C000030003B002F6AE8E7D900006AE8E80A1F5D000031003400196AE8E7D900006AE8E80B1F5E0000320036002B6AE8E7D900006AE8E80C1F5F0000330035003D6AE8E7D900006AE8E80D1F60000034002E00466AE8E7D900006AE8E80E1F610000350033001B6AE8E7D900006AE8E80F1F62000036003600306AE8E7D900006AE8E8101F63000037003100196AE8E7D900006AE8E8111F64000038002F001D6AE8E7D900006AE8E8121F65000039002D002C6AE8E7D900006AE8E8131F6600003A002A00156AE8E7D900006AE8E8141F6700003B003900206AE8E7D900006AE8E8151F6800003C002C001F6AE8E7D900006AE8E8161F6900003D002F00446AE8E7D900006AE8E8171F6A00003E003900366AE8E7D900006AE8E8181F6B00003F002E00226AE8E7D900006AE8E8191F6C000040003800306AE8E7D90000

I've seen that, in POL098 and in this configuration, everytime the spellbook is opened is sent after a AddMultipleObjectsToContainer() packet (0x3C).
Is this the fix you implemented??? I would try to reproduce it in a packethook.


By the way, aside the spellbook not displaying its spells, do you know of other problems from having accounts set to "uo_expansion AOS" and UOFeatureEnable not defined, which I should address?
User avatar
andenixa
Grandmaster Poster
Posts: 105
Joined: Tue Nov 09, 2010 1:33 am

Re: Info on how you fixed Spellbook when UOFeatureEnable=0x2

Post by andenixa »

But you could try UOFeatureEnable=0x0 and set_uo_expansion("T2A") to every client (even for AoS clients).

I tested above with both 98 and 99 cores.

Also make sure you are not accidentally modifying any spellbook packets via hooks as I see you have a lot of hooks.

PS: Sadly none is especially happy with the cliloc POL sends with 0x20 enabled for displaying the tooltips.
Post Reply