Zool
Banned User
the problem created by cleaning players_skills.
Now all new players have skills 0 how fix it?
Rep ++ ofc
Now all new players have skills 0 how fix it?
Rep ++ ofc
Last edited:
CREATE TABLE `player_skills`
(
`player_id` INT NOT NULL DEFAULT 0,
`skillid` TINYINT(2) NOT NULL DEFAULT 0,
`value` INT UNSIGNED NOT NULL DEFAULT 0,
`count` INT UNSIGNED NOT NULL DEFAULT 0,
KEY (`player_id`), UNIQUE (`player_id`, `skillid`),
FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE
) ENGINE = InnoDB;
samples ?
or you can make start skill on login