...lots of people go on trains without a ticket, or rather with a ticket for a later or earlier train. That's almost a whole other topic...I travel by train a lot, and the whole topic is still largely a mystery to me.
Same here, I'd love to be able to understand the intricacies of the system.
Disclaimer - I hate playing the dumb laowai card, most of my bad train habits I actually learned from Chinese friends.
After buying a ticket, I've jumped on earlier trains that had "no tickets" available at the ticket office - only to find whole carriages empty once I am actually on the train.
Sometimes it's totally OK to 补票 (bǔpiào) (buy or upgrade your ticket on the train) and they'll even wave you on to the train at the gate if you ask, other-times it's a flat 'bu keyi' and the stink eye.
Once I didn't have the right ticket and the conductor I spoke to apparently couldn't be bothered dealing with me 'cos she just sent me to the far end of a very long train to upgrade and when I got there there was no one on duty...It was only a 20 minute ride, so...