Ir para conteúdo

Featured Replies

Postado

Bom, não sei se mexi em algo sem querer só sei que do nada o comando /t parou de funcionar em meu servidor

o adm ta group 6

o erro é o seguinte: 04:07 Home town does not exists.   <  quando tento usar o comando /t

alguém poderia me ajudar por favor? todas as informações necessárias estão abaixo \/

 

Minha talkactions xml é a seguinte:

 

<?xml version="1.0" encoding="UTF-8"?>
<talkactions>
    <!-- Gods -->
    <talkaction log="yes" words="/addskill" access="5" event="function" value="addSkill"/>
    <talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/>
    <talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/>
    <talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/>
    <talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/>
    <talkaction log="yes" words="/promote;/demote" access="5" event="script" value="promote.lua"/>
    <talkaction log="yes" words="/shutdown" access="5" event="script" value="shutdown.lua"/>
    <talkaction log="yes" words="!mc" access="5" event="script" value="mc.lua"/>
    <talkaction log="yes" access="5" words="/mode" event="script" value="mode.lua"/>
    <talkaction words="/searchitem" access="5" event="script" value="searchitem.lua"/>        

    <!-- Community Managers -->
    <talkaction log="yes" words="/additem" access="5" event="script" value="additem.lua"/>
    <talkaction log="yes" words="/s" access="5" event="script" value="summon.lua"/>
    <talkaction log="yes" words="/n" access="5" event="script" value="creature.lua"/>
    <talkaction log="yes" words="/m" access="5" event="script" value="creature.lua"/>
    <talkaction log="yes" words="/reload" access="5" event="script" value="reload.lua"/>    
    <talkaction log="yes" words="/newtype" access="5" event="script" value="newtype.lua"/>
    <talkaction log="yes" words="/r" access="5" event="script" value="remove.lua"/>
    <talkaction log="yes" words="/owner" access="5" event="script" value="owner.lua"/>
    <talkaction log="yes" words="/storage" access="5" event="script" value="storage.lua"/>
    <talkaction log="yes" words="/config" access="5" event="script" value="configinfo.lua"/>
    <talkaction log="yes" words="/i" access="5" event="script" value="createitem.lua"/>
    <talkaction access="4" words="/z" event="script" value="magiceffect.lua"/>
    <talkaction access="4" words="/x" event="script" value="animationeffect.lua"/>
    <talkaction access="4" words="/y" event="script" value="animatedtext.lua"/>
    <talkaction log="yes" words="/bc" access="5" event="script" value="broadcastclass.lua"/>
    <talkaction log="yes" access="5" words="/mkick" event="script" value="masskick.lua"/>
    <talkaction log="yes" words="/save" access="5" event="script" value="save.lua"/>
    <talkaction log="yes" words="/clean" access="5" event="script" value="clean.lua"/>
    <talkaction log="yes" words="/c" access="5" event="script" value="teleporthere.lua"/>
    <talkaction log="yes" words="/kick" access="5" event="script" value="kick.lua"/>
    <talkaction log="yes" words="/send" access="5" event="script" value="teleportsend.lua"/>
    <talkaction log="yes" words="/mc" access="5" event="script" value="multicheck.lua"/>

    <!-- Gamemasters -->
    <talkaction log="yes" words="/ghost" access="3" event="function" value="ghost"/>
    <talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/>
    <talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/>
    <talkaction log="yes" words="/t" access="3" event="script" value="teleportmaster.lua"/>
    <talkaction log="yes" words="/goto" access="3" event="script" value="teleportto.lua"/>
    <talkaction log="yes" words="/a" access="3" event="script" value="teleporttiles.lua"/>
    <talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/>
    <talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/>
    <talkaction log="yes" words="/up" access="3" event="script" value="teleportfloor.lua"/>
    <talkaction log="yes" words="/down" access="3" event="script" value="teleportfloor.lua"/>    
    <talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/>    
    <talkaction log="yes" access="3" words="/wp" event="script" value="waypoints.lua"/>

    <!-- Senior Tutors -->
    <talkaction log="yes" words="/notations" access="2" event="script" value="notations.lua"/>
    <talkaction log="yes" words="/info" access="2" event="script" value="playerinfo.lua"/>
    <talkaction log="yes" words="/gethouse" access="2" event="script" value="gethouse.lua"/>
    <talkaction log="yes" access="2" words="/b" event="script" value="broadcast.lua"/>

    <!-- Tutors 
    <talkaction log="yes" words="/baninfo" access="1" event="function" value="banishmentInfo"/>
    <talkaction log="yes" access="1" words="/pos" event="script" value="position.lua"/>
    -->
    

    <!-- Players -->
          <!--<talkaction words="!car" event="script" value="car.lua"/>
        <talkaction log="no" access="0" words="!dance" event="script" value="dance.lua"/>
        <talkaction words="!vipdays;!buyvip;/checkvip;/addvip;/delvip" script="systemvip.lua"/>        
        -->    
    <talkaction words="!frags" event="script" value="frags.lua"/>
        <talkaction words="!aol;!AOL" event="script" value="aol.lua"/>
    <talkaction words="!online" event="script" value="online.lua"/>
    <talkaction words="!uptime" event="script" value="uptime.lua"/>
    <talkaction words="!pvp" event="script" value="pvp.lua"/>
        <talkaction words="!spells" event="script" value="spells.lua"/>
        <talkaction words="!bless;!BLESS" event="script" value="bless.lua"/>
    <talkaction words="!q" event="script" value="money.lua"/>
    <talkaction words="!serverinfo" event="script" value="serverinfo.lua"/>
    <talkaction words="/commands" event="script" value="commands.lua"/>
        <talkaction words="!addon" event="script" value="addondoll.lua"/>
        

    <!-- Houses -->
    <talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/>
    <!-- <talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/> -->
    <talkaction words="alana sio" filter="word-spaced" event="function" value="houseKick"/>
    <talkaction words="aleta grav" filter="word-spaced" event="function" value="houseDoorList"/>
    <talkaction words="aleta sio" filter="word-spaced" event="function" value="houseGuestList"/>
    <talkaction words="aleta som" filter="word-spaced" event="function" value="houseSubOwnerList"/>
    <talkaction words="alana som;!sellhouse" filter="word-spaced" event="script" value="leavehouse.lua"/>

    <!-- Guilds -->
    <talkaction words="!createguild" event="function" value="guildCreate"/>
    <talkaction words="!joinguild" event="function" value="guildJoin"/>
        <talkaction words="/war" channel="0" event="script" value="war.lua" desc="(Guild channel command) War management."/>
        <talkaction words="/balance" channel="0" event="script" value="balance.lua" desc="(Guild channel command) Balance management."/>

    <!-- (Deprecated) Redirect old '/' to '!' -->
    <talkaction words="/online" hide="yes" event="script" value="online.lua"/>
    <talkaction words="/uptime" hide="yes" event="script" value="uptime.lua"/>
    <talkaction words="/pvp" hide="yes" event="script" value="pvp.lua"/>
    <talkaction words="/serverinfo" hide="yes" event="script" value="serverinfo.lua"/>
    
    
    <!-- Custom systems -->
    <!--<talkaction words="!notice" event="script" value="notice.lua"/>-->
    <talkaction words="!rank" script="ranks.lua"/>    
<!--
<talkaction words="!jail" script="Cadeia.lua"/>
<talkaction words="!unjail" script="Cadeia.lua"/>
<talkaction words="/jail" script="Cadeia.lua"/>
<talkaction words="/unjail" script="Cadeia.lua"/>
<talkaction words="!necromancer" script="demonic.lua"/>
<talkaction words="!nightmare" script="love.lua"/>
<talkaction words="!afk" event="script" value="afk.lua"/>
<talkaction words="!treinando" event="script" value="treinando.lua"/>
<talkaction log="yes" access="1" hide="yes" words="!pos" event="script" value="position.lua"/>
-->

<talkaction filter="word" words="/guild" script="guildcast.lua"/>

    <!-- custon By Revange -->
    <!-- pollsystem talkactions -->
    

<talkaction words="!attackguild" event="script" value="attackguild.lua"/>
<!--
<talkaction words="!createpoll" event="script" value="PollSystem.lua"/>
    <talkaction words="!activatepoll" event="script" value="PollSystem.lua"/>
    <talkaction words="!cancelpoll" event="script" value="PollSystem.lua"/>
    <talkaction words="!seepoll" event="script" value="PollSystem.lua"/>
    <talkaction words="!seeresults" event="script" value="PollSystem.lua"/>
    <talkaction words="!remvotes" event="script" value="PollSystem.lua"/>
    <talkaction words="!rempoll" event="script" value="PollSystem.lua"/>
    <talkaction words="!votepoll" event="script" value="PollSystem.lua"/>
<talkaction words="love" script="love.lua"/>
<talkaction words="!vipdays" event="script" value="vip/vipdays.lua" />
<talkaction words="/addvip" script="addvip2.lua"/>
    <talkaction log="yes" words="/vip" access="5" event="script" value="vip/addvipp.lua" />
-->
</talkactions>

 

 

 

e a pasta teleportmaster.lua que seria a pasta do comando ta assim: ( só que os comando estão todos um na frente um do outro e não separado em linhas como abaixo)

 

function onSay(cid, words, param, channel)
    local tid = cid
    if(param ~= '') then
        tid = getPlayerByNameWildcard(param)
        if(not tid or (isPlayerGhost(tid) and getPlayerGhostAccess(tid) > getPlayerGhostAccess(cid))) then
            doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.")
            return true
        end
    end

    local pos = getPlayerTown(tid)
    local tmp = getTownName(pos)
    if(not tmp) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Home town does not exists.")
        return true
    end

    pos = getTownTemplePosition(pos)
    if(not pos or isInArray({pos.x, pos.y}, 0)) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Wrong temple position for town " .. tmp .. ".")
        return true
    end

    pos = getClosestFreeTile(tid, pos)
    if(not pos or isInArray({pos.x, pos.y}, 0)) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Destination not reachable.")
        return true
    end

    tmp = getCreaturePosition(tid)
    if(doTeleportThing(tid, pos, true) and not isPlayerGhost(tid)) then        
        doSendMagicEffect(pos, 36)
    end

    return true
end

  • Respostas 6
  • Visualizações 1.4k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • O erro é porque o Town de sua cidade natal está errada!   Ou seja: 04:07 Cidade natal não existe.   Quer dizer, que o char que está usando está sem cidade natal, ou seu mapa não

  • Porque você não cria um novo temple no atualizado? abra o RME e vai até o local onde quer que seja o templo, aperte CTRL+T e criei seu templo. Isso deve ter acontecido por trocar de posição...

Postado

O erro é porque o Town de sua cidade natal está errada!

 

Citar

o erro é o seguinte: 04:07 Home town does not exists. 

Ou seja: 04:07 Cidade natal não existe.

 

Quer dizer, que o char que está usando está sem cidade natal, ou seu mapa não tem uma cidade Natal "Templo"

Abra seu config.lua, procure por "TownId" está 1? Se não estiver, coloque 1.

 

Se estiver 1 abra um Editor, SQLsTudio, ou se usa Site, entre no PHPmyadmin, SqlStudio ou Phpmyadmin vai em "Player" procure o player que está tentando usar o comando, veja se na opção "Town" deste player está 1, caso sim, está! Ae quer dizer que seu mapa realmente não tem um "Templo".

 

Para criar um Local onde os Players vão nascer, para ser a Cidade Natal, abra o RME e vai até o Tile onde quer que seja o Templo, aperte CTRL+T e criei seu Templo.

 

                                                           

55f6tc.gif                     

  • 4 weeks later...
Postado

Manao Estou com isso por favor ajuda 

meu server tem ate porque arrecem estava funcionando comando fui fazer um update e bugo templo e olhei no site phpadmin estava 1 E confg.lua tmb

 

oque fasso? Home town does not exists. 

AJUDAA

Postado
10 minutos atrás, NtoFoxter disse:

Manao Estou com isso por favor ajuda 

meu server tem ate porque arrecem estava funcionando comando fui fazer um update e bugo templo e olhei no site phpadmin estava 1 E confg.lua tmb

 

oque fasso? Home town does not exists. 

AJUDAA

 

Mexeu no mapa ou algo do tipo? use o comando /town 2 para ver se funciona 

Postado

OLHA ANDEI MEXENDO SIM FIZ UPDATE MAS O DP NAO SAIU DO LUGAR OK VOU TENTAR

MANO EU AXEI O ERRO É NO MAPA MAIS NAO EXISTE OLHA SO

 

PEGUEI O MAPA ANTIGO TAVA FUNCIONANDO O /T

 DAI COMEÇEI FAZER UPDATE NELE SEM TOCAR NO DP E BUGO /T

 

DAI QUANDO COLOCO O ANTIGO SEM UPDATE /T. VOLTA E O ATUALIZADO NÃO

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.6k

Informação Importante

Confirmação de Termo