Bom Galera, muita gente anda procurando um script ou tutorial de como colocar o GOD pra falar anonimamente no HELP chat, é eu e meu amigo conseguimos arrumar, então vim posta para o TK, ajudando a todos como sempre....
DIA 1 DE FEVEREIRO INAUGURAÇãO DO REPLICA DO TIBIA GLOBAL - WOTBR... EM BREVE SITE ESTARÁ DISPONÍVEL
Em Game.cpp usa o comando - Ctrl + F e procure por esse script.
case MSG_CHANNEL: { if(channelId == CHANNEL_HELP) { if(player->hasFlag(PlayerFlag_TalkOrangeHelpChannel)) type = MSG_CHANNEL_HIGHLIGHT; if(player->hasFlag(PlayerFlag_CanTalkRedChannel)) type = MSG_GAMEMASTER_CHANNEL; } break; }
Em seguida troque por este:
case MSG_CHANNEL: { if(channelId == CHANNEL_HELP) { if(player->hasFlag(PlayerFlag_TalkOrangeHelpChannel)) type = MSG_CHANNEL_HIGHLIGHT; if(player->hasFlag(PlayerFlag_CanTalkRedChannel)) type = MSG_GAMEMASTER_CHANNEL; if(player->hasFlag(PlayerFlag_CanTalkRedChannelAnonymous)) { if(text.length() < 251) return g_chat.talk(player, type, text, channelId, statementId, true); } } break; }
Caso queira deixar o GOD Anonimo em Defaut, Help, Guild, Trade, ou seja, em Geral só usar este script:
case MSG_CHANNEL: { if(channelId == CHANNEL_HELP) { if(player->hasFlag(PlayerFlag_TalkOrangeHelpChannel)) type = MSG_CHANNEL_HIGHLIGHT; if(player->hasFlag(PlayerFlag_CanTalkRedChannel)) type = MSG_GAMEMASTER_CHANNEL; } if(player->hasFlag(PlayerFlag_CanTalkRedChannelAnonymous)) { if(text.length() < 251) return g_chat.talk(player, type, text, channelId, statementId, true); } break; }
Depois é só compilar e jÁ era
CRéDITOS:
Gugahoa
ArthurLuna
I eu