System de montarias no 8.6

thokito
em Actions e Talkactions

thokito

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 19/12/11Posts: 24Char 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?!

royalmatchhacks

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 16/04/22Posts: 1

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.

kelsen

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 25/02/07Posts: 3

Estou com o mesmo problema!! alguém ajuda!!!