Fenczu 2 Posted January 20 Share Posted January 20 (edited) I have problem with server for friends, kicking after character select. Config Auth Spoiler HOSTNAME: auth CHANNEL: 1 PORT: 11004 P2P_PORT: 12550 DB_PORT: 18000 DB_ADDR: localhost PASSES_PER_SEC: 25 VERSION_CLIENT: 1000000020 SAVE_EVENT_SECOND_CYCLE: 180 PING_EVENT_SECOND_CYCLE: 180 TABLE_POSTFIX: ITEM_ID_RANGE: 000000001 000000002 AUTH_SERVER: master PLAYER_SQL: localhost mt2 3215 account COMMON_SQL: localhost mt2 3215 common LOG_SQL: localhost mt2 3215 log LOCALE_SERVICE: poland Config Ch11 Spoiler HOSTNAME: channel1 CHANNEL: 1 PORT: 29000 P2P_PORT: 30000 DB_PORT: 18000 DB_ADDR: localhost MAP_ALLOW: 1 3 21 23 41 43 5 25 45 108 109 61 TABLE_POSTFIX: PASSES_PER_SEC: 25 VERSION_CLIENT: 1000000020 SAVE_EVENT_SECOND_CYCLE: 180 PING_EVENT_SECOND_CYCLE: 180 PLAYER_SQL: localhost mt2 3215 player COMMON_SQL: localhost mt2 3215 common LOG_SQL: localhost mt2 3215 log SERVER_KEY: fIFjs5S47kdhsMUxsgjSrisTfGRB79PN4qi/D4U6yCX1LYUqBDQOxleqtAxp+cFteti2gp6fnnQ9Td2QFUWjpSuwLX/XDfCTgkCwoxYzb0P20YgIraXKDrN5FHbKYUvOl0Y69NcHUpGo+xU+Tbs2O6AEJYLrqW0BW3ggL6JeVUM* MALL_URL: localhost ADMINPAGE_IP: localhost ADMINPAGE_IP1: localhost ADMINPAGE_IP2: localhost ADMINPAGE_IP3: localhost ADMINPAGE_PASSWORD: 11qKzmCuVlAwkthqSY4x VIEW_RANGE: 8000 CHECK_MULTIHACK: 0 MAX_LEVEL: 120 TEST_SERVER: 0 XTRAP_ENABLE: 0 GLOBAL_SHOUT: 1 SHOP_PRICE_3X_TAX: 0 Config Ch12 Spoiler HOSTNAME: channel1 CHANNEL: 1 PORT: 29001 P2P_PORT: 30001 DB_PORT: 18000 DB_ADDR: localhost MAP_ALLOW: 62 63 64 65 67 68 69 70 10 71 TABLE_POSTFIX: PASSES_PER_SEC: 25 VERSION_CLIENT: 1000000020 SAVE_EVENT_SECOND_CYCLE: 180 PING_EVENT_SECOND_CYCLE: 180 PLAYER_SQL: localhost mt2 3215 player COMMON_SQL: localhost mt2 3215 common LOG_SQL: localhost mt2 3215 log SERVER_KEY: fIFjs5S47kdhsMUxsgjSrisTfGRB79PN4qi/D4U6yCX1LYUqBDQOxleqtAxp+cFteti2gp6fnnQ9Td2QFUWjpSuwLX/XDfCTgkCwoxYzb0P20YgIraXKDrN5FHbKYUvOl0Y69NcHUpGo+xU+Tbs2O6AEJYLrqW0BW3ggL6JeVUM* MALL_URL: localhost ADMINPAGE_IP: localhost ADMINPAGE_IP1: localhost ADMINPAGE_IP2: localhost ADMINPAGE_IP3: localhost ADMINPAGE_PASSWORD: 11qKzmCuVlAwkthqSY4x VIEW_RANGE: 8000 CHECK_MULTIHACK: 0 MAX_LEVEL: 120 TEST_SERVER: 0 XTRAP_ENABLE: 0 GLOBAL_SHOUT: 1 SHOP_PRICE_3X_TAX: 0 Serverinfo.py Spoiler import app app.ServerName = None SRV1 = { "name":"KenwayMT2", "host":"25.59.12.107", "auth1":11004, "ch1":29000, "ch2":29100, "ch3":29200, "ch4":29300, } STATE_NONE = "|cffFF0000|hOFFLINE" STATE_DICT = { 0: "|cffFF0000|h....", 1: "|cff00ff00|hONLINE", 2: "|cffffff00|hBUSY", 3: "|cffff8a08|hFULL" } SERVER1_CHANNEL_DICT = { 0: {"key":10, "name":"|cffFFFFFF|hCH-1", "ip":SRV1["host"], "tcp_port":SRV1["ch1"], "udp_port":SRV1["ch1"], "state":STATE_NONE,}, 1: {"key":11, "name":"|cffFFFFFF|hCH-2", "ip":SRV1["host"], "tcp_port":SRV1["ch2"], "udp_port":SRV1["ch2"], "state":STATE_NONE,}, 2: {"key":12, "name":"|cffFFFFFF|hCH-3", "ip":SRV1["host"], "tcp_port":SRV1["ch3"], "udp_port":SRV1["ch3"], "state":STATE_NONE,}, 3: {"key":13, "name":"|cffFFFFFF|hCH-4", "ip":SRV1["host"], "tcp_port":SRV1["ch4"], "udp_port":SRV1["ch4"], "state":STATE_NONE,}, } REGION_NAME_DICT = { 0: SRV1["name"], } REGION_AUTH_SERVER_DICT = { 0: { 0: {"ip": SRV1["host"], "port": SRV1["auth1"],}, 1: {"ip": SRV1["host"], "port": SRV1["auth1"],}, 2: {"ip": SRV1["host"], "port": SRV1["auth1"],}, 3: {"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",}, } TESTADDR = {"ip": SRV1["host"], "tcp_port": SRV1["ch1"], "udp_port": SRV1["ch1"],} Sysser ch11 https://metin2.download/picture/pUz1I25r4X42FRQrXv4r0q0sp4XUlD9T/.jpg Portmap https://metin2.download/picture/tiaV2cpdcVfUOBsYfH32XD33k42Pn22H/.png Edited January 20 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted January 21 Share Posted January 21 (edited) check ENABLE_NEWSTUFF define from martysama server files (copy this lines; if (!g_stProxyIP.empty()) p.lAddr = inet_addr(g_stProxyIP.c_str()); ) Just now, Denizeri24 said: check ENABLE_NEWSTUFF define from martysama server files (copy this lines; if (!g_stProxyIP.empty()) p.lAddr = inet_addr(g_stProxyIP.c_str()); ) Edited January 21 by Denizeri24 Link to comment Share on other sites More sharing options...
Fenczu 2 Posted January 21 Author Share Posted January 21 In which file can I find this? Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted January 21 Share Posted January 21 13 minutes ago, Fenczu said: In which file can I find this? char.cpp desc.cpp input_db.cpp Link to comment Share on other sites More sharing options...
Fenczu 2 Posted January 21 Author Share Posted January 21 Char.cpp #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) p.lAddr = inet_addr(g_stProxyIP.c_str()); #endif Desc.cpp #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) rTable.players[i].lAddr=inet_addr(g_stProxyIP.c_str()); #endif input_db #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) rTab.players[i].lAddr=inet_addr(g_stProxyIP.c_str()); #endif Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted January 21 Share Posted January 21 1 minute ago, Fenczu said: Char.cpp #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) p.lAddr = inet_addr(g_stProxyIP.c_str()); #endif Desc.cpp #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) rTable.players[i].lAddr=inet_addr(g_stProxyIP.c_str()); #endif input_db #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) rTab.players[i].lAddr=inet_addr(g_stProxyIP.c_str()); #endif yes copy this lines and add your server source but change inet_add parts with this; lAddr = inet_addr("your_server_ip") Link to comment Share on other sites More sharing options...
Fenczu 2 Posted January 21 Author Share Posted January 21 IP with .100 or normal .107? Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted January 21 Share Posted January 21 9 minutes ago, Fenczu said: IP with .100 or normal .107? your freebsd ip Link to comment Share on other sites More sharing options...
Fenczu 2 Posted January 21 Author Share Posted January 21 (edited) In ipconfig i have 25.59.12.100 do I set this? https://metin2.download/picture/9XnjCI2egkjm5bD8GQ85PqpQNad4zEs4/.jpg Edited January 21 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted January 21 Share Posted January 21 (edited) 2 minutes ago, Fenczu said: In ipconfig i have 25.59.12.100 do I set this? https://metin2.download/picture/9XnjCI2egkjm5bD8GQ85PqpQNad4zEs4/.jpg yes, if is not working, change with your hamachi ip. idk hamachi how it works but main problem is your server (game) trying to use same ip for all players. Edited January 21 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Fenczu 2 Posted January 21 Author Share Posted January 21 Char.cpp #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) p.lAddr = inet_addr("25.59.12.100"); #endif Desc.cpp #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) rTable.players[i].lAddr = inet_addr("25.59.12.100"); #endif input_db #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) rTab.players[i].lAddr = inet_addr("25.59.12.100"); #endif I change to this and its same effect kick after select character Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted January 21 Share Posted January 21 31 minutes ago, Fenczu said: Char.cpp #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) p.lAddr = inet_addr("25.59.12.100"); #endif Desc.cpp #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) rTable.players[i].lAddr = inet_addr("25.59.12.100"); #endif input_db #ifdef ENABLE_NEWSTUFF if (!g_stProxyIP.empty()) rTab.players[i].lAddr = inet_addr("25.59.12.100"); #endif I change to this and its same effect kick after select character delete if statement ( if (!g_stProxyIP.empty()) ) Link to comment Share on other sites More sharing options...
Fenczu 2 Posted January 21 Author Share Posted January 21 This same effect Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now