I just went through the same problem for my four years in college. I don't know about yours, but at my school NBA League Pass was not an option if you live in a dorm because of the way the cable is setup and paid for. So, the best I was able to come up with was to pay the $165 (or something like that) for NBA League Pass for my mom's house. Then take her account information and use the online stream.
When the games are on NBA TV you just have to suck it up and watch ESPN Gamecast.
Now, if you want to get really complicated and get the online broadcast to your tv...there is a way to take the streaming game from your computer and run a wire to the tv and watch the game on the tv. I don't know exactly how to do it, because my roommate would set that up. I'm sure someone with more computer experience on here would know how to do it and explain it. It has something to do with the setting of a double monitor so you can see a different monitor on the tv then the computer and then you run like an S Cable or something like that.
That's the best solution I was able to come up with that was legal and reliable. Hope that helps a little bit.