Then there's another thing. I had hoped you might have peddled that opium through the islands, which is safer and more profitable. But with this three-month limit, you must make tracks for Honolulu straight, and communicate by steamer. I'll try to put up something for you there; I'll have a man spoken to who's posted on that line of biz. Keep a bright lookout for him as soon's you make the islands; for it's on the cards he might pick you up at sea in a whaleboat or a steam-launch, and bring the dollars right on board.” It shows how much I had suffered morally during my sojourn in San Francisco, that even now when our fortunes trembled in the balance, I should have consented to become a smuggler—and (of all things) a smuggler of opium. Yet I did, and that in silence; without a protest, not without a twinge.
(From The Wrecker by R. L. Stevenson and L. Osbourne, chapter X. passage 154/155, published 1892)
What does should have express there? Should can express different meanings. I'm not sure what meaning of should fits this context.
Editing:
I've looked "should" up in my grammar book English Grammar Today (Cambridge University Press): It has this:
Should: uses
. . .
Surprise or regret
We sometimes use should to express surprise or regret about something that happened:
I’m amazed that he should have done something so stupid.
I’m sorry that he should be so upset by what I said.
I surmise should expresses both surprise and regret in this context. I think that could make up a good answer.