The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Item Details
Author Message
Lestatnine
Apprentice
*

Posts: 10
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Dec 2019
Reputation: 0



Post: #1
Item Details
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.
12-30-2019 04:44 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Item Details
This is called "tooltip", you must enable FEATURE_AOS_UPDATE_B on sphere.ini
12-30-2019 06:24 AM
Find all posts by this user Like Post Quote this message in a reply
Lestatnine
Apprentice
*

Posts: 10
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Dec 2019
Reputation: 0



Post: #3
RE: Item Details
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
12-31-2019 02:46 PM
Find all posts by this user Like Post Quote this message in a reply
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #4
RE: Item Details
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
01-01-2020 01:00 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #5
RE: Item Details
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|...
01-02-2020 10:05 AM
Find all posts by this user Like Post Quote this message in a reply
Lestatnine
Apprentice
*

Posts: 10
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Dec 2019
Reputation: 0



Post: #6
RE: Item Details
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?
(This post was last modified: 01-09-2020 04:19 PM by Lestatnine.)
01-09-2020 04:17 PM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #7
RE: Item Details
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.
01-10-2020 12:58 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #8
RE: Item Details
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
01-14-2020 09:45 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)