Ir para conteúdo

Featured Replies

Postado

Tem algum jeito de forçar a abertura do chat? Eu ja tentei colocar de todas as formas, e essa merda não abre, existe algum código de source?

 

Ja tentei colocar isso no login lua antes do iflastlogin e também do ultimo return true, e nada!

doPlayerOpenChannel(cid, CHANNEL_HELP)
doPlayerOpenChannel(cid, 10)

 

 

 

<?xml version="1.0" encoding="UTF-8"?>
<channels>
	<!-- README:
		0 - dynamic, reserved for guilds
		1 - always acts as Party channel, only "name" tag available
		3 - always acts as Rule Violations channel
		9 - acts as Help channel- clientsided message
		65535 - DO NOT CHANGE THE ID- only "name", "enabled", "active" and "logged" tags available
	 -->
	<channel id="1" name="Party"/>
	<channel id="2" name="Staff" access="3"/>
	<channel id="3" name="Rule Violations" logged="yes"/>
	<channel id="4" name="Counselor" access="1"/>
	<channel id="5" name="Game-Chat" level="2"/>
	<channel id="6" name="Trade" level="8" muted="120" conditionId="2" conditionMessage="You may only place one offer in two minutes.">
		<vocation id="1-8"/>
	</channel>
	<channel id="7" name="Trade-Rookgaard" level="2" muted="120" conditionId="3" conditionMessage="You may only place one offer in two minutes.">
		<vocation id="0"/>
	</channel>
	<channel id="8" name="RL-Chat" level="2"/>
	<channel id="9" name="Help" logged="yes"/>
	<!-- <channel id="10" name="My Custom Channel"/> -->
	<channel id="65535" name="Private Chat Channel"/>

	<channel id="10" active="no" logged="yes" name="Death Channel"/>
</channels>

 

Editado por jNo (veja o histórico de edições)

(1º) | [8.60] - Galaxy Server - Download

(2º) | [8.60] - Glorious Server - Download

(3º) | [8.60] - Epic Server - Download

Resolvido por joadson

Ir para solução
  • Respostas 7
  • Visualizações 775
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Esse erro mesmo... http://www.tibiaking.com/forum/forums/topic/73679-036-função-doplayeropenchannel/ a função

Posted Images

Postado

Terá que criar uma nova função pra chamar apenas esse chat, tem um tutorial meu sobre o chat do cast, caso queira tomar como base.
Vou precisar desse death channel, então irei fazer e depois posto no fórum.

Te ajudei?
Se você achar que eu mereço, me dê uma "rep+" e selecione meu post como "melhor resposta"

 

Skype: JoadsonAion

Postado
  • Autor
  Em 17/09/2017 em 13:03, joadson disse:

Terá que criar uma nova função pra chamar apenas esse chat, tem um tutorial meu sobre o chat do cast, caso queira tomar como base.
Vou precisar desse death channel, então irei fazer e depois posto no fórum.

 

Creaturescript

function onKill(cid, target, lastHit)
    if not isPlayer(target) or not isPlayer(cid) then
        return true
    end
    doPlayerSendChannelMessage(cid, "Death-Channel", "The player "..getCreatureName(target).." on level ["..getPlayerLevel(target).."] just got killed for "..getCreatureName(cid).." on level ["..getPlayerLevel(cid).."].", TALKTYPE_CHANNEL_R1, CHANNEL_DEATH)
    print("oi")
return true
end

 

(1º) | [8.60] - Galaxy Server - Download

(2º) | [8.60] - Glorious Server - Download

(3º) | [8.60] - Epic Server - Download

Postado
  Em 17/09/2017 em 14:58, jNo disse:

 

Creaturescript


function onKill(cid, target, lastHit)
    if not isPlayer(target) or not isPlayer(cid) then
        return true
    end
    doPlayerSendChannelMessage(cid, "Death-Channel", "The player "..getCreatureName(target).." on level ["..getPlayerLevel(target).."] just got killed for "..getCreatureName(cid).." on level ["..getPlayerLevel(cid).."].", TALKTYPE_CHANNEL_R1, CHANNEL_DEATH)
    print("oi")
return true
end

 

Vou fazer aqui...
Só queres que apareça ao logar né? por padrão, como o default ne?

Te ajudei?
Se você achar que eu mereço, me dê uma "rep+" e selecione meu post como "melhor resposta"

 

Skype: JoadsonAion

Postado
  • Autor
  Em 17/09/2017 em 16:07, joadson disse:

Vou fazer aqui...
Só queres que apareça ao logar né? por padrão, como o default ne?

 

Sim, exatamente, o Help também se conseguir

(1º) | [8.60] - Galaxy Server - Download

(2º) | [8.60] - Glorious Server - Download

(3º) | [8.60] - Epic Server - Download

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo