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

[10.77] TFS 1.1 - Cast System

can any open make video how to make cast system or give me link to download map with cast system and my will know how to make it
 
So i have tried adding

Code:
CREATE TABLE IF NOT EXISTS `live_casts` (
`player_id` int(11) NOT NULL,
`cast_name` varchar(255) NOT NULL,
`password` boolean NOT NULL DEFAULT false,
`description` varchar(255),
`spectators` smallint(5) DEFAULT 0,
UNIQUE KEY `player_id_2` (`player_id`),
FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE
) ENGINE=InnoDB;

and i get this error when trying to enter cast on another client ;d

EbDKhaR.png
 
So i have tried adding

Code:
CREATE TABLE IF NOT EXISTS `live_casts` (
`player_id` int(11) NOT NULL,
`cast_name` varchar(255) NOT NULL,
`password` boolean NOT NULL DEFAULT false,
`description` varchar(255),
`spectators` smallint(5) DEFAULT 0,
UNIQUE KEY `player_id_2` (`player_id`),
FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE
) ENGINE=InnoDB;

and i get this error when trying to enter cast on another client ;d

EbDKhaR.png
So error is gone but now it doesnt give error, i press enter on client click on character name and just keeps loading ;s
 
Error: unable to load talk actions!
Error: failed to load script systems
no services running. the server is not online

"shutting down"
 
Code:
>> Loading script systems

Lua Script Error: [Main Interface]
data/global.lua
data/lib/compat/compat.lua:22: attempt to perform arithmetic on global 'CREATURETYPE_PLAYER' (a nil value)
stack traceback:
        [C]: in function '__add'
        data/lib/compat/compat.lua:22: in main chunk
        [C]: in function 'dofile'
        data/lib/lib.lua:5: in main chunk
        [C]: in function 'dofile'
        data/global.lua:1: in main chunk
[Warning - ScriptingManager::loadScriptSystems] Can not load data/global.lua

Iam getting this wierd error with I dont understand :/
 
Back
Top