Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 03:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP]CH2 in 2010 Client einbauen?

Discussion on [HELP]CH2 in 2010 Client einbauen? within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2010
Posts: 337
Received Thanks: 100
Exclamation [HELP]CH2 in 2010 Client einbauen?

Hi COM,

Ich krigs nicht hin nen 2.ch in die Serverinfo.py vom 2010 Clienten einzubauen. Deswegen wollte ich mal hier nachfragen.
SO Siehts ja anfangs aus :

PHP Code:
import os
import app
import locale
import debugInfo
import binascii

CHINA_PORT 
50000

def BuildServerList
(orderList):
    
retMarkAddrDict = {}
    
retAuthAddrDict = {}
    
retRegion0 = {}

    
ridx 1
    
for regionauthmarkchannels in orderList:
        
cidx 1
        channelDict 
= {}
        for 
channel in channels:
            
key ridx 10 cidx
            channel
["key"] = key
            channelDict
[cidx] = channel
            cidx 
+= 1

        region
["channel"] = channelDict

        retRegion0
[ridx] = region
        retAuthAddrDict
[ridx] = auth
        retMarkAddrDict
[ridx*10] = mark
        ridx 
+= 1

    
return retRegion0retAuthAddrDictretMarkAddrDict

app
.ServerName None


if locale.IsEUROPE():
    
info = {
        
'MARKADDR': {
        
10: {
            
'tcp_port'13000'ip':  "5.67.42.89"'symbol_path''10''mark''10.tga'
            
}
        },
        
'GAMEADDR': {
            
0: {
                
1: {
                    
'name'"JoKoMt2",
                    
'channel':
                {
                    
1: {
                    
'state''...''name''CH1   ''key'11'ip':  "5.67.42.89"'tcp_port'13000'udp_port'13000
                    
}
                }
            },
        } }, 
'NAME': { 0'GERMANY' }, 'AUTHADDR': { 0: {
        
1: {
            
'ip':  "5.67.42.89"'port'11002
            
}
        } }
    }

    
STATE_NONE "..."

    
STATE_DICT = {
        
"....",
        
"NORM",
        
"BUSY",
        
"FULL"
    
}

    
REGION_NAME_DICT info["NAME"]
    
REGION_AUTH_SERVER_DICT info["AUTHADDR"]
    
REGION_DICT info["GAMEADDR"]
    
MARKADDR_DICT info["MARKADDR"
Kann mir das einer umschreiben auf 2ch pls


Danke im voraus

MfG
Chikudo
Chikudo is offline  
Thanks
1 User
Old 11/01/2010, 09:40   #2
 
elite*gold: 0
Join Date: May 2010
Posts: 398
Received Thanks: 246
hier bitte^^
PHP Code:
import locale
def BuildServerList
(orderList):
    
retMarkAddrDict = {}
    
retAuthAddrDict = {}
    
retRegion0 = {}

    
ridx 1
    
for regionauthmarkchannels in orderList:
        
cidx 1
        channelDict 
= {}
        for 
channel in channels:
            
key ridx 10 cidx
            channel
['key'] = key
            channelDict
[cidx] = channel
            cidx 
+= 1

        region
['channel'] = channelDict

        retRegion0
[ridx] = region
        retAuthAddrDict
[ridx] = auth
        retMarkAddrDict
[ridx*10] = mark
        ridx 
+= 1

    
return retRegion0retAuthAddrDictretMarkAddrDict
if locale.IsEUROPE():
    
STATE_NONE '...'

    
STATE_DICT = {
        
'....',
        
'NORM',
        
'BUSY',
        
'FULL',
    }

    
CHANNELS1 = [
        {
'name':'CH1','ip':'DeineIP','tcp_port':13000,'udp_port':13000,'state':STATE_NONE,},
        {
'name':'CH2','ip':'DEINEIP','tcp_port':DEINCHARPORT,'udp_port':DEINCHARPORT,'state':STATE_NONE,},
    ]
    
MARK1 = { 'ip' 'DeineIP''tcp_port' 13000'mark' '120.tga''symbol_path' '120', }
    
AUTH1 = {'ip':'DeineIP','port':11002, }
    
NAME1 = { 'name' 'Servername'}
    
REGION0_ORDER_LIST = [
        (
NAME1AUTH1MARK1CHANNELS1),
    ]
    
NEW_REGION0NEW_REGION0_AUTH_SERVER_DICTNEW_MARKADDR_DICT BuildServerList(REGION0_ORDER_LIST)
    
# RESULT
    
NEW_REGION_NAME_DICT = {'POLAND',}
    
NEW_REGION_AUTH_SERVER_DICT = {NEW_REGION0_AUTH_SERVER_DICT,}
    
NEW_REGION_DICT = {NEW_REGION0,}

    
MARKADDR_DICT NEW_MARKADDR_DICT
    REGION_DICT 
NEW_REGION_DICT
    REGION_NAME_DICT 
NEW_REGION_NAME_DICT
    REGION_AUTH_SERVER_DICT 
NEW_REGION_AUTH_SERVER_DICT

    TESTADDR 
= { 'ip' '127.0.0.1''tcp_port' 50000'udp_port' 50000, } 
ist mit dem serverinfo_generator von methi gemacht worden.
.TiBuRiOn is offline  
Thanks
2 Users
Old 11/01/2010, 09:45   #3
 
elite*gold: 0
Join Date: Sep 2010
Posts: 337
Received Thanks: 100
Daaaannnkeeee !

€ Geile Sig ( Justin Bieber xD )


€² Geht nicht steht log Fehler drinne -.-

Kann es eind as das für POLAND ist ^^

da Screen :


Uploaded with
Chikudo is offline  
Old 11/01/2010, 10:55   #4
 
NaDxRelease's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 22
Received Thanks: 21
Quote:
Daaaannnkeeee !

€ Geile Sig ( Justin Bieber xD )


€² Geht nicht steht log Fehler drinne -.-

Kann es eind as das für POLAND ist ^^
Ja ist es. Wenn du dir das Script mal genau anguckst, dann fällt dir auf das da steht:

PHP Code:
# RESULT
    
NEW_REGION_NAME_DICT = {'POLAND',}
    
NEW_REGION_AUTH_SERVER_DICT = {NEW_REGION0_AUTH_SERVER_DICT,}
    
NEW_REGION_DICT = {NEW_REGION0,}

    
MARKADDR_DICT NEW_MARKADDR_DICT
    REGION_DICT 
NEW_REGION_DICT
    REGION_NAME_DICT 
NEW_REGION_NAME_DICT
    REGION_AUTH_SERVER_DICT 
NEW_REGION_AUTH_SERVER_DICT 
Ich weiß jetzt nicht ob man da einfach nur die Region wechseln muss..
NaDxRelease is offline  
Old 11/01/2010, 12:10   #5
 
elite*gold: 0
Join Date: Sep 2010
Posts: 337
Received Thanks: 100
Wie geht das ?
Chikudo is offline  
Old 11/02/2010, 01:15   #6
 
cCcVaTaNcCc's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 223
Received Thanks: 50
hier bitte schön

PHP Code:
import os
import app
import locale
import debugInfo

CHINA_PORT 
50000

def BuildServerList
(orderList):
    
retMarkAddrDict = {}
    
retAuthAddrDict = {}
    
retRegion0 = {}

    
ridx 1
    
for regionauthmarkchannels in orderList:
        
cidx 1
        channelDict 
= {}
        for 
channel in channels:
            
key ridx 10 cidx
            channel
["key"] = key
            channelDict
[cidx] = channel
            cidx 
+= 1

        region
["channel"] = channelDict

        retRegion0
[ridx] = region
        retAuthAddrDict
[ridx] = auth
        retMarkAddrDict
[ridx*10] = mark
        ridx 
+= 1

    
return retRegion0retAuthAddrDictretMarkAddrDict

app
.ServerName None


if locale.IsEUROPE():
    
info = {
        
'MARKADDR': {
        
10: {
            
'tcp_port'13000'ip''deine ip hier rein''symbol_path''10''mark''10.tga'
            
}
        },
        
'GAMEADDR': {
            
0: {
                
1: {
                    
'name''Servernamen',
                    
'channel':
                {
                    
1: {
                    
'state''...''name''CH1    ''key'11'ip''deine ip hier rein''tcp_port'13000'udp_port'13000
                    
}, 2: {
                    
'state''...''name''CH2    ''key'12'ip''deine ip hier rein''tcp_port'13000'udp_port'13000
                    
}
                }
            },
        } }, 
'NAME': { 0'GERMANY' }, 'AUTHADDR': { 0: {
        
1: {
            
'ip''deine ip hier rein''port'11002
            
}
        } }
    }

    
STATE_NONE "..."

    
STATE_DICT = {
        
"....",
        
"NORM",
        
"BUSY",
        
"FULL"
    
}

    
REGION_NAME_DICT info["NAME"]
    
REGION_AUTH_SERVER_DICT info["AUTHADDR"]
    
REGION_DICT info["GAMEADDR"]
    
MARKADDR_DICT info["MARKADDR"
cCcVaTaNcCc is offline  
Thanks
1 User
Old 11/02/2010, 01:29   #7
 
elite*gold: 0
Join Date: Sep 2010
Posts: 337
Received Thanks: 100
Danke kardas
Chikudo is offline  
Old 11/02/2010, 05:27   #8
 
heshii''s Avatar
 
elite*gold: 4
Join Date: Sep 2010
Posts: 985
Received Thanks: 337
Es ist doch wenn man den 2010er client von ivan oder so Downloadet dabei ?
heshii' is offline  
Reply


Similar Threads Similar Threads
2010 Client Brauch 2010 Entpacker
10/21/2010 - Metin2 Private Server - 8 Replies
Hey Leute Ich Suche Gerade Den 2010 Entpacker Hoffe Auf Hilfe Ich muss Mal Den NW3 Und Den Finmalmt2 Client Durchsuchen hoffe um hilfe danke !
[HowTo]Andere Statusmeldungen im Client einbauen
07/15/2010 - Metin2 PServer Guides & Strategies - 11 Replies
Hey Com, ihr wollte mal ein TuT machen, in dem ich erkläre, wie ihr eine neue Statusmeldung in eueren Server/Client einfügt. 1. Als erstes öffnet ihr die die locale_game in euerem Client (locale/de) Sucht dort nach "LOGIN_FAILURE_BLOCK_ID Dein Konto wurde gesperrt". Darunter macht ihr eine neue Zeile, dort schreibt ihr "LOGIN_FAILURE_BLOCK_TEST Test-Statusmeldung& quot; rein. 2. Abspeichern 3. Ihr öffnet die "intrologin.py" aus dem Hauptverzeichnis udn sucht nach "BLOCK" :...
Client-Modding Frage: Neuen NPC einbauen
06/10/2010 - Metin2 Private Server - 5 Replies
Hey, habe eine Frage.. Wenn ich z.B. einfach die Gemischtwarenhändlerin 2x haben möchte, vom Aussehen her komplett gleich, wo muss ich im Clienten angeben, welcher NPCID das Objekt im Monster.epk/.eix hat? Also die Gemi wird ja der ID 9003 zugewiesen, wie kann ich es ändern, dass auch der NPC mit der ID 1234567 so aussieht, wie die Gemi? Danke! :)



All times are GMT +1. The time now is 03:04.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.