Who know colors range in L2
Posted: Fri Nov 13, 2015 4:12 pm
Who know colors range for nick and title in L2? Thanks.
Code: Select all
import java.awt.Color;
…
final int bgr = (int) value;
final Color c = new Color(bgr & 0xFF, (bgr >> 8) & 0xFF, (bgr >> 16) & 0xFF);
Vyrry cherry thanksSaveGame wrote:24 bit true color
Red in the 8 lsbs, blue – 8 msbs.
Also, see https://bitbucket.org/_dev_/netpro/src/ ... ew-default:Code: Select all
import java.awt.Color; … final int bgr = (int) value; final Color c = new Color(bgr & 0xFF, (bgr >> 8) & 0xFF, (bgr >> 16) & 0xFF);
I've a question. Why getRandomNumberInRange generate colors in two ranges, red or green. Where is blue?Code: Select all
int i_NickClr = getRandomNumberInRange(1, 1677721);
LOL pcAppearance contains some rgb converter, it's the same that you told to me yesterdayit's def rgb
I don't understand how I can convert HEX to Lineage2 Format
I see that defaulth value it's HEX but when I type some hex code in really it doesn't work, I see another color :\
HEX #ffe4b5 in game I see another color: 16113331 INT
How do you measure what you are seeing in-game? If directly (or from BMP screenshots), please make sure to use letters that have large areas that are unaffected by AA or fractional metrics (subpixel accuracy). You should check UserInfo for the actual color that was given to client.KGB1st wrote:LOL pcAppearance contains some rgb converter, it's the same that you told to me yesterdayit's def rgb
I don't understand how I can convert HEX to Lineage2 Format
I see that defaulth value it's HEX but when I type some hex code in really it doesn't work, I see another color :\
HEX #ffe4b5 in game I see another color: 16113331 INT
I understood it when I did a color gradient in HTML for temperature indication of my GPUSaveGame wrote: ↑Sun Nov 15, 2015 1:05 pm Explain where do you get F5DEB3 after using FFE4B5.
I understand that all these things may be hard to understand without having a background in computer architecture (or, alternatively, computer graphics/effects), but you should word your question differently if you want a short answer.