1. Combat is in beta on two worlds, Derra IV and Serroco. On these planets, creatures and NPCs will attack you spontaneously and other players can also attack you. Your NPCs may die, but characters cannot die from combat in these locations.
For more information on how combat works, see the rules (Link) and the Guide (Link). However, if you are serious about combat I'd strongly suggest you join a faction that can teach you how it works.
2. You can get robbed in the Gambling Hut, scamming is not against the rules.
3. Stun gloves are not a producible item in SWC as far as I am aware, so custom items are your only chance at the moment. Shockball gloves do exist but I believe are very rare.