View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002504SphereServerexecutable - genericpublic27-04-15 21:5301-05-15 15:23
ReporterRizz 
Assigned ToXuN 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0002504: @NOTOSEND set a wrong color on tooltip player's name
DescriptionIs 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] [^]
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number2252
Attached Filespng file icon ally.png [^] (41,918 bytes) 27-04-15 21:55

- Relationships

-  Notes
(0002769)
Coruja (developer)
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 (reporter)
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 (reporter)
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 (reporter)
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 (reporter)
28-04-15 20:04

U have .invul ON, invul overwrite all notos, try turning invul OFF.
(0002776)
Rizz (reporter)
29-04-15 14:23

Tried already and i tried using players, not GMs
(0002778)
Rizz (reporter)
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 (developer)
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 (reporter)
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 (reporter)
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 (reporter)
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.

- Issue History
Date Modified Username Field Change
27-04-15 21:53 Rizz New Issue
27-04-15 21:55 Rizz File Added: ally.png
27-04-15 23:11 Coruja Note Added: 0002769
28-04-15 00:43 Rizz Note Added: 0002770
28-04-15 01:03 Rizz Note Added: 0002772
28-04-15 13:14 Rizz Note Added: 0002773
28-04-15 20:04 Shamino Note Added: 0002774
29-04-15 14:23 Rizz Note Added: 0002776
29-04-15 15:42 Rizz Note Added: 0002778
29-04-15 18:45 Coruja Note Added: 0002779
29-04-15 19:50 Rizz Note Added: 0002780
29-04-15 19:51 Rizz Note Edited: 0002780 View Revisions
29-04-15 19:51 Rizz Note Edited: 0002780 View Revisions
29-04-15 20:21 Rizz Note Added: 0002781
29-04-15 20:40 Rizz Note Edited: 0002781 View Revisions
29-04-15 22:11 Rizz Note Added: 0002782
01-05-15 15:23 XuN Status new => closed
01-05-15 15:23 XuN Assigned To => XuN
01-05-15 15:23 XuN Resolution open => fixed
01-05-15 15:23 XuN Fixed in Version => 0.56c Nightly


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker