• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved TFS 1.1 Taming Issue! 10.77

Imfreezing

Krossa Kapitalismen
Joined
Jun 7, 2012
Messages
1,009
Solutions
1
Reaction score
88
Location
Edron
Hello Otland, when someone tries to tame in my server it doesn't make the sounds it should, Like for example

the wild horse oat your crap and he still doesn't get catched or what it says :P

I get this error
VAdw-v4SD.png

script
http://pastebin.com/j5kCfgPd
Thanks!
 
doCreatureSayWithRadius does not exist.
replace
Code:
doCreatureSayWithRadius(player, action.text, TALKTYPE_MONSTER_SAY, 2, 2)
with
Code:
doCreatureSay(player, action.text, TALKTYPE_MONSTER_SAY)

and
Code:
doCreatureSayWithRadius(player, mount.success.text, TALKTYPE_MONSTER_SAY, 2, 2)
with
Code:
doCreatureSay(player, mount.success.text, TALKTYPE_MONSTER_SAY)
 
Your distro doesn't contain a function called doCreatureSayWithRadius, so add this to the script and see if you still get an error
(Please note I am not familiar with the syntax of this distro)
Code:
function doCreatureSayWithRadius(cid, text, type, radiusx, radiusy, position)
    position = position or getThingPos(cid)
    local v = getSpectators(position, radiusx, radiusy, false) or {}
    for i = 1, #v do
        if v[i]:isPlayer() then
            doCreatureSay(cid, text, type, false, v[i], position)
        end
    end
end
source : https://otland.net/threads/docreaturesaywithradius.120755/
 
doCreatureSayWithRadius does not exist.
replace
Code:
doCreatureSayWithRadius(player, action.text, TALKTYPE_MONSTER_SAY, 2, 2)
with
Code:
doCreatureSay(player, action.text, TALKTYPE_MONSTER_SAY)

and
Code:
doCreatureSayWithRadius(player, mount.success.text, TALKTYPE_MONSTER_SAY, 2, 2)
with
Code:
doCreatureSay(player, mount.success.text, TALKTYPE_MONSTER_SAY)

Thank you :)! you the boss Razor
 
Back
Top