SphereCommunity
Item Details - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Requests (/Forum-Script-Requests)
+--- Thread: Item Details (/Thread-Item-Details)



Item Details - Lestatnine - 12-30-2019 04:44 AM

I was playing on shard and when you cursor over an item it showed all these details of the item..
Is that a shpere script or is it maybe another kind of emulator.
I think the shard was UO Evolution.
If you know the script i need to allow that , thx in advance.


RE: Item Details - Coruja - 12-30-2019 06:24 AM

This is called "tooltip", you must enable FEATURE_AOS_UPDATE_B on sphere.ini


RE: Item Details - Lestatnine - 12-31-2019 02:46 PM

This is where I am at editing to enable tool tips
It didnt work when i just added a 07 to enable those features so I un // the feature still not working. Any ideas?

// FeatureAOS, used to control AOS expansion features ( default 0 )
FEATURE_AOS_UPDATE_A 01 // AOS Monsters, Map
FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation, Single/Six char selection screen, Skills,
FEATURE_AOS_POPUP 04 // PopUp Menus
// FEATURE_AOS_DAMAGE 08
FeatureAOS = 07


RE: Item Details - Artyk - 01-01-2020 01:00 AM

It does not work like that, you don't have to sum them.
It's a bitmask, but in simple words you can enable them just listing them separated by a "|" like this:
FeatureAOS = 01|02|04|08


RE: Item Details - Coruja - 01-02-2020 10:05 AM

You must change sphere.ini and resync server to enable tooltip on server-side, and also logout/login the client to make it enable tooltip on client-side too

(01-01-2020 01:00 AM)Artyk Wrote:  It does not work like that, you don't have to sum them.
It's a bitmask, but in simple words you can enable them just listing them separated by a "|" like this:
FeatureAOS = 01|02|04|08
You can sum values too, but just take caution to not confuse dec/hex value

01|02|04 is 7 (dec) or 07 (hex), so using both 7 or 07 will be correct
but 01|02|04|08 is 15 (dec) or 0f (hex), and not 015

Anyway, to make things easier you can just set it as X=01|02|04|...


RE: Item Details - Lestatnine - 01-09-2020 04:17 PM

I had it working then i had to reinstall. Now tooltips and popups dont work.
I tried to remeber what i did
Anyway here is how my sphere.ini file is.

// FeatureT2A, used to control T2A expansion features ( default 03 )
// FEATURE_T2A_UPDATE 01 // Monster and Lost lands
// FEATURE_T2A_CHAT 02 // In game chat
FeatureT2A = 01

// FeatureLBR, used to control LBR expansion features ( default 0 )
// FEATURE_LBR_UPDATE 01 // Lbr Monsters
// FEATURE_LBR_SOUND 02 // MP3 instead of MIDI
FeatureLBR = 01

// FeatureAOS, used to control AOS expansion features ( default 0 )
// FEATURE_AOS_UPDATE_A 01 // AOS Monsters, Map
// FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation,
// FEATURE_AOS_POPUP 04 // PopUp Menus
// FEATURE_AOS_DAMAGE 08
FeatureAOS = 15

// FeatureSE, used to control SE expansion features ( default 0 )
// FEATURE_SE_UPDATE 01 // Basic SE features
// FEATURE_SE_NINJASAM 02 // Ninja and Samurai
FeatureSE = 01|02

// FeatureML, used to control ML expansion features ( default 0 )
// FEATURE_ML_UPDATE 01 // Basic ML features
// FEATURE_ML_NINTHAGE 02 // Unlocks ninth age house designer items
FeatureML = 01|02

// FeatureKR, used to control KR expansion features ( default 0 ) (still not complete but usable)
// FEATURE_KR_UPDATE_A 01 // Basic KR features
// FEATURE_KR_UPDATE_B 02 // Basic KR features
FeatureKR = 01|02

// FeatureSA, used to control SA expansion features ( default 0 )
// FEATURE_SA_UPDATE 01 // Unlocks gargoyle character creation and housing items
// FEATURE_SA_MOVEMENT 02 // Activates new movement packets (not good)
FeatureSA = 01|02

// FeatureExtra, used to control misc expansion features ( default 0 )
// FEATURE_EXTRA_GOTHIC 01 // Unlocks gothic house designer items
// FEATURE_EXTRA_RUSTIC 02 // Unlocks rustic age house designer items
FeatureExtra = 01|02

That looks correct to me.
Could be something on client side and not server side?


RE: Item Details - golfin - 01-10-2020 12:58 AM

So if you can't use the sum, just write the codes there separately. As Coruja explained. Why don't you try? You will see that it will work correctly. I'd be afraid to use totals. Do not do it.


RE: Item Details - Coruja - 01-14-2020 09:45 AM

Code:
// FeatureAOS, used to control AOS expansion features ( default 0 )
// FEATURE_AOS_UPDATE_A 01 // AOS Monsters, Map
// FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation,
// FEATURE_AOS_POPUP 04 // PopUp Menus
// FEATURE_AOS_DAMAGE 08
FeatureAOS = 15
15 (dec) or 0f (hex) is the same of 01|02|04|08, so the flag 02 (tooltip) is already enabled. To avoid deal with these weird values you can also set FeatureAOS=01|02|04|08 like you already did on other flags

Anyway, the tooltip feature is already enabled so you just need to resync the server and logout/login the client