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:
network.properties (gameserver)# # 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
this is how it should look:
gameserver.properties# # 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
this is how the config should look:
This is copied/pasted from my server folder.# # 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
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.
IAmMe
Ragezone