m3talstorm / foe-bot

:robot: A simple bot to automate the main functions of Forge of Empires (FoE)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid Syntax

bombcheck opened this issue · comments

Hi there,

just tried it (using python 3.4). Results:
#> python3.4 main.py
File "main.py", line 38
print "Players: %s" % (len(account.players))
^
SyntaxError: invalid syntax

Any ideas?

Ah, seems the bot does not work well with python 3. Some changes in the print-statement.
Using python 2.7 now, works fine!

@bombcheck Ye the bot just works with Python 2.7 at the moment, I don't have any plans to port it over.