Connection with the Loginserver lost.. Need some help over here!
Hello everyone!
I was trying to set up a 1.5 Aion Unique gameserver on localhost to play a bit around with it. After following
this video https://www.youtube.com/watch?v=xAQLRADJaXE and kinda followed everything
like crazy, I get this error, when I try to connect with the gameserver.bat:
Code:
[ERROR 2021-05-24 12:34:41] com.aionemu.commons.network.Dispatcher:118 - Dispatcher error! java.lang.NullPointerException
java.lang.NullPointerException
at com.aionemu.gameserver.network.loginserver.LoginServerConnection.processData(LoginServerConnection.java:107)
at com.aionemu.commons.network.Dispatcher.parse(Dispatcher.java:270)
at com.aionemu.commons.network.Dispatcher.read(Dispatcher.java:226)
at com.aionemu.commons.network.AcceptReadWriteDispatcherImpl.dispatch(AcceptReadWriteDispatcherImpl.java:82)
at com.aionemu.commons.network.Dispatcher.run(Dispatcher.java:110)
What did I do wrong here? Anyone got some idea?
Thank you all in advance!
Re: Connection with the Loginserver lost.. Need some help over here!
With which JAVA was compiled the gameserver, and with which JAVA you start?
Post your login server config
Re: Connection with the Loginserver lost.. Need some help over here!
Code:
#
# This file is part of aion-unique <aionunique.smfnew.com>.
#
# 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/>.
#
# LoginServer will listen for connections on specified port
loginserver.network.client.port=2106
# LoginServer will bind specified network interface
# * - bind all interfaces
loginserver.network.client.host=*
# How many times player can try to login before he get's banned for bruteforcing
loginserver.network.client.logintrybeforeban=5
# For what time in minutes player should be banned in case of bruteforcing
loginserver.network.client.bantimeforbruteforcing=15
# Host that will be used by LS to listen for GS connections
loginserver.network.gameserver.host=*
# Port that will be used by LS to listen for GS connections
loginserver.network.gameserver.port=9014
# Nuber of additional threads for NIO that will handle only reading
loginserver.network.nio.threads.read=0
# Nuber of additional threads for NIO that will handle only writing
loginserver.network.nio.threads.write=0
# Create accounts automatically or not?
loginserver.accounts.autocreate=true
and the database config is
Code:
#
# This file is part of aion-unique <aionunique.smfnew.com>.
#
# 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/>.
#
# This class represents database driver class that will be used while connecting to database
database.driver=com.mysql.jdbc.Driver
# This is database url.
database.url=jdbc:mysql://localhost:3306/au_server_ls
# Database user
database.user=Newi
# Database password
database.password=root
# Minimum amount of database connections that will allways in the pool
database.connections.min=5
# Maximum amount of DB connections that server can use
database.connections.max=10
# Script context that will be loaded by database factory, it should implement DAO instances
database.scriptcontext.descriptor=./data/scripts/system/database.xml
Re: Connection with the Loginserver lost.. Need some help over here!
loriette, server 1.5 Aion Unique only works on java 6.
Re: Connection with the Loginserver lost.. Need some help over here!
Quote:
Originally Posted by
loriette
Hello everyone!
I was trying to set up a 1.5 Aion Unique gameserver on localhost to play a bit around with it. After following
this video
https://www.youtube.com/watch?v=xAQLRADJaXE and kinda followed everything
like crazy, I get this error, when I try to connect with the gameserver.bat:
Code:
[ERROR 2021-05-24 12:34:41] com.aionemu.commons.network.Dispatcher:118 - Dispatcher error! java.lang.NullPointerException
java.lang.NullPointerException
at com.aionemu.gameserver.network.loginserver.LoginServerConnection.processData(LoginServerConnection.java:107)
at com.aionemu.commons.network.Dispatcher.parse(Dispatcher.java:270)
at com.aionemu.commons.network.Dispatcher.read(Dispatcher.java:226)
at com.aionemu.commons.network.AcceptReadWriteDispatcherImpl.dispatch(AcceptReadWriteDispatcherImpl.java:82)
at com.aionemu.commons.network.Dispatcher.run(Dispatcher.java:110)
What did I do wrong here? Anyone got some idea?
Thank you all in advance!
Use this as model it will help you, this include java 1.6 portable...
https://mega.nz/file/IF5yXYAb#B2STBr...mRcHcJziBB36hc
Re: Connection with the Loginserver lost.. Need some help over here!
Quote:
Originally Posted by
Robson26
Thank you! gonna try ♥
Edit: Nvm, I'm using this one rn.
Re: Connection with the Loginserver lost.. Need some help over here!
Alright guys. It was the java issue. Thanks a lot for that. Every .bat is starting now without any problems.
Now I've to pass the gameguard issue. It's telling me some error stuff but with the code 120.
I've already the no IP thing in my bin32. What did I miss here?
My launcher is a simple bat with
PHP Code:
start bin32\aion.bin -ip:127.0.0.1 -port:2106 -cc:2 -lang:enu -noauthgg -noweb
in it. Any ideas? :ott:
- - - Updated - - -
Alright guys. It was the java issue. Thanks a lot for that. Every .bat is starting now without any problems.
Now I've to pass the gameguard issue. It's telling me some error stuff but with the code 120.
I've already the no IP thing in my bin32. What did I miss here?
My launcher is a simple bat with
PHP Code:
start bin32\aion.bin -ip:127.0.0.1 -port:2106 -cc:2 -lang:enu -noauthgg -noweb
in it. Any ideas? :ott:
Re: Connection with the Loginserver lost.. Need some help over here!
Okay guys, I've solved that java mistake, I made. But now my client is giving me a hard time.
Getting all the time a DirecX Error that tells me something about: CreateSystemInterface Failed
Any suggestions? Probably I just missed something :O
Re: Connection with the Loginserver lost.. Need some help over here!
Maybebecause you will need to instal DirectX 9.0
Re: Connection with the Loginserver lost.. Need some help over here!
Weird. I played on a server with the same version but it never asked me for directX.
Re: Connection with the Loginserver lost.. Need some help over here!
Found out that the issue was caused by the d3dx9_38.dll. Deleting it fixed the start and I could finally login. Now facing the next thing. Can't see any gameserver, even tho I made one in the loginserver database. Right as the video guide said.
Tried to set the mask from * to 127.0.0.1 and almost every password or name I used in the configuration files. Nothing.
Re: Connection with the Loginserver lost.. Need some help over here!
No one got an idea why the server is not showing up?
I tried to copy that column, in case, it has trouble with the 1 in the ID for some reason. But nothing. Still no server.
Re: Connection with the Loginserver lost.. Need some help over here!
Just simple, use your LAN IP (37 / 192.168.2.10 /password
account_data / gameservers
Same in your configs files.
Take a look of the console if everything connect, Chat.Login and Gameserver
After that the client can connect, except you have some other issues such: cc=1 and -lang:eng
Code:
@Echo off - use; for english -eng / for german -deu / for france -fra / for UK -enu
start bin32\aion.bin -ip:192.168.2.10 -port:2106 -cc:1 -lang:eng -noauthgg -ls -charnamemenu -ng -ingameshop -chat -noweb -nowebshop -win10-mouse-fix -DEVMODE "g_freefly 1"
Re: Connection with the Loginserver lost.. Need some help over here!
Quote:
Originally Posted by
loriette
No one got an idea why the server is not showing up?
I tried to copy that column, in case, it has trouble with the 1 in the ID for some reason. But nothing. Still no server.
You need to add a no-ip version.dll(in bin32) from this thread https://forum.ragezone.com/f587/noip...ource-1156650/
startup code
start bin32\aion.bin -ip:127.0.0.1 -port:2106 -ingameshop -nowebshop -noweb -fix-39-weapon-switch -win10-mouse-fix-autodetect