AttributeError: 'SCA_PythonController' object has no attribute 'getOwner'
This is Python code written for BGE 2.49 and earlier.

You need to convert it to BGE 2.5+. This includes API changes and upgrade to Python 3.0.

To make it short:

.getOwner()      -&gt; .owner
.getSensor("F1") -&gt; .sensors["F1"]
.getObjectList() -&gt; .objects
["OBServer"]     -&gt; ["Server"] 
Server.Activ     -&gt; Server["Activ"]


It looks like this is just a fragment of more logic.