I had the same problem when I used to play Lineage 2. Was caused by a controller.