how to connect to a new client. Hmmm Do you mean changing the IP or does the server packets for login contain different data to the ones the client is expecting.
As they changed versions they added more data to the packets for Characters. So the packet length the client is expecting if its newer than server may be bigger. Because of the extra data.
Easiest way around this would be to find the expected size of character struct and tell client to except the packet at that size * 3 + 3 if theres 3 characters. Then write a detour after its received the packet to alter the buffer to add the bytes its missing inbetween each character Data.
If packets the same as TS2 of course which I think it should be it would have a packet id of 0C the data is actually 3 packets but because of the speed its sent as one due to nagle on the server side.
Obviously the new features won't work on old server and client may crash but that would get you past that hurdle at least.
Kinda silly though I think seems better to take ts2 client and make it more like ts1