Jump to content

Question

Posted

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

  • 0
Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock