Now tickets are issued within minutes, and for unreserved tickets, there are multiple counters at most stations, plus there are authorized PBTS agents who charge Rs 1 extra outside the station. Please look up your time table for the agents in your city/station area.
Good wishes.