Premium CHXMVN 433 Posted August 31, 2019 Premium Share Posted August 31, 2019 M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) Hello, this type of system was already released on TurkMMO today, I thought I will post a in my opinion better implementation of this system. Download: This is the hidden content, please Sign In or Sign Up Thanks to VegaS for the re-edit. Kind regards, CHMarvin. 235 2 4 1 1 2 1 2 3 2 1 61 7 104 Link to comment Share on other sites More sharing options...
Forum Moderator VegaS™ 10268 Posted September 3, 2019 Forum Moderator Share Posted September 3, 2019 On 8/31/2019 at 9:34 PM, CHMarvin said: Spoiler ANTI_FLAG_NAMES = ( localeInfo.TOOLTIP_ANTIFLAG_DROP, localeInfo.TOOLTIP_ANTIFLAG_SELL, localeInfo.TOOLTIP_ANTIFLAG_GIVE, localeInfo.TOOLTIP_ANTIFLAG_PKDROP, localeInfo.TOOLTIP_ANTIFLAG_STACK, localeInfo.TOOLTIP_ANTIFLAG_MYSHOP, ) ANTI_FLAG_COUNT = len(ANTI_FLAG_NAMES) def AppendAntiflagInformation(self): self.AppendSpace(5) antiFlagList = ( item.IsAntiFlag(item.ITEM_ANTIFLAG_DROP), item.IsAntiFlag(item.ITEM_ANTIFLAG_SELL), item.IsAntiFlag(item.ITEM_ANTIFLAG_GIVE), item.IsAntiFlag(item.ITEM_ANTIFLAG_PKDROP), item.IsAntiFlag(item.ITEM_ANTIFLAG_STACK), item.IsAntiFlag(item.ITEM_ANTIFLAG_MYSHOP), item.IsAntiFlag(item.ITEM_ANTIFLAG_SAFEBOX), ) antiFlagNames = "" flagCount = 0 for i in xrange(self.ANTI_FLAG_COUNT): name = self.ANTI_FLAG_NAMES[i] flag = antiFlagList[i] if flag: if flagCount > 0: antiFlagNames += ", " flagCount = flagCount + 1 antiFlagNames += name if flagCount > 0: antiFlagNames += " " antiFlagNames += localeInfo.NOT_POSSIBLE if antiFlagNames != "": textLine = self.AppendTextLine(antiFlagNames, self.CONDITION_COLOR) textLine.SetFeather() I would do it like this, in a simple way, without useless code, as i said in another forum too. This is the hidden content, please Sign In or Sign Up 140 2 2 1 1 2 4 2 25 2 82 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON Link to comment Share on other sites More sharing options...
Active Member nazox 213 Posted May 25, 2020 Active Member Share Posted May 25, 2020 For my not work, my sysser is clean jajaja thx for your code vegas 1 Nicks: Nazox™ Krone™ Nagato™ Yahiko™ Yakiro™ Proyecto: Trabajando en el. Compañeros & firma: DreamHQ - 2009-2015 [Nostalgia] Link to comment Share on other sites More sharing options...
developerares 1 Posted July 27, 2022 Share Posted July 27, 2022 Link to comment Share on other sites More sharing options...
TronTR 1 Posted March 16, 2023 Share Posted March 16, 2023 item.LIMIT_TIMER_BASED_ON_WEAR Link to comment Share on other sites More sharing options...
Recommended Posts