Pro Warbringer
Retired with developing
masz bump
I fixed those errors and the server is running well. But I still have a problem, whenever I use sql and try to create a character with nicaw acc (v3.20) I get this errors:
Player::make() Cannot insert attributes:
Error #1452
INSERT INTO `players` (`id`,`name`,`account_id`,`group_id`,`rank_id`,`vocation`,`sex`,`level`,`experience`,`health`,`healthmax`,`looktype`,`maglevel`,`mana`,`manamax`,`cap`,`town_id`,`posx`,`posy`,`posz`,`conditions`) VALUES (NULL,'Milanasd',351916,1,0,1,1,8,4200,185,185,130,0,40,40,470,1,32732,31634,7,'');
Cannot add or update a child row: a foreign key constraint fails (`otserv`.`players`, CONSTRAINT `players_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`))
player.php on line: 192
Script was terminated because something unexpected happened. You can report this, if you think it's a bug.
I use schema.mysql as database, I think I've made every step correctly so I don't understand what's the problem. Can anyone help me?