Jump to content

object has no attribute 'OPTION_FOG_ON'


Recommended Posts

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.

 

  • Think 1
Link to comment
Share on other sites

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 ❤️

Link to comment
Share on other sites

  • 3 years later...

I've got this in syserr:
 

0216 18:07:09721 :: Traceback (most recent call last):

0216 18:07:09721 ::   File "uiPhaseCurtain.py", line 61, in OnUpdate

0216 18:07:09722 ::   File "networkModule.py", line 150, in __ChangePhaseWindow

0216 18:07:09723 ::   File "introSelect.py", line 216, in Open

0216 18:07:09723 ::   File "introSelect.py", line 356, in Refresh

0216 18:07:09723 :: ValueError
0216 18:07:09723 :: : 
0216 18:07:09723 :: incomplete format
0216 18:07:09723 ::

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.