25.12.2017, 14:31
Do you see the print in your server log?
Can you check your MySQL log to see if there are any errors when you execute the query.
Код:
printf("something is not ok - turf = %d, warid = %d (%d, %d)", i, warid, group1, group2);