Jump to content

Recommended Posts

Version of Files : XXX

Hello everybody, i'm so sorry for my bad english , i try to di my best.

 

1. Description of the problem / Question :

I try to use Guild Stats sytem, everything ok in Game/Client Source but i receive one error from Client Py, it's seems like i don't have one file and i hope you can help me to find out how to fix it.

 

2. SysErr ( Client ) 

0511 19:31:20798 :: File "networkModule.py", line 246, in SetGamePhase

0511 19:31:20798 :: File "system.py", line 131, in __pack_import

0511 19:31:20798 :: File "system.py", line 111, in _process_result

0511 19:31:20798 :: File "game.py", line 50, in <module>

0511 19:31:20798 :: File "system.py", line 131, in __pack_import

0511 19:31:20798 :: File "system.py", line 111, in _process_result

0511 19:31:20798 :: File "uiWarBoard.py", line 13, in <module>

0511 19:31:20798 :: File "system.py", line 138, in __pack_import

0511 19:31:20799 :: ImportError
0511 19:31:20799 :: :
0511 19:31:20799 :: No module named component
0511 19:31:20799 ::

 

I think the solution can be to insert the component.py file in root, but i can't find this file anywhere.

I hardly ever open discussions, nor am I happy to thank all Metin2 dev users, really guys, you saved me many of those times that you don't even imagine.

 

Edited by cristiandumitru
Link to comment
https://metin2.dev/topic/23806-missing-componentpy/
Share on other sites

  • Contributor

How can we help you if we are blind?

Open our eyes.

 

(E.G. paste your system.py and uiwarboard.py)

 

Also i do not think that's an uiscript, since it says no module.

Edited by TMP4
  • Love 1
Link to comment
https://metin2.dev/topic/23806-missing-componentpy/#findComment-127752
Share on other sites

44 minutes ago, TMP4 said:

How can we help you if we are blind?

Open our eyes.

 

(E.G. paste your system.py and uiwarboard.py)

 

Also i do not think that's an uiscript, since it says no module.

Hi, first thanks for your comment. You are right, it's not an uiscript problem, is in the root directory, i suppose it missed the import component because i don't have the file component.py 



uiwarboard.py

 

system.py

 

game.py

 

 

EDIT: Fixed by Download component.py from @VegaS™
 

component.py

 

Edited by cristiandumitru
  • Metin2 Dev 1
  • Good 1
  • Love 1
Link to comment
https://metin2.dev/topic/23806-missing-componentpy/#findComment-127755
Share on other sites

  • Forum Moderator
  • Solution
  • component.py
  • game.py

Search for:

Spoiler

	def __ProcessPreservedServerCommand(self):
		def __WarBoard(self, input):
			constInfo.wndWarBoard.Handle(input)
				
		def CanOpenWarBoard(self):
			constInfo.CanOpen = 1
			
		def CantOpenWarBoard(self):
			constInfo.CanOpen = 0
		try:
			command = net.GetPreservedServerCommand()
			while command:
				print " __ProcessPreservedServerCommand", command
				self.serverCommander.Run(command)
				command = net.GetPreservedServerCommand()
		except RuntimeError, msg:
			dbg.TraceError(msg)
			return 0

Replace with:

This is the hidden content, please

 

Edited by VegaS™
  • Metin2 Dev 40
  • Smile Tear 1
  • Good 5
  • Love 17
Link to comment
https://metin2.dev/topic/23806-missing-componentpy/#findComment-127758
Share on other sites

  • 4 years later...

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.