All:
For error 11 have a look into claninsert.aspx, I have found that the insert into UL was missing the MIDX column and insert into CL was missing IDX column,
If you make a select MAX(IDX/MIDX) from UL/CL
IDX/MIDX = IDX/MIDX + 1
section in the script just above the inserts (respective for each) it will fix these issues.
For adding clan members you need to find the same with MIDX to UL in claninsertclanwon.asp
This one needs the same but it was a bit more tricky with asp vs aspx and the way they were written.
I will upload script segments later.
Error 65 when clan is created means that you either dont have the 500k for the clan OR (most likely) the clan image file isnt there.
Pre make the clan image bmp's (clancontent folder) ie 1000000001-1000000100 for a starter.
I am going to work on making the claninsert.aspx script generate the image off the bat.