[Guide] How to make Your Chatserver work.

Results 1 to 9 of 9
  1. #1
    Account Upgraded | Title Enabled! IAmMe is offline
    MemberRank
    May 2005 Join Date
    MarsLocation
    548Posts

    [Guide] How to make Your Chatserver work.

    the Guide is taken from AU Forums.
    Well i think you should have it also.
    Note: Supposed to work with CC1 only.

    Alright hello everyone!

    After some talking with ATracer I heared many people say the Chatserver does not work on external IPs but only local.
    I'm here not only to tell you that it DOES work externally, but will also tell you what I did to get my Chatserver working on my External IP.

    Alright, because I'm assuming people who read this have no idea on how to get the server working I'll explain every little bit.

    Which configs affect the Chatserver?
    - There are 3 main configs you configure the chatserver in

    chatserver/config/chatserver.properties
    gameserver/config/network/network.properties
    gameserver/config/main/gameserver.properties

    Chatserver.Properties

    This is a very simple, straight-forward configfile.
    This is how you should fill it in to work externally:
    Code:
    #
    # This file is part of aion-unique <aion-unique.org>.
    #
    # aion-unique is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # aion-unique is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with aion-unique.  If not, see <http://www.gnu.org/licenses/>.
    #
    # ----------------------------
    # Chat Server Configs
    # ----------------------------
    
    # CS will listen for connections on specified address
    chatserver.network.client.address = EXTERNALIP:10241
    
    # Address that will be used by CS to listen for GS connections
    chatserver.network.gameserver.address = EXTERNALIP:9021
    
    # Password to match for successful authentication of the game server
    # NOTE: Don't forget to add your password!
    chatserver.network.gameserver.password = 12345
    network.properties (gameserver)

    this is how it should look:
    Code:
    #
    # This file is part of aion-unique <aion-unique.org>.
    #
    # aion-unique is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # aion-unique is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with aion-unique.  If not, see <http://www.gnu.org/licenses/>.
    #
    # ----------------------------
    # Network Config
    # ----------------------------
    
    # Port that will be used to listen for client connections
    gameserver.network.client.port = 7777
    
    # Host that will be used to listen for client connections
    gameserver.network.client.host = *
    
    # Maximum online players on the server
    gameserver.network.client.maxplayers = 100
    
    # Address of login server
    gameserver.network.login.address = EXTERNALIP:9014
    
    # Id of this game server
    gameserver.network.login.gsid = 1
    
    # Password of this game server
    gameserver.network.login.password = 12345
    
    # Address of chat server
    # Ip and port of chat server should be accessible from 
    # 1) game server
    # 2) all connected clients
    gameserver.network.chat.address = EXTERNALIP:9021
    
    # Password of this game server for chat server
    gameserver.network.chat.password = 12345
    
    # Additional threads that are used to read network data
    gameserver.network.nio.threads.read = 0
    
    # Additional threads that are used to write network data
    gameserver.network.nio.threads.write = 0
    
    # This will enable or disable the messages for unknown packets
    gameserver.network.display.unknownpackets = false
    gameserver.properties

    this is how the config should look:
    Code:
    #
    # This file is part of aion-unique <aion-unique.org>.
    #
    # aion-unique is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # aion-unique is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with aion-unique.  If not, see <http://www.gnu.org/licenses/>.
    #
    # ----------------------------
    # GS Configs
    # ----------------------------
    
    # Name of gameserver
    # Default: aion private
    gameserver.name = SERVERNAME
    
    # Character name pattern to be checked at char creation
    # To enable UTF support for names - set this parameter to [a-zA-Z\u0410-\u042f\u0430-\u044f]{2,16}
    gameserver.character.name.pattern = [a-zA-Z]{2,16}
    
    # Server Country Code (cc)
    # Default: 1
    gameserver.country.code = 1
    
    # Server Mode
    # 0  = user is bind to a realm (can't create characters from both realms at the same time)
    # 1  = user can create characters from both realms
    # 34 = user is bind to a realm, can't create more than 2 characters and can't enter the game world (character reservation mode)
    # Default: 1
    gameserver.mode = 1
    
    # Disable chat server connection
    gameserver.disable.chatserver = false
    This is copied/pasted from my server folder.
    Of course i replaced my IP with EXTERNALIP

    Be sure to startup your server in the following order:

    1. Login Server
    2. Game Server
    3. Chat Server

    If you do NOT startup the gameserver BEFORE chatserver, your players will not join channels and your chatserver must be restarted to work.

    The only issue I have left is that the Chatserver seems to stop working after some time...a chatserver restart fixes it, though.

    I hope this has helped you to get your chatserver working on your external IP.

    Screenshot of working chat:





  2. #2
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: [Guide] How to make Your Chatserver work.

    Already tried this and still doesn't work...

    If i put CC=1 for my game, i get the UI in korean and all mobs names and other related things to the game language...

    And chatserver doesn't work anyway...

    ---------- Post added at 12:57 PM ---------- Previous post was at 12:18 PM ----------

    It should works on CC=2 !

    I saw a private server that have CC=2 and chatserver is running for them...

  3. #3
    Account Upgraded | Title Enabled! master_unknown is offline
    MemberRank
    Oct 2004 Join Date
    https://discordLocation
    1,241Posts

    Re: [Guide] How to make Your Chatserver work.

    Aion Extreme has CC=1. Wondering how they did that.

  4. #4
    Account Upgraded | Title Enabled! IAmMe is offline
    MemberRank
    May 2005 Join Date
    MarsLocation
    548Posts

    Re: [Guide] How to make Your Chatserver work.

    well, it running with local ip or * (binding all ips) but ingame it isn't working.

    with external ip i am geting flooded with javascript errors...
    you have the guide tho , hope some1 will manage it to work.

  5. #5
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: [Guide] How to make Your Chatserver work.

    Do you know how can i have the client in english with the country code "1" ?

    Because i have CC:1 LANG:ENU and game is in korea...

  6. #6
    Account Upgraded | Title Enabled! IAmMe is offline
    MemberRank
    May 2005 Join Date
    MarsLocation
    548Posts

    Re: [Guide] How to make Your Chatserver work.

    Quote Originally Posted by Romulan View Post
    Do you know how can i have the client in english with the country code "1" ?

    Because i have CC:1 LANG:ENU and game is in korea...
    download this : Multiupload.com - upload your files to multiple file hosting sites!

    and place it in your L10N Folder.

  7. #7
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: [Guide] How to make Your Chatserver work.

    L10N



    Where i should put the files 1_enu.pak and 2_enu.pak ?

    I think you forget some files too...

    ---------- Post added at 12:05 PM ---------- Previous post was at 11:57 AM ----------

    I make a copy of "2_enu" folder to "1_enu" folder and i'm using your .pak files!

    Now it's fixed hehe :P

  8. #8
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: [Guide] How to make Your Chatserver work.

    I think i found where is the problem with chatserver....

    Code:
    [INFO] 2010-06-29 17:52:06 - Connecting to ChatServer: /127.0.0.1:9021
    [INFO] 2010-06-29 17:52:06 - Connected to ChatServer!
    [INFO] 2010-06-29 17:52:06 - sending packet: [S] 0x00 SM_CS_AUTH
    [INFO] 2010-06-29 17:52:07 - recived packet: [C] 0x00 CM_CS_AUTH_RESPONSE
    [INFO] 2010-06-29 17:52:07 - GameServer authed successfully IP : 0.0.0.0 Port: 10241
    GameServer try to connect to the ChatServer on the port 9021 and finally he connect to the port 10241.

    But this port is reserved for Client and not for GameServer!

    So i think there is a problem inside the compilated code of the ChatServer or the GameServer...

    Correct me if i'm wrong...

  9. #9
    Enthusiast Iaxaar is offline
    MemberRank
    Dec 2009 Join Date
    41Posts

    Re: [Guide] How to make Your Chatserver work.

    His TUT was 99% correct except you dont have to change the ip for the login server. if you follow all his steps but that one it will work



Advertisement