The story follows a witty, sly, illiterate, and lazy protagonist, Wei Xiaobao, who was born in a brothel in
Yangzhou in the mid-17th century during the
Qing dynasty. By chance, the teenage scamp helps an outlaw evade the authorities and follows him to
Beijing. In the capital, Wei is kidnapped and taken to the
imperial palace, where, in order to survive, he impersonates an
eunuch and strikes up an unlikely friendship with the young
Kangxi Emperor. One day, Wei encounters the
Tiandihui, a secret society aiming to overthrow the Qing dynasty and restore the
Ming dynasty. He impresses Chen Jinnan, the Tiandihui's leader and an advisor to the
Kingdom of Tungning in Taiwan, who takes him as an apprentice and teaches him martial arts. Wei also becomes one of the Tiandihui's branch leaders and agrees to serve as their spy in the palace. Later, he is taken captive by the sinister Mystic Dragon Cult and taken to their island base. Through glib talk and flattery, he wins the favour of the cult leader Hong Antong and his young wife Su Quan, becoming one of the cult's five emissaries. Wei makes a number of seemingly impossible achievements through sheer luck, cunning, and the use of unglamorous means such as cheating and deception. First, he assists the Kangxi Emperor in ousting the autocratic regent
Oboi from power. Second, he discovers the whereabouts of the missing
Shunzhi Emperor, who has been presumed dead, saves him from danger and reunites him with his son, the Kangxi Emperor. Third, he eliminates the Mystic Dragon Cult by stirring up internal conflict, which leads to the cult's self-destruction. Fourth, he weakens
Wu Sangui's
rebellion by bribing the rebels' allies to withdraw, allowing Qing imperial forces to crush the rebels easily. Finally, he leads a campaign against the
Tsardom of Russia and helps the Qing Empire reach
a border treaty with the Russians. Earlier on, he had met the Russian regent,
Sophia Alekseyevna, and helped her consolidate control over Russia during
an uprising. In the process of accomplishing these tasks, he also recommends talents to serve the Qing government, one of whom is
Shi Lang, the admiral who leads the successful
naval campaign against Taiwan. Throughout the story, Wei exhibits devout loyalty to both the Kangxi Emperor and the Tiandihui. He saves the lives of the emperor and the empress dowager on several occasions. On the other hand, he helps the Tiandihui by undermining attempts by Qing imperial forces to destroy the Tiandihui. Navigating power plays, Wei accumulates immense wealth and receives titles of nobility from the emperor, including "Duke of Deer Cauldron" (or "Duke of Mount Deer", which is used as an alternative English title for the novel). On top of his achievements, he encounters seven attractive women on separate occasions, eventually marrying all of them and having three children. Wei's conflicting loyalties ultimately reach a disastrous conclusion. The Kangxi Emperor discovers his affiliation with the Tiandihui, forcing him to choose to either remain loyal to the Qing Empire or become an enemy of the state. Wei faces a dilemma: If he chooses to follow the emperor's orders, he will have to betray his friends in the Tiandihui and help the emperor destroy them; if he refuses, he faces the possibility of death and the extermination of his family. Although he ultimately chooses to go into exile, the emperor still regards him as a close friend and loyal subject so he pardons him and allows him to return to the palace. Towards the end of the novel, the emperor tries to force Wei to help him eliminate the Tiandihui again. On the other hand, Wei faces an even bigger problem with the Tiandihui. As Chen Jinnan had died recently, the Tiandihui members look up to Wei and want him to be their new leader. Wei ponders the issue, realises that he will never be able to reconcile between the two opposing sides, and feels that his divided friendships and split loyalties are tearing him apart. He decides to leave and take his family and immense wealth along with him to lead a reclusive life. He is never seen again. It is said that when the Kangxi Emperor went on six inspection tours to the
Jiangnan region throughout his reign, his true purpose was to search for Wei. == Characters ==