Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

zombiekillerdave666

i keep getting this problem #1062 - Duplicate entry 'Land_HBarrier_large' for key 'uq1_building'

Recommended Posts

If you have access to your database navigate to the table 'building' and type this query: SELECT * FROM `building` WHERE `class_name` = 'Land_HBarrier_large'; there should be more then one result. If you can modify this table remove all indexes for this table, you can do this by executing this query "DROP INDEX uq1_building ON `building`" it is a useless index and wont cause any harm when removed.

Rgds

Steak.

Share this post


Link to post
Share on other sites

#1062 - Duplicate entry 'Land_Misc_deerstand' for key 'uq1_building'

can anyone help me and talk me through how to fix it thank you

Edited by Inception.
Font fix

Share this post


Link to post
Share on other sites

Check your file integrity? There's a key-item inconsistency, could be a .pbo registry error. Or I could be blowing smoke and not know what the hell I'm talking about. I never got custom crap to work, besides 3 AI A10s that fly around bombing Cherno.

SxyClutch,

I'm not familiar with custom servers, but I am familiar with SQL. Basically, whatever database file is being uploaded to, has a primary key defined for the field "uq1_building". Any data stored in a primary key field must be unique, so you cannot have duplicates. It would seem that the table your data is being inserted into, already has an entry for 'Land_Mil_Barracks_i_EP1'

Do you see any entries in your BEIDI file for that? If so, can you remove it?

Regards,

Splinter

So it's a mySql error not a .bikey error. So I was blowing smoke.

Your game doesn't like your tables being edited with new buildings.

Scrap your custom mission file, youtube it, and try again.

Share this post


Link to post
Share on other sites

×