Quote:
Originally Posted by AdrianD
I'm looking to remove the shroud tag from items. The only time shroud is tagged is any time there is a race restriction or the bitmask is not 65535 set in items.races in the database.
How would I go about removing this switch or disabling it?
Thanks
|
I figured it out. I think it has to do with my client version because I am using a titanium client. Either way, the Drakkin race is not identified as such and 'shroud' is in it's place.
The solution for me was to subtract 32768 from the value in items.races if those values were between 32768 and 65535 and also between 98304 and 131071.
Shown here:
Quote:
update items set `races` = (`races` - 3276 where items.races > 98304 and items.races < 131071;
update items set `races` = (`races` - 3276 where items.races > 32768 and items.races < 65535;
/* Affected rows: 10,356 Found rows: 0 Warnings: 0 Duration for 2 queries: 2.745 sec. */
|
Adding Drakkin back into itemization is just as easy.
Again, I am not sure if it's my client version that determines what races are shown on items but, I also learned that it doesn't really matter so long as I know the point in which the 'race' system starts over. It appears that any multiple of 65536 will work.
My previous questions still stand.
Quote:
I'm interested in knowing how 'npc_types.lastnames' and weapon damage bonus on the in-game item descriptions can be hidden.
|
Thank you
EDIT: not items, npc_types, my mind was on the item issue obviously