AD
otserv 10.x

TFS 1.1 (Cast System)

Por Administrador, 11 de jul. de 2016 em 10.X

tibia
ot
server
open source
1
7.6k
AdministradorA
11 de julho de 2016 às 22:19

TFS 1.1 (Cast System) 10.77


Downloads:
TFS 1.1 (v 10.77) -
forgottenserver-master.zipRepositório
Executável 32 bits -
executavelx86.zip , Scan
Executável 64 bits -
executavelx64.zip , Scan

 

Cast System:
Execute query na DB

Citar

CREATETABLEIFNOTEXISTS`live_casts`(`player_id` int(11)NOTNULL,`cast_name` varchar(255)NOTNULL,`password` boolean NOTNULLDEFAULT false,`description` varchar(255),`spectators` smallint(5)DEFAULT0,UNIQUEKEY`player_id_2`(`player_id`),FOREIGNKEY(`player_id`)REFERENCES`players`(`id`)ONDELETECASCADE) ENGINE=InnoDB;



data/talkactions/scripts adicionar arquivos:

start_cast.lua

 

function onSay(cid, words, param)local player =Player(cid)if player:startLiveCast(param)thenplayer:sendTextMessage(MESSAGE_INFO_DESCR,"You have started casting your gameplay.")elseplayer:sendCancelMessage("You're already casting your gameplay.")endreturnfalseend



stop_cast.lua

function onSay(cid, words, param)local player =Player(cid)if player:stopLiveCast(param)thenplayer:sendTextMessage(MESSAGE_INFO_DESCR,"You have stopped casting your gameplay.")elseplayer:sendCancelMessage("You're not casting your gameplay.")endreturnfalseend



data/talkactions/talkactions.xml

<talkactionwords="!cast"separator=" "script="start_cast.lua"/><talkactionwords="!stopcast"script="stop_cast.lua"/>



OBS:
Você precisa abrir portas 7173

Créditos:
marksamman - TFS
djarek - Cast System
Bruno Minervino - Atualizações

forgottenserver-master.zip

executavelx64.zip

executavelx86.zip

Editado Setembro 20 por Drazyn