Jump to content
metin2dev
  • 0
Sign in to follow this  
anonim55

open Port remains online

Question

Hi, I have a problem with my channels core (I think).

When I start a channel it says it's online in the client, but if I stop the channel it will continue to say that is online until I do a reboot.

I checked that channel with "sockstat -l" and online port checker and it's effectively offline, but in the client it says that's online.

The problem is not the client because I tested it with 2 or 3 clients and it always says that is online until reboot.

Thanks in advance!

 

EDIT: Another thing: if channel 1 is offline then it shows that all channels are offline, even if some are online.

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

problem is in serverinfo.py

Quote

I checked that channel with "sockstat -l" and online port checker and it's effectively offline, but in the client it says that's online.

check at the end of serverinfo.py if you have this: 

Quote

TESTADDR = { "ip" : "your server ip", "tcp_port" : 50000, "udp_port" : 50000, }

 

Share this post


Link to post
Share on other sites
  • 0

Like I said it's not a client problem because I tested it with more clients, with serverinfo.py or just from intrologin.py.

For now I use "import socket" which works fine, but I will need to resolve that problem.

Share this post


Link to post
Share on other sites
  • 0

go to intrologin.py

search 

Quote

regionID=int(addrKey/1000)
        serverID=int(addrKey/10) % 100
        channelID=addrKey%10

replace with

Quote

regionID=self.__GetRegionID()
        serverID=self.__GetServerID()
        channelID=addrKey%10

 

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×