Guild war < have Error in mysql
When i use /war invite,
mysql_real_query(): INSERT INTO
[31/5/2020 2:18:18] > Broadcasted message: "Tanzo has invited Watch Os to war till 100 frags.".
When i use /war invite,
mysql_real_query(): INSERT INTO
guild_wars (guild_id, enemy_id, begin, end, frags, payment) VALUES (2, 3, 1590884298, 0, 100, 0); - MYSQL ERROR: Cannot add or update a child row: a foreign key constraint fails (otserv.guild_wars, CONSTRAINT guild1_ibfk_1 FOREIGN KEY (guild1) REFERENCES guilds (id) ON DELETE CASCADE) (1452)[31/5/2020 2:18:18] > Broadcasted message: "Tanzo has invited Watch Os to war till 100 frags.".


