Jump to content
  • 0

Question

Posted (edited)

Hey all . 

 

I am facing a bit of a problem with java when launching Gameserver. Using L2J server master package.

I got to tell you though that launching server is a breeze with 65 seconds loading time.

 

Anyway.

 

I am using Debian 7 with java JDK+ JRE version 8 installed.

java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

When i am launching server with

java-jar l2jserver.jar

i get a line with message : 

*sys-package-mgr*: can't create package cache dir, '/home/clover/server/libs/jython.jar/cachedir/packages'

I tried 2 things :

 

Permissions to 777 >>> nothing happened keep taking the error

Absolute path to the directory >>>> nothing happened again .

 

Server is getting up and working but i dont know if that error could have some impact on the gameserver functioning. 

 

Second problem i am facing is that : 

 

Everything is ok when it comes for the people from the outside to log in to my server using the wan ip .

I am using the ip-config.xml

 

But when i try to login from lan i am getting past the login screen but i am stuck at the server selection. 

 

My LAN is on 192.168.1.1 so i changed a bit the ipconfig.xml at the end of the file.

 

Is it correct? Server Lan Ip is 192.168.1.156

 

<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: If file is named "ipconfig.xml" this data will be used as network configuration, otherwise server will configure it automatically! -->
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="WAN IP HERE" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="10.0.0.0/8" address="10.0.0.0" />
<define subnet="172.16.0.0/19" address="172.16.0.0" />
<define subnet="192.168.0.0/16" address="192.168.0.0" />
<define subnet="192.168.1.0/24" address="192.168.1.156" />
</gameserver>

Thanks a lot , waiting for your opinions, hoping that will help the community.

 

Cheers

 
Edited by guss

6 answers to this question

Recommended Posts

  • 0
Posted

Problem is that i have the server on a dedicated machine that i recently purchased in order to do a good clean job in developing an L2J project. 

So i cant log from 127.0.0.1 since server is at another machine.

  • 0
Posted

Fixed it . In case someone has the same problem he must alter carefully the LAN addresses - subnet .

 

For example : part of the ipconfig.xml 

 

<!-- Internalhosts here (LANs IPs) -->
<define subnet="192.168.0.0/24" address="192.168.1.54" />
</gameserver>

Hope this can help some more people . 

 

Feel free to ask anything.

Guest
This topic is now closed to further replies.


×
×
  • Create New...