Jump to content
  • 0

[Problem with Category quest]


nazox

Question

 

 

252310GreenCheck.pngSimple Notice!

 

#Solved 

Next I will explain how to fix the problem in case someone else happens to you.

The first, the problem happens, when you have implemented the bonus table system like the official one and you try to install the quest category system. This creates a conflict with a few lines in the uiCharacter.py file and does not allow us to open the character tab, and when you correct it, it only lets us see the missions section and not the bonuses.

1.Before implementing the system. (working great)

1.png

2.After implementing the system, what is selected in red doesn't appear. (have some problems with BTN, extend, etc, but category system work)

1.png

3.Fix ALL

1.png

Okey, once the whole system is implemented, we go to uiCharacter.py and search:

https://metin2.dev/bin/?376af1d0f05c9a1a#7TGdJcgxWUZRLXrH2xy3BUHUe26adtrm44Ms6Mromhq1

 

The problem is that it creates a conflict with the mainboard, expandbtn, minimizeBTN lines and the defs initcharacterdetails, etc.

 

The solution is to move the bonus table system higher like the official, so delate this:

Spoiler

        self.MainBoard = self.GetChild("board")
        self.ExpandBtn = ui.MakeButton(self.MainBoard, 240, 120, "", "d:/ymir work/ui/game/belt_inventory/", "btn_minimize_normal.tga", "btn_minimize_over.tga", "btn_minimize_down.tga")
        self.ExpandBtn.SetEvent(ui.__mem_func__(self.__ClickExpandButton))
        self.MinimizeBtn = ui.MakeButton(self.MainBoard, 240, 120, "", "d:/ymir work/ui/game/belt_inventory/", "btn_expand_normal.tga", "btn_expand_over.tga", "btn_expand_down.tga")
        self.MinimizeBtn.SetEvent(ui.__mem_func__(self.__ClickMinimizeButton))

and now, search:

Spoiler

self.activeSkillGroupName = self.GetChild("Active_Skill_Group_Name")

and paste this:

Spoiler

        self.MainBoard = self.GetChild("board")
        self.ExpandBtn = ui.MakeButton(self.MainBoard, 240, 120, "", "d:/ymir work/ui/game/belt_inventory/", "btn_minimize_normal.tga", "btn_minimize_over.tga", "btn_minimize_down.tga")
        self.ExpandBtn.SetEvent(ui.__mem_func__(self.__ClickExpandButton))
        self.MinimizeBtn = ui.MakeButton(self.MainBoard, 240, 120, "", "d:/ymir work/ui/game/belt_inventory/", "btn_expand_normal.tga", "btn_expand_over.tga", "btn_expand_down.tga")
        self.MinimizeBtn.SetEvent(ui.__mem_func__(self.__ClickMinimizeButton))

it has to look like this:

bc8e54dd90a59b31c3a42e49d9e83583.png

and working all now.

Thanks.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Good 1

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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.