CяAzYzIoM™ Posted March 7, 2011 Posted March 7, 2011 hello i have problem with this quest: http://maxcheaters.com/forum/index.php?topic=80123.0 INTERLUDE version, i think code need some fixes also here is error log: Traceback (innermost last): (no code object) at line 0 SyntaxError: ('invalid syntax', ('__init__.py', 636, 33, '\t\t\t\ttry :')) anybody can tell me how to fix it? or check the code of quest so it will work as t should? Quote
0 Tryskell Posted March 8, 2011 Posted March 8, 2011 This line (636) contains 4 tabulations and a "try :" command. Dunno why, but I suppose tabulations are transcripted to \t, so it will do a "\t\t\t\ttry :" command instead of a simply "try :". It explains why you got the bug. How it does that on this special line and not before ? I got no answers, except try to remove tabulations before this line, or try to remake tabulations :). The used editor was perhaps crappy and added unvolontarily tags. The scripts engine perhaps interpretate it bad too. So what you can do (put in order of easy to hard) : - c/p another "try :" command from a higher part of code (like line 613), which seems to haven't this problem. - c/p the quest in notepad (basic version) to eventually clean tags, and save under .py format. - correct scripts engine o_o. Quote
Question
CяAzYzIoM™
hello i have problem with this quest:
http://maxcheaters.com/forum/index.php?topic=80123.0
INTERLUDE version, i think code need some fixes
also here is error log:
Traceback (innermost last):
(no code object) at line 0
SyntaxError: ('invalid syntax', ('__init__.py', 636, 33, '\t\t\t\ttry :'))
anybody can tell me how to fix it? or check the code of quest so it will work as t should?
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.