Building plugins under Windows Building plugins under Linux
What this plugin does?:
It allows you to make your chat colored!
New commands:
2 script commands:*color2hex(var) - converts the decimal value into hex, showing the color in #HEXFORMAT (like #FF0000);*setcolor(var) - sets CHAT_COLOR variable to var value;
@color "HEX_COLOR";example usage: @color 0x0000FF - will set your chat color to Blue.
Changelist:
version 1.0: initial release
Screenshots:
Added other version of chat_color, now it doesn't disguise you and make you targetable, tho you can't see by yourself the color of your chat. That is done this way because the packet 0x2C1 actually was made to be used only by npcs. For you it will look like normal (green in chat, white above the head), others will see the true color(red, for example, if you set your @color 0xFF0000). :-)
Example script to set color:
prontera,150,150,6 script chat color 700,{ mes color2hex(CHAT_COLOR); mes CHAT_COLOR; if(select("close:set color value") == 1) close; input .@a$; setcolor(axtoi(.@a$)); close;}
chat_color.c
chat_colorA.c
---------------------------------------*useatcmd "command";This command will execute an atcommand binding on the attached RID from a script. The three .@atcmd_***** variables will NOT be set when invoking scripts-atcommands this way.---------------------------------------
isn't this enough?
HULD stands for "Hercules Ultimate Localization Design".
So, suggestions are:
Add option to choose if u need to create translations for standart NPCs or not?
Create command "@reloadlangdb", which will reset the db/translations.conf? So we don't have to restart server
Ability to translate NPCs display name
Make system messages and console messages be translatable?
Make direct assign of variables work
.@md_name$ = _("Endless Tower"); //---> doesn't work set .@md_name$, _("Endless Tower"); //---> tested, work fine for me
and few questions:
is it possible to translate waitingrooms? like will they show translated things, or it isn't? if no - make them translatable
is it possible to translate dispbottoms? if no - make them translatable
is it possible to translate message script command(not mes, but message)? if no - make them translatable
.maxPlayersPerPage = 20; // Max number per page that'll be shown. .MinGrpID = 1; // Min. group id to show in GM list. Also player with grp id < .MinGrpID can't see GMs location. .MaxGrpID = 99; // Max. group id to show in GM list. Players that have grp id > .MaxGrpID won't be shown in the GMs list. .showPlayerInfo = 7; // Bitwise variable, // 1 = Show only Base/Job Level after the name // 2 = Show only Map after the name // 3 = Show Base/Job Level + Map after the name // 4 = Show only Job after the name // 5 = Show Job + Base/Job Level // 6 = Show Job + Map // 7 = Show Job + Base/Job level + Map .checkWOE = 1; // If you set this to 1, then it will not show locations during WOE. // 0 to disable this check. .showPlayerInfoWOE = 5; // Show players info while WOE is on? Bitwsie Variable; .checkWOE have to be set to 1. // 1 = Show only Base/Job Level // 2 = Show only Map // 3 = Show Base/Job Level + Map // 4 = Show only Job // 5 = Show Job + Base/Job Level // 7 = Show Job + Base/Job Level + Map .showPeakOnline = 3; // Show peak online? Bitwise variable // 1 = show only in NPC dialog // 2 = show only in waitingroom // 3 = show in NPC and waitingroom together. .announceCurrentOnline = 1; // Announce current online every hour? .allowOtherSortTypes = 1; // Allow sort by map, b.lvl, j.lvl or class? // 1 = yes // 0 = no