Jump to content
  • 0

CH1 = CH2 What's wrong?


florinrevine

Question

Hy, I have a server with 4 CHANNELS.
When I open only one channel it work perfectly if I open 2,3,4 channels the state working perfectly [is NORMAL not ....] but the players/mobs are the same in every channel.
In syserr I don't have errors.
CONFIG CH1 Core1

HOSTNAME: nucleu_1

CHANNEL: 1

PORT: 51110

P2P_PORT: 14101

DB_PORT: 15001

DB_ADDR: localhost

MAP_ALLOW: 1 3 21 23 41 43

PASSES_PER_SEC: 25

SAVE_EVENT_SECOND_CYCLE: 180

PING_EVENT_SECOND_CYCLE: 180

PLAYER_SQL: localhost mt2 [email protected]# player

COMMON_SQL: localhost mt2 [email protected]# common

#LOG_SQL: localhost mt2 [email protected]# log

LOCALE_SERVICE: germany

MARK_SERVER: 1

CONFIG CH1 Core2

HOSTNAME: nucleu_2

CHANNEL: 1

PORT: 51120

P2P_PORT: 14102

DB_PORT: 15001

DB_ADDR: localhost

MAP_ALLOW: 4 5 24 25 44 45 61 62 63 65 67 68 69 70 103 107 108 109

PASSES_PER_SEC: 25

SAVE_EVENT_SECOND_CYCLE: 180

PING_EVENT_SECOND_CYCLE: 180

PLAYER_SQL: localhost mt2 [email protected]# player

COMMON_SQL: localhost mt2 [email protected]# common

#LOG_SQL: localhost mt2 [email protected]# log

LOCALE_SERVICE: germany

MARK_SERVER: 1

CHANNEL1 Core3

HOSTNAME: nucleu_3

CHANNEL: 1

PORT: 51130

P2P_PORT: 14103

DB_PORT: 15001

DB_ADDR: localhost

MAP_ALLOW: 114 121 125

PASSES_PER_SEC: 25

SAVE_EVENT_SECOND_CYCLE: 180

PING_EVENT_SECOND_CYCLE: 180

PLAYER_SQL: localhost mt2 [email protected]# player

COMMON_SQL: localhost mt2 [email protected]# common

#LOG_SQL: localhost mt2 [email protected]# log

LOCALE_SERVICE: germany

MARK_SERVER: 1

CHANNEL2 Core1

HOSTNAME: nucleu_1

CHANNEL: 2

PORT: 22100

P2P_PORT: 52110

DB_PORT: 15001

DB_ADDR: localhost

MAP_ALLOW: 1 3 21 23 41 43

PASSES_PER_SEC: 25

SAVE_EVENT_SECOND_CYCLE: 180

PING_EVENT_SECOND_CYCLE: 180

PLAYER_SQL: localhost mt2 [email protected]# player

COMMON_SQL: localhost mt2 [email protected]# common

#LOG_SQL: localhost mt2 [email protected]# log

LOCALE_SERVICE: germany

MARK_SERVER: 1

CHANNEL2 Core2

HOSTNAME: nucleu_2

CHANNEL: 2

PORT: 22300

P2P_PORT: 52120

DB_PORT: 15001

DB_ADDR: localhost

MAP_ALLOW: 4 5 24 25 44 45 61 62 63 65 67 68 69 70 103 107 108 109 114 121 125

PASSES_PER_SEC: 25

SAVE_EVENT_SECOND_CYCLE: 180

PING_EVENT_SECOND_CYCLE: 180

PLAYER_SQL: localhost mt2 [email protected]# player

COMMON_SQL: localhost mt2 [email protected]# common

#LOG_SQL: localhost mt2 [email protected]# log

LOCALE_SERVICE: germany

MARK_SERVER: 1
Link to comment
  • Answers 8
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

8 answers to this question

Recommended Posts

  • 0
import app
import locale
import debugInfo
app.ServerName = None
STATE_NONE = 'OFFLINE'
STATE_DICT = {
    0: 'OFFLINE',
    1: 'NORMAL',
    2: 'OCUPAT',
    3: 'PLIN' }
MT2_CHANNEL_DICT = {
    1: {
        'key': 11,
        'name': 'CH1 ',
        'ip': '195.225.58.37',
        'tcp_port': 51110,
        'udp_port': 51110,
        'state': STATE_NONE },
    2: {
        'key': 12,
        'name': 'CH2 ',
        'ip': '195.225.58.37',
        'tcp_port': 22100,
        'udp_port': 22100,
        'state': STATE_NONE },
    3: {
        'key': 13,
        'name': 'CH3 ',
        'ip': '195.225.58.37',
        'tcp_port': 33200,
        'udp_port': 33200,
        'state': STATE_NONE },
	4: {
        'key': 14,
        'name': 'CH4 ',
        'ip': '195.225.58.37',
        'tcp_port': 44100,
        'udp_port': 44100,
        'state': STATE_NONE } }
REGION_NAME_DICT = {
    0: 'Romania' }
REGION_AUTH_SERVER_DICT = {
    0: {
        1: {
            'ip': '195.225.58.37',
            'port': 45000 } } }
REGION_DICT = {
    0: {
        1: {
            'name': 'Metin2Fiesta.ro',
            'channel': MT2_CHANNEL_DICT } } }
MARKADDR_DICT = {
    10: {
        'ip': '195.225.58.37',
        'tcp_port': 51110,
        'mark': '10.tga',
        'symbol_path': '10' } }		
TESTADDR = {
    'ip': '127.0.0.0',
    'tcp_port': 50000,
    'udp_port': 50000 }
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.