17.01.2012, 12:59
I create a clans system in SQLite, when a clan have one member/leader and hi leave the clan, the clan automatic is deleting from database, and here is the bug: if i created the first clan, with "Key" = 1 and after i leave him, the other players can't create more clans because they don't register in database. I am sure this bug si caused by "Key" on clans, because if exists 3 ( Clan1 = Key = 1 | Clan2 = Key = 2 | Clan3 = Key = 3 ) clans in DB and i leave the first with "Key" = 1 on other 2 clans don't change the "Key" in database 8-| ... and this thing i don't know how to do ...