I'm terrible at writing summaries. This book is also known as The Cultivator Who Became a Hero in Tang Dynasty During the Age of the Great Universe, Tang Soul, Cloud Soul, and The Tang Dynasty: A Cyberpunk Nonsense Hero's Tale.
Here's the serious summary:
Yun Changnian won a prize while eating an ice cream bar, and transmigrated to another world, where an old Taoist priest took him in.
Under the old Taoist's tutelage, he trained in martial arts and somehow developed internal energy.
At the time, Yun Changnian naively thought this was a world of martial heroes.
Then one day, the old Taoist priest ascended to immortality before his eyes. Deeply shaken, Yun Changnian decided this must be some kind of xianxia world.
After some more time passed, Yun Changnian found an unconscious creature that looked like an elf, and decided he must be in a world that mixed xianxia with Western fantasy.
Now, as Yun Changnian gazes at the monsters and demons who have come to attack him, all carrying an assortment of sci-fi weapons like ray guns and RPGs, he is utterly bewildered.
There is definitely something very wrong with this world.