Premium WeedHex 635 Posted April 5, 2018 Premium Share Posted April 5, 2018 Today i saw a weird thing on my uitooltip. If item with remain time stay into a shop, time shows: "Remain time 0 sec." Here's the fix: replace theese functions: def AppendUniqueItemLastTime(self, restMin): def AppendMallItemLastTime(self, endTime): Like this: def AppendUniqueItemLastTime(self, restMin): if restMin > 0: restSecond = restMin*60 self.AppendSpace(5) self.AppendTextLine(localeInfo.LEFT_TIME + " : " + localeInfo.SecondToHM(restSecond), self.NORMAL_COLOR) def AppendMallItemLastTime(self, endTime): if endTime > 0: leftSec = max(0, endTime - app.GetGlobalTimeStamp()) self.AppendSpace(5) self.AppendTextLine(localeInfo.LEFT_TIME + " : " + localeInfo.SecondToDHM(leftSec), self.NORMAL_COLOR) 1 1 Link to comment Share on other sites More sharing options...
Aerrow 41 Posted April 9, 2018 Share Posted April 9, 2018 I hate when some people delete their bug fix topic... Quote Today i saw a weird thing on my uitooltip. If item with remain time stay into a shop, time shows: "Remain time 0 sec." Here's the fix: replace theese functions: def AppendUniqueItemLastTime(self, restMin): def AppendMallItemLastTime(self, endTime): Like this: def AppendUniqueItemLastTime(self, restMin): if restMin > 0: restSecond = restMin*60 self.AppendSpace(5) self.AppendTextLine(localeInfo.LEFT_TIME + " : " + localeInfo.SecondToHM(restSecond), self.NORMAL_COLOR) def AppendMallItemLastTime(self, endTime): if endTime > 0: leftSec = max(0, endTime - app.GetGlobalTimeStamp()) self.AppendSpace(5) self.AppendTextLine(localeInfo.LEFT_TIME + " : " + localeInfo.SecondToDHM(leftSec), self.NORMAL_COLOR) 19 Link to comment Share on other sites More sharing options...
Premium EnKor 42 Posted April 5, 2019 Premium Share Posted April 5, 2019 On 4/5/2018 at 7:28 PM, WeedHex said: NOONE PUT LIKE I REMOVE THE THREAD. Lols u serius! I will take some time, but i will remove all likes i give to u! If u are in here for "like hunter" go to facebook. 2 if pc.get_sex() == true and npc.get_sex() == false then npc.purge() end Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted April 5, 2019 Author Premium Share Posted April 5, 2019 (edited) On 4/5/2019 at 12:31 PM, EnKor said: Lols u serius! I will take some time, but i will remove all likes i give to u! If u are in here for "like hunter" go to facebook. I'm not here to give things to the people who take them and go to hell without even giving at least thanks Edited July 25, 2022 by WeedHex Link to comment Share on other sites More sharing options...
Active Member Exygo 1091 Posted April 5, 2019 Active Member Share Posted April 5, 2019 Look ! People gave likes to that guy who reposted not to you LOL. 2 https://www.youtube.com/channel/UCQ8mAeda9TWq6SsTzB53emw/videos Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted April 5, 2019 Author Premium Share Posted April 5, 2019 In fact I understand how is useless to do favors with my account... I am always happy to give things away, but many times I change my mind or maybe they prefer the flame of generous threads Link to comment Share on other sites More sharing options...
Premium EnKor 42 Posted April 5, 2019 Premium Share Posted April 5, 2019 18 minutes ago, WeedHex said: In fact I understand how is useless to do favor with my account... In all community there's maybe 20% of nice and respect persons! Some will say thank you, some will not. Some will be glad, and some will take that "info" and post it in other foruns and say; "Hey, look for what i have make"! But most of the guys, are simple noob at starter and keep noob after know something. Because, when they dont know anything about metin come to ask for help, but when they know one or two things, they delete all "owne topics" because "no one say thankyou" xD But u have right, and i agreed with u: "Learn to live in a community" we all have to learn, like u need! if pc.get_sex() == true and npc.get_sex() == false then npc.purge() end Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted April 5, 2019 Author Premium Share Posted April 5, 2019 Do the same thing every time, but don't get confused with other people, I'm not asking for help, I'm giving free things to be more credible on this forum to work clean. Btw in part you're right. I will give free nonsense as always done for these reasons. You're doing the moral for a >0 check ahahah @EnKor Link to comment Share on other sites More sharing options...
Premium EnKor 42 Posted April 5, 2019 Premium Share Posted April 5, 2019 2 minutes ago, WeedHex said: Do the same thing every time, but don't get confused with other people, I'm not asking for help, I'm giving free things to be more credible on this forum to work clean. Btw in part you're right. I will give free nonsense as always done for these reasons. @EnKor If u real belive in this "giving free things to be more credible on this forum to work clean" why u delete after "giving" !? Will make forum more clean?! Anyway, i'm out! 2 if pc.get_sex() == true and npc.get_sex() == false then npc.purge() end Link to comment Share on other sites More sharing options...
Premium Syreldar 1875 Posted April 6, 2019 Premium Share Posted April 6, 2019 The problem could easily be solved by adding the same feature the other forums have: Making x content only visible if a "Like" has been given. This way everyone's happy and even "Like hunters" will post and contribute freely. 1 4 "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Honorable Member martysama0134 7175 Posted April 6, 2019 Honorable Member Share Posted April 6, 2019 On 4/9/2018 at 9:03 PM, Aerrow said: app.GetGlobalTimeStamp() The problem of using this function is that it's not refreshed at re-warp, so it will show an old date. Check out my GitHub Link to comment Share on other sites More sharing options...
Active Member Exygo 1091 Posted April 6, 2019 Active Member Share Posted April 6, 2019 8 hours ago, martysama0134 said: The problem of using this function is that it's not refreshed at re-warp, so it will show an old date. HEADER_GC_TIME is being sent on Entergame packet https://www.youtube.com/channel/UCQ8mAeda9TWq6SsTzB53emw/videos Link to comment Share on other sites More sharing options...
peakzinho 21 Posted December 9, 2020 Share Posted December 9, 2020 This work, does not work on all items. Lack: AppendRealTimeStartFirstUseLastTime Link to comment Share on other sites More sharing options...
Suzar 21 Posted April 6, 2021 Share Posted April 6, 2021 not working. Link to comment Share on other sites More sharing options...
Recommended Posts