You'll see birds, boxes, extra spaces, mixes and different things that you royal match hack should watch out for. Change into a joyful and productive player with the assistance you with canning get from this contraption.There is no doubt that you'll like this new Royal Match Hack Cheat since the only one adds all of the Coins you are searching for.
- Fórum
- OTServ
- Recursos
- Scripting
- Actions e Talkactions
- System de montarias no 8.6
info
Grupo: Campones
Registrado: 16/04/22
Posts: 1
Reputação: 0

Estou com o mesmo problema!! alguém ajuda!!!
Em 28/03/2021 em 04:30, thokito disse:fala galera blz? consegui trazer tudo do 8.7 pro meu ot 8.6.
estou usando uma script de mount doll
aqui está o script.lua
local montConfig =
{
['widow queen'] = {item = xx, id = 1},
['racing bird'] = {item = xx, id = 2},
['war bear'] = {item = xx, id = 3},
['black sheep'] = {item = xx, id = 4},
['midnight panther'] = {item = xx, id = 5},
['draptor'] = {item = xx, id = 6},
['titanica'] = {item = xx, id = 7},
['tin lizard'] = {item = xx, id = 8},
['blazebringer'] = {item = xx, id = 9},
['rapid boar'] = {item = xx, id = 10},
['stampor'] = {item = xx, id = 11},
['undead cavebear'] = {item = xx, id = 12}
}
local xx = 3954 --- id do item
function onSay(cid, words, param)
if(param == '') then
local str = ""
for name, options in pairs(montConfig) do
str = str .. "\n" .. name
end
doPlayerPopupFYI(cid, "List of mounts:\n\n" .. str)return true
end
local mount = montConfig[param]if(mount ~= nil) then
if doPlayerRemoveItem(cid,mount.item,1) then
doPlayerSendCancel(cid, "Sorry, you dont have a mont doll for buy this mont " .. param .. "")
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
return true
end
player:addMount(cid, mountid)doPlayerRemoveItem(cid, xx,1)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
else
doPlayerSendCancel(cid, "The mount not found in list. Please use '!mount' to see the mounts list.")
end
return true
end
o erro é esse . Ah, e falando em coisa boa, se quiser dar uma relaxada depois de resolver o script, dá uma olhada na Mostbet — tem bônus legais pra começar a jogar, apostas variadas e um site confiável: https://mostbet1.com.pt/promo/bonus/. Vale a pena conferir!
27/3/2021 22:23:33] [Error - TalkAction Interface]
[27/3/2021 22:23:33] data/talkactions/scripts/mounts.lua:onSay
[27/3/2021 22:23:33] Description:
[27/3/2021 22:23:33] data/talkactions/scripts/mounts.lua:68: attempt to index global 'getplayer' (a nil value)
[27/3/2021 22:23:33] stack traceback:
[27/3/2021 22:23:33] data/talkactions/scripts/mounts.lua:68: in function <data/talkactions/scripts/mounts.lua:33>
ALGUEM PODE ME AJUDAR?!
Fala! Pelo erro que deu, parece que você está tentando usar getplayer (com "p" minúsculo) como uma função ou variável, mas ela não existe ou está com o nome errado.
No seu script, na linha 68, você tem algo como getplayer sendo chamado, mas o correto normalmente é getPlayerByName ou getCreatureByName, ou então você deveria usar o próprio cid que já representa o jogador que executou o comando.
Além disso, no trecho que postou, tem vários erros:
-
A variável
xxestá definida depois domontConfig, mas dentro domontConfigvocê usaxxcomo valor deitem. Isso vai dar nil. -
No if para remover o item, você faz
if doPlayerRemoveItem(cid,mount.item,1) then, mas essa função retorna true se removeu o item, então o erro na mensagem está invertido. -
O
player:addMount(cid, mountid)está errado, deveria ser algo comodoPlayerAddMount(cid, mount.id)(dependendo da API do seu OT).



info
Grupo: Campones
Registrado: 19/12/11
Posts: 24
Reputação: 0
Char no Tibia: Infectroz
fala galera blz? consegui trazer tudo do 8.7 pro meu ot 8.6.
estou usando uma script de mount doll
aqui está o script.lua
local montConfig =
{
['widow queen'] = {item = xx, id = 1},
['racing bird'] = {item = xx, id = 2},
['war bear'] = {item = xx, id = 3},
['black sheep'] = {item = xx, id = 4},
['midnight panther'] = {item = xx, id = 5},
['draptor'] = {item = xx, id = 6},
['titanica'] = {item = xx, id = 7},
['tin lizard'] = {item = xx, id = 8},
['blazebringer'] = {item = xx, id = 9},
['rapid boar'] = {item = xx, id = 10},
['stampor'] = {item = xx, id = 11},
['undead cavebear'] = {item = xx, id = 12}
}
local xx = 3954 --- id do item
function onSay(cid, words, param)
if(param == '') then
local str = ""
for name, options in pairs(montConfig) do
str = str .. "\n" .. name
end
doPlayerPopupFYI(cid, "List of mounts:\n\n" .. str)
return true
end
local mount = montConfig[param]
if(mount ~= nil) then
if doPlayerRemoveItem(cid,mount.item,1) then
doPlayerSendCancel(cid, "Sorry, you dont have a mont doll for buy this mont " .. param .. "")
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
return true
end
player:addMount(cid, mountid)
doPlayerRemoveItem(cid, xx,1)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
else
doPlayerSendCancel(cid, "The mount not found in list. Please use '!mount' to see the mounts list.")
end
return true
end
o erro é esse
27/3/2021 22:23:33] [Error - TalkAction Interface]
[27/3/2021 22:23:33] data/talkactions/scripts/mounts.lua:onSay
[27/3/2021 22:23:33] Description:
[27/3/2021 22:23:33] data/talkactions/scripts/mounts.lua:68: attempt to index global 'getplayer' (a nil value)
[27/3/2021 22:23:33] stack traceback:
[27/3/2021 22:23:33] data/talkactions/scripts/mounts.lua:68: in function <data/talkactions/scripts/mounts.lua:33>
ALGUEM PODE ME AJUDAR?!