Skip to content

[help] quest

Featured Replies

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?

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.