Jump to content

CH1 = CH2 What's wrong?


Go to solution Solved by florinrevine,

Recommended Posts

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 mt2!@# player

COMMON_SQL: localhost mt2 mt2!@# common

#LOG_SQL: localhost mt2 mt2!@# 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 mt2!@# player

COMMON_SQL: localhost mt2 mt2!@# common

#LOG_SQL: localhost mt2 mt2!@# 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 mt2!@# player

COMMON_SQL: localhost mt2 mt2!@# common

#LOG_SQL: localhost mt2 mt2!@# 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 mt2!@# player

COMMON_SQL: localhost mt2 mt2!@# common

#LOG_SQL: localhost mt2 mt2!@# 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 mt2!@# player

COMMON_SQL: localhost mt2 mt2!@# common

#LOG_SQL: localhost mt2 mt2!@# log

LOCALE_SERVICE: germany

MARK_SERVER: 1
Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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