Problema schimbare IP

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
Marin
Membru Club

Membru Club
Mesaje: 627
Membru din: 28 Mar 2017, 18:40
Server: EpicalMetin2
Regat: Jinno
Aprecieri: 206  
Mulţumiri: 39  
Discord: Copiază ID
 Contact:
Medalii

*Problemă/Întrebare: Schimbare IP
Tipologie server: -
*Resursă folosită: -
*ServerFiles utilizat: Sky
*Syserr:-
Poză: -
*Detalii suplimentare: Am schimbat ip-ul in serverinfo + intrologin.py

am interfata cu 2 servere - intrologin.py
with open('miles/__config__/sv_config.py', 'r') as file :
filedata = file.read()

# Replace the target string
filedata = filedata.replace('89.42.135.117', '192.168.100.39')
Serverinfo.py modificat ip si la auth/server-ip
SERVER01_CHANNEL_DICT = {
1:{"key":11,"name":"CH1","ip": 192.168.100.39,"tcp_port": CH1_PORT,"udp_port": CH1_PORT,"state":STATE_NONE,},

2:{"key":12,"name":"CH2","ip": 192.168.100.39,"tcp_port": CH2_PORT,"udp_port": CH2_PORT,"state":STATE_NONE,},

3:{"key":13,"name":"CH3","ip": 192.168.100.39,"tcp_port": CH3_PORT,"udp_port": CH3_PORT,"state":STATE_NONE,},

4:{"key":14,"name":"CH4","ip": 192.168.100.39,"tcp_port": CH4_PORT,"udp_port": CH4_PORT,"state":STATE_NONE,},
}

SERVER02_CHANNEL_DICT = {
1:{"key":11,"name":"CH1","ip": SERVER_IP2,"tcp_port": CH1_PORT,"udp_port": CH1_PORT,"state":STATE_NONE,},

2:{"key":12,"name":"CH2","ip": SERVER_IP2,"tcp_port": CH2_PORT,"udp_port": CH2_PORT,"state":STATE_NONE,},

3:{"key":13,"name":"CH3","ip": SERVER_IP2,"tcp_port": CH3_PORT,"udp_port": CH3_PORT,"state":STATE_NONE,},

4:{"key":14,"name":"CH4","ip": SERVER_IP2,"tcp_port": CH4_PORT,"udp_port": CH4_PORT,"state":STATE_NONE,},
}

REGION_NAME_DICT = {
0 : "Turkey",
}

REGION_AUTH_SERVER_DICT = {
0 : {
1 : { "ip": 192.168.100.39,"port":AUTH_PORT, },
2 : { "ip": SERVER_IP2,"port":AUTH_PORT, },

}
}

REGION_DICT = {
0 : {
1 : { "name" : SERVER_NAME,"channel" : SERVER01_CHANNEL_DICT, },
2 : { "name" : SERVER_NAME2,"channel" : SERVER02_CHANNEL_DICT, },

},
}

MARKADDR_DICT = {
10 : { "ip" : 192.168.100.39,"tcp_port" : CH1_PORT, "mark" : "10.tga", "symbol_path" : "10", },
20 : { "ip" : SERVER_IP2,"tcp_port" : CH1_PORT, "mark" : "10.tga", "symbol_path" : "10", },
}

TESTADDR = { "ip" : 192.168.100.39,"tcp_port" : CHINA_PORT, "udp_port" : CHINA_PORT, }
Am verificat si porturile, channel 1/2/3/4 sunt ok si in serverinfo si in channel la config.
Nu e host, e prin source direct in calculator
Avatar utilizator
Kazuhiri
Nivel 9

Nivel 9
Mesaje: 2088
Membru din: 26 Mar 2017, 19:14
Server: Demetris
Regat: Shinsoo
Aprecieri: 396  
Mulţumiri: 3227  
  Rezolvări prob.: 2
Discord: Copiază ID
Medalii

Canalele îți pornesc?

[ Postat de pe Android ] Imagine
Pentru acest mesaj, Kazuhiri for the post:
Marin
Demetris2 Imagine
Afișează semnătura
Avatar utilizator
kDogg
Nivel 1

Nivel 1
Mesaje: 124
Membru din: 13 Oct 2014, 21:09
Server: M2Moonlight
Regat: Jinno
Aprecieri: 213  
Mulţumiri: 12  
 Contact:
Medalii

Pai in primul rand verifica daca in top ai toate core-urile on. Daca sunt toate on, intra in syserr @auth. Exista sansa sa fie pe vrunner si sa nu vezi exact care-i problema. Este posibil sa fie o problema pe la dropuri sau ip-ul din CONFIG (BIND_IP) sa fie schimbat. Mai ai si varianta din start.sh sa adaugi dupa ./game -I ip-ul tau. Incearca si ne spui mai multe detalii.
Pentru acest mesaj, kDogg for the post:
Marin
Imagine
Afișează semnătura
Avatar utilizator
Kidro
Membru Club

Membru Club
Mesaje: 2487
Membru din: 29 Aug 2019, 16:49
Aprecieri: 331  
Mulţumiri: 5190  
Discord: Copiază ID
Medalii

Verifica autorun.log

[ Postat de pe Android ] Imagine
Pentru acest mesaj, Kidro for the post:
Marin
Avatar utilizator
Marin
Membru Club

Membru Club
Mesaje: 627
Membru din: 28 Mar 2017, 18:40
Server: EpicalMetin2
Regat: Jinno
Aprecieri: 206  
Mulţumiri: 39  
Discord: Copiază ID
 Contact:
Medalii

Am verificat logurile, si imi da ch1
SYSERR: Feb 14 20:26:02.752137 :: pid_init:
Start of pid: 1049

Feb 14 20:26:02.763254 :: SYSTEM: BINDING TCP PORT ON [19910] (fd 13)
Feb 14 20:26:02.763312 :: SYSTEM: BINDING TCP PORT ON [17468] (fd 14)
Feb 14 20:26:02.764246 :: SYSTEM: Trying to connect to localhost:15000
Feb 14 20:26:02.764467 :: SYSTEM: connected to server (fd 15, ptr 0x28d22600)
Feb 14 20:26:02.764505 :: DB_SETUP current user 0 size 282
Feb 14 20:26:02.764505 :: PARTY Enable
Feb 14 20:26:02.764505 :: SPAM_CONFIG: duration 900 score 100 reload cycle 600
Feb 14 20:26:46.608484 :: MapLocation::Insert : 185 192.168.100.39 19990
Feb 14 20:26:46.608500 :: MapLocation::Insert : 186 192.168.100.39 19990
Feb 14 20:26:46.608514 :: MapLocation::Insert : 187 192.168.100.39 19990
Feb 14 20:26:46.608527 :: MapLocation::Insert : 188 192.168.100.39 19990
Feb 14 20:26:46.608541 :: MapLocation::Insert : 189 192.168.100.39 19990
Feb 14 20:26:46.608555 :: InputDB:P2P 192.168.100.39:17508
Feb 14 20:26:46.609126 :: SYSTEM: Trying to connect to 192.168.100.39:17508
Feb 14 20:26:46.609142 :: SYSTEM: connected to server (fd 19, ptr 0x2a41b100)
Feb 14 20:26:46.609172 :: P2P Connector opened (host 192.168.100.39)
Feb 14 20:26:46.609199 :: InputDB::MapLocations 1
Feb 14 20:26:46.609214 :: MapLocation::Insert : 193 192.168.100.39 19991
Feb 14 20:26:46.609228 :: InputDB:P2P 192.168.100.39:17509
Feb 14 20:26:46.610466 :: SYSTEM: Trying to connect to 192.168.100.39:17509
Feb 14 20:26:46.610654 :: SYSTEM: connected to server (fd 20, ptr 0x2a41b600)
Feb 14 20:26:46.610820 :: P2P Connector opened (host 192.168.100.39)
Feb 14 20:26:46.610957 :: InputDB::MapLocations 1
Feb 14 20:26:46.611080 :: MapLocation::Insert : 200 192.168.100.39 19992
Feb 14 20:26:46.611348 :: MapLocation::Insert : 225 192.168.100.39 19992
Feb 14 20:26:46.611467 :: InputDB:P2P 192.168.100.39:17510
Feb 14 20:26:46.618879 :: SYSTEM: Trying to connect to 192.168.100.39:17510
Feb 14 20:26:46.618944 :: SYSTEM: connected to server (fd 21, ptr 0x2a41bb00)
Feb 14 20:26:46.618962 :: P2P Connector opened (host 192.168.100.39)
Feb 14 20:26:52.586553 :: GLOBAL_TIME: Feb 14 20:26:52 time_gap 0
Feb 14 20:27:52.588021 :: GLOBAL_TIME: Feb 14 20:27:52 time_gap 0
Feb 14 20:28:52.588099 :: GLOBAL_TIME: Feb 14 20:28:52 time_gap 0
Feb 14 20:29:52.584906 :: GLOBAL_TIME: Feb 14 20:29:52 time_gap 0
Feb 14 20:30:52.583959 :: GLOBAL_TIME: Feb 14 20:30:52 time_gap 0
Feb 14 20:31:52.583109 :: GLOBAL_TIME: Feb 14 20:31:52 time_gap 0
Feb 14 20:32:52.581277 :: GLOBAL_TIME: Feb 14 20:32:52 time_gap 0
Feb 14 20:33:52.580900 :: GLOBAL_TIME: Feb 14 20:33:52 time_gap 0
syslog in auth
Feb 14 20:25:57.737440 :: SYSTEM: BINDING TCP PORT ON [10610] (fd 12)
Feb 14 20:25:57.737470 :: SYSTEM: BINDING TCP PORT ON [3653] (fd 13)
Feb 14 20:25:57.738114 :: SYSTEM: Trying to connect to localhost:15000
Feb 14 20:25:57.742860 :: SYSTEM: connected to server (fd 14, ptr 0x293e7700)
Feb 14 20:25:57.743145 :: Initializing Guild
Feb 14 20:25:57.743157 :: No need for auth server
Feb 14 20:25:57.743469 :: FISH-Maxmi
Feb 14 20:25:57.743477 :: FISH-Maxmi
Feb 14 20:25:57.743481 :: FISH-Maxmi
Feb 14 20:25:57.743603 :: FISH-Maxmi
Feb 14 20:25:57.743612 :: Cube_Init locale/romania/cube.txt
Feb 14 20:25:57.744586 :: Acce_Init locale/romania/acce.txt
Feb 14 20:25:57.745080 :: Blend_Item_init locale/romania/blend.txt
Feb 14 20:25:57.833821 :: [PackageCryptInfo] . is not crypt file. pass!
Feb 14 20:25:57.833847 :: [PackageCryptInfo] .. is not crypt file. pass!
Avatar utilizator
[r00t1ng]
Dau de pică netu'

Dau de pică netu'
Mesaje: 1005
Membru din: 09 Aug 2013, 21:30
Server: Tenerife2.net
Regat: Jinno
Aprecieri: 366  
Mulţumiri: 173  
 Contact:
Medalii

Feb 14 20:26:46.608555 :: InputDB:P2P 192.168.100.39:17508

Lucrezi pe localhost sau ai host ? daca ai host, cauta ip-urile astea in configurile de la ch si pune-le cu ip-ul real de la host
Pentru acest mesaj, [r00t1ng] for the post:
Marin
Imagine
Afișează semnătura
Avatar utilizator
Marin
Membru Club

Membru Club
Mesaje: 627
Membru din: 28 Mar 2017, 18:40
Server: EpicalMetin2
Regat: Jinno
Aprecieri: 206  
Mulţumiri: 39  
Discord: Copiază ID
 Contact:
Medalii

Am rezolvat, ma ajutat Gabriel de la ovinetwork !
Va multumesc pentru ajutor :D puteti inchide topicul
Avatar utilizator
kDogg
Nivel 1

Nivel 1
Mesaje: 124
Membru din: 13 Oct 2014, 21:09
Server: M2Moonlight
Regat: Jinno
Aprecieri: 213  
Mulţumiri: 12  
 Contact:
Medalii

t.c
Imagine
Afișează semnătura
Închis

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 10 vizitatori