zendor2 1
zendor2
Bvural41 1
Bvural41
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Almira2 1
Almira2
romegames 1
romegames
D 1
delimuratt
melankolıa18 1
melankolıa18
shrpnl 1
shrpnl
Fethi Polat 1
Fethi Polat
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

[Small Release] Show all channel

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!

Thanks <3 I really needed Donald Trump as channel name :D
 
[QUOTE = "post VegaS89: 19578931, üyesi: 2147965"] [KOD] app.WJ_SHOW_ALL_CHANNEL ise:
def BINARY_OnChannelPacket (öz, kanal):
ithalat net
dict = {
'Varsayılan': 'Metin2, CH% d,
'Game99': 'Metin2 CH Donald Trump'
}

belirteçleri = dict [ 'varsayılan'],% kanalı
Kanal 99 ise:
belirteçleri = dict [ 'game99']

net.SetServerInfo (tokens.strip ())
self.interface eğer:
self.interface.wndMiniMap.serverInfo.SetText (net.GetServerInfo ()) [/ KOD] [/ Alıntı]

Soon lycan elf vs full fixed files will share the drinking east :)
 
Soon lycan elf vs full fixed files will share the drinking east :)
 
543c7dd844d649a7bf0ae5b4e19e676a.png
 
If channel is 99:
  • Metin2, CH General
If channel is normal like 1,2,3,4 etc:
  • Metin2, CH 1
PHP:
    net.SetServerInfo(
        "%s, %s" % (
        serverInfo.REGION_DICT[0][1]["name"],             
        [localeInfo.CHANNEL_NORMAL % channelID, localeInfo.CHANNEL_GENERAL][channelID is 99]
    ))

Or this is more funny, to get the channel where you are logged via port and result normal channel if you are in channel 1-98 and if you are in 99 result to CH General.

PHP:
if app.WJ_SHOW_ALL_CHANNEL:
    def BINARY_OnChannelPacket(self, port):
        def GetNameByPort(port):
            for _, channelData in serverInfo.SERVER_CHANNEL_DICT.iteritems():
                if channelData['tcp_port'] == port:
                    return "%s, %s" % (localeInfo.SERVER_NAME, channelData['name'])
            return "%s, %s" % (localeInfo.SERVER_NAME, localeInfo.CHANNEL_GENERAL)

        net.SetServerInfo(GetNameByPort(port).strip())
        self.interface.wndMiniMap.serverInfo.SetText(net.GetServerInfo())
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst