manda IP DO OT que você viu isso?
info
Grupo: Infante
Registrado: 27/07/09
Posts: 1.5k
Reputação: +405
Char no Tibia: Gean Riot

info
Grupo: Barão
Registrado: 07/03/08
Posts: 231
Reputação: +17
Gênero: Masculino

Vou mandar por PM.
O ot que eu vi isso ta off, mas vo mandar um que tem um sistema igual, mesma coisa.
-EDIT>
Subwat, não to conseguindo manda mensagem pra você, fala que você não pode receber mais mensagens :X
então aí o Ip: noite.servegame.com
Editado Fevereiro 14 por zani123
info
Grupo: Infante
Registrado: 27/07/09
Posts: 1.5k
Reputação: +405
Char no Tibia: Gean Riot

ah o rozinx vo ver .
vlw ae vo ver se consigo esse script pra tu e pra mim rs
info
Grupo: Herói
Registrado: 17/02/08
Posts: 2.5k
Reputação: +193

Veja se consegue adaptar esse script:
Talkactions/Filtro.lua
--------------Filtro by Rike and Rafacin---- edit by apocarai - mod kakilo
function onSay(cid, words, param)
local frases = {
"Este é o melhor server que eu já joguei",
"Maravilhoso este servidor, não acha?"
}
return doPlayerSay(cid,frases[math.random(#frases)],1)
end
Talkactions.xml
<talkaction words=".servegame.com" script="filtro.lua" />
Souber adaptar pra usar uma variável antes, acho que dá pra usar em qualquer frase que contenha essa palavra.
Substituir e adicionar conforme a necessidade.
Abraços.
info
Grupo: Campones
Registrado: 03/11/10
Posts: 47
Reputação: +7
Char no Tibia: Victor Dracul

@Subwat, se você consegui o script me manda tbm? :smile_positivo:
info
Grupo: Barão
Registrado: 07/03/08
Posts: 231
Reputação: +17
Gênero: Masculino

Veja se consegue adaptar esse script:
Talkactions/Filtro.lua
--------------Filtro by Rike and Rafacin---- edit by apocarai - mod kakilo function onSay(cid, words, param) local frases = { "Este é o melhor server que eu já joguei", "Maravilhoso este servidor, não acha?" } return doPlayerSay(cid,frases[math.random(#frases)],1) end
Talkactions.xml
<talkaction words=".servegame.com" script="filtro.lua" />
Souber adaptar pra usar uma variável antes, acho que dá pra usar em qualquer frase que contenha essa palavra.
Substituir e adicionar conforme a necessidade.
Abraços.
Leia o que eu disse no começo do tópico.
Disse que ja tentei esse sistema "filtro de palavrão", mas não consegui..
-----------
Queria pedir pra vocês, que alguem conseguir fazer esse sistema, me manda por PM, porque eu me esqueço de olhar esse tópico :X
Editado Fevereiro 16 por zani123
info
Grupo: Herói
Registrado: 17/02/08
Posts: 2.5k
Reputação: +193

Tentou usar com asterisco?
info
Grupo: Herói
Registrado: 20/05/10
Posts: 3.4k
Reputação: +1.5k
Gênero: Masculino

info
Grupo: Barão
Registrado: 07/03/08
Posts: 231
Reputação: +17
Gênero: Masculino

Valeu cara, muito obrigado.
REP+
CARA, to com uma dúvida. eu to tentando compilar com o sistema de anti-propaganda que você postou, e é a primeira vez que eu compilo.. mas quando eu aperto CTRL+F9, e espero, ai do nada para de compilar e aparecem MUITOS ERROS la em baixo da tela, mas muitos mesmo.. eu ja coloquei tudo.. Lua 5.1, boost, e outras pastas..
Não sei o que fazer :S
Se alguém puder compilar o TFS 0.3.6 ou 0.4 pra mim, eu agradaceria :X
Valeu.
info
Grupo: Campones
Registrado: 01/01/11
Posts: 39
Reputação: +8
Char no Tibia: Nao tenho

Olá , pow cara voce pode me ensina fazer isso ai pra mim coloca nesse tal de talkactions.cpp sei la ajuda ai explica tbm quero por o ant-divugaçao.
info
Grupo: Visconde
Registrado: 12/09/10
Posts: 416
Reputação: +160
Char no Tibia: Draky Lucas

isso dai é na source do seu servidor.. provavlmente se tu baixa setvidores tipo crystal server etc vc nao vai ter acesso as sources.
isso vc vai usar em servidores boms com alterações na source para ficar + estavel ou ateh mesmo com mais utilizades..
Source é a pasta que contem todos arquivos que formam o executavel do seu servidor, se vc nao sabeoq fazer nela recomendo que nao faça.
info
Grupo: Campones
Registrado: 01/01/11
Posts: 39
Reputação: +8
Char no Tibia: Nao tenho

pow nao pode explica como eu faço pra colocar esse script no meu ot te do +rep
info
Grupo: Herói
Registrado: 20/05/10
Posts: 3.4k
Reputação: +1.5k
Gênero: Masculino

é só compilar um distro T.T
info
Grupo: Barão
Registrado: 07/03/08
Posts: 231
Reputação: +17
Gênero: Masculino

Cara, eu to tentando compilar um distro, to com as libs, arquivos lua (na pasta others), tudo certinho.. mas quando tento compilar sempre aparecem esse monte de erros, e aí não cria o arquivo TheForgottenServer.exe ... vejam só o log:
Compilador: Default compiler
Building Makefile: "C:\Users\Zani\Downloads\forgottenserver-trunk.r3884\trunk.r3884\dev-cpp\Makefile.win"
Executando make...
make.exe -f "C:\Users\Zani\Downloads\forgottenserver-trunk.r3884\trunk.r3884\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"C:/Users/Zani/Downloads/Stian's Repack Dev-Cpp 0.2, 64bit/Stian's Repack Dev-Cpp 0.2, 64bit/others/boost_1_33_1" -I"C:/Users/Zani/Downloads/Stian's Repack Dev-Cpp 0.2, 64bit/Stian's Repack Dev-Cpp 0.2, 64bit/others/lua-5.1/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -O2 -D__CONSOLE__ -D__EXCEPTION_TRACER__ -fexpensive-optimizations -O1
In file included from ../exception.h:21,
from ../definitions.h:168,
from ../const.h:20,
from ../actions.cpp:18:
../otsystem.h:33:26: boost/asio.hpp: No such file or directory
../otsystem.h:35:29: boost/foreach.hpp: No such file or directory
In file included from ../luascript.h:41,
from ../baseevents.h:22,
from ../actions.h:20,
from ../actions.cpp:20:
../database.h: In constructor `DBQuery::DBQuery()':
../database.h:248: error: 'class boost::recursive_mutex' has no member named 'lock'
../database.h: In destructor `virtual DBQuery::~DBQuery()':
../database.h:249: error: 'class boost::recursive_mutex' has no member named 'unlock'
In file included from ../baseevents.h:22,
from ../actions.h:20,
from ../actions.cpp:20:
../luascript.h: At global scope:
../luascript.h:99: error: expected `,' or `...' before "struct"
../luascript.h:103: error: expected `,' or `...' before "struct"
../luascript.h:153: error: expected `,' or `...' before "struct"
../luascript.h: In member function `void ScriptEnviroment::setScriptId(int32_t, LuaInterface*)':
../luascript.h:100: error: expected primary-expression before "struct"
../luascript.h:100: error: expected `;' before "struct"
In file included from ../game.h:24,
from ../actions.cpp:30:
../server.h: At global scope:
../server.h:35: error: `boost::asio' has not been declared
../server.h:35: error: expected init-declarator before "IPAddress"
../server.h:35: error: expected `,' or `;' before "IPAddress"
../server.h:36: error: `IPAddress' was not declared in this scope
../server.h:36: error: template argument 1 is invalid
../server.h:36: error: template argument 2 is invalid
../server.h:36: error: ISO C++ forbids declaration of `IPAddressList' with no type
../server.h:62: error: `boost::asio' has not been declared
../server.h:62: error: `acceptor' was not declared in this scope
../server.h:62: error: template argument 1 is invalid
../server.h:62: error: ISO C++ forbids declaration of `Acceptor_ptr' with no type
../server.h:66: error: `boost::asio' has not been declared
../server.h:66: error: expected `)' before '&' token
../server.h:71: error: `IPAddress' has not been declared
../server.h:71: error: ISO C++ forbids declaration of `ip' with no type
../server.h:77: error: `boost::asio' has not been declared
../server.h:77: error: `socket' is not a type
../server.h:77: error: `boost::system' has not been declared
../server.h:77: error: expected `,' or `...' before '&' token
../server.h:77: error: ISO C++ forbids declaration of `socket' with no type
../server.h:77: error: ISO C++ forbids declaration of `error_code' with no type
../server.h:93: error: `boost::asio' has not been declared
../server.h:93: error: ISO C++ forbids declaration of `io_service' with no type
../server.h:93: error: expected `;' before '&' token
../server.h:119: error: `boost::asio' has not been declared
../server.h:119: error: ISO C++ forbids declaration of `io_service' with no type
../server.h:119: error: expected `;' before "m_io_service"
../server.h:120: error: `boost::asio' has not been declared
../server.h:120: error: ISO C++ forbids declaration of `deadline_timer' with no type
../server.h:120: error: expected `;' before "deathTimer"
../server.h: In constructor `ServiceManager::ServiceManager()':
../server.h:104: error: class `ServiceManager' does not have any field named `m_io_service'
../server.h:104: error: class `ServiceManager' does not have any field named `deathTimer'
../server.h:104: error: `m_io_service' undeclared (first use this function)
../server.h:104: error: (Each undeclared identifier is reported only once for each function it appears in.)
../server.h: In member function `void ServiceManager::die()':
../server.h:117: error: `m_io_service' undeclared (first use this function)
../server.h: In member function `bool ServiceManager::add(uint16_t, IPAddressList)':
../server.h:140: error: `m_io_service' undeclared (first use this function)
In file included from ../scheduler.h:22,
from ../game.h:25,
from ../actions.cpp:30:
../dispatcher.h: At global scope:
../dispatcher.h:46: error: using-declaration for non-member at class scope
../dispatcher.h:46: error: expected `;' before "m_expiration"
../dispatcher.h: In constructor `Task::Task(const boost::function<void ()(), std::allocator<void> >&)':
../dispatcher.h:28: error: class `Task' does not have any field named `m_expiration'
../dispatcher.h:29: error: `boost::date_time' has not been declared
../dispatcher.h:29: error: `not_a_date_time' undeclared (first use this function)
../dispatcher.h: In constructor `Task::Task(uint32_t, const boost::function<void ()(), std::allocator<void> >&)':
../dispatcher.h:30: error: class `Task' does not have any field named `m_expiration'
../dispatcher.h:31: error: `get_system_time' is not a member of `boost'
../dispatcher.h:31: error: `boost::posix_time' has not been declared
../dispatcher.h:31: error: `milliseconds' undeclared (first use this function)
../dispatcher.h: In member function `void Task::unsetExpiration()':
../dispatcher.h:36: error: `m_expiration' undeclared (first use this function)
../dispatcher.h:36: error: `boost::date_time' has not been declared
../dispatcher.h:36: error: `not_a_date_time' undeclared (first use this function)
../dispatcher.h: In member function `bool Task::hasExpired() const':
../dispatcher.h:39: error: `m_expiration' undeclared (first use this function)
../dispatcher.h:39: error: `boost::date_time' has not been declared
../dispatcher.h:39: error: `not_a_date_time' undeclared (first use this function)
../dispatcher.h:42: error: `get_system_time' is not a member of `boost'
../dispatcher.h: At global scope:
../dispatcher.h:88: error: using-declaration for non-member at class scope
../dispatcher.h:88: error: expected `;' before "m_taskSignal"
In file included from ../game.h:25,
from ../actions.cpp:30:
../scheduler.h:33: error: using-declaration for non-member at class scope
../scheduler.h:33: error: expected `;' before "getCycle"
../scheduler.h:34: error: expected `;' before "bool"
../scheduler.h: In member function `bool SchedulerTask::operator<(const SchedulerTask&) const':
../scheduler.h:34: error: `getCycle' undeclared (first use this function)
../scheduler.h:34: error: 'const class SchedulerTask' has no member named 'getCycle'
../scheduler.h: At global scope:
../scheduler.h:90: error: using-declaration for non-member at class scope
../scheduler.h:90: error: expected `;' before "m_eventSignal"
In file included from ../actions.cpp:36:
../house.h:23:39: boost/tr1/unordered_set.hpp: No such file or directory
In file included from ../actions.cpp:36:
../house.h:76: error: `std::tr1' has not been declared
../house.h:76: error: ISO C++ forbids declaration of `unordered_set' with no type
../house.h:76: error: expected `;' before '<' token
make.exe: *** [obj//actions.o] Error 1
Execução terminada
Se alguem souber o que é, me avisa.
Até quando eu compilo o distro sem editar nada nele, esses erros aparecem do mesmo jeito :X





info
Grupo: Barão
Registrado: 07/03/08
Posts: 231
Reputação: +17
Gênero: Masculino
Ae Galera.
Eu tava muito precisando de um sistema que toda vez que uma pessoa falasse/anunciasse um certo ip no meu server, ele fosse substituido por simbolos como #######
Esses dias eu entrei num OT sério, e quando você falava .servegame.com , .no-ip.info , .no-ip.biz , etc.. No lugar disso, ficava assim: ºººººº
Por exemplo, eu anunciava: meuot.servegame.com , no Global CHannel (default) aparecia: meuotºººººººººººººº , e eu ficava muted por 200 segs.
Tem como fazer isso?
Tipo, eu tentei com o sistema de anti-palavrão, coloquei as palavras .servegame.com, mas ele só bloqueia se eu falar .servegame.com
Mas se eu falar por exemplo: otserver.servegame.com , ele não bloqueia.
Quem fizer isso, agradeceria muito.
Valeu!