-
Posts
1384 -
Joined
-
Last visited
-
Days Won
14 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Galet
-
-
I just created a fix for you and every other people in needs ! However, I don't know why Wahmon are bulying you xD
Follow my post or click on this link (the link is updated whereas this post are not) : https://metin2dev.org/board/index.php?/topic/9251-sash-resetting-scroll-fix/
Open uiinventory.py and search :
def DetachMetinFromItem(self, scrollSlotPos, targetSlotPos):
Then replace the whole function by :
def DetachMetinFromItem(self, scrollSlotPos, targetSlotPos): ## Resetting Sash Stats Fix - Galet - 11/11/2015 - 17h45 - Tribute to the victims of the war scrollIndex = player.GetItemIndex(scrollSlotPos) targetIndex = player.GetItemIndex(targetSlotPos) for i in xrange(player.INVENTORY_PAGE_SIZE*2): slotNumber = self.__InventoryLocalSlotPosToGlobalSlotPos(i) getItemVNum=player.GetItemIndex itemVnum = getItemVNum(slotNumber) if 85009 == itemVnum: item.SelectItem(targetIndex) if item.GetItemSubType() == item.COSTUME_TYPE_ACCE: if self.GetAcceAttribute(targetSlotPos) == 0: return self.questionDialog = uiCommon.QuestionDialog() self.questionDialog.SetText("Would you like to reset your sash shoulder stats?") self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.OnDetachMetinFromItem)) self.questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog)) self.questionDialog.Open() self.questionDialog.sourcePos = scrollSlotPos self.questionDialog.targetPos = targetSlotPos else: return else: if not player.CanDetach(scrollIndex, targetSlotPos): chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.REFINE_FAILURE_METIN_INSEPARABLE_ITEM) return self.questionDialog = uiCommon.QuestionDialog() self.questionDialog.SetText(localeInfo.REFINE_DO_YOU_SEPARATE_METIN) self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.OnDetachMetinFromItem)) self.questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog)) self.questionDialog.Open() self.questionDialog.sourcePos = scrollSlotPos self.questionDialog.targetPos = targetSlotPos
If you want it on pastebin, here you go : http://pastebin.com/UG4Tvkv6
It is probably not the best way to fix it but should works like a charm !
Have a nice day all
-
3
-
-
Hello, I saw lot of people having This bug so I decided to create a simple fix in order to help them !
Let's go !
Open uiinventory.py and search :
def DetachMetinFromItem(self, scrollSlotPos, targetSlotPos):
Then replace the whole function by :
def DetachMetinFromItem(self, scrollSlotPos, targetSlotPos): ## Resetting Sash Stats Fix - Galet - 11/11/2015 - 17h45 - Tribute to the victims of the war scrollIndex = player.GetItemIndex(scrollSlotPos) targetIndex = player.GetItemIndex(targetSlotPos) for i in xrange(player.INVENTORY_PAGE_SIZE*2): slotNumber = self.__InventoryLocalSlotPosToGlobalSlotPos(i) getItemVNum=player.GetItemIndex itemVnum = getItemVNum(slotNumber) if 85009 == itemVnum: item.SelectItem(targetIndex) if item.GetItemSubType() == item.COSTUME_TYPE_ACCE: if self.GetAcceAttribute(targetSlotPos) == 0: return self.questionDialog = uiCommon.QuestionDialog() self.questionDialog.SetText("Would you like to reset your sash shoulder stats?") self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.OnDetachMetinFromItem)) self.questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog)) self.questionDialog.Open() self.questionDialog.sourcePos = scrollSlotPos self.questionDialog.targetPos = targetSlotPos else: return else: if not player.CanDetach(scrollIndex, targetSlotPos): chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.REFINE_FAILURE_METIN_INSEPARABLE_ITEM) return self.questionDialog = uiCommon.QuestionDialog() self.questionDialog.SetText(localeInfo.REFINE_DO_YOU_SEPARATE_METIN) self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.OnDetachMetinFromItem)) self.questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog)) self.questionDialog.Open() self.questionDialog.sourcePos = scrollSlotPos self.questionDialog.targetPos = targetSlotPos
If you want it on pastebin, here you go : http://pastebin.com/UG4Tvkv6
WARNING : This fix is only for people who have 2 inventory pages, maybe it's working with more but as it is untested I prefer to precise this, even if I'm pretty sure that the fix are completely working with the actual code, regardless on how many pages you got : If you got more than 2 pages, you must replace
(player.INVENTORY_PAGE_SIZE*2)
With
(player.INVENTORY_PAGE_SIZE*NUMBEROFPAGES)
"NUMBEROFPAGES" is simply the number of the inventory pages you got, so 4 for 4, 9 for 9, 2147483647 for 2147483647
It is probably not the best way to fix it but should works like a charm !
If you got any problems I can provide you the help needed on Metin2Dev in English and on Skype in English, German, French and Spanish
Have a nice day all
-
10
-
-
Search the name of the bonus in the whole sources, I don't have the name in memory, but one in common (length.h maybe) and some others in game,no one in DB if I remember well
-
Probably in sources, if you're lazy, you can easily invert them in locale_game
-
I do not have any idea about how passive skills systems works, but I think you must use the sources, that's pretty obvious, or I didn't understand
-
Download Link ?
ratedr203.com/?p=206
-
Since there's no expotron since maya 2013, you got a licence ? Otherwise, I tell it again, really good job dude !
-
Thanks
In Game screen ?
-
This is smooth, clean and lore friendly (except for guitar but that's funny xD)
Maya 2015 ?
-
1
-
-
Your 3D is marvellous...
-
1
-
-
how can I install it on my metin2 client?
I never said that dude xD
-
In navicat, table skill_proto, and put the value that you want to set for the skill's damage
-
Nice system
-
Use the GrandMasterPoly and so on
-
With a picture in paint or paint.net, it says you the x and y coordinates.
I thought about it but I never tried cause I was lazy and not sure about the outcome
-
1
-
-
Hi, for me, I put a coordinate and I rezise more and more until the final result xD
-
1
-
-
what is your sash type and subtype
Here's the line that i'm using : http://pastebin.com/i0gY4ejC
-
check the char_item.cpp and item.cpp part from server source
I have the same problem and it doesn't work :/
-
You cannot equip the sash att all ? If you're right clicking on it ?
-
Thank you Koray !
Thank you Koray !
-
1
-
-
As a French, I played in some foreign pserver because I speak (or I cand understand) some languages including my native language, and Metin2United was one of my favorite... I left him when the server closed, 2 years ago I think, and until now, I almost completely forget about researching if the server was open again or not... Thanks for the information
-
1
-
-
Until now, it was impossible to find the process of my client for M2Bob, but now the security will be better, nice Koray for all ! Keep sharing with us !
-
Something interesting, good job !
-
Hi, check in your quest folder if you have a quest starting by "new_cube"
Sash reseting stats doesn't work
in Community Support - Questions & Answers
Posted
You're welcome !
That's a pleasure for me !