Weles 8 Posted November 23, 2017 Share Posted November 23, 2017 (edited) System: Shoulder Sash SystemWith: update_12_09_sash_system1. Showing bonuses while absorbing - works2. Absorption - Works3. Pulled item shows bonuses before absorption4. The item gives bonuses after absorption5. Error? Showing bonuses before absorption after absorption in the inventory The main question: Do you have a fix for this problem? Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
TekkForCe 6 Posted November 23, 2017 Share Posted November 23, 2017 uitooltip.py Search: elif 0 != isCostumeItem: self.__AppendLimitInformation() if app.ENABLE_SASH_SYSTEM: if isCostumeSash: replace with: elif 0 != isCostumeItem: self.__AppendLimitInformation() if app.ENABLE_SASH_SYSTEM: if itemVnum >= 85001 and itemVnum <= 85024: 1 Link to comment Share on other sites More sharing options...
Weles 8 Posted November 23, 2017 Author Share Posted November 23, 2017 (edited) @TekkForCe I tried. Did not help. // Otherwise. The only change: Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
ManiacRobert 427 Posted November 23, 2017 Share Posted November 23, 2017 dump_proto problem, verify itemdata.h and ItemCSVReader.cpp, must be same value Link to comment Share on other sites More sharing options...
Weles 8 Posted November 24, 2017 Author Share Posted November 24, 2017 @ManiacRobert I do not use the original dump_proto. I have other program. If not, it would not work at all. There is no problem with the costume of weapons. The only mistake is the bad showing of the bonus value in the eqpiament. Using item the character receives the same bonuses as shown in the absorption window. I think this problem lies somewhere on the uitooltip side because half of it was fixed after changing the code from TekkForCe. Link to comment Share on other sites More sharing options...
Premium North 1173 Posted November 24, 2017 Premium Share Posted November 24, 2017 10 hours ago, Weles said: I do not use the original dump_proto. I have other program. If not, it would not work at all. There is no problem with the costume of weapons. The only mistake is the bad showing of the bonus value in the eqpiament. Using item the character receives the same bonuses as shown in the absorption window. I think this problem lies somewhere on the uitooltip side because half of it was fixed after changing the code from TekkForCe. Don`t be a fool. @ManiacRobert just gave you the correct solution. You have a mismatch somewhere, and it`s like 99% the subtype indexing. Link to comment Share on other sites More sharing options...
Weles 8 Posted November 24, 2017 Author Share Posted November 24, 2017 @Fleon Probably you are right. Of what I saw many people in the forum had a problem with this and probably no topic was resolved. Which of the files would you recommend looking through again to find the error? Link to comment Share on other sites More sharing options...
Weles 8 Posted November 24, 2017 Author Share Posted November 24, 2017 (edited) I said, the error was lying on the uitooltip side. I had to rewrite one function (it took me about 2h), now everything works fine. Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Premium North 1173 Posted November 24, 2017 Premium Share Posted November 24, 2017 It`s a patch not a problem solved probably (or you just have a messed up sash package) but gj Link to comment Share on other sites More sharing options...
avertuss 48 Posted December 2, 2017 Share Posted December 2, 2017 nvm Link to comment Share on other sites More sharing options...
Active Member Dex 520 Posted May 13, 2018 Active Member Share Posted May 13, 2018 (edited) Am 24.11.2017 um 18:13 schrieb Weles: I said, the error was lying on the uitooltip side. I had to rewrite one function (it took me about 2h), now everything works fine. Can you post the function ? I have the same problem... Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Weles 8 Posted May 13, 2018 Author Share Posted May 13, 2018 U must change one funcion in uitooltip. U must change one funcion in uitooltip. Link to comment Share on other sites More sharing options...
Active Member Dex 520 Posted May 14, 2018 Active Member Share Posted May 14, 2018 vor 13 Stunden schrieb Weles: U must change one funcion in uitooltip. U must change one funcion in uitooltip. wich one bro? :| can you post the solution? Link to comment Share on other sites More sharing options...
Forum Moderator Raylee 656 Posted May 14, 2018 Forum Moderator Share Posted May 14, 2018 vor einer Stunde schrieb dextr: wich one bro? :| can you post the solution? Maybe that? Am 23.11.2017 um 23:16 schrieb TekkForCe: uitooltip.py Search: elif 0 != isCostumeItem: self.__AppendLimitInformation() if app.ENABLE_SASH_SYSTEM: if isCostumeSash: replace with: elif 0 != isCostumeItem: self.__AppendLimitInformation() if app.ENABLE_SASH_SYSTEM: if itemVnum >= 85001 and itemVnum <= 85024: Best regards Raylee Link to comment Share on other sites More sharing options...
Weles 8 Posted May 14, 2018 Author Share Posted May 14, 2018 Raylee this is not it. Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted May 14, 2018 Premium Share Posted May 14, 2018 Problem is from item.cpp and you need to make new code to fix it for your server. Link to comment Share on other sites More sharing options...
Active Member Dex 520 Posted May 14, 2018 Active Member Share Posted May 14, 2018 vor 6 Stunden schrieb Raylee: Maybe that? Best regards Raylee No but i found it. def __AppendAttributeInformation(self, attrSlot, itemAbsChance = 0, vnum = 0): if 0 != attrSlot: for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM): type = attrSlot[i][0] value = attrSlot[i][1] if 0 == value: continue affectString = self.__GetAffectString(type, value) if app.ENABLE_SASH_SYSTEM: if vnum >= 85001 and vnum <= 85024 or vnum >= 86001 and vnum <= 86058: ## THIS LINE NEED TO BE CHANGED LIKE THIS value = self.CalcSashValue(value, itemAbsChance) affectString = self.__GetAffectString(type, value) if affectString: affectColor = self.__GetAttributeColor(i, value) self.AppendTextLine(affectString, affectColor) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now