View Full Version : [How]Title color change?
Hello there!
I remember L2-Osiris long time ago had like Dark Blue Title Colors, i was thinking to make such a feature to, if someone knows how i can do that! please tell me! thanks...
Also who can share a top 10 pvp, pk and castle status!
Thanks.
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-29-2009, 12:55 PM. Открыть источник (https://web.archive.org/web/20100324121128id_/http://www.postpacific.com:80/archive/index.php/t-921.html).
Osito2Dancer
29.07.2009, 15:17
User_data.titlecolor , access color code.
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-29-2009, 03:17 PM. Открыть источник (https://web.archive.org/web/20100324121128id_/http://www.postpacific.com:80/archive/index.php/t-921.html).
Ok thanks but i can't get really a clue with "User_data.titlecolor , access color code" that could be in SQL? or can you mention more exactly where i need to go please?
Thanks for effort!
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-30-2009, 01:20 AM. Открыть источник (https://web.archive.org/web/20100324121128id_/http://www.postpacific.com:80/archive/index.php/t-921.html).
Osito2Dancer
30.07.2009, 01:58
Access Color is a different code for colours (like RGB or CYK, there's access colour code).
http://cloford.com/resources/colours/500col.htm
There you can get the RGB and the access color code. Or, if you want a mathematic code:
Color (R - G - B) = (B) * 256 * 256 + (G) * 256 + (R) = Color (Access)
For example:
Purple (128 - 0 - 128) = (128)*256*256 + (0)*256 + (128) = (8388736) access code.
That value goes into the "titlecolor" column. It works whenever you reload the server, so the changes wont be effective until you restart.
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-30-2009, 01:58 AM. Открыть источник (https://web.archive.org/web/20100324121128id_/http://www.postpacific.com:80/archive/index.php/t-921.html).
http://cloford.com/resources/colours/500col.htm i know about that but mate, i cannot find the... titlecolor...where exactly you didn't mention ! is that in Database MSSQL ? lin2world or where? exactly ! thanks again! w8 for a answer :p
Peace!
P.S - i use C4 Files, db!
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-30-2009, 02:00 AM. Открыть источник (https://web.archive.org/web/20100324121128id_/http://www.postpacific.com:80/archive/index.php/t-921.html).