Complex sentence: While climbing, they discover they are ahead of the Fishmans, but when they reach the top, they discover the Fishmans beat them there long before them.
Split into simpler sentences: While climbing, they discover they are ahead of the Fishmans. But when they reach the top, they discover the Fishmans beat them there long before them.