If you liked Royal Flash (The Flashman Papers) by George MacDonald Fraser,
here are some books like this:

Click on a title, author name or category to see similar books