-
Posts
41 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Caen
-
-
-
-
-
I also have a problem, when I teleport to a map on ch99 it disconnects me and I can't get into that character anymore. I would like to mention that nothing appears in the syserr client and server.
-
Hello, if anyone knows what adjustment I might make if the name is too long and it comes out of that box to set a limit to where I want the name to appear and at the end of the name to appear ... and when you click on the name to get your name appears whole. I leave a picture below to find out what I'm saying.
-
On 10/17/2019 at 2:03 AM, Nezuko said:
Hi, here is a good tutorial for PM chatting.
interfaceModule.py
search:
def MakeHyperlinkTooltip(self, hyperlink):
replace with:
def MakeHyperlinkTooltip(self, hyperlink): tokens = hyperlink.split(":") if tokens and len(tokens): type = tokens[0] if "item" == type: self.hyperlinkItemTooltip.SetHyperlinkItem(tokens) elif "link" == type: if tokens[1][:4] == "www.": webbrowser.open_new(tokens[1]) elif tokens[1] == "http" or tokens[1] == "https": webbrowser.open_new(tokens[1]+":"+tokens[2]) elif "Chitra" == type or "msg" == type and str(tokens[1]) != player.GetMainCharacterName(): self.OpenWhisperDialog(str(tokens[1]))
constInfo.py
add:
Chitra = ''
uichat.py
search:
def __SendShoutChatPacket(self, text):
replace with:
def __SendShoutChatPacket(self, text): if 1 == len(text): self.RunCloseEvent() return if app.GetTime() < self.lastShoutTime + 10: chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_SHOUT_LIMIT) self.__ResetChat() return self.__SendChatPacket(constInfo.Chitra+'|cFF0080FF|HChitra:'+str(player.GetName())+'|h[PM]|h|r' + text[1:], chat.CHAT_TYPE_SHOUT) self.__ResetChat() self.lastShoutTime = app.GetTime()
Hope it is useful.
in the source, not in the python.
- 1
-
-
Does anyone have this system from the source?
- 1
-
-
-
-
-
Does anyone have this function to me?
-
5 hours ago, Den said:
Maybe give us some code of this system? We can't fix it by staring at gifs dude.
def __ArrangeButtonPosition(self): showingButtonCount = len(self.showingButtonList) pos = -(showingButtonCount / 2) * 68 if 0 == showingButtonCount % 2: pos += 34 for button in self.showingButtonList: button.SetPosition(pos, 33) pos += 68 if app.ENABLE_VIEW_TARGET_PLAYER_HP: if showingButtonCount <= 2: self.SetSize(max(150 + 125, showingButtonCount * 75), 65) else: self.SetSize(max(150, showingButtonCount * 75), 65) else: self.SetSize(max(150, showingButtonCount * 75), 65) self.UpdatePosition() if app.ENABLE_VIEW_TARGET_DECIMAL_HP: def SetHP(self, hpPercentage, iMinHP, iMaxHP): if not self.hpGauge.IsShow(): if app.ENABLE_VIEW_TARGET_PLAYER_HP: showingButtonCount = len(self.showingButtonList) if showingButtonCount > 0: if chr.GetInstanceType(self.vid) == chr.INSTANCE_TYPE_PLAYER: self.SetSize(max(150 + 75 * 3, showingButtonCount * 75), self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) if localeInfo.IsARABIC(): self.name.SetPosition( self.GetWidth()-23, 13) else: self.name.SetPosition(23, 13) self.name.SetWindowHorizontalAlignLeft() self.name.SetHorizontalAlignLeft() self.hpGauge.Show() self.UpdatePosition() self.hpGauge.SetPercentage(hpPercentage, 100) if app.ENABLE_VIEW_TARGET_DECIMAL_HP: iMinHPText = '.'.join([i - 3 < 0 and str(iMinHP)[:i] or str(iMinHP)[i-3:i] for i in range(len(str(iMinHP)) % 3, len(str(iMinHP))+1, 3) if i]) iMaxHPText = '.'.join([i - 3 < 0 and str(iMaxHP)[:i] or str(iMaxHP)[i-3:i] for i in range(len(str(iMaxHP)) % 3, len(str(iMaxHP))+1, 3) if i]) self.hpDecimal.SetText(str(iMinHPText) + "/" + str(iMaxHPText)) (textWidth, textHeight)=self.hpDecimal.GetTextSize() if localeInfo.IsARABIC(): self.hpDecimal.SetPosition(120 / 2 + textWidth / 2, -13) else: self.hpDecimal.SetPosition(130 / 2 - textWidth / 2, -13) self.hpDecimal.Show() else: def SetHP(self, hpPercentage): if not self.hpGauge.IsShow(): if app.ENABLE_VIEW_TARGET_PLAYER_HP: showingButtonCount = len(self.showingButtonList) if showingButtonCount > 0: if chr.GetInstanceType(self.GetTargetVID) != chr.INSTANCE_TYPE_PLAYER: if showingButtonCount != 1: self.SetSize(max(150, showingButtonCount * 75), self.GetHeight()) else: self.SetSize(max(150, 2 * 75), self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) if localeInfo.IsARABIC(): self.name.SetPosition( self.GetWidth()-23, 13) else: self.name.SetPosition(23, 13) self.name.SetWindowHorizontalAlignLeft() self.name.SetHorizontalAlignLeft() self.hpGauge.Show() self.UpdatePosition() if app.ENABLE_VIEW_TARGET_DECIMAL_HP: hpDecimal = ui.TextLine() hpDecimal.SetParent(hpGauge) hpDecimal.SetDefaultFontName() hpDecimal.SetPosition(5, 5) hpDecimal.SetOutline() hpDecimal.Hide() if app.ENABLE_VIEW_TARGET_DECIMAL_HP: self.hpDecimal = hpDecimal if app.ENABLE_VIEW_TARGET_DECIMAL_HP: self.hpDecimal = None if app.ENABLE_VIEW_TARGET_DECIMAL_HP: self.hpDecimal.Hide()
I think the problem it's from uitarget.
-
I have a little bug at hp bar. When i click on a player and I'm leaving, the bar is disappeared and hp is blocked.
At monsters and stones metin it's work good but at players no.
-
#banrequest #ASAP
-
-
-
I need someone who can decrypt some files encrypted with FoxPack, i want just one files from a client. i pay
-
-
-
-
On 28.10.2017 at 7:29 PM, tierrilopes said:
I already sent you working function, just copy any button, rename it and done.
come on discord to talk.
-
Problem CH99
in Community Support - Questions & Answers
Posted
i think it is offline, how could i connect it?