Jump to content

TFS 1.1 (Cast System)


Administrador

Recommended Posts

  • Administrador

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

Edited by Drazyn
Link to comment
Share on other sites

×
×
  • Create New...