Jump to content

gergogonczi

Inactive Member
  • Posts

    11
  • Joined

  • Last visited

  • Feedback

    0%

About gergogonczi

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

gergogonczi's Achievements

Explorer

Explorer (4/16)

  • Collaborator
  • Dedicated
  • One Year In
  • Reacting Well
  • One Month Later

Recent Badges

1

Reputation

  1. It works! Thank you very much for your help!
  2. intrologin.py self.id = None self.pwd = None self.loginnedServer = None self.loginnedChannel = None app.loggined = False self.loginInfo = True try: server_name = logininfo.getAttribute("name") channel_idx = int(logininfo.getAttribute("channel_idx")) except: return try: matched = False for k, v in serverInfo.REGION_DICT[0].iteritems(): if v["name"] == server_name: account_addr = serverInfo.REGION_AUTH_SERVER_DICT[0][k]["ip"] account_port = serverInfo.REGION_AUTH_SERVER_DICT[0][k]["port"] channel_info = v["channel"][channel_idx] channel_name = channel_info["name"] addr = channel_info["ip"] port = channel_info["tcp_port"] net.SetMarkServer(addr, port) self.stream.SetConnectInfo(addr, port, account_addr, account_port) matched = True break if False == matched: return except: return self.__SetServerInfo("%s, %s " % (server_name, channel_name)) id = getValue(logininfo, "id", "") pwd = getValue(logininfo, "pwd", "") self.idEditLine.SetText(id) self.pwdEditLine.SetText(pwd) slot = getValue(logininfo, "slot", "0") locale = getValue(logininfo, "locale", "") locale_dir = getValue(logininfo, "locale_dir", "") is_auto_login = int(getValue(logininfo, "auto_login", "0")) self.stream.SetCharacterSlot(int(slot)) self.stream.isAutoLogin=is_auto_login self.stream.isAutoSelect=is_auto_login if locale and locale_dir: app.ForceSetLocale(locale, locale_dir) if 0 != is_auto_login: self.Connect(id, pwd) return uiminimap.py try: self.OpenWindow = self.GetChild("OpenWindow") self.MiniMapWindow = self.GetChild("MiniMapWindow") self.ScaleUpButton = self.GetChild("ScaleUpButton") self.ScaleDownButton = self.GetChild("ScaleDownButton") self.MiniMapHideButton = self.GetChild("MiniMapHideButton") self.AtlasShowButton = self.GetChild("AtlasShowButton") self.CloseWindow = self.GetChild("CloseWindow") self.MiniMapShowButton = self.GetChild("MiniMapShowButton") self.positionInfo = self.GetChild("PositionInfo") self.observerCount = self.GetChild("ObserverCount") self.serverInfo = self.GetChild("ServerInfo") except: import exception exception.Abort("MiniMap.LoadWindow.Bind") if constInfo.MINIMAP_POSITIONINFO_ENABLE==0: self.positionInfo.Hide() self.serverInfo.SetText(net.GetServerInfo()) serverinfo.py import app import localeInfo app.ServerName = None SRV1 = { "name":"server", "host":"localhost", #"host":"0.0.0.0", "auth1":11000, "ch1":13000, "ch2":13010, "ch3":13020, "ch4":13030, } PORT_MARK = 13000 STATE_NONE = "|cFFdadada" + localeInfo.CHANNEL_STATUS_OFFLINE STATE_DICT = { 0 : "|cFFffffff" + localeInfo.CHANNEL_STATUS_OFFLINE, 1 : "|cFF00ff00" + localeInfo.CHANNEL_STATUS_RECOMMENDED, 2 : "|cFFffc000" + localeInfo.CHANNEL_STATUS_BUSY, 3 : "|cFFff0000" + localeInfo.CHANNEL_STATUS_FULL, } SERVER1_CHANNEL_DICT = { 1:{"key":11,"name":"CH1","ip":SRV1["host"],"tcp_port":SRV1["ch1"],"udp_port":SRV1["ch1"],"state":STATE_NONE,}, 2:{"key":12,"name":"CH2","ip":SRV1["host"],"tcp_port":SRV1["ch2"],"udp_port":SRV1["ch2"],"state":STATE_NONE,}, 3:{"key":13,"name":"CH3","ip":SRV1["host"],"tcp_port":SRV1["ch3"],"udp_port":SRV1["ch3"],"state":STATE_NONE,}, 4:{"key":14,"name":"CH4","ip":SRV1["host"],"tcp_port":SRV1["ch4"],"udp_port":SRV1["ch4"],"state":STATE_NONE,}, } REGION_AUTH_SERVER_DICT = { 0 : { 1 : { "ip":SRV1["host"], "port":SRV1["auth1"], }, } } REGION_DICT = { 0 : { 1 : { "name" :SRV1["name"], "channel" : SERVER1_CHANNEL_DICT, }, }, } MARKADDR_DICT = { 10 : { "ip" : SRV1["host"], "tcp_port" : SRV1["ch1"], "mark" : "10.tga", "symbol_path" : "10", }, } MARKADDR_DICT = { 10 : { "ip" : SRV1["host"], "tcp_port" : PORT_MARK, "mark" : "10.tga", "symbol_path" : "10", }, } Do you see a mistake somewhere?
  3. Thanks for the answer @ ATAG! I checked this too and there is no problem, maybe it has something to do with the source?
  4. Hello! Maybe someone managed to eliminate the error so that the channel information appears under the minimap? No matter how I look at it, I can't find where the error is. (Sorry for the English!) Thank you in advance for your answer!
  5. Nice work! Does anyone have a solution for this? 1. Quest scrolls disappear when changing characters. 2. Server compile (llvm-devel) it runs into an error. Sorry for the english! Thank you in advance for your help!
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.