Added attack stuff (not verified to work yet), also fixed the rogue sess...

...ion in dev mode