For our period, see my translation of Von(or de) Marten on the Laws of War in the research section. Von Marten did admit that one proof of the existence of Laws of War was that everyone complained their opponents were breaking them!
Since there was no international court the Laws were toothless but were used to justify retaliation as often as not. still, the more conscientious generals tried to keep within them.
Susan