Como Tirar O Systema de quando um char loga aparece isso 21:53 (Vip) Kanazakki [4026]: ENTREI! como tirar esse comando?
[Encerrado] Sistema Entrei Do Tibia
Geralmente isto esta envolvido com algum script onLogin, então faça o seguinte poste seu script login.lua aqui no tópico.
local config = {
loginMessage = getConfigValue('loginMessage')
}
function onLogin(cid)
local loss = getConfigValue('deathLostPercent')
if(loss ~= nil) then
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
end
local accountManager = getPlayerAccountManager(cid)
if(accountManager == MANAGER_NONE) then
local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
if(lastLogin > 0) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
else
str = str .. " Please choose your outfit."
doPlayerSendOutfitWindow(cid)
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
elseif(accountManager == MANAGER_NAMELOCK) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
elseif(accountManager == MANAGER_ACCOUNT) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")
end
if(not isPlayerGhost(cid)) then
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
end
registerCreatureEvent(cid, "Mail")
registerCreatureEvent(cid, "KillingInTheNameOf")
registerCreatureEvent(cid, "GuildMotd")
registerCreatureEvent(cid, "Idle")
registerCreatureEvent(cid, "SkullCheck")
registerCreatureEvent(cid, "ReportBug")
registerCreatureEvent(cid, "conected")
registerCreatureEvent(cid, "reborn")
registerCreatureEvent(cid, "DeathBroadcast")
registerCreatureEvent(cid, "ArenaKill")
-- if he did not make full arena 1 he must start from zero
if getPlayerStorageValue(cid, 42309) < 1 then
for i = 42300, 42309 do
setPlayerStorageValue(cid, i, 0)
end
end
-- if he did not make full arena 2 he must start from zero
if getPlayerStorageValue(cid, 42319) < 1 then
for i = 42310, 42319 do
setPlayerStorageValue(cid, i, 0)
end
end
-- if he did not make full arena 3 he must start from zero
if getPlayerStorageValue(cid, 42329) < 1 then
for i = 42320, 42329 do
setPlayerStorageValue(cid, i, 0)
end
end
if getPlayerStorageValue(cid, 42355) == -1 then
setPlayerStorageValue(cid, 42355, 0) -- did not arena level
end
setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
setPlayerStorageValue(cid, 42352, 0) -- is not in arena
registerCreatureEvent(cid, "healing")
registerCreatureEvent(cid, "DeathC")
return true
end
Aki esta!
o erro é em algum arquivo do tipo onLogin, mais n esta nesse script n. voce deve entrar no seu creaturescripts.xml e verifica quais são os scripts do tipo onLogin, depois abra a pasta scripts e vai no arquivo correspondente abra-o e procure por ENTREI!, é sóh excluir a linha completa e salvar.
caso tenha duvida, poste seu creaturescripts.xml aqui.
Te ajudei. Então REP+
Meus Trabalhos:
- Sistema de Reputação [simple Reputation System]
- Weapons Paralyze
- Sistema de Duas Weapons [Two Weapons System]
- Sistema de Items apenas para Vips [Vip Items System]
- Tutorial Básico sobre CreatureScripts!
- Tutorial Básico sobre Arrays!
- Sistema de Durabilidade!
- [spell] Crystal Wall 8.54+
- Dbo 8.6 {by Jhon992}
- Monster Creator
O melhor pokebot!
Vai em creaturescripts.xml e procura por conected retire a tag e teste se nao funcionar coloque a tag de volta
Atenciosamente, Vilden.
Dúvida sanada, tópico movido.
Acho que oq eu falei estava certo.. se você remove-se a tag q eu falei retiraria todo
o script desse 'sistema' ai..
mais não tenho certeza.. que bom que conseguiu abç
Atenciosamente, Vilden.
+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.
"O fracasso é a oportunidade de se começar de novo inteligentemente"