Ceejzor
Murica Born N Raised!
I've tried to import sample character's but it's not working can someone help me?
SQL query:
INSERT INTO `players` ( `id` , `name` , `world_id` , `group_id` , `account_id` , `level` , `vocation` , `health` , `healthmax` , `experience` , `lookbody` , `lookfeet` , `lookhead` , `looklegs` , `looktype` , `lookaddons` , `maglevel` , `mana` , `manamax` , `manaspent` , `soul` , `town_id` , `posx` , `posy` , `posz` , `conditions` , `cap` , `sex` , `lastlogin` , `lastip` , `save` , `skull` , `skulltime` , `rank_id` , `guildnick` , `lastlogout` , `blessings` , `balance` , `stamina` , `direction` , `loss_experience` , `loss_mana` , `loss_skills` , `loss_containers` , `loss_items` , `premend` , `online` , `marriage` , `promotion` , `deleted` , `description` , `created` , `nick_verify` , `old_name` , `hide_char` , `comment` )
VALUES (
NULL , "Sorcerer Sample", 0, 1, 1, 1, 1, 150, 150, 0, 0, 0, 0, 0, 110, 0, 0, 0, 0, 0, 0, 0, 50, 50, 7, "", 400, 0, 0, 0, 0, 0, 0, 0, "", 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, "", 0, 0, "", 0, ""
);
MySQL said:
#1452 - Cannot add or update a child row: a foreign key constraint fails (`new2`.`players`, CONSTRAINT `players_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE)