Jump to content

Recommended Posts

Dear community, today i tried to install this system into my client. 

 

 

Everythings work fine, until i start my client. Then i try to login and i got errors. 

here is: 

0417 16:56:06244 :: 
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:30) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:12) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
uiInventory.py(line:12) <module>
system.py(line:130) __pack_import

networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:expected an indented block (uiRefine.py, line 97)

0417 16:56:06244 :: ============================================================================================================
0417 16:56:06244 :: Abort!!!!

If i'm correct the problem is inside uiRefine,py line 97.

Here is my uiRefine.

def Destroy(self):
  	if app.ENABLE_REFINE_RENEWAL:
		def __InitializeOpen(self):
			self.children = []
			self.vnum = 0
			self.targetItemPos = 0
			self.dialogHeight = 0
			self.cost = 0
			self.percentage = 0
			self.type = 0
			self.xRefineStart = 0
			self.yRefineStart = 0	
	self.ClearDictionary()
		self.board = 0
		self.successPercentage = 0
		self.titleBar = 0
		self.toolTip = 0
		self.dlgQuestion = 0
	

 

Here is the guide how to add Auto refine into uiRefine

## 0.2 Search :

	def Destroy(self):
			..
			
## 0.2 Add after:

	if app.ENABLE_REFINE_RENEWAL:
		def __InitializeOpen(self):
			self.children = []
			self.vnum = 0
			self.targetItemPos = 0
			self.dialogHeight = 0
			self.cost = 0
			self.percentage = 0
			self.type = 0
			self.xRefineStart = 0
			self.yRefineStart = 0	

 

But there is 2 def Destroy(self): ! 

Where should i add? Or can somebody just check my uiRefine.py?

 

Best regards,

Alicization

 

uirefine.py

Link to comment
https://metin2.dev/topic/21074-auto-refine-option-bug/
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

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.