Jump to content

missing component.py


Go to solution Solved by VegaS™,

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
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
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 29
  • Smile Tear 1
  • Good 3
  • Love 13
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



  • Similar Content

  • Activity

    1. 13

      Metin2 Closed Beta Content (2003-2004)

    2. 25

      [SRC] Metin2 on LINUX - The Old Metin2 Project

    3. 2

      United/Club/Midgard serverfiles?

    4. 13

      Metin2 Closed Beta Content (2003-2004)

    5. 13

      Metin2 Closed Beta Content (2003-2004)

  • Recently Browsing

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