This is my launcher..
Its working i can play
Attachment 81004
And this is my friend's launcher config
He can login into the server whit his account but cant join to the game server...
Attachment 81005
Printable View
This is my launcher..
Its working i can play
Attachment 81004
And this is my friend's launcher config
He can login into the server whit his account but cant join to the game server...
Attachment 81005
@Scythey
OMG! Droplist messed up your Login Server? O.o
Check if your MySQL service is running and if it's fine (with Navicat).
@Dronaven
Then the problem is with your friends PC, not yours, correct?
Your friend's PC is in another Network or both are in the same Local Network?
:tea:
He is in another network on the other side of Hungary
I changed the IP default in IPcomfig to my external IP from local IP and he can join.
But i cant I set the IP in my launcher to my ext. IP but before the login server I'm disconnacted.
Now I try to install the server to our backup host, and trying to login he and me both.. :D
Thx for the helpful :)
And Another question.
How can we Edit the language, because, should try translate the game to hungarian.
help me i need to change some thing sell in shop ! but i try to import some ID item into goodslists.xml file but it not work ! so what must i do to change the item in shop???
guys can you help me this is the error i get when running the login/game server
gameserver error-
FATAL [23 Sep 2010 09:25:15,561] com.aionemu.commons.database.DatabaseFactory:126 Error with connection string: jdbc:mysql://localhost:3306/aion_db?useUnicode=true&characterEncoding=UTF-8
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1118)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2308)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:289)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at com.aionemu.commons.database.DatabaseFactory.getConnection(DatabaseFactory.java:167)
at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.java:117)
at com.aionemu.gameserver.GameServer.<init>(GameServer.java:110)
at com.aionemu.gameserver.GameServer.main(GameServer.java:91)
Caused by: java.net.SocketException: Permission denied: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
... 21 more
ERROR [23 Sep 2010 09:25:15,597] com.aionemu.gameserver.utils.ThreadUncaughtExceptionHandler:39 Critical Error - Thread: main terminated abnormaly: java.lang.Error: DatabaseFactory not initialized!
java.lang.Error: DatabaseFactory not initialized!
at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.java:127)
at com.aionemu.gameserver.GameServer.<init>(GameServer.java:110)
at com.aionemu.gameserver.GameServer.main(GameServer.java:91)
loginserver error-
FATAL [23 Sep 2010 09:25:15,561] com.aionemu.commons.database.DatabaseFactory:126 Error with connection string: jdbc:mysql://localhost:3306/aion_db
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1118)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2308)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:289)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at com.aionemu.commons.database.DatabaseFactory.getConnection(DatabaseFactory.java:167)
at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.java:117)
at com.aionemu.loginserver.LoginServer.<init>(LoginServer.java:59)
at com.aionemu.loginserver.LoginServer.main(LoginServer.java:46)
Caused by: java.net.SocketException: Permission denied: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
... 21 more
@kenny_mask - need to change some values to on client side.
can you help danny?
Code:
r303:
- all 3 files are new
- onStartup() update
- Using isDebugEnabled() boolean to avoid unnecesarry disk write if players logged in/out...
- DeadCode FIX
- //addset admin command fix.
- Base packets class
- Npc movement fix.
- AI clean.
- Now empty server use ~0% CPU and 430MB ram (32 bit java)
when login to server, its say disconnect from server, i use 1.9.0.3 enu client
@vixio_dv - see if you download my bin32.rar from first post
@kenny_mask - is not legal to decrypt the files and encode them back... just try on google...
i already patch bin32, same problem.. but when i play other private server, i got working.. when i try my server, got disconnected.
---------- Post added at 01:51 PM ---------- Previous post was at 01:46 PM ----------
my server use ubuntu with 16gb of ram, login success, create character success.. but when enter to game.. got disconnect from server... :*:
---------- Post added at 02:03 PM ---------- Previous post was at 01:51 PM ----------
message from server :
Quote:
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
ERROR [23 Sep 10:05:07,380] Error handling client (test) message :[C] 0xFB CM_ENTER_WORLD
java.lang.NullPointerException
at com.aionemu.gameserver.network.aion.serverpackets.SM_ABYSS_RANK.<init>(SM_ABYSS_RANK.java:38)
at com.aionemu.gameserver.network.aion.clientpackets.CM_ENTER_WORLD.runImpl(CM_ENTER_WORLD.java:216)
at com.aionemu.gameserver.network.aion.AionClientPacket.run(AionClientPacket.java:74)
at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:61)
at com.aionemu.gameserver.taskmanager.FIFORunnableQueue.removeAndExecuteFirst(FIFORunnableQueue.java:28)
at com.aionemu.gameserver.taskmanager.FIFOExecutableQueue.run(FIFOExecutableQueue.java:73)
at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:61)
at com.aionemu.commons.utils.concurrent.ExecuteWrapper.run(ExecuteWrapper.java:42)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
ERROR [23 Sep 10:05:19,610] Dispatcher error! java.lang.NullPointerException
java.lang.NullPointerException
at com.aionemu.gameserver.network.aion.serverpackets.SM_PLAYER_INFO.writeImpl(SM_PLAYER_INFO.java:245)
at com.aionemu.gameserver.network.aion.AionServerPacket.write(AionServerPacket.java:78)
at com.aionemu.gameserver.network.aion.AionConnection.writeData(AionConnection.java:202)
at com.aionemu.commons.network.Dispatcher.write(Dispatcher.java:320)
at com.aionemu.commons.network.AcceptReadWriteDispatcherImpl.dispatch(AcceptReadWriteDispatcherImpl.java:85)
at com.aionemu.commons.network.Dispatcher.run(Dispatcher.java:110)
INFO [23 Sep 10:05:20,923] Sending account disconnected 3
INFO [23 Sep 10:05:20,924] sending packet: [S] 0x03 SM_ACCOUNT_DISCONNECTED
INFO [23 Sep 10:05:35,947] sending packet: [S] 0x02 SM_CS_PLAYER_LOGOUT
WARN [23 Sep 10:05:35,951] Exception in a Runnable execution:
java.lang.NullPointerException
at mysql5.MySQL5AbyssRankDAO.storeAbyssRank(MySQL5AbyssRankDAO.java from JavaSourceFromFile:105)
at com.aionemu.gameserver.services.PlayerService.storePlayer(PlayerService.java:151)
at com.aionemu.gameserver.services.PlayerService.playerLoggedOut(PlayerService.java:423)
at com.aionemu.gameserver.services.PlayerService$1.run(PlayerService.java:436)
at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:61)
at com.aionemu.commons.utils.concurrent.ExecuteWrapper.run(ExecuteWrapper.java:42)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
opsssssss.... my problem solved....... thanks..