[HELP]Vấn đề làm SV Online
Hello & Welcome to our community. Is this your first visit? Đăng Ký
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Kết quả 1 đến 5 của 5
  1. #1
    Thành Viên
    Ngày tham gia
    May 2006
    Bài viết
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [HELP]Vấn đề làm SV Online

    mình đã làm đc server offfline bây giờ mình muốn cho online thì làm thế nào? đây là file config của mình và port
    conffig trong Login
    # This is the server configuration file. Here you can set up the connection for your server.
    # Usually you have to change the ExternalHostname option to
    # - 127.0.0.1 (if you want to play alone / testing purpose)
    # - LAN IP* (if you want to play from another computer in the network)
    # - WAN IP** (if you want to play with friends over internet)
    # - Questions? => [Only registered and activated users can see links. ]
    #
    # * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
    # **= If you want to get you WAN IP, visit [Only registered and activated users can see links. ]
    # ================================================== =================================================

    # ================================================== ==============
    # General server setting !!! REQUIRED to configure to everyone !!!
    # ================================================== ==============

    # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
    ExternalHostname=mrq.myvnc.com

    # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
    InternalHostname=192.168.1.2

    # Bind ip of the loginserver, use * to bind on all available IPs
    LoginserverHostname=*
    LoginserverPort=2106
    LoginTryBeforeBan=20
    GMMinLevel=100

    # The port on which login will listen for GameServers
    LoginPort=9014

    # If set to true any GameServer can register on your login's free slots
    AcceptNewGameServer = False

    # If false, the licence (after the login) will not be shown
    ShowLicence = True

    # Database info
    Driver=com.mysql.jdbc.Driver
    #Driver=org.hsqldb.jdbcDriver
    #Driver=com.microsoft.sqlserver.jdbc.SQLServerDriv er
    URL=jdbc:mysql://localhost/l2jdb
    #URL=jdbc:hsqldb:hsql://localhost/l2jdb
    #URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
    Login=root
    Password=root
    MaximumDbConnections=10

    # Useable values: "True" - "False", use this option to choose whether accounts will be created
    # automatically or not.
    AutoCreateAccounts=True

    # The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
    # (0 = disable)
    IpUpdateTime=0


    # ================================================== ============
    # Test server setting, shoudnt be touched in online game server
    # ================================================== ============

    Debug = False
    Assert = False
    Developer = False
    # Enforce GG Authorization from client
    # Login server will kick client if client bypassed GameGuard authentication
    ForceGGAuth=False

    #FloodProtection. time in ms
    EnableFloodProtection=False
    FastConnectionLimit=15
    NormalConnectionTime=700
    FastConnectionTime=350
    MaxConnectionPerIP=50
    Config trong gameserver

    # This is the server configuration file. Here you can set up the connection for your server.
    # Usually you have to change the ExternalHostname option to
    # - 127.0.0.1 (if you want to play alone / testing purpose)
    # - LAN IP* (if you want to play from another computer in the network)
    # - WAN IP** (if you want to play with friends over internet)
    # - Questions? => [Only registered and activated users can see links. ]
    #
    # * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
    # **= If you want to get you WAN IP, visit [Only registered and activated users can see links. ]
    # ================================================== =================================================

    # ================================================== ==============
    # General server setting !!! REQUIRED to configure to everyone !!!
    # ================================================== ==============

    # Bind ip of the gameserver, use * to bind on all available IPs
    GameserverHostname=*
    GameserverPort=7777

    # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
    # If this ip is resolvable by Login just leave *
    ExternalHostname=mrq.myvnc.com

    # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
    # If this ip is resolvable by Login just leave *
    InternalHostname=192.168.1.2

    # Bind ip of the loginserver, use * to bind on all available IPs
    LoginserverHostname=*
    LoginserverPort=2106
    LoginTryBeforeBan=20

    # The Loginserver host and port
    LoginPort=9014
    LoginHost=192.168.1.2

    # This is the server id that the gameserver will request (i.e. 0 is Bartz)
    RequestServerID = 0
    # If set to true, the login will give an other id to the server if the requested id is allready reserved
    AcceptAlternateID = True

    # Database info
    Driver=com.mysql.jdbc.Driver
    #Driver=org.hsqldb.jdbcDriver
    #Driver=com.microsoft.sqlserver.jdbc.SQLServerDriv er
    URL=jdbc:mysql://localhost/l2jdb
    #URL=jdbc:hsqldb:hsql://localhost/l2jdb
    #URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
    Login=root
    Password=root
    MaximumDbConnections=50

    #io type nio or aio4j
    IOType = nio

    # Datapack root directory, defaults to current directory from which the server is started
    # DatapackRoot = C:/Work/tmp/DataPackC3

    # Define character name template
    # Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*
    # will allow names with first capital letter, next three small letters,
    # and any (capital or not) letter or number, like ZbigN1eW
    # Most rational to have CnameTemplate=[A-Z][a-z]*
    # meaning names only of letters with first one capital, like Zbigniew
    # Default .* - any namy of any symbols
    CnameTemplate=.*
    PetNameTemplate=.*

    # Maximum number of chars per account - 0 = illimited - default = 7
    CharMaxNumber = 7

    # Define how many players are allowed to play simultaneously on your server.
    MaximumOnlineUsers=100


    # Minimum and maximum protocol revision that server allow to connect.
    # You must keep MinProtocolRevision <= MaxProtocolRevision.
    MinProtocolRevision = 560
    MaxProtocolRevision = 999

    # Safe Reboot
    # This will prevent some exploit during restart/shutdown process
    SafeReboot = True
    Khách viếng thăm hãy cùng quyen00 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  2. #2
    Thành Viên
    Ngày tham gia
    May 2006
    Bài viết
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ðề: [HELP]Vấn đề làm SV Online

    Còn đây là 2 file telnet trong Login và Gameserver

    # Telnet is disabled by default.
    EnableTelnet = True

    # This is the port telnet server will bind to
    StatusPort = 12345

    # This list can contain IPs or Hosts of clients you wish to allow.
    # Hosts must be resolvable to an IP.
    # The format is as follows:
    # ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
    # Make sure there are no spaces between hosts/ips
    ListOfHosts = 127.0.0.1,localhost

    #Telnet is disabled by default.
    EnableTelnet = True

    #This is the port telnet server will bind to
    StatusPort = 12345

    #If the following is not set, a random password is generated on server startup.
    StatusPW = somePass

    #This list can contain IPs or Hosts of clients you wish to allow.
    #Hosts must be resolvable to an IP.
    #The format is as follows:
    #ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
    #Make sure there are no spaces between hosts/ips
    ListOfHosts = 127.0.0.1,localhost
    Khách viếng thăm hãy cùng quyen00 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  3. #3
    Thành Viên
    Ngày tham gia
    May 2006
    Bài viết
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ðề: [HELP]Vấn đề làm SV Online

    Đây là hình mở port của mình

    [Only registered and activated users can see links. ]


    Mình dùng bản C5 item c6 của Langel trong gamevn
    mình có dùng laucher(update hosts) của datinh4u
    Khách viếng thăm hãy cùng quyen00 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  4. #4
    Thành Viên
    Ngày tham gia
    May 2006
    Bài viết
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ðề: [HELP]Vấn đề làm SV Online

    chung mạng Lan thì connect chơi bình thường,vào web thì thấy serrver online nhưng mạng khác thì không login đc vao web thì thấy sv offline mà trong khi đó mạng Lan thì thấy Online
    Khách viếng thăm hãy cùng quyen00 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  5. #5
    Thành Viên tranthuy's Avatar
    Ngày tham gia
    Jan 2007
    Bài viết
    211
    Thanks
    6
    Thanked 25 Times in 22 Posts

    Ðề: [HELP]Vấn đề làm SV Online

    Trích dẫn Gửi bởi quyen00 [Only registered and activated users can see links. ]
    chung mạng Lan thì connect chơi bình thường,vào web thì thấy serrver online nhưng mạng khác thì không login đc vao web thì thấy sv offline mà trong khi đó mạng Lan thì thấy Online
    Bạn chỉ cần mở 3 port là: 80, 7777 và 2106 là đủ rồi, còn ờ ngoài internet không log vô được thì bạn xem lại cái firewall của ban. Thử disable nó rồi test lại xem sao, hơn nũa bạn không nên để telnet làm gi.
    Khách viếng thăm hãy cùng tranthuy xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 10:28 PM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.