• 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!

Lua TFS 1.2 Cast system error

moudy

New Member
Joined
Feb 18, 2015
Messages
40
Reaction score
3
Hello when you type commands! It crashes cast me such a mistake and that the system does not work what could be the cause.
http://s2.ifotos.pl/img/castpng_sarehne.png

castpng_sarehra.png
 
Can you tell us which cast system do you use?
Maybe your using Djarek's cast system for TFS 1.2, try this lua:
cast.lua
Code:
function onSay(player, words, param)
   if player:startLiveCast(param) then
     player:sendTextMessage(MESSAGE_INFO_DESCR, "You have started casting your gameplay.")
   else
     player:sendCancelMessage("You're already casting your gameplay.")
   end
   return false
end

cast_stop.lua
Code:
function onSay(player, words, param)
   if player:stopLiveCast(param) then
     player:sendTextMessage(MESSAGE_INFO_DESCR, "You have stopped casting your gameplay.")
   else
     player:sendCancelMessage("You're not casting your gameplay.")
   end
   return false
end

Are you sure your sources do have cast system implented?
 
I'm not sure just because it's from the finished package to compile yourself a forum wrote that he has. but I think in the source c ++ from what I notice at all that there is. Someone put me in error. Because even I do not have talkactioons / scripts cast_on and cast_stop.lua
I have only file cast.lua which is DialogBox
I looked through now a source of c ++ and actually cast system is not integrated

I need to recompile
well it was noticed because the looking new Lua with cast_on

thanks for help
 
Back
Top