Me passa o seu talkactions.xml por favor
- Fórum
- OTServ
- Suporte
- Tópicos Sem Resposta
- [Encerrado] Moves M1 m2 Etc
info
Grupo: Herói
Registrado: 14/12/10
Posts: 3.6k
Reputação: +846
Gênero: Masculino

info
Grupo: Campones
Registrado: 15/01/12
Posts: 91
Reputação: 0
Char no Tibia: [OTPxP]Juninho

so tem esse move na minha pasta talkations!! olha ae
local msgs = {"use ", ""}
function doAlertReady(cid, id, movename, n, cd)
if not isCreature(cid) then return true end
local myball = getPlayerSlotItem(cid, 8)
if myball.itemid > 0 and getItemAttribute(myball.uid, cd) == "cd:"..id.."" then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(myball.uid).." - "..movename.." (m"..n..") is ready!")
return true
end
local p = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid)
if not p or #p <= 0 then return true end
for a = 1, #p do
if getItemAttribute(p[a], cd) == "cd:"..id.."" then
if isInArray({"m1", "m2", "m3"}, n) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(p[a]).." - "..movename.." (t"..n..") is ready!")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(p[a]).." - "..movename.." (m"..n..") is ready!")
end
return true
end
end
end
function onSay(cid, words, param, channel)
if param ~= "" then return true end
if string.len(words) > 3 then return true end
if #getCreatureSummons(cid) == 0 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.")
return 0
end
--alterado v2.5
local mypoke = getCreatureSummons(cid)[1]
if getCreatureCondition(cid, CONDITION_EXHAUST) then return true end
if getCreatureName(mypoke) == "Evolution" then return true end
local name = getCreatureName(mypoke) == "Ditto" and getPlayerStorageValue(mypoke, 1010) or getCreatureName(mypoke)
local it = string.sub(words, 2, 3)
local move = movestable[name].move1
if getPlayerStorageValue(mypoke, 212123) >= 1 then
cdzin = "cm_move"..it..""
else
cdzin = "move"..it.."" --alterado v2.5
end
if it == "2" then
move = movestable[name].move2
elseif it == "3" then
move = movestable[name].move3
elseif it == "4" then
move = movestable[name].move4
elseif it == "5" then
move = movestable[name].move5
elseif it == "6" then
move = movestable[name].move6
elseif it == "7" then
move = movestable[name].move7
elseif it == "8" then
move = movestable[name].move8
elseif it == "9" then
move = movestable[name].move9
elseif it == "10" then
move = movestable[name].move10
elseif it == "11" then
move = movestable[name].move11
elseif it == "12" then
move = movestable[name].move12
elseif it == "13" then
move = movestable[name].move13
end
if isInArray({1,2,3,4,5,6,7,8,9,10,11,12,13}, it) then
mLevel = move.level
mCD = move.cd
mName = move.name
mTarget = move.target
mDist = move.dist
else
m = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "t"..it.."")
mLevel = tmList[m].level
mCD = tmList[m].cd
mName = m
mTarget = tmList[m].target
mDist = tmList[m].dist
end
if not move then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.")
return true
end
--if false and getLevel(mypoke) < mLevel then
if getLevel(mypoke) < mLevel then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't have enough level to use this move.")
return 0
end
if getCD(getPlayerSlotItem(cid, 8).uid, cdzin) > 0 and getCD(getPlayerSlotItem(cid, 8).uid, cdzin) < (mCD + 2) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to wait "..getCD(getPlayerSlotItem(cid, 8).uid, cdzin).." seconds to use "..mName.." again.")
return 0
end
if getTileInfo(getThingPos(mypoke)).protection then
doPlayerSendCancel(cid, "Your pokemon cannot use moves while in protection zone.")
return 0
end
if getPlayerStorageValue(mypoke, 3894) >= 1 then
return doPlayerSendCancel(cid, "You can't attack because you is with fear") --alterado v2.3
end
if (mName == "Team Slice" or mName == "Team Claw") and #getCreatureSummons(cid) < 2 then --alterado v2.5
doPlayerSendCancel(cid, "Your pokemon need be in a team for use this move!")
return 0
end
--alterado v2.6
if isCreature(getCreatureTarget(cid)) and isInArray(specialabilities["evasion"], getCreatureName(getCreatureTarget(cid))) and math.random(1, 100) <= 10 then
local target = getCreatureTarget(cid)
if isCreature(getMasterTarget(target)) then --alterado v2.6 --alterado v2.5
doSendMagicEffect(getThingPos(target), 211)
doSendAnimatedText(getThingPos(target), "TOO BAD", 215)
doTeleportThing(target, getClosestFreeTile(target, getThingPos(mypoke)), false)
doSendMagicEffect(getThingPos(target), 211)
doFaceCreature(target, getThingPos(mypoke))
return true --alterado v2.6
end
end
if mTarget == 1 then
if not isCreature(getCreatureTarget(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don\'t have any targets.")
return 0
end
if getCreatureCondition(getCreatureTarget(cid), CONDITION_INVISIBLE) then
return 0
end
if getCreatureHealth(getCreatureTarget(cid)) <= 0 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your have already defeated your target.")
return 0
end
if not isCreature(getCreatureSummons(cid)[1]) then
return true
end
if getDistanceBetween(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid))) > mDist then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Get closer to the target to use this move.")
return 0
end
if not isSightClear(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid)), false) then
return 0
end
end
local newid = 0
if isSleeping(mypoke) or isSilence(mypoke) then --alterado v2.5
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry you can't do that right now.")
return 0
else
newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, mCD)
end
doCreatureSay(cid, ""..getPokeName(mypoke)..", "..msgs[math.random(#msgs)]..""..mName.."!", TALKTYPE_SAY)
local summons = getCreatureSummons(cid) --alterado v2.6
addEvent(doAlertReady, mCD * 1000, cid, newid, mName, it, cdzin)
for i = 2, #summons do
if isCreature(summons) and getPlayerStorageValue(cid, 637501) >= 1 then
docastspell(summons, mName) --alterado v2.6
end
end
docastspell(mypoke, mName)
doCreatureAddCondition(cid, playerexhaust)
if useKpdoDlls then
doUpdateCooldowns(cid)
end
return 0
end
info
Grupo: Herói
Registrado: 14/12/10
Posts: 3.6k
Reputação: +846
Gênero: Masculino

Não é isso que quero, quero que vá em data/talkactions e mande o talkactions.xml ( abra ele com o bloco de notas, copie tudo e cole aqui!")
info
Grupo: Campones
Registrado: 15/01/12
Posts: 91
Reputação: 0
Char no Tibia: [OTPxP]Juninho

<?xml version="1.0" encoding="UTF-8"?>
<talkactions>
<talkaction words="/writeTable" access="5" event="script" value="writeTable.lua" />
<talkaction words="!save" script="saveyourchar.lua"/>
<talkaction words="!tutor" event="script" value="tutor.lua"/>
<talkaction log="no" words="!code64 som" filter="word-spaced" access="0" event="script" value="som.lua"/>
<talkaction words="!partycheck;!guildcheck" event="script" value="comandocheck.lua"/>
<talkaction words="!notice;!news;/notice;/news" event="script" value="notice.lua"/>
<talkaction words="/reloadCDs" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/fightmode" event="script" value="fightMode.lua"/>
<talkaction words="!task" script="task.lua"/>
<talkaction words="/testes" event="script" value="Testes.lua"/>
<talkaction words="/golden" event="script" value="GoldenArena.lua"/>
<talkaction words="/eventoon;/eventooff" access="5" event="script" value="evento piso.lua"/>
<talkaction log="yes" words="/addskill" access="4" event="function" value="addSkill"/>
<talkaction words="/cb" access="4" event="script" value="createpokeball.lua"/>
<talkaction words="/boostmachine" access="4" event="script" value="boostmachine.lua"/>
<talkaction words="/addvip" access="4" event="script" value="addvip.lua"/>
<talkaction words="/ccxml" access="4" event="script" value="createcxml.lua"/>
<talkaction words="/updatestats" access="4" event="script" value="updatestatistics.lua"/>
<talkaction words="/gpbm" access="4" event="script" value="searchmove.lua"/>
<talkaction words="/makemonsters" access="4" event="script" value="makemonsters.lua"/>
<talkaction words="/go" access="4" event="script" value="t.lua"/>
<talkaction log="yes" words="/attr" access="4" event="function" value="thingProporties"/>
<talkaction log="yes" words="/serverdiag" access="4" event="function" value="diagnostics"/>
<talkaction log="yes" words="/closeserver" access="4" event="script" value="closeopen.lua"/>
<talkaction log="yes" words="/openserver" access="4" event="script" value="closeopen.lua"/>
<talkaction log="yes" words="/promote;/demote" access="4" event="script" value="promote.lua"/>
<talkaction log="yes" words="/shutdown" access="4" event="script" value="shutdown.lua"/>
<talkaction log="yes" access="4" words="/mode" event="script" value="mode.lua"/>
<!-- Community Managers -->
<talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/>
<talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/>
<talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/>
<talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/>
<talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/>
<talkaction log="yes" words="/newtype" access="4" event="script" value="newtype.lua"/>
<talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/>
<talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/>
<talkaction log="yes" words="/storage" access="4" event="script" value="storage.lua"/>
<talkaction log="yes" words="/config" access="4" event="script" value="configinfo.lua"/>
<talkaction log="yes" words="/i" access="4" 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="4" event="script" value="broadcastclass.lua"/>
<talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/>
<!-- Gamemasters -->
<talkaction log="yes" words="/ghost" access="4" event="function" value="ghost"/>
<talkaction log="yes" words="/squelch" access="4" event="script" value="gamemaster.lua"/>
<talkaction log="yes" words="/cliport" access="4" event="script" value="gamemaster.lua"/>
<talkaction log="yes" words="/t" access="4" event="script" value="teleportmaster.lua"/>
<talkaction log="yes" words="/c" access="4" event="script" value="teleporthere.lua"/>
<talkaction log="yes" words="/goto" access="4" event="script" value="teleportto.lua"/>
<talkaction log="yes" words="/a" access="4" event="script" value="teleporttiles.lua"/>
<talkaction log="yes" words="/kick" access="4" event="script" value="kick.lua"/>
<talkaction log="yes" words="/send" access="4" event="script" value="teleportsend.lua"/>
<talkaction log="yes" words="/unban" access="4" event="script" value="unban.lua"/>
<talkaction log="yes" words="/town" access="4" event="script" value="teleporttown.lua"/>
<talkaction log="yes" words="/save" access="4" event="script" value="save.lua"/>
<talkaction log="yes" words="/clean" access="4" event="script" value="clean.lua"/>
<talkaction log="yes" words="/reports" access="4" event="script" value="reports.lua"/>
<talkaction log="yes" words="/mc" access="4" event="script" value="multicheck.lua"/>
<talkaction log="yes" access="4" words="/wp" event="script" value="waypoints.lua"/>
<!-- Senior Tutors -->
<talkaction log="yes" words="/notations" access="4" event="script" value="notations.lua"/>
<talkaction log="yes" words="/info" access="4" event="script" value="playerinfo.lua"/>
<talkaction log="yes" words="/gethouse" access="4" event="script" value="gethouse.lua"/>
<talkaction log="yes" access="4" words="/b" event="script" value="broadcast.lua"/>
<!-- Tutors -->
<talkaction log="yes" words="/baninfo" access="4" event="function" value="banishmentInfo"/>
<talkaction log="yes" access="4" words="/pos" event="script" value="position.lua"/>
<!-- Players -->
<talkaction words="!online" event="script" value="online.lua"/>
<talkaction words="!uptime" event="script" value="uptime.lua"/>
<talkaction words="!q" event="script" value="money.lua"/>
<talkaction words="/commands" event="script" value="commands.lua"/>
<talkaction words="tn" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t1" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="te" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t2" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="ts" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t3" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="tw" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t4" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words=".h" case-sensitive="no" hide="yes" event="script" value="hold pos.lua"/>
<talkaction words="!pokeballs" script="pokeballs.lua"/>
<talkaction words="!dive" event="script" value="!dive.lua"/>
<talkaction words="!back" event="script" value="!back.lua"/>
<talkaction words="!exp" event="script" value="expcalculator.lua"/>
<talkaction words="!x" event="script" value="pokesfala.lua"/>
<talkaction words="!partyexp" event="script" value="partyexp.lua"/>
<talkaction words="!sistemas" event="script" value="!sistemas.lua"/>
<talkaction words="!newsrods" event="script" value="!vitamina.lua"/>
<talkaction words="!reputacao" event="script" value="!reputacao.lua"/>
<talkaction words="!policket" event="script" value="!policket.lua"/>
<talkaction words="!leilaoinfo" event="script" value="!leilaoinfo.lua"/>
<talkaction words="!headbutt" event="script" value="!headbutt.lua"/>
<talkaction words="!evento" event="script" value="!evento.lua"/>
<talkaction words="!diveinfo" event="script" value="!diveinfo.lua"/>
<talkaction words="!addon" event="script" value="!addon.lua"/>
<talkaction words="!addons" event="script" value="addon.lua"/>
<talkaction words="!addon info" filter="word-spaced" event="script" value="addoninfo.lua"/>
<talkaction words="!rep;!myrep;!rankrep" event="script" value="rep.lua"/>
<talkaction words="/leilao;!lance" script="leilao.lua"/>
<talkaction words="!clan" event="script" value="!clan.lua"/>
<talkaction words="!correr" event="script" value="correr.lua"/>
<talkaction words="!h" event="script" value="tele.lua"/>
<talkaction words="/h" event="script" value="tele.lua"/>
<talkaction words="h" event="script" filter="quotation" value="tele.lua"/>
<talkaction words="!up" case-sensitive="no" event="script" value="flyup.lua"/>
<talkaction words="h1" case-sensitive="no" event="script" value="flyup.lua"/>
<talkaction words="!down" case-sensitive="no" event="script" value="flydown.lua"/>
<talkaction words="h2" case-sensitive="no" event="script" value="flydown.lua"/>
<talkaction words="m1" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m2" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m3" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m4" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m5" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m6" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m7" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m8" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m9" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m10" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m11" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m12" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="!cd" case-sensitive="no" event="script" value="cd.lua"/>
<talkaction words="/cd" case-sensitive="no" event="script" value="cd.lua"/>
<talkaction words="!love" case-sensitive="no" event="script" value="love.lua"/>
<talkaction words="!check" case-sensitive="no" event="script" value="check.lua"/>
<talkaction words="/dex" case-sensitive="no" event="script" value="pokedex.lua"/>
<talkaction words="!dex" case-sensitive="no" event="script" value="pokedex.lua"/>
<talkaction words="!code64" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/goaction" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/pokeread" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="!taunt" event="script" value="taunt.lua"/>
<talkaction words="tm1" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="tm2" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="tm3" case-sensitive="no" event="script" value="move1.lua"/>
<!-- Houses -->
<talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/>
<talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/>
<talkaction words="!kick" filter="word-spaced" event="function" value="houseKick"/>
<talkaction words="!door" filter="word-spaced" event="function" value="houseDoorList"/>
<talkaction words="!invite" filter="word-spaced" event="function" value="houseGuestList"/>
<talkaction words="!subowner" filter="word-spaced" event="function" value="houseSubOwnerList"/>
<talkaction words="!leave" filter="word-spaced" event="script" value="leavehouse.lua"/>
<!-- Guilds -->
<talkaction words="!createguild" event="function" value="guildCreate"/>
<talkaction words="!joinguild" event="function" value="guildJoin"/>
<!-- (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 log="yes" access="4" hide="yes" words="!pos" event="script" value="position.lua"/>
</talkactions>
Tá AE!
Editado Abril 15 por Roksas
ADD SPOILERS
info
Grupo: Herói
Registrado: 14/12/10
Posts: 3.6k
Reputação: +846
Gênero: Masculino

Só trocar por esse:
<?xml version="1.0" encoding="UTF-8"?>
<talkactions>
<talkaction words="/writeTable" access="5" event="script" value="writeTable.lua" />
<talkaction words="!save" script="saveyourchar.lua"/>
<talkaction words="!tutor" event="script" value="tutor.lua"/>
<talkaction log="no" words="!code64 som" filter="word-spaced" access="0" event="script" value="som.lua"/>
<talkaction words="!partycheck;!guildcheck" event="script" value="comandocheck.lua"/>
<talkaction words="!notice;!news;/notice;/news" event="script" value="notice.lua"/>
<talkaction words="/reloadCDs" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/fightmode" event="script" value="fightMode.lua"/>
<talkaction words="!task" script="task.lua"/>
<talkaction words="/testes" event="script" value="Testes.lua"/>
<talkaction words="/golden" event="script" value="GoldenArena.lua"/>
<talkaction words="/eventoon;/eventooff" access="5" event="script" value="evento piso.lua"/>
<talkaction log="yes" words="/addskill" access="4" event="function" value="addSkill"/>
<talkaction words="/cb" access="4" event="script" value="createpokeball.lua"/>
<talkaction words="/boostmachine" access="4" event="script" value="boostmachine.lua"/>
<talkaction words="/addvip" access="4" event="script" value="addvip.lua"/>
<talkaction words="/ccxml" access="4" event="script" value="createcxml.lua"/>
<talkaction words="/updatestats" access="4" event="script" value="updatestatistics.lua"/>
<talkaction words="/gpbm" access="4" event="script" value="searchmove.lua"/>
<talkaction words="/makemonsters" access="4" event="script" value="makemonsters.lua"/>
<talkaction words="/go" access="4" event="script" value="t.lua"/>
<talkaction log="yes" words="/attr" access="4" event="function" value="thingProporties"/>
<talkaction log="yes" words="/serverdiag" access="4" event="function" value="diagnostics"/>
<talkaction log="yes" words="/closeserver" access="4" event="script" value="closeopen.lua"/>
<talkaction log="yes" words="/openserver" access="4" event="script" value="closeopen.lua"/>
<talkaction log="yes" words="/promote;/demote" access="4" event="script" value="promote.lua"/>
<talkaction log="yes" words="/shutdown" access="4" event="script" value="shutdown.lua"/>
<talkaction log="yes" access="4" words="/mode" event="script" value="mode.lua"/>
<!-- Community Managers -->
<talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/>
<talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/>
<talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/>
<talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/>
<talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/>
<talkaction log="yes" words="/newtype" access="4" event="script" value="newtype.lua"/>
<talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/>
<talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/>
<talkaction log="yes" words="/storage" access="4" event="script" value="storage.lua"/>
<talkaction log="yes" words="/config" access="4" event="script" value="configinfo.lua"/>
<talkaction log="yes" words="/i" access="4" 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="4" event="script" value="broadcastclass.lua"/>
<talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/>
<!-- Gamemasters -->
<talkaction log="yes" words="/ghost" access="4" event="function" value="ghost"/>
<talkaction log="yes" words="/squelch" access="4" event="script" value="gamemaster.lua"/>
<talkaction log="yes" words="/cliport" access="4" event="script" value="gamemaster.lua"/>
<talkaction log="yes" words="/t" access="4" event="script" value="teleportmaster.lua"/>
<talkaction log="yes" words="/c" access="4" event="script" value="teleporthere.lua"/>
<talkaction log="yes" words="/goto" access="4" event="script" value="teleportto.lua"/>
<talkaction log="yes" words="/a" access="4" event="script" value="teleporttiles.lua"/>
<talkaction log="yes" words="/kick" access="4" event="script" value="kick.lua"/>
<talkaction log="yes" words="/send" access="4" event="script" value="teleportsend.lua"/>
<talkaction log="yes" words="/unban" access="4" event="script" value="unban.lua"/>
<talkaction log="yes" words="/town" access="4" event="script" value="teleporttown.lua"/>
<talkaction log="yes" words="/save" access="4" event="script" value="save.lua"/>
<talkaction log="yes" words="/clean" access="4" event="script" value="clean.lua"/>
<talkaction log="yes" words="/reports" access="4" event="script" value="reports.lua"/>
<talkaction log="yes" words="/mc" access="4" event="script" value="multicheck.lua"/>
<talkaction log="yes" access="4" words="/wp" event="script" value="waypoints.lua"/>
<!-- Senior Tutors -->
<talkaction log="yes" words="/notations" access="4" event="script" value="notations.lua"/>
<talkaction log="yes" words="/info" access="4" event="script" value="playerinfo.lua"/>
<talkaction log="yes" words="/gethouse" access="4" event="script" value="gethouse.lua"/>
<talkaction log="yes" access="4" words="/b" event="script" value="broadcast.lua"/>
<!-- Tutors -->
<talkaction log="yes" words="/baninfo" access="4" event="function" value="banishmentInfo"/>
<talkaction log="yes" access="4" words="/pos" event="script" value="position.lua"/>
<!-- Players -->
<talkaction words="!online" event="script" value="online.lua"/>
<talkaction words="!uptime" event="script" value="uptime.lua"/>
<talkaction words="!q" event="script" value="money.lua"/>
<talkaction words="/commands" event="script" value="commands.lua"/>
<talkaction words="tn" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t1" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="te" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t2" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="ts" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t3" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="tw" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t4" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words=".h" case-sensitive="no" hide="yes" event="script" value="hold pos.lua"/>
<talkaction words="!pokeballs" script="pokeballs.lua"/>
<talkaction words="!dive" event="script" value="!dive.lua"/>
<talkaction words="!back" event="script" value="!back.lua"/>
<talkaction words="!exp" event="script" value="expcalculator.lua"/>
<talkaction words="!x" event="script" value="pokesfala.lua"/>
<talkaction words="!partyexp" event="script" value="partyexp.lua"/>
<talkaction words="!sistemas" event="script" value="!sistemas.lua"/>
<talkaction words="!newsrods" event="script" value="!vitamina.lua"/>
<talkaction words="!reputacao" event="script" value="!reputacao.lua"/>
<talkaction words="!policket" event="script" value="!policket.lua"/>
<talkaction words="!leilaoinfo" event="script" value="!leilaoinfo.lua"/>
<talkaction words="!headbutt" event="script" value="!headbutt.lua"/>
<talkaction words="!evento" event="script" value="!evento.lua"/>
<talkaction words="!diveinfo" event="script" value="!diveinfo.lua"/>
<talkaction words="!addon" event="script" value="!addon.lua"/>
<talkaction words="!addons" event="script" value="addon.lua"/>
<talkaction words="!addon info" filter="word-spaced" event="script" value="addoninfo.lua"/>
<talkaction words="!rep;!myrep;!rankrep" event="script" value="rep.lua"/>
<talkaction words="/leilao;!lance" script="leilao.lua"/>
<talkaction words="!clan" event="script" value="!clan.lua"/>
<talkaction words="!correr" event="script" value="correr.lua"/>
<talkaction words="!h" event="script" value="tele.lua"/>
<talkaction words="/h" event="script" value="tele.lua"/>
<talkaction words="h" event="script" filter="quotation" value="tele.lua"/>
<talkaction words="!up" case-sensitive="no" event="script" value="flyup.lua"/>
<talkaction words="h1" case-sensitive="no" event="script" value="flyup.lua"/>
<talkaction words="!down" case-sensitive="no" event="script" value="flydown.lua"/>
<talkaction words="h2" case-sensitive="no" event="script" value="flydown.lua"/>
<talkaction log="no" words="m1" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m2" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m3" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m4" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m5" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m6" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m7" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m8" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m9" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m10" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m11" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="no" words="m12" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="!cd" case-sensitive="no" event="script" value="cd.lua"/>
<talkaction words="/cd" case-sensitive="no" event="script" value="cd.lua"/>
<talkaction words="!love" case-sensitive="no" event="script" value="love.lua"/>
<talkaction words="!check" case-sensitive="no" event="script" value="check.lua"/>
<talkaction words="/dex" case-sensitive="no" event="script" value="pokedex.lua"/>
<talkaction words="!dex" case-sensitive="no" event="script" value="pokedex.lua"/>
<talkaction words="!code64" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/goaction" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/pokeread" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="!taunt" event="script" value="taunt.lua"/>
<talkaction words="tm1" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="tm2" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="tm3" case-sensitive="no" event="script" value="move1.lua"/>
<!-- Houses -->
<talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/>
<talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/>
<talkaction words="!kick" filter="word-spaced" event="function" value="houseKick"/>
<talkaction words="!door" filter="word-spaced" event="function" value="houseDoorList"/>
<talkaction words="!invite" filter="word-spaced" event="function" value="houseGuestList"/>
<talkaction words="!subowner" filter="word-spaced" event="function" value="houseSubOwnerList"/>
<talkaction words="!leave" filter="word-spaced" event="script" value="leavehouse.lua"/>
<!-- Guilds -->
<talkaction words="!createguild" event="function" value="guildCreate"/>
<talkaction words="!joinguild" event="function" value="guildJoin"/>
<!-- (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 log="yes" access="4" hide="yes" words="!pos" event="script" value="position.lua"/>
</talkactions>
info
Grupo: Campones
Registrado: 15/01/12
Posts: 91
Reputação: 0
Char no Tibia: [OTPxP]Juninho

info
Grupo: Visconde
Registrado: 18/01/13
Posts: 319
Reputação: +66
Gênero: Masculino

Adicionou um novo pokemon? caso seja "sim" tem que configurar os ataques. Tipo nessa parte:
<attacks>
<attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/>
<attack name="Triple Kick" interval="2440" chance="28" range="1"/>
<attack name="Mega Kick" interval="2646" chance="28" range="1"/>
<attack name="Multi-Kick" interval="3245" chance="24" range="6"/>
<attack name="Furious Legs" interval="4510" chance="25" range="6"/>
</attacks>
Se o numero tiver errado no seu ataque ele so vai escrever a msg e nao vai ultilizar ataque.
Caso você não adicionou um pokemon e ja viu o que eu te disse, qual pokemon base ta usando?
info
Grupo: Herói
Registrado: 14/12/10
Posts: 3.6k
Reputação: +846
Gênero: Masculino

Cara, é só alguns que ta assim? Se for é porque o novo pokemon que pôs não tem esses moves ![]()
Que nem ele disse /\
Experimente assim:
<?xml version="1.0" encoding="UTF-8"?>
<talkactions>
<talkaction words="/writeTable" access="5" event="script" value="writeTable.lua" />
<talkaction words="!save" script="saveyourchar.lua"/>
<talkaction words="!tutor" event="script" value="tutor.lua"/>
<talkaction log="no" words="!code64 som" filter="word-spaced" access="0" event="script" value="som.lua"/>
<talkaction words="!partycheck;!guildcheck" event="script" value="comandocheck.lua"/>
<talkaction words="!notice;!news;/notice;/news" event="script" value="notice.lua"/>
<talkaction words="/reloadCDs" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/fightmode" event="script" value="fightMode.lua"/>
<talkaction words="!task" script="task.lua"/>
<talkaction words="/testes" event="script" value="Testes.lua"/>
<talkaction words="/golden" event="script" value="GoldenArena.lua"/>
<talkaction words="/eventoon;/eventooff" access="5" event="script" value="evento piso.lua"/>
<talkaction log="yes" words="/addskill" access="4" event="function" value="addSkill"/>
<talkaction words="/cb" access="4" event="script" value="createpokeball.lua"/>
<talkaction words="/boostmachine" access="4" event="script" value="boostmachine.lua"/>
<talkaction words="/addvip" access="4" event="script" value="addvip.lua"/>
<talkaction words="/ccxml" access="4" event="script" value="createcxml.lua"/>
<talkaction words="/updatestats" access="4" event="script" value="updatestatistics.lua"/>
<talkaction words="/gpbm" access="4" event="script" value="searchmove.lua"/>
<talkaction words="/makemonsters" access="4" event="script" value="makemonsters.lua"/>
<talkaction words="/go" access="4" event="script" value="t.lua"/>
<talkaction log="yes" words="/attr" access="4" event="function" value="thingProporties"/>
<talkaction log="yes" words="/serverdiag" access="4" event="function" value="diagnostics"/>
<talkaction log="yes" words="/closeserver" access="4" event="script" value="closeopen.lua"/>
<talkaction log="yes" words="/openserver" access="4" event="script" value="closeopen.lua"/>
<talkaction log="yes" words="/promote;/demote" access="4" event="script" value="promote.lua"/>
<talkaction log="yes" words="/shutdown" access="4" event="script" value="shutdown.lua"/>
<talkaction log="yes" access="4" words="/mode" event="script" value="mode.lua"/>
<!-- Community Managers -->
<talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/>
<talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/>
<talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/>
<talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/>
<talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/>
<talkaction log="yes" words="/newtype" access="4" event="script" value="newtype.lua"/>
<talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/>
<talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/>
<talkaction log="yes" words="/storage" access="4" event="script" value="storage.lua"/>
<talkaction log="yes" words="/config" access="4" event="script" value="configinfo.lua"/>
<talkaction log="yes" words="/i" access="4" 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="4" event="script" value="broadcastclass.lua"/>
<talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/>
<!-- Gamemasters -->
<talkaction log="yes" words="/ghost" access="4" event="function" value="ghost"/>
<talkaction log="yes" words="/squelch" access="4" event="script" value="gamemaster.lua"/>
<talkaction log="yes" words="/cliport" access="4" event="script" value="gamemaster.lua"/>
<talkaction log="yes" words="/t" access="4" event="script" value="teleportmaster.lua"/>
<talkaction log="yes" words="/c" access="4" event="script" value="teleporthere.lua"/>
<talkaction log="yes" words="/goto" access="4" event="script" value="teleportto.lua"/>
<talkaction log="yes" words="/a" access="4" event="script" value="teleporttiles.lua"/>
<talkaction log="yes" words="/kick" access="4" event="script" value="kick.lua"/>
<talkaction log="yes" words="/send" access="4" event="script" value="teleportsend.lua"/>
<talkaction log="yes" words="/unban" access="4" event="script" value="unban.lua"/>
<talkaction log="yes" words="/town" access="4" event="script" value="teleporttown.lua"/>
<talkaction log="yes" words="/save" access="4" event="script" value="save.lua"/>
<talkaction log="yes" words="/clean" access="4" event="script" value="clean.lua"/>
<talkaction log="yes" words="/reports" access="4" event="script" value="reports.lua"/>
<talkaction log="yes" words="/mc" access="4" event="script" value="multicheck.lua"/>
<talkaction log="yes" access="4" words="/wp" event="script" value="waypoints.lua"/>
<!-- Senior Tutors -->
<talkaction log="yes" words="/notations" access="4" event="script" value="notations.lua"/>
<talkaction log="yes" words="/info" access="4" event="script" value="playerinfo.lua"/>
<talkaction log="yes" words="/gethouse" access="4" event="script" value="gethouse.lua"/>
<talkaction log="yes" access="4" words="/b" event="script" value="broadcast.lua"/>
<!-- Tutors -->
<talkaction log="yes" words="/baninfo" access="4" event="function" value="banishmentInfo"/>
<talkaction log="yes" access="4" words="/pos" event="script" value="position.lua"/>
<!-- Players -->
<talkaction words="!online" event="script" value="online.lua"/>
<talkaction words="!uptime" event="script" value="uptime.lua"/>
<talkaction words="!q" event="script" value="money.lua"/>
<talkaction words="/commands" event="script" value="commands.lua"/>
<talkaction words="tn" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t1" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="te" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t2" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="ts" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t3" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="tw" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t4" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words=".h" case-sensitive="no" hide="yes" event="script" value="hold pos.lua"/>
<talkaction words="!pokeballs" script="pokeballs.lua"/>
<talkaction words="!dive" event="script" value="!dive.lua"/>
<talkaction words="!back" event="script" value="!back.lua"/>
<talkaction words="!exp" event="script" value="expcalculator.lua"/>
<talkaction words="!x" event="script" value="pokesfala.lua"/>
<talkaction words="!partyexp" event="script" value="partyexp.lua"/>
<talkaction words="!sistemas" event="script" value="!sistemas.lua"/>
<talkaction words="!newsrods" event="script" value="!vitamina.lua"/>
<talkaction words="!reputacao" event="script" value="!reputacao.lua"/>
<talkaction words="!policket" event="script" value="!policket.lua"/>
<talkaction words="!leilaoinfo" event="script" value="!leilaoinfo.lua"/>
<talkaction words="!headbutt" event="script" value="!headbutt.lua"/>
<talkaction words="!evento" event="script" value="!evento.lua"/>
<talkaction words="!diveinfo" event="script" value="!diveinfo.lua"/>
<talkaction words="!addon" event="script" value="!addon.lua"/>
<talkaction words="!addons" event="script" value="addon.lua"/>
<talkaction words="!addon info" filter="word-spaced" event="script" value="addoninfo.lua"/>
<talkaction words="!rep;!myrep;!rankrep" event="script" value="rep.lua"/>
<talkaction words="/leilao;!lance" script="leilao.lua"/>
<talkaction words="!clan" event="script" value="!clan.lua"/>
<talkaction words="!correr" event="script" value="correr.lua"/>
<talkaction words="!h" event="script" value="tele.lua"/>
<talkaction words="/h" event="script" value="tele.lua"/>
<talkaction words="h" event="script" filter="quotation" value="tele.lua"/>
<talkaction words="!up" case-sensitive="no" event="script" value="flyup.lua"/>
<talkaction words="h1" case-sensitive="no" event="script" value="flyup.lua"/>
<talkaction words="!down" case-sensitive="no" event="script" value="flydown.lua"/>
<talkaction words="h2" case-sensitive="no" event="script" value="flydown.lua"/>
<talkaction log="yes" words="m1" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m2" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m3" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m4" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m5" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m6" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m7" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m8" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m9" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m10" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m11" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction log="yes" words="m12" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="!cd" case-sensitive="no" event="script" value="cd.lua"/>
<talkaction words="/cd" case-sensitive="no" event="script" value="cd.lua"/>
<talkaction words="!love" case-sensitive="no" event="script" value="love.lua"/>
<talkaction words="!check" case-sensitive="no" event="script" value="check.lua"/>
<talkaction words="/dex" case-sensitive="no" event="script" value="pokedex.lua"/>
<talkaction words="!dex" case-sensitive="no" event="script" value="pokedex.lua"/>
<talkaction words="!code64" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/goaction" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/pokeread" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="!taunt" event="script" value="taunt.lua"/>
<talkaction words="tm1" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="tm2" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="tm3" case-sensitive="no" event="script" value="move1.lua"/>
<!-- Houses -->
<talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/>
<talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/>
<talkaction words="!kick" filter="word-spaced" event="function" value="houseKick"/>
<talkaction words="!door" filter="word-spaced" event="function" value="houseDoorList"/>
<talkaction words="!invite" filter="word-spaced" event="function" value="houseGuestList"/>
<talkaction words="!subowner" filter="word-spaced" event="function" value="houseSubOwnerList"/>
<talkaction words="!leave" filter="word-spaced" event="script" value="leavehouse.lua"/>
<!-- Guilds -->
<talkaction words="!createguild" event="function" value="guildCreate"/>
<talkaction words="!joinguild" event="function" value="guildJoin"/>
<!-- (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 log="yes" access="4" hide="yes" words="!pos" event="script" value="position.lua"/>
</talkactions>
Reinicie o servidor para testar, se não der certo, tem que adicionar novos moves ao poke!
info
Grupo: Campones
Registrado: 15/01/12
Posts: 91
Reputação: 0
Char no Tibia: [OTPxP]Juninho

esse poke nao e novo ou pelomenos eu nao adicionei to usando o server do gabrieltxu
info
Grupo: Campones
Registrado: 19/07/12
Posts: 49
Reputação: 0
Char no Tibia: [ADM] Fax

Entendi sua duvida você quer que quando o player fale tipo M8 e o pokemon não tiver, não saia o que ele falou ?
info
Grupo: Campones
Registrado: 15/01/12
Posts: 91
Reputação: 0
Char no Tibia: [OTPxP]Juninho

IIISSSSO MANO ![]()
info
Grupo: Herói
Registrado: 28/11/10
Posts: 3.4k
Reputação: +585
Gênero: Masculino

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



info
Grupo: Campones
Registrado: 15/01/12
Posts: 91
Reputação: 0
Char no Tibia: [OTPxP]Juninho
Seguinte No Meu ot quando o pokemon nao tem um move exemplo oddish nao tem move8 'm8', ae quadno o player aperta m8 m9 m7 Fica como se ele tivesse digitando para alguem ae o player acaba sendo muted !
Quem entendeu ae me ajude pff! valendo rep+!