Jump to content
  • 0
iMeleys

solved object has no attribute 'OPTION_FOG_ON'

Question

Hey Little Problem today i implentate the "Official" Fog Fix. ( I Love Python )

Syserr:

0703 19:28:14043 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0703 19:28:21037 :: Failed to load script file : uiscript/systemoptiondialog.py
0703 19:28:21038 :: 
ui.py(line:2763) LoadScriptFile
system.py(line:192) execfile
system.py(line:163) Run
uiscript/systemoptiondialog.py(line:178) <module>

LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.AttributeError'>:'module' object has no attribute 'OPTION_FOG_ON'

0703 19:28:21038 :: ============================================================================================================
0703 19:28:21038 :: Abort!!!!


0703 19:28:21039 :: 
uiSystemOption.py(line:57) __Load_LoadScript
ui.py(line:2780) LoadScriptFile
exception.py(line:36) Abort

System.OptionDialog.__Load_LoadScript - <type 'exceptions.SystemExit'>:

0703 19:28:21039 :: ============================================================================================================
0703 19:28:21039 :: Abort!!!!

my old systemoptiondialog.py - https://pastebin.com/24inuem8

and here the new code i must use for the system (new systemoptiondialog.py) - https://pastebin.com/EbgipzdV

If u need somenthing else just let me know and i post it.

 

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

If you would pay attention to what Python is trying to message you, you would love it even more 😁

At line 178 you have OPTION_FOG_ON variable which should be in locale_interface.txt but clearly you are missing it.

  • Love 1

Share this post


Link to post
  • 0
vor 2 Minuten schrieb Sonitex:

If you would pay attention to what Python is trying to message you, you would love it even more 😁

At line 178 you have OPTION_FOG_ON variable which should be in locale_interface.txt but clearly you are missing it.

Yeah you are totally right i still have to learn much ! but i still loving to develop and i found out the solution by myself right now and now i see
your post so i dont must edit it ! but anyway thank you very much ❤️

Share this post


Link to post

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.