What is the red on-screen text, like welcome msg, called?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 13
- Joined: Mon Jul 16, 2012 6:53 pm
What is the red on-screen text, like welcome msg, called?
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?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: What is the red on-screen text, like welcome msg, called
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...
Nobody has found out how to customise the color of the one in the middle of the screen and it's white by default...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Asmodaius
- Posts: 170
- Joined: Sun Jul 16, 2006 9:43 am
Re: What is the red on-screen text, like welcome msg, called
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..
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..
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: What is the red on-screen text, like welcome msg, called
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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Asmodaius
- Posts: 170
- Joined: Sun Jul 16, 2006 9:43 am
Re: What is the red on-screen text, like welcome msg, called
Do you know what unk1, unk2, unk3 options are for?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: What is the red on-screen text, like welcome msg, called
As I wrote almost exactly a year ago in this forum:
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.
Edit: viewtopic.php?p=101050#p101050private 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".
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.
Last edited by jurchiks on Fri Jul 27, 2012 10:42 am, edited 2 times in total.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Asmodaius
- Posts: 170
- Joined: Sun Jul 16, 2006 9:43 am
Re: What is the red on-screen text, like welcome msg, called
Thanks jurchiks.
-
- Posts: 13
- Joined: Mon Jul 16, 2012 6:53 pm
Re: What is the red on-screen text, like welcome msg, called
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.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: What is the red on-screen text, like welcome msg, called
Yeah, I've seen that one too.
or
Seems it's hardcoded in the client.
Code: Select all
sm = SystemMessage.getSystemMessage(SystemMessageId.S1S_REMAINING_MANA_IS_NOW_0);sm.addItemName(_item);player.sendPacket(sm);
Code: Select all
player.sendPacket(SystemMessageId.TIME_LIMITED_ITEM_DELETED);
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 13
- Joined: Mon Jul 16, 2012 6:53 pm
Re: What is the red on-screen text, like welcome msg, called
Ah.. I'm not one for client modification so I wouldn't even know where to start on the client side.
- Szponiasty
- Advanced User
- Posts: 557
- Joined: Mon Apr 21, 2008 1:31 pm
- Location: Eastern Poland
Re: What is the red on-screen text, like welcome msg, called
U can't change color without modding client. But u can choose positions, font size, will it fade in/out or just appear etc ;(
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
- u3games
- Posts: 1156
- Joined: Sun Feb 27, 2011 7:00 pm
- Location: España
- Contact:
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: What is the red on-screen text, like welcome msg, called?
Good work monster...
![Wink :wink:](./images/smilies/icon_wink.gif)
![Thumbup :+1:](./images/smilies/icon_thumbup.gif)
![Clapping :clap:](./images/smilies/icon_clap.gif)
![Clapping :clap:](./images/smilies/icon_clap.gif)
![Clapping :clap:](./images/smilies/icon_clap.gif)
![Wink :wink:](./images/smilies/icon_wink.gif)