[Encerrado] Sistema Entrei Do Tibia

Kanazakki
em Tópicos Sem Resposta

Kanazakki

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 26/11/11Posts: 84Char no Tibia: [Vip] Jonathan Oliveiraa

Como Tirar O Systema de quando um char loga aparece isso 21:53 (Vip) Kanazakki [4026]: ENTREI! como tirar esse comando?

Tyruz

You hate me? D:
avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 26/01/12Posts: 25

Geralmente isto esta envolvido com algum script onLogin, então faça o seguinte poste seu script login.lua aqui no tópico.

Kanazakki

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 26/11/11Posts: 84Char no Tibia: [Vip] Jonathan Oliveiraa

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!

jhon992

Dono JhonBot
avatar
Conde
Conde

INFOS

Grupo: CondeRegistrado: 30/06/11Posts: 631Char no Tibia: Warrior of Mort

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.

Vilden

Loading. . .
avatar
Infante
Infante

INFOS

Grupo: InfanteRegistrado: 09/05/08Posts: 1597

Vai em creaturescripts.xml e procura por conected retire a tag e teste se nao funcionar coloque a tag de volta

Atenciosamente, Vilden.

Kanazakki

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 26/11/11Posts: 84Char no Tibia: [Vip] Jonathan Oliveiraa

Vilden Voce Nao estava certo,Mas Vlw a intençao!

 

 

Jhon992 Vc Acertou Eu Achei O Local Onde estava!

Vilden

Loading. . .
avatar
Infante
Infante

INFOS

Grupo: InfanteRegistrado: 09/05/08Posts: 1597

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.

Stigal

don't ever stop...
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 28/11/10Posts: 3402Gênero: Masculino
A questão neste tópico de suporte foi encerrada por falta de respostas. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta.

+ 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.

VI6MDIG.png

 

"O fracasso é a oportunidade de se começar de novo inteligentemente"

Minhas Redes Sociais: Youtube | Página & Grupo | Steam  | Discord Xtibia | Skype: @mrooger

 

OTpanel