Jump to content

Recommended Posts

Hi

syserr.txt

 

0221 05:41:21021 :: Traceback (most recent call last):

0221 05:41:21022 ::   File "game.py", line 1727, in OnKeyUp

0221 05:41:21022 :: TypeError
0221 05:41:21022 :: : 
0221 05:41:21022 :: 'NoneType' object has no attribute '__getitem__'
0221 05:41:21022 :: 

 

game.py

	def OnKeyUp(self, key):
		try:
			self.onClickKeyDict[key]()
		except KeyError:
			pass
		except:
			raise

		return True

I would be very grateful for any feedback you could might be able to give me on my problem.
 

Link to comment
https://metin2.dev/topic/15010-40k-client-syserr-problem/
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

11 hours ago, OverDoSe said:

https://hastebin.com/uxefonogeb.py can you check please?

error
    def OnKeyUp(self, key):
        try:
            self.onClickKeyDict[key]()
        except KeyError:
            pass
        except:
            raise

        return TRUE


Where are if ?
example:

    def OnKeyDown(self, key):
        if self.interface.wndWeb and self.interface.wndWeb.IsShow():
            return

        if key == app.DIK_ESC:
            self.RequestDropItem(False)
            constInfo.SET_ITEM_QUESTION_DIALOG_STATUS(0)
            #constInfo.SET_ITEM_DROP_QUESTION_DIALOG_STATUS(0)

        try:
            self.onPressKeyDict[key]()
        except KeyError:
            pass
        except:
            raise

        return True

 

787292068_Nvtelen.png.6faa7b0bbb3398fd29

Link to comment
https://metin2.dev/topic/15010-40k-client-syserr-problem/#findComment-84672
Share on other sites

22 hours ago, [007]DawisHU said:

error
    def OnKeyUp(self, key):
        try:
            self.onClickKeyDict[key]()
        except KeyError:
            pass
        except:
            raise

        return TRUE


Where are if ?
example:

    def OnKeyDown(self, key):
        if self.interface.wndWeb and self.interface.wndWeb.IsShow():
            return

        if key == app.DIK_ESC:
            self.RequestDropItem(False)
            constInfo.SET_ITEM_QUESTION_DIALOG_STATUS(0)
            #constInfo.SET_ITEM_DROP_QUESTION_DIALOG_STATUS(0)

        try:
            self.onPressKeyDict[key]()
        except KeyError:
            pass
        except:
            raise

        return True

 

https://hastebin.com/uxefonogeb.py    Can you change  a game.py code?

Link to comment
https://metin2.dev/topic/15010-40k-client-syserr-problem/#findComment-84724
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.