-
Posts
9 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Mafia83
-
-
On 10/22/2021 at 2:16 PM, xP3NG3Rx said:
I would like to mention here a minor bugfix about the update packets which cause the lags on changing attributes (maybe with manual mouse drag only? dunno).
I hope it is visible on the video, if not just test it by yourself.
What you need to do with these microlags is easy, just open the interfaceModule.py and there inside the Interface class you will find a function which is the RefreshInventory.
Every different window which has refreshable item grid, it runs down from there even if the windows isn't opened. This cause the fps drop which is visible even with human eyes.
The solution is, you have to put an (IsShow) if statement before they run down like the way how it looks like on my side:def RefreshInventory(self): self.wndTaskBar.RefreshQuickSlot() if self.wndInventory and self.wndInventory.IsShow(): self.wndInventory.RefreshItemSlot() if app.ENABLE_DRAGON_SOUL_SYSTEM: if self.wndDragonSoul and self.wndDragonSoul.IsShow(): self.wndDragonSoul.RefreshItemSlot() if app.ENABLE_EXTEND_INVEN_SYSTEM and app.ENABLE_SEPARATED_EXTEND_INVEN_WINDOW: if self.wndInventoryEx and self.wndInventoryEx.IsShow(): self.wndInventoryEx.RefreshItemSlot() if app.ENABLE_MOVE_COSTUME_ATTR or app.ENABLE_MOVE_SASH_ATTR: if app.GetMoveAttrWindowOpen(): if self.wndItemCombination and self.wndItemCombination.IsShow(): self.wndItemCombination.RefreshCombSlotWindow() if app.ENABLE_SHOULDER_SASH_SYSTEM: if player.GetAcceRefineWindowOpen(): if self.wndAcce and self.wndAcce.IsShow(): self.wndAcce.RefreshAcceWindow() if app.ENABLE_CHANGE_LOOK_SYSTEM: if player.GetChangeLookWindowOpen(): if self.wndChangeLook and self.wndChangeLook.IsShow(): self.wndChangeLook.RefreshChangeLookWindow() if self.wndAttr67Add and self.wndAttr67Add.IsShow(): self.wndAttr67Add.RefreshAttr67Window() if app.ENABLE_AURA_SYSTEM: if player.IsAuraRefineWindowOpen(): if self.wndAura and self.wndAura.IsShow(): self.wndAura.RefreshAuraWindow()
I think that your solution is not exactly the best and look why I say this.
https://metin2.download/video/1vvoUjT5M4F92GSSJrpAB3tu6vtUd3iM/.mp4
-
On 2/12/2023 at 11:57 AM, TAUMP said:
because its reserved code from official binary
It works perfectly now
https://metin2.download/video/i2dydQzAWtfno35q6eve8SE86z7miaex/.mp4
-
9 minutes ago, TAUMP said:
just do it?
if ((dwRace >= 0x1F41 && dwRace <= 0x1F68) || (dwRace >= 0x1F73 && dwRace <= 0x1FB3))
pkInstEach->ChangeStoneShape(bEnable ? 0x200F : dwRace, 0);Just change these hex numbeers to normal, my god
Why didn't he use normal numbers from the beginning?
Thanks anyway.
-
This system is very good, but I don't understand where I can change the codes for the metin stone, such that I can use another code instead of 8200, 8201, 8202, etc.
It works, but I would like to add a few more stones like for Christmas, Easter...
https://metin2.download/video/5L8wX0b8qnD9nrN32sbP2bseFk3xc85Q/.mp4
- 1
-
Hello and thank you for this system!
https://metin2.download/video/0Ud4ReMRRh1c7QlytZ8ub8UWr4ZgVKGa/.mp4
I think there is another problem with this system.
If you pick up several objects from the bottom or buy from the store and open 2-3-4 windows, the effects on the objects in the inventory spin much too quickly.
-
-
Hello and thanks for this resource, could you do an update for the dice system as well?
or how could I disable the effect for the dice system?
https://metin2.download/picture/EQ698KiURBYOLyt0dNZ9tiAtRTRYp9Pm/.gif
-
I did everything exactly as you said and my visitors don’t show up...
Official Quest Renewal
in Community Support - Questions & Answers
Posted
ui.py
Search:
class Window(object): def __init__(self, layer = "UI"):
add bellow:
self.onMouseLeftButtonUpEvent = None
also in class Window(object):
search:
def OnRender(self): if self.renderEvent: apply(self.renderEvent, self.renderArgs)
add bellow:
def SetOnMouseLeftButtonUpEvent(self, event): self.onMouseLeftButtonUpEvent = event def OnMouseLeftButtonUp(self): if self.onMouseLeftButtonUpEvent: self.onMouseLeftButtonUpEvent()