actually you just can't patch the server.dll file if you are using Steam as Steam will just restore it when the game starts
HL2 is Valve's proprietary software. If you don't use it in Valve's desired way (i.e., make non-steam version, crack the cd check, patch to enable bots, etc), Valve will just call you as a "thief" or "pirate".