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

...ion in dev mode
If this doesn't work, lets remove it.