I have "heard" that putting a rope around your tent would keep them from crossing over it.
I have also heard that if you will crumble those things (white round disk that hangs on the side) you put in your commode would keep them away also. Has a strong odor.
I hate snakes, and sticks that LOOK like snakes.