L2JMobius

Issues with connecting to GameServer + java errors.

Plankt0n · 9 · 7459

Offline Plankt0n

  • Heir
  • **
    • Posts: 38
Loginserver seems to pickup fine, however the gameserver (sieghardt) lists as "down". I tried removing all gameservers using the bat tool, re-add a new one etc. Now this happen:

Code: [Select]
[15/08 22:18:51] GameServer: Started, using 861 of 3993 MB total memory.
[15/08 22:18:58] GameServer: Geodata use 0 MB of memory.
[15/08 22:18:58] GameServer: Maximum number of connected players is 2000.
[15/08 22:18:58] GameServer: Server loaded in 438 seconds.
[15/08 22:19:30] ClientNetworkManager: Listening on 0.0.0.0:7777
[15/08 22:19:34] LoginServerThread: Connecting to login on 127.0.0.1:9014
Exception in thread "AISTPool-26" java.lang.IndexOutOfBoundsException: Index: 20
, Size: 20
        at java.util.ArrayList.rangeCheck(Unknown Source)
        at java.util.ArrayList.get(Unknown Source)
        at com.l2jmobius.gameserver.model.WalkInfo.getCurrentNode(WalkInfo.java:
60)
        at com.l2jmobius.gameserver.instancemanager.WalkingManager.startMoving(W
alkingManager.java:325)
        at com.l2jmobius.gameserver.instancemanager.tasks.StartMovingTask.run(St
artMovingTask.java:42)
        at com.l2jmobius.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread
PoolManager.java:86)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$301(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
[15/08 22:22:00] LoginServerThread: Registered on login as Server 2: Sieghardt





Offline Plankt0n

  • Heir
  • **
    • Posts: 38
Restarted server, no weird java error now. However, notice it says "BartZ" but it's supposed to be Sieghart. The registergameserver tool says ID2 Sieghart In Use.

Database table gameserver says ID 2, then the hex. And I tried both WAN/LAN and empty on Host.

Ideas?

FYI, the server is on a DMZ, all ports open/FW off during test. + I'm on another network while trying.

Code: [Select]
[15/08 22:36:39] GameServer: Started, using 865 of 3993 MB total memory.
[15/08 22:36:45] GameServer: Geodata use 0 MB of memory.
[15/08 22:36:46] GameServer: Maximum number of connected players is 2000.
[15/08 22:36:47] GameServer: Server loaded in 386 seconds.
[15/08 22:37:47] ClientNetworkManager: Listening on 0.0.0.0:7777
[15/08 22:37:48] LoginServerThread: Connecting to login on 127.0.0.1:9014
[15/08 22:39:15] LoginServerThread: Registered on login as Server 1: Bartz

Code: [Select]
Starting Login Server.

[15/08 22:30:13] Loading LoginController...
[15/08 22:30:14] Cached 10 KeyPairs for RSA communication
[15/08 22:30:15] Stored 20 keys for Blowfish communication
[15/08 22:30:15] GameServerTable: Loaded 127 server names
[15/08 22:30:15] GameServerTable: Loaded 1 registered Game Servers
[15/08 22:30:15] GameServerTable: Cached 10 RSA keys for Game Server communicati
on.
[15/08 22:30:15] Loaded 2 IP Bans.
[15/08 22:30:15] Listening for GameServers on 127.0.0.1:9014
[15/08 22:30:15] L2LoginServer: is now listening on: *:2106
[15/08 22:39:13] Updated Gameserver [1] Bartz IP's:
[15/08 22:39:14] 127.0.0.1/127.0.0.0/8
[15/08 22:39:14] 192.168.1.176/192.168.1.0/24
[15/08 22:39:14] 176.10.136.61/0.0.0.0/0


Offline Plankt0n

  • Heir
  • **
    • Posts: 38
Ok I set the default ID in the config to 2, it was 1 for a reason.. I also set False on allow auto register gameserver. Removed all entries from the database. Re-registered id 2.

And now this.. Running out of ideas.

Code: [Select]
[15/08 23:13:31] GameServer: Started, using 859 of 3993 MB total memory.
[15/08 23:13:31] GameServer: Geodata use 0 MB of memory.
[15/08 23:13:31] GameServer: Maximum number of connected players is 2000.
[15/08 23:13:31] GameServer: Server loaded in 381 seconds.
[15/08 23:13:40] ClientNetworkManager: Listening on 0.0.0.0:7777
[15/08 23:13:40] LoginServerThread: Connecting to login on 127.0.0.1:9014
[15/08 23:13:50] LoginServerThread: Damn! Registeration Failed: Reason: wrong he
xid
[15/08 23:13:55] LoginServerThread: Connecting to login on 127.0.0.1:9014
[15/08 23:13:55] LoginServerThread: Damn! Registeration Failed: Reason: wrong he
xid
[15/08 23:14:00] LoginServerThread: Connecting to login on 127.0.0.1:9014
[15/08 23:14:00] LoginServerThread: Damn! Registeration Failed: Reason: wrong he

Code: [Select]
[15/08 23:07:03] L2LoginServer: is now listening on: *:2106
[15/08 23:13:50] GameServer (127.0.0.1): Connection lost: socket closed
[15/08 23:13:55] GameServer (127.0.0.1): Connection lost: socket closed
[15/08 23:14:00] GameServer (127.0.0.1): Connection lost: socket closed
[15/08 23:14:05] GameServer (127.0.0.1): Connection lost: socket closed
[15/08 23:14:10] GameServer (127.0.0.1): Connection lost: socket closed
[15/08 23:14:20] GameServer (127.0.0.1): Connection lost: socket closed
[15/08 23:14:25] GameServer (127.0.0.1): Connection lost: socket closed
[15/08 23:14:30] GameServer (127.0.0.1): Connection lost: socket closed


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16159
Try running the files with no modifications at all. (not registering new gameserver)

Somewhat like on the video of this post.
http://l2jmobius.org/forum/index.php?topic=1605.0


Offline tbr

  • Elder
  • ****
    • Posts: 156
I was suprised that i didn't needed to register game server when tryed from mobius as well. That can be issue


Offline Plankt0n

  • Heir
  • **
    • Posts: 38
Try running the files with no modifications at all. (not registering new gameserver)

Somewhat like on the video of this post.
http://l2jmobius.org/forum/index.php?topic=1605.0
Ok removed database entry for table 'gameservers'

I removed all entries from the registerGameserver.bat

I changed the default ID back to 1 in the logonserver config file, I also set Allow new gameservers to register to true.

And this happens: (Note that it for some reason registered "sieghart" now..



Offline Plankt0n

  • Heir
  • **
    • Posts: 38
So I gave up, and simple re-did everything.

1. Unpacked Underground
2. Created new databases
3. Edited passwords
4. Ran SQL installers

And poof. Works now, I have no idea what's going on.
I'm pretty sure though that it had something to do with a hexid missmatch SOMEWHERE. So if anyone experience the same issue in the future, make sure to simply backup your DB, remove the hexid files in both config folders I guess and just restart.