Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000079Zandronum[All Projects] Bugpublic2010-10-04 10:242018-09-30 20:11
Reporterunknownna 
Assigned ToTorr Samaho 
PrioritylowSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version98c 
Target VersionFixed in Version1.0 
Summary0000079: automatically ignore the last colored character in the name of the activator of a 'Print/'PrintBold' script
DescriptionScript 1 (void)
{
PrintBold(n:0, s:" activated this script for testing purposes.");
}

If the activator of a 'Print'/'PrintBold' script has a colored name, the latter part of the message, i.e. " activated this script for testing purposes.", will be displayed in the same color as the one of the last character in the said activator's name.

However, you can add a '\c-' before the message in the string to clear the color.

Script 2 (void)
{
PrintBold(n:0, s:" \c-activated this script for testing purposes.");
}

If the 'Print'/'PrintBold' ACS functions automatically ignored colored player names, it would be more convenient for modders, as they wouldn't have to think about having to manually clear colors. When I say ignored, I mean unaffected by the last colored character.
Attached Files? file icon printbold_color_test.wad [^] (1,231 bytes) 2010-10-04 10:24

- Relationships

-  Notes
User avatar (0000288)
unknownna (updater)
2010-10-07 18:56

It also behaves like this with cheat messages, and probably others as well.
User avatar (0000330)
Torr Samaho (administrator)
2010-10-10 19:26

I think Skulltag should treat this exactly like ZDoom does. Are Skulltag and ZDoom identical in this regard?
User avatar (0000333)
unknownna (updater)
2010-10-11 01:47

AFAIK from testing, ZDoom doesn't support colored player names. It's not a feature there. That's why I reported it here. It seems to be specific to Skulltag. Fixing this would make things look cleaner in custom mods, e.g. "Zombie HORDE".

Imagine if obituaries were affected by colored names too.

But please correct me if I'm wrong about ZDoom not supporting colored names/color in messages. Perhaps there is a CVAR that I've overlooked.
User avatar (0000337)
Torr Samaho (administrator)
2010-10-11 06:30

IIRC I never tried a colored name in ZDoom, so I never noticed that you can't use colored names there. In this case, I consider the issue to be a bug.
User avatar (0000865)
Torr Samaho (administrator)
2011-01-24 12:23
edited on: 2011-01-24 12:28

As mentioned here, I started to work on this, but the current version seems to cause crashes.

Can you check if it still crashes in this binary? If so, it would be great if you find out how to reproduce the crashes.

User avatar (0000866)
unknownna (updater)
2011-01-24 19:37

It still crashes in that binary. But I think I figured out what's going on. I tried to manually set my player name in the clean .ini. It started to crash from there. With this name in particular, it crashes.

name=\cpunknown\csna
User avatar (0000869)
Torr Samaho (administrator)
2011-01-25 01:19

Ok, I found something with this info. Hopefully, this will work better.
User avatar (0000870)
unknownna (updater)
2011-01-25 01:37

It doesn't crash anymore.
User avatar (0000874)
Torr Samaho (administrator)
2011-01-26 02:40

Alright. I think we can consider this to be resolved then.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2010-10-04 10:24 unknownna New Issue
2010-10-04 10:24 unknownna File Added: printbold_color_test.wad
2010-10-07 18:56 unknownna Note Added: 0000288
2010-10-10 19:26 Torr Samaho Note Added: 0000330
2010-10-10 19:26 Torr Samaho Status new => feedback
2010-10-11 01:47 unknownna Note Added: 0000333
2010-10-11 01:47 unknownna Status feedback => new
2010-10-11 06:30 Torr Samaho Note Added: 0000337
2010-10-11 06:31 Torr Samaho Category Suggestion => Bugs
2011-01-24 12:23 Torr Samaho Note Added: 0000865
2011-01-24 12:23 Torr Samaho Assigned To => Torr Samaho
2011-01-24 12:23 Torr Samaho Status new => feedback
2011-01-24 12:28 Torr Samaho Note Edited: 0000865 View Revisions
2011-01-24 19:37 unknownna Note Added: 0000866
2011-01-24 19:37 unknownna Status feedback => assigned
2011-01-25 01:19 Torr Samaho Note Added: 0000869
2011-01-25 01:19 Torr Samaho Status assigned => feedback
2011-01-25 01:37 unknownna Note Added: 0000870
2011-01-25 01:37 unknownna Status feedback => assigned
2011-01-26 02:40 Torr Samaho Note Added: 0000874
2011-01-26 02:41 Torr Samaho Status assigned => resolved
2011-01-26 02:41 Torr Samaho Fixed in Version => 1.0
2011-01-26 02:41 Torr Samaho Resolution open => fixed
2012-06-09 13:22 Torr Samaho Category General => Bug
2018-09-30 20:11 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker