Help! [error] Error Message: SyntaxError: Illegal character in file '' for encoding 'utf-8'
Hello, I'm super new to sikuli and not even well versed in other forms of programming. I downloaded this script to help me play an idle game and it wouldnt run even when i followed their instructions exactly. I even cut out all of the code i wasnt using in hopes of at least making something run but it wont run at all. I keep getting the same error message no matter what
[error] Stopped
[error] Error Message: SyntaxError: Illegal character in file '' for encoding 'utf-8'
The file name is !Swords And Potions 2 Bot.sikuli
and the script is
x=1
setAutoWaitTime
shopkeeper=
shopkeeper1=0
shopkeeper2=0
shopkeeper3=0
blacksmith=0
blacksmith1=0
blacksmith2=0
blacksmith3=0
carpenter=0
carpenter1=0
carpenter2=0
carpenter3=0
druid=0
druid1=0
druid2=0
druid3=0
tailor=
tailor1=
tailor2=0
tailor3=0
armorer=0
armorer1=0
armorer2=0
armorer3=0
leatherworker=0
leatherworker1=0
leatherworker2=0
leatherworker3=0
bowyer=0
bowyer1=0
bowyer2=0
bowyer3=0
sorceress=
sorceress1=
sorceress2=0
sorceress3=0
tinkerer=0
tinkerer1=0
tinkerer2=0
tinkerer3=0
jeweler=
jeweler1=
jeweler2=0
jeweler3=0
luthier=0
luthier1=0
luthier2=0
luthier3=0
enchanter=0
enchanter1=0
enchanter2=0
enchanter3=0
while x==1:
if exists(
if exists(
if exists(
if exists(
if exists(
if exists(
if druid1 != 0:
if exists(druid):
if exists(druid1):
if exists(
if blacksmith1 != 0:
if exists(blacksmith):
if exists(
if exists(
if tailor1 != 0:
if exists(tailor):
if exists(tailor1):
if exists(
if carpenter1 != 0:
if exists(carpenter):
if exists(carpenter1):
if exists(
if shopkeeper1 != 0:
if exists(shopkeeper):
if exists(
if exists(
if enchanter1 != 0:
if exists(enchanter):
if exists(enchanter1):
if exists(
if armorer1 != 0:
if exists(armorer):
if exists(armorer1):
if exists(
if leatherworker1 != 0:
if exists(
if exists(
if exists(
if bowyer1 != 0:
if exists(bowyer):
if exists(bowyer1):
if exists(
if sorceress1 != 0:
if exists(sorceress):
if exists(sorceress1):
if exists(
if tinkerer1 != 0:
if exists(tinkerer):
if exists(tinkerer1):
if exists(
if jeweler1 != 0:
if exists(jeweler):
if exists(jeweler1):
if exists(
if luthier1 != 0:
if exists(luthier):
if exists(luthier1):
if exists(
if exists(
x = 0
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Smizzy
- Solved:
- Last query:
- Last reply: