[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:
http://img231.imageshack.us/img231/8499/aion0003q.jpg
http://img404.imageshack.us/img404/6074/aion0004kd.jpg
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...
Re: [Guide] How to make Your Chatserver work.
Aion Extreme has CC=1. Wondering how they did that.
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.
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...
Re: [Guide] How to make Your Chatserver work.
Quote:
Originally Posted by
Romulan
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.
Re: [Guide] How to make Your Chatserver work.
L10N
http://img130.imageshack.us/img130/7...0629115255.png
Where i should put the files 1_enu.pak and 2_enu.pak ?
I think you forget some files too... :mellow:
---------- 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
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...
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