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

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
drizzlx
Posts: 13
Joined: Mon Jul 16, 2012 6:53 pm

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

Post 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?
User avatar
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

Post 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...
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.
User avatar
Asmodaius
Posts: 170
Joined: Sun Jul 16, 2006 9:43 am

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

Post 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..
User avatar
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

Post 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.
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.
User avatar
Asmodaius
Posts: 170
Joined: Sun Jul 16, 2006 9:43 am

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

Post by Asmodaius »

Do you know what unk1, unk2, unk3 options are for?
User avatar
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

Post 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.
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.
User avatar
Asmodaius
Posts: 170
Joined: Sun Jul 16, 2006 9:43 am

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

Post by Asmodaius »

Thanks jurchiks.
drizzlx
Posts: 13
Joined: Mon Jul 16, 2012 6:53 pm

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

Post 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.
User avatar
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

Post 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.
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.
drizzlx
Posts: 13
Joined: Mon Jul 16, 2012 6:53 pm

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

Post by drizzlx »

Ah.. I'm not one for client modification so I wouldn't even know where to start on the client side.
User avatar
Szponiasty
Advanced User
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

Post 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 ;(
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
User avatar
u3games
Posts: 1156
Joined: Sun Feb 27, 2011 7:00 pm
Location: España
Contact:

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

Post by u3games »

I create mod (only data changes).

https://youtu.be/FxWGqJ6Fplc

Color no is posible for now edit :(
Image
Sacrifice
Advanced User
Advanced User
Posts: 1026
Joined: Thu Aug 14, 2014 6:31 am

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

Post by Sacrifice »

Good work monster... :+1: :clap: :clap: :clap: :wink:
DevOps and Java Developer using Eclipse, Java 21, MySQL 8.0+
Post Reply