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-nmm7 (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-nmm7 (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-nmm7 (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
ClientToolTip
Author Message
Van Glan Bloom
Journeyman
*

Posts: 104
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Jun 2013
Reputation: 0



Post: #1
ClientToolTip
Hello guys.

I am creating a script but for some reason it is not working. The ON=@ClientToolTip dont work.

Code:
[ITEMDEF i_teste_escudo]
DEFNAME=i_teste_escudo
ID=i_shield_kite_wood
NAME=escudo teste
TYPE=t_normal
TEVENTS=t_sem_id

on=@create
color=0123

[typedef t_sem_id]
defname=t_sem_id

ON=@ClientToolTip
SRC.AddCliloc 1060847,<NAME>,[<dTDATA1>]
SRC.AddCliloc 1060658,Defesa,<dtDATA1>
SRC.AddCliloc 1060660,Sorte,<dMOREM>
SRC.AddCliloc 1060662,Durabilidade,<dHITPOINTS>
SRC.AddCliloc 1060659,Peso,<dWEIGHT>
SRC.AddCliloc 1060661,Lingotes,<dRESOURCES>

ON=@Click
//message @0123 [Nao identificado]
//return 1

on=@dclick
src.sysmessage @09c1 nao podes equipar
return 1
03-16-2017 11:26 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: ClientToolTip
Works fine here, make sure you have the tooltip options enabled and use .updatex o .xresentdtooltip in game for testing the tooltip(also remove the d before resources)
(This post was last modified: 03-17-2017 12:03 AM by darksun84.)
03-17-2017 12:03 AM
Find all posts by this user Like Post Quote this message in a reply
Van Glan Bloom
Journeyman
*

Posts: 104
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Jun 2013
Reputation: 0



Post: #3
RE: ClientToolTip
Where I see if the options are activated
03-17-2017 05:11 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: ClientToolTip
In Sphere.ini

// FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation, Single/Six char selection screen, Skills, Newer
03-17-2017 05:33 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
Van Glan Bloom
Journeyman
*

Posts: 104
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Jun 2013
Reputation: 0



Post: #5
RE: ClientToolTip
Thx m8 You really helped me a lot. =)
03-17-2017 11:07 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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