TFS 1.1 (Cast System)

Administrador
em 10.X

Administrador

xTibia 2017
avatar
Administrador
Administrador

INFOS

Grupo: AdministradorRegistrado: 09/07/05Posts: 5780Gênero: Outro

TFS 1.1 (Cast System) 10.77


Downloads:
TFS 1.1 (v 10.77) -

forgottenserver-master.zip
2.97 MB207 downloads
Repositório
Executável 32 bits -
executavelx86.zip
1.95 MB61 downloads
 , Scan
Executável 64 bits -
executavelx64.zip
2.18 MB155 downloads
 , 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

DICA

Utilize botão @UP, no início de seu tópico, para atualizar o destaque de seu tópico em "Tópicos Recentes" na index, fará com que mais pessoas o vejam.