Page 1 of 1

What is the red on-screen text, like welcome msg, called?

Posted: Fri Jul 27, 2012 8:55 am
by drizzlx
I'm pretty sure there is red text that displays on screen like the white text welcome message but im not sure what it's called. Anyone know the name and which class it's in?

Re: What is the red on-screen text, like welcome msg, called

Posted: Fri Jul 27, 2012 9:57 am
by jurchiks
Red, on-screen? You mean in chat or in the middle of the screen?
Nobody has found out how to customise the color of the one in the middle of the screen and it's white by default...

Re: What is the red on-screen text, like welcome msg, called

Posted: Fri Jul 27, 2012 10:04 am
by Asmodaius
As far as I know, screen messages, do not have a color tweak, in their class.

They have the option, to use a system message, but I do not know, if they show sytem message's color on screen.

Even if it does so, system messages colors are client sided..

Re: What is the red on-screen text, like welcome msg, called

Posted: Fri Jul 27, 2012 10:21 am
by jurchiks
Technically there is a color parameter for ExShowScreenMessage, but the problem is that nobody's ever got it to work. I personally have tried color names and html color codes both with "0x" and without; it just doesn't change anything.

Re: What is the red on-screen text, like welcome msg, called

Posted: Fri Jul 27, 2012 10:25 am
by Asmodaius
Do you know what unk1, unk2, unk3 options are for?

Re: What is the red on-screen text, like welcome msg, called

Posted: Fri Jul 27, 2012 10:31 am
by jurchiks
As I wrote almost exactly a year ago in this forum:
private int _unk1 = 0; // supposedly font size, but nothing changes
private int _unk2 = 0; // supposedly font color, but nothing changes
private int _unk3 = 0; // supposedly shadow type, but nothing changes. 1 for "acquisition of race-specific weapon".
Edit: viewtopic.php?p=101050#p101050
here's one version with those missing parameters.
I once contributed a similar one with parameters for npcStrings (there is client support for them, discovered by tukune initially), but, as always, it was ignored. Maybe I'll try again sometime in the future, but I kinda doubt that.

Re: What is the red on-screen text, like welcome msg, called

Posted: Fri Jul 27, 2012 10:38 am
by Asmodaius
Thanks jurchiks.

Re: What is the red on-screen text, like welcome msg, called

Posted: Fri Jul 27, 2012 5:29 pm
by drizzlx
I thought I have seen on retail when a limited time item expired you would get text in the top middle of your screen that was red. I could be wrong though, I just thought I have seen it somewhere.

Re: What is the red on-screen text, like welcome msg, called

Posted: Fri Jul 27, 2012 5:33 pm
by jurchiks
Yeah, I've seen that one too.

Code: Select all

sm = SystemMessage.getSystemMessage(SystemMessageId.S1S_REMAINING_MANA_IS_NOW_0);sm.addItemName(_item);player.sendPacket(sm);
or

Code: Select all

player.sendPacket(SystemMessageId.TIME_LIMITED_ITEM_DELETED);
Seems it's hardcoded in the client.

Re: What is the red on-screen text, like welcome msg, called

Posted: Fri Jul 27, 2012 5:35 pm
by drizzlx
Ah.. I'm not one for client modification so I wouldn't even know where to start on the client side.

Re: What is the red on-screen text, like welcome msg, called

Posted: Sat Dec 29, 2012 1:44 am
by Szponiasty
U can't change color without modding client. But u can choose positions, font size, will it fade in/out or just appear etc ;(

Re: What is the red on-screen text, like welcome msg, called?

Posted: Mon Nov 06, 2017 8:34 pm
by u3games
I create mod (only data changes).

https://youtu.be/FxWGqJ6Fplc

Color no is posible for now edit :(

Re: What is the red on-screen text, like welcome msg, called?

Posted: Tue Nov 07, 2017 9:33 pm
by Sacrifice
Good work monster... :+1: :clap: :clap: :clap: :wink: