Nome: advertisingBlock Versão: 2.0 Suportada: Tfs 0.3 e 0.4 Descrição: Bloqueie propagandas de outros servidor eu seu sem ficar recompilando toda hora. Em configmanager.cpp procure:
m_confNumber[PACKETS_PER_SECOND] = getGlobalNumber("packetsPerSecond", 50);
Abaixo adicione:
m_confString[ADVERTISING_BLOCK] = getGlobalString("advertisingBlock", "");
Em configmanager.h procure:
GAME_PORT,
Abaixo adicione:
ADVERTISING_BLOCK,
Em game.cpp procure:
int32_t muted = 0;
bool mute = player-