SphereServer BugTracker - SphereServer
View Issue Details
0002504SphereServerexecutable - genericpublic27-04-15 21:5301-05-15 15:23
Rizz 
XuN 
normalmajoralways
closedfixed 
 
0.56c Nightly 
Automated (specify build number)
None
None
2252
0002504: @NOTOSEND set a wrong color on tooltip player's name
Is normal that with ARGN1=2 the name and the status are green but the name in the tooltip is yellow?

[IMG]http://i378.photobucket.com/albums/oo222/settesettesette/UO/ally_zpsjox3gfps.png[/IMG] [^]
No tags attached.
png ally.png (41,918) 27-04-15 21:55
http://tracker.sphere.torfo.org/bugs/file_download.php?file_id=116&type=bug
png
Issue History
27-04-15 21:53RizzNew Issue
27-04-15 21:55RizzFile Added: ally.png
27-04-15 23:11CorujaNote Added: 0002769
28-04-15 00:43RizzNote Added: 0002770
28-04-15 01:03RizzNote Added: 0002772
28-04-15 13:14RizzNote Added: 0002773
28-04-15 20:04ShaminoNote Added: 0002774
29-04-15 14:23RizzNote Added: 0002776
29-04-15 15:42RizzNote Added: 0002778
29-04-15 18:45CorujaNote Added: 0002779
29-04-15 19:50RizzNote Added: 0002780
29-04-15 19:51RizzNote Edited: 0002780bug_revision_view_page.php?bugnote_id=0002780#r858
29-04-15 19:51RizzNote Edited: 0002780bug_revision_view_page.php?bugnote_id=0002780#r859
29-04-15 20:21RizzNote Added: 0002781
29-04-15 20:40RizzNote Edited: 0002781bug_revision_view_page.php?bugnote_id=0002781#r861
29-04-15 22:11RizzNote Added: 0002782
01-05-15 15:23XuNStatusnew => closed
01-05-15 15:23XuNAssigned To => XuN
01-05-15 15:23XuNResolutionopen => fixed
01-05-15 15:23XuNFixed in Version => 0.56c Nightly

Notes
(0002769)
Coruja   
27-04-15 23:11   
I made some tests here using a simple code

ON=@NotoSend
ARGN1=2

and it seems to be fine, both name/tooltip will become green. Already tested all the others values (1~7) and everything is working fine too

probably you're using some custom content on @*Tooltip triggers, so maybe if call 'return 1' on this trigger, sphere will build the tooltip info using default colors (which always use yellow on first line) instead use the default internal behavior (which check correct notoriety color on chars)
(0002770)
Rizz   
28-04-15 00:43   
ON=@ClientTooltip

IF (<isplayer>)
    src.addcliloc 1042971,PVP Rank <level>
        
    IF (<guild>)
        src.addcliloc 1070722,Guild lvl <serv.uid.<guild>.dTAG0.lvlgilda>
     
        IF (<src.guild>)
            
            IF (<serv.uid.<guild>.tag0.ALLY.1> == <src.guild>)
                src.addcliloc 1049644, Ally
            ELIF (<serv.uid.<guild>.tag0.ALLY.2> == <src.guild>)
                src.addcliloc 1049644, Ally
            ELIF (<serv.uid.<guild>.tag0.ALLY.3> == <src.guild>)
                src.addcliloc 1049644, Ally
            ELIF (<serv.uid.<guild>.tag0.ALLY.4> == <src.guild>)
                src.addcliloc 1049644, Ally
            ELIF (<serv.uid.<guild>.tag0.ALLY.5> == <src.guild>)
                src.addcliloc 1049644, Ally
            ELIF (<serv.uid.<guild>.tag0.ALLY.6> == <src.guild>)
                src.addcliloc 1049644, Ally
            ELIF (<SRC.GUILD.GuildFromUID.<guild>.WeWar> == 1)
                src.addcliloc 1049644, Enemy
            ENDIF
            
        ENDIF
    ENDIF
ENDIF
(0002772)
Rizz   
28-04-15 01:03   
I tried deleting EVERYTHING, still has this problem. I would like to try the last nightly but the zip pack doesn't contain it.
(0002773)
Rizz   
28-04-15 13:14   
I use

ColorNotoGood=063 // blue 63
ColorNotoGuildSame=044 // green (ally)
ColorNotoCriminal=03b2 // grey (criminal)
ColorNotoNeutral=03b2 // grey (can be attacked)
ColorNotoEvil=026 // red
ColorNotoGuildWar=02b // orange (enemy guild)
ColorNotoDefault=03b2 // grey (if not any other)
(0002774)
Shamino   
28-04-15 20:04   
U have .invul ON, invul overwrite all notos, try turning invul OFF.
(0002776)
Rizz   
29-04-15 14:23   
Tried already and i tried using players, not GMs
(0002778)
Rizz   
29-04-15 15:42   
I've downloaded the last sphere build and I tried using only the last scripts pack.. still the same problem.
Could be something on the sphere.ini?
(0002779)
Coruja   
29-04-15 18:45   
probably it's nothing related to sphere.ini os latest nightlies

also maybe it's not even a bug, but just a temporary mismatch between the current notoriety vs cached tooltip

when you change your notoriety -manually-, sphere will only update your name color on next notoriety update (NotoTimeOut setting on sphere.ini). So if you use @NotoSend to override your notoriety, sphere will not automatically update the tooltip until next tooltip or NotoTimeOut update. So you can try using NOTOUPDATE or RESENDTOOLTIP functions to check if this can make both name/tooltip updated with the same info

just take care to not use NOTOUPDATE inside @NotoSend or RESENDTOOLTIP inside @*Tooltip because this will create an infinite loop and crash the server
(0002780)
Rizz   
29-04-15 19:50   
(edited on: 29-04-15 19:51)
I tried but seems I can't fix that.
I did all the combinations but the result is still the same.

When I override the notoriety using @notosend, the tooltip changes suddendly and becomes yellow.
Doesn't care about GMs, players, invul or not. It turns suddendly to yellow until i revert the @notosend code.

I can even change the value in ARGN1 but the tooltip name turns yellow everytime.

At this point, is possible to change the color name in the @clienttooltip atcing in some way?

(0002781)
Rizz   
29-04-15 20:21   
(edited on: 29-04-15 20:40)
I was focusing too much on make two different allied guild see each other in green color that I just didn't see something important: EVEN with stock scripts, EVEN between real guildmates (players member of the same guild), EVEN without using any @notosend or @*tooltip, the tooltip looks yellow.

So... at this point... where is the problem?

My online server works fine on that, the only thing changes is the sphere.ini.

(0002782)
Rizz   
29-04-15 22:11   
Close it.
I finally found out the problem: after i got crazy about try everything i tried to change the pc too and i found a corrupted uo.cfg and destktop folders.

Sorry for make you crazy about.