starahmed57
Banned User
- Joined
- Aug 6, 2015
- Messages
- 41
- Reaction score
- 3
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
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;
So error is gone but now it doesnt give error, i press enter on client click on character name and just keeps loading ;sSo 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
![]()
>> 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