Jump to content

Auto Refine Option


Recommended Posts

M2 Download Center

This is the hidden content, please
( Internal )

Auto refine option when you upgrade the item with SCROLL or on NPC.

I did all checks like example :

When you have just one scroll in inventory, refine window will be close.

When the item is already maximum upgrade. (+8 to +9 just in case will be succes) 

and more ..

 

Preview:

https://metin2.download/picture/698k2baWEOV40gk0jFvHl4l031PHq8fP/.gif

 

Download :

This is the hidden content, please

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 231
  • Facepalm 1
  • Dislove 3
  • Angry 2
  • Not Good 3
  • Smile Tear 1
  • Think 5
  • Confused 3
  • Scream 5
  • Lmao 2
  • Good 71
  • Love 8
  • Love 155
Link to comment
Share on other sites

  • Forum Moderator
2 hours ago, .Elijah said:

Auto refine option when you upgrade the item with SCROLL or on NPC.

I did all checks like example :

When you have just one scroll in inventory, refine window will be close.

When the item is already maximum upgrade. (+8 to +9 just in case will be succes) 

and more ..

 

Preview:

https://metin2.download/picture/698k2baWEOV40gk0jFvHl4l031PHq8fP/.gif

 

Download :

This is the hidden content, please

 

Amazing <3
Thank you!! :)

Best regards
Raylee

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 4
  • Dislove 1
  • Good 2
  • Love 5
Link to comment
Share on other sites

  • Bronze
Acum 13 ore, BeHappy4Ever a spus:

I cant find this function     def RefineBindAffectShower(self, affectShower):

I am using an old version (i think 2015) of official client.

find this 

    def AppendMaterialToRefineDialog(self, vnum, count):
        self.dlgRefineNew.AppendMaterial(vnum, count)

change with

    def AppendMaterialToRefineDialog(self, vnum, count):
        self.dlgRefineNew.AppendMaterial(vnum, count)

    if app.ENABLE_REFINE_RENEWAL:
        def CheckRefineDialog(self, isFail):
            self.dlgRefineNew.CheckRefine(isFail)    

Acum 23 ore, Moon a spus:

Thank you.
But I got 1 Problem, the uppitems doesn't update, it always shows the same, and it also always show me +0, even if I upgraded it to +4.
I hope that you can help me though.

in uiRefine.py find def CheckRefine(self, isFail):

then find chat.AppendChat(chat.CHAT_TYPE_INFO, "%d %d" % (itemIndex, int(itemIndex %10)))

and delete it try after, or whrite above that line "import chat"

  • Love 1
Link to comment
Share on other sites

4 hours ago, SergiuAndreiM said:

find this 

    def AppendMaterialToRefineDialog(self, vnum, count):
         self.dlgRefineNew.AppendMaterial(vnum, count)

change with

    def AppendMaterialToRefineDialog(self, vnum, count):
         self.dlgRefineNew.AppendMaterial(vnum, count)

    if app.ENABLE_REFINE_RENEWAL:
         def CheckRefineDialog(self, isFail):
            self.dlgRefineNew.CheckRefine(isFail)    

Thanks a lot for your reply!

Spoiler

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

I get this error , can you help me please?

Line 910-915:

Spoiler

    def AppendMaterialToRefineDialog(self, vnum, count):
        self.dlgRefineNew.AppendMaterial(vnum, count)
    if app.ENABLE_REFINE_RENEWAL:
        def CheckRefineDialog(self, isFail):
            self.dlgRefineNew.CheckRefine(isFail)    
 

 

Link to comment
Share on other sites

  • Bronze
Acum 18 ore, BeHappy4Ever a spus:

Thanks a lot for your reply!

  Reafișează conținuturi ascunse

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

I get this error , can you help me please?

Line 910-915:

  Reafișează conținuturi ascunse

    def AppendMaterialToRefineDialog(self, vnum, count):
        self.dlgRefineNew.AppendMaterial(vnum, count)
    if app.ENABLE_REFINE_RENEWAL:
        def CheckRefineDialog(self, isFail):
            self.dlgRefineNew.CheckRefine(isFail)    
 

 

https://pastebin.com/0gxk9pDy

be careful with the tabs

  • Metin2 Dev 5
  • Dislove 1
  • Good 1
  • Love 1
Link to comment
Share on other sites

  • Bronze

The only purpose for this release is to post someone else's system(anger attempt).

He would never do releases for you guys, only to anger someone else and earn respect from kids.

  • Confused 3
  • Love 1
Link to comment
Share on other sites

13 hours ago, SergiuAndreiM said:

https://pastebin.com/0gxk9pDy

be careful with the tabs

Spoiler


0830 02:07:38485 ::   File "networkModule.py", line 237, in SetGamePhase

0830 02:07:38485 ::   File "system.py", line 177, in __hybrid_import

0830 02:07:38486 ::   File "
0830 02:07:38486 :: game.py
0830 02:07:38486 :: ", line 
0830 02:07:38486 :: 1311
0830 02:07:38486 :: 

0830 02:07:38486 ::     
0830 02:07:38486 :: if app.ENABLE_REFINE_RENEWAL:

0830 02:07:38486 ::     
0830 02:07:38486 ::  
0830 02:07:38486 :: ^

0830 02:07:38486 :: IndentationError
0830 02:07:38486 :: : 
0830 02:07:38486 :: expected an indented block
0830 02:07:38486 :: 

Here is my interfacemodule.py

https://pastebin.com/mZwg8Lzh

Thanks a lot for your reply!

  • Metin2 Dev 2
  • Angry 1
  • Lmao 1
  • Love 1
Link to comment
Share on other sites

  • Bronze
Acum 11 ore, BeHappy4Ever a spus:
  Ascunde conținuturi


0830 02:07:38485 ::   File "networkModule.py", line 237, in SetGamePhase

0830 02:07:38485 ::   File "system.py", line 177, in __hybrid_import

0830 02:07:38486 ::   File "
0830 02:07:38486 :: game.py
0830 02:07:38486 :: ", line 
0830 02:07:38486 :: 1311
0830 02:07:38486 :: 

0830 02:07:38486 ::     
0830 02:07:38486 :: if app.ENABLE_REFINE_RENEWAL:

0830 02:07:38486 ::     
0830 02:07:38486 ::  
0830 02:07:38486 :: ^

0830 02:07:38486 :: IndentationError
0830 02:07:38486 :: : 
0830 02:07:38486 :: expected an indented block
0830 02:07:38486 :: 

Here is my interfacemodule.py

https://pastebin.com/mZwg8Lzh

Thanks a lot for your reply!

your problem is from game.py this time not from interfacemodule

Link to comment
Share on other sites

La 27.08.2018 la 14:50, Moon a spus:

Thank you.
But I got 1 Problem, the uppitems doesn't update, it always shows the same, and it also always show me +0, even if I upgraded it to +4.
I hope that you can help me though.

Same problem!

I think it need a refreshment function...

 

Edit: i didnt see the solution... Thank you @SergiuAndreiM

Link to comment
Share on other sites

0831 14:34:38280 :: Traceback (most recent call last):

0831 14:34:38280 ::   File "game.py", line 758, in BINARY_NEW_AddAffect

0831 14:34:38280 ::   File "game.py", line 1759, in BINARY_DragonSoulGiveQuilification

0831 14:34:38280 ::   File "interfaceModule.py", line 1014, in DragonSoulGiveQuilification

0831 14:34:38280 :: AttributeError
0831 14:34:38280 :: : 
0831 14:34:38280 :: 'NoneType' object has no attribute 'SetToolTipText'
0831 14:34:38280 :: 

0831 14:34:40309 :: Exception 
0831 14:34:40309 :: AttributeError
0831 14:34:40309 :: : 
0831 14:34:40309 :: "'CheckBox' object has no attribute 'hWnd'"
0831 14:34:40309 ::  in 
0831 14:34:40309 :: <bound method CheckBox.__del__ of <ui.CheckBox object at 0x051C9050>>
0831 14:34:40309 ::  ignored

0831 14:34:40309 :: Traceback (most recent call last):

0831 14:34:40309 ::   File "game.py", line 735, in OpenRefineDialog

0831 14:34:40309 ::   File "interfaceModule.py", line 823, in OpenRefineDialog

0831 14:34:40309 ::   File "uiRefine.py", line 340, in Open

0831 14:34:40310 ::   File "uiRefine.py", line 278, in __LoadScript

0831 14:34:40310 :: TypeError
0831 14:34:40310 :: : 
0831 14:34:40310 :: __init__() takes at least 5 arguments (1 given)
0831 14:34:40310 :: 

 

???

Link to comment
Share on other sites

0831 17:03:30351 :: Traceback (most recent call last):

0831 17:03:30351 ::   File "game.py", line 755, in OpenRefineDialog

0831 17:03:30351 ::   File "interfaceModule.py", line 878, in OpenRefineDialog

0831 17:03:30351 ::   File "uiRefine.py", line 340, in Open

0831 17:03:30362 ::   File "uiRefine.py", line 283, in __LoadScript

0831 17:03:30362 :: AttributeError
0831 17:03:30362 :: : 
0831 17:03:30362 :: 'RefineDialogNew' object has no attribute 'AutoRefine'
0831 17:03:30362 :: 

 

I have this problem ! PLEASE HELP ME !!!

Link to comment
Share on other sites

  • 1 month later...
  • 5 months later...

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:40:05870 :: ============================================================================================================
0417 16:40:05870 :: Abort!!!!

My uiRefine

def Destroy(self):
	self.ClearDictionary()
		self.board = 0
		self.successPercentage = 0
		self.titleBar = 0
		self.toolTip = 0
		self.dlgQuestion = 0
	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	

your code that i should put:

## 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	

 

bu in uiRefine.py there is 2x def Destroy(self):.. 

 

So where should i put??
 

uirefine.py

  • Good 1
  • Love 9
Link to comment
Share on other sites

  • 2 months later...
On 8/26/2018 at 6:26 PM, .ZeNu said:

Auto refine option when you upgrade the item with SCROLL or on NPC.

I did all checks like example :

When you have just one scroll in inventory, refine window will be close.

When the item is already maximum upgrade. (+8 to +9 just in case will be succes) 

and more ..

 

Preview:

https://metin2.download/picture/698k2baWEOV40gk0jFvHl4l031PHq8fP/.gif

 

Download :

This is the hidden content, please

 

Help pls

https://metin2.download/picture/BQ4r078ryGf10QT3ux6D390G5Xe9Rdc4/.gif

https://metin2.download/picture/97rE7102R9hYKO1aJiWiyRvwPj8K8OOV/.gif

no syserr 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
Link to comment
Share on other sites

  • 2 weeks later...
En 17/4/2019 a las 16:53, alicization dijo:

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:40:05870 :: ============================================================================================================
0417 16:40:05870 :: Abort!!!!

My uiRefine


def Destroy(self):
	self.ClearDictionary()
		self.board = 0
		self.successPercentage = 0
		self.titleBar = 0
		self.toolTip = 0
		self.dlgQuestion = 0
	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	

your code that i should put:


## 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	

 

bu in uiRefine.py there is 2x def Destroy(self):.. 

 

So where should i put??
 

uirefine.py

same error, can someone help us?

  • Love 5
Link to comment
Share on other sites

Announcements



  • Similar Content

  • Similar Content

  • Similar Content

  • Tags

  • Activity

    1. 3

      [Discussion] Rain - The First Person that leaked the M2 Files

    2. 0

      [Client] All tabs opening after quest/npc talk or even shop // PORTS

    3. 0

      Arrow does not hide at warp

    4. 0

      Problem with sidebar by vegas

    5. 58

      Discord Rich Presence

    6. 145

      Full Costume Mount System

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