antiblock
Rodnia | Alpha & Omega
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
  • 0
efXGames

Conexão após o Login

Question

Ola a todos, 

 

Pois bem, estou a tempo trabalhando em uma server files. Porém, meu trabalho de nada está adiantando se não posso abrir para outros players se conectarem. 

 

Preciso de ajuda para saber onde está o problema.

 

Eu testo o servidor em um VM no VirtualBox e para tentar conexão externa, utilizo um EC2 da Amazon Cloud.

 

Ambos os casos a conexão cai na hora de selecionar o personagem e entrar no jogo. No caso da VM ele funciona apenas se tiver na mesma rede, por exemplo minha VM é 192.168.1.22 e entro com notebook 192.168.1.7. Mas se eu abrir todas as portas do router e tentar de fora, ele loga a conta, porém ao selecionar o personagem o mesmo volta a pagina de login. Isto acontece também no caso do EC2 - Amazon Cloud.

 

no syserr não me aparece nada, já no syslog consigo perceber alguma diferença. Este sendo do Channel1

 

Conexão Local:

 

Spoiler

Oct 25 06:46:33 :: SYSTEM: new connection from [179.183.240.167] fd: 19 handshake 2742577521 output input_len 0, ptr 0x3dddf000
Oct 25 06:46:33 :: Handshake: lower than zero -19
Oct 25 06:46:34 :: Handshake: client_time 0 server_time 154059
Oct 25 06:46:34 :: LOGIN_BY_KEY: test key 1710286596
Oct 25 06:46:34 :: LoginSuccess
Oct 25 06:46:34 ::     player(Efx).job(5)
Oct 25 06:46:34 ::     player(MisiuniTest).job(5)
Oct 25 06:46:34 ::     player(testt).job(4)
Oct 25 06:46:34 ::     player().job(0)
Oct 25 06:46:34 ::     player().job(0)
Oct 25 06:46:34 :: success to 192.168.1.22:25471
Oct 25 06:46:34 :: success to 192.168.1.22:25471
Oct 25 06:46:34 :: success to 192.168.1.22:25471
Oct 25 06:46:34 :: InputDB::login_success: test
Oct 25 06:46:39 :: SYSTEM: new connection from [192.168.1.7] fd: 20 handshake 2271055694 output input_len 0, ptr 0x3dddf400
Oct 25 06:46:39 :: SYSTEM: closing socket. DESC #19
Oct 25 06:46:39 :: Handshake: lower than zero -40
Oct 25 06:46:39 :: Handshake: client_time 0 server_time 159500
Oct 25 06:46:39 :: LOGIN_BY_KEY: test key 1710286596
Oct 25 06:46:40 :: LoginSuccess
Oct 25 06:46:40 ::     player(Efx).job(5)
Oct 25 06:46:40 ::     player(MisiuniTest).job(5)
Oct 25 06:46:40 ::     player(testt).job(4)
Oct 25 06:46:40 ::     player().job(0)
Oct 25 06:46:40 ::     player().job(0)
Oct 25 06:46:40 :: success to 192.168.1.22:25471
Oct 25 06:46:40 :: success to 192.168.1.22:25471
Oct 25 06:46:40 :: success to 192.168.1.22:25471
Oct 25 06:46:40 :: InputDB::login_success: test
Oct 25 06:46:40 :: player_select: login: test index: 0
Oct 25 06:46:40 :: GM_NEW_GET_LEVEL : FIND ACCOUNT
Oct 25 06:46:40 :: PK_MODE: Efx 3
Oct 25 06:46:40 :: PLAYER_LOAD: Efx PREMIUM 1579917599 1579917599, LOGGOFF_INTERVAL 2098 PTR: 0x3e12e000
Oct 25 06:46:40 :: GM_LOGIN(gmlevel=5, name=Sorin(8), pos=(969191, 278200)
Oct 25 06:46:40 :: InputDB: player_load Efx 969191x278200x0 LEVEL 120 MOV_SPEED 100 JOB 0 ATG 1 DFG 249 GMLv 0
Oct 25 06:46:40 :: ITEM_LOAD: COUNT Efx 58
Oct 25 06:46:40 :: QUEST_LOAD: count 20
Oct 25 06:46:40 :: QUEST clear timer 0
Oct 25 06:46:40 :: QUEST clear timer 0
Oct 25 06:46:40 ::             anuncio.anunciowelcome 1
Oct 25 06:46:40 ::             check_trans_ticket.__status 526282696
Oct 25 06:46:40 ::             give_basic_weapon.basic_weapon 1
Oct 25 06:46:40 ::             linguistica.iniciar 1
Oct 25 06:46:40 ::             collect_quest_lv30.__status 695801987
Oct 25 06:46:40 ::             skill_group.__status 1349952704
Oct 25 06:46:40 ::             spider_dungeon_3floor_boss.__status -1393546546
Oct 25 06:46:40 ::             anti_exp.antiexp 1
Oct 25 06:46:40 ::             monarca.monarcapvm 39
Oct 25 06:46:40 ::             fortune_telling.idx 4
Oct 25 06:46:40 ::             fortune_telling.time 1501435517
Oct 25 06:46:40 ::             stash.__status -1800287157
Oct 25 06:46:40 ::             stash.open_count 1
Oct 25 06:46:40 ::             mythical_peach.last_use_time 1501249890
Oct 25 06:46:40 ::             dragon_soul.__status -252263835
Oct 25 06:46:40 ::             lowca_lv2_poczatek.__status -1111418339
Oct 25 06:46:40 ::             spider_dungeon_2floor.__status 1290640410
Oct 25 06:46:40 ::             flame_dungeon.__status 1349952704
Oct 25 06:46:40 ::             flame_dungeon.fdRtest 1
Oct 25 06:46:40 ::             baules_inicio.__status -937502863
Oct 25 06:46:40 :: VERSION: Efx 1215955205 metin2clienxt.exe

 

Já de conexão externa:

 

Spoiler

Oct 25 06:46:10 :: SYSTEM: new connection from [189.40.75.33] fd: 19 handshake 2868701 output input_len 0, ptr 0x3dddf000
Oct 25 06:46:11 :: Handshake: client_time 0 server_time 131217
Oct 25 06:46:12 :: LOGIN_BY_KEY: test key 307842584
Oct 25 06:46:12 :: LoginSuccess
Oct 25 06:46:12 ::     player(Efx).job(5)
Oct 25 06:46:12 ::     player(MisiuniTest).job(5)
Oct 25 06:46:12 ::     player(testt).job(4)
Oct 25 06:46:12 ::     player().job(0)
Oct 25 06:46:12 ::     player().job(0)
Oct 25 06:46:12 :: success to 192.168.1.22:25471
Oct 25 06:46:12 :: success to 192.168.1.22:25471
Oct 25 06:46:12 :: success to 192.168.1.22:25471
Oct 25 06:46:12 :: InputDB::login_success: test
Oct 25 06:46:13 :: SYSTEM: new connection from [189.40.75.33] fd: 20 handshake 2659404581 output input_len 0, ptr 0x3dddf400
Oct 25 06:46:13 :: MARK_SERVER: Login
Oct 25 06:46:13 :: LargePacket Size 4120
Oct 25 06:46:13 :: reallocating buffer to 16384, current 1024
Oct 25 06:46:13 :: MARK_SERVER: GuildMarkIDXList 4127 bytes sent.
Oct 25 06:46:14 :: MARK_SERVER: Sending blocks. (imgIdx 0 diff 0 size 10)
Oct 25 06:46:14 :: SYSTEM: closing socket. DESC #20
Oct 25 06:46:18 :: SYSTEM: closing socket. DESC #19
Oct 25 06:46:21 :: SYSTEM: new connection from [189.40.75.33] fd: 19 handshake 3198757337 output input_len 0, ptr 0x3dddf000
Oct 25 06:46:22 :: SYSTEM: closing socket. DESC #19

 

O mesmo acontece no syslog do EC2 - Amazon Cloud, porém la eu não testo local, por ser FreeBSD é claro. Mas o syslog externo segue o mesmo padrão. A diferente que percebo é no tal do MARK_SERVER, procurei e não achei nada a respeito se pode ser ele ou não.

 

A configuração de BIND_IP e Port estão corretas, sendo que ja passei muito tempo analisando este assunto.

 

 

Se alguém possui algum conhecimento, ou ja passou por isso e puder ajudar, agradeço.

Share this post


Link to post
Share on other sites

1 answer to this question

antiblock
diamwall

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