You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue on my server when a player disbands their guild on the website, it does in fact delete the guild from the website, however it remains on the database. This prevents the same player from creating another guild.
Throws this error:
string(105) "INSERT INTO guilds (name, ownerid, creationdata, motd) VALUES ('test', '91', '1629862047', '');"
(query - SQL error)
Type: voidQuery (voidQuery is used for update, insert or delete from database)
Duplicate entry '91' for key 'guilds_owner_unique'
Or if its the same guild name it will say guild with that name already exists
I think this is the code that does not properly work in guilds.php
if (!$online) {
// Then remove guild rank from every player.
if ($config['ServerEngine'] !== 'TFS_10') foreach ($members as $member) guild_player_leave(user_character_id($member['name']));
else foreach ($members as $member) guild_player_leave_10(user_character_id($member['name']));
I have an issue on my server when a player disbands their guild on the website, it does in fact delete the guild from the website, however it remains on the database. This prevents the same player from creating another guild.
Throws this error:
string(105) "INSERT INTO
guilds
(name
,ownerid
,creationdata
,motd
) VALUES ('test', '91', '1629862047', '');"(query - SQL error)
Type: voidQuery (voidQuery is used for update, insert or delete from database)
Duplicate entry '91' for key 'guilds_owner_unique'
Or if its the same guild name it will say guild with that name already exists
I think this is the code that does not properly work in guilds.php
The text was updated successfully, but these errors were encountered: