SH3 does not require you to be online or logged into Ubi's servers to play - as far as I know it never did.
Also AFAIK there has been no official patch released by Ubi for SH5 that undoes the requirement to be connected during gameplay. If so any other workaround to that requirement would be an illegal hack and
should not be discussed here (just a friendly heads up).