Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Connection with the Loginserver lost.. Need some help over here!

Newbie Spellweaver
Joined
Feb 25, 2012
Messages
11
Reaction score
1
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 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!
 
Banned
Banned
Joined
May 26, 2020
Messages
235
Reaction score
98
With which JAVA was compiled the gameserver, and with which JAVA you start?
Post your login server config
 
Upvote 0
Newbie Spellweaver
Joined
Feb 25, 2012
Messages
11
Reaction score
1
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
 
Upvote 0
Joined
Sep 21, 2013
Messages
2,319
Reaction score
3,021
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 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...

 
Upvote 0
Newbie Spellweaver
Joined
Feb 25, 2012
Messages
11
Reaction score
1
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:
start bin32\aion.bin -ip:127.0.0.1 -port:2106 -cc:2 -lang:enu -noauthgg -noweb

in it. Any ideas? :eek:tt:



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:
start bin32\aion.bin -ip:127.0.0.1 -port:2106 -cc:2 -lang:enu -noauthgg -noweb

in it. Any ideas? :eek:tt:
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Feb 25, 2012
Messages
11
Reaction score
1
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
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Feb 25, 2012
Messages
11
Reaction score
1
Weird. I played on a server with the same version but it never asked me for directX.
 
Upvote 0
Newbie Spellweaver
Joined
Feb 25, 2012
Messages
11
Reaction score
1
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.
 
Upvote 0
Newbie Spellweaver
Joined
Feb 25, 2012
Messages
11
Reaction score
1
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.
 
Upvote 0
Banned
Banned
Joined
May 26, 2020
Messages
235
Reaction score
98
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:
 @[I][B][URL="https://forum.ragezone.com/members/2000306500.html"]Echo[/URL][/B][/I] 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"
 
Upvote 0
Junior Spellweaver
Joined
Sep 18, 2013
Messages
185
Reaction score
19
Upvote 0
Back
Top