Mateus Robeerto
Excellent OT User
is there a way to change the color from orange to blue?
I found it in the source
I tried to put it on and it didn't work at all.. can anyone help me?
I found it in the source
Lua:
if (owner && g_config.getBoolean(ConfigManager::LOOT_MESSAGE)) {
std::ostringstream ss;
ss << "Loot of " << nameDescription << ": " << corpse->getContentDescription();
if (owner->getParty()) {
owner->getParty()->broadcastPartyLoot(ss.str());
} else {
owner->sendChannelMessage("", ss.str(), TALKTYPE_CHANNEL_O, CHANNEL_LOOT);
}
}
}
I tried to put it on and it didn't work at all.. can anyone help me?
Code:
enum SpeakClasses : uint8_t {
TALKTYPE_SAY = 1,
TALKTYPE_WHISPER = 2,
TALKTYPE_YELL = 3,
TALKTYPE_PRIVATE = 4,
TALKTYPE_CHANNEL_Y = 5,
TALKTYPE_RVR_CHANNEL = 6,
TALKTYPE_RVR_ANSWER = 7,
TALKTYPE_RVR_CONTINUE = 8,
TALKTYPE_BROADCAST = 9,
TALKTYPE_CHANNEL_R1 = 10, //red - #c text
TALKTYPE_PRIVATE_RED = 11, //@name@text
TALKTYPE_CHANNEL_O = 12, //@name@text
TALKTYPE_CHANNEL_R2 = 14, //#d
TALKTYPE_MONSTER_SAY = 16,
TALKTYPE_MONSTER_YELL = 17,
};
enum MessageClasses : uint8_t {
MESSAGE_STATUS_CONSOLE_YELLOW = 1, /*Yellow message in the console*/
MESSAGE_STATUS_CONSOLE_LIGHTBLUE = 4, /*Light blue message in the console*/
MESSAGE_STATUS_CONSOLE_ORANGE = 17, /*Orange message in the console*/
MESSAGE_STATUS_WARNING = 18, /*Red message in game window and in the console*/
MESSAGE_EVENT_ADVANCE = 19, /*White message in game window and in the console*/
MESSAGE_EVENT_DEFAULT = 20, /*White message at the bottom of the game window and in the console*/
MESSAGE_STATUS_DEFAULT = 21, /*White message at the bottom of the game window and in the console*/
MESSAGE_INFO_DESCR = 22, /*Green message in game window and in the console*/
MESSAGE_STATUS_SMALL = 23, /*White message at the bottom of the game window"*/
MESSAGE_STATUS_CONSOLE_BLUE = 24, /*Blue message in the console*/
MESSAGE_STATUS_CONSOLE_RED = 25, /*Red message in the console*/
};