Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use
viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
tukune
Posts: 533 Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan
Post
by tukune » Tue Dec 04, 2012 4:39 am
lag each 20 minute on my poor server if "RestoreOffliners = true". this is patch.
Code: Select all
public L2GameClient(MMOConnection<L2GameClient> con) { super(con); _state = GameClientState.CONNECTED; _connectionStartTime = System.currentTimeMillis(); _crypt = new GameCrypt(); _stats = new ClientStats(); _packetQueue = new ArrayBlockingQueue<>(Config.CLIENT_PACKET_QUEUE_SIZE); if (Config.CHAR_STORE_INTERVAL > 0) {- _autoSaveInDB = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoSaveTask(), 300000L, (Config.CHAR_STORE_INTERVAL * 60000L));+ _autoSaveInDB = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoSaveTask(), Rnd.get(300000L, 300000L + Config.CHAR_STORE_INTERVAL * 60000L), (Config.CHAR_STORE_INTERVAL * 60000L)); }
DareStrike
Posts: 376 Joined: Sun May 01, 2011 1:20 pm
Post
by DareStrike » Tue Dec 04, 2012 10:06 am
what to what. java should add
will reduce the Disconnect ?
maxstyleboy
Posts: 183 Joined: Thu Jul 15, 2010 12:26 am
Post
by maxstyleboy » Thu Dec 06, 2012 5:15 pm
DareStrike wrote: what to what. java should add
will reduce the Disconnect ?
maxstyleboy
Posts: 183 Joined: Thu Jul 15, 2010 12:26 am
Post
by maxstyleboy » Fri Dec 07, 2012 3:59 pm
The problem persists! the version L2j Freya i did not have this problem.
I'm waiting help, but I think nobody knows solve problem.
Many are having the same problem.
taro87
Posts: 18 Joined: Mon Dec 10, 2012 12:37 pm
Post
by taro87 » Mon Dec 17, 2012 12:58 pm
JOJO wrote: lag each 20 minute on my poor server if "RestoreOffliners = true". this is patch.
Code: Select all
public L2GameClient(MMOConnection<L2GameClient> con) { super(con); _state = GameClientState.CONNECTED; _connectionStartTime = System.currentTimeMillis(); _crypt = new GameCrypt(); _stats = new ClientStats(); _packetQueue = new ArrayBlockingQueue<>(Config.CLIENT_PACKET_QUEUE_SIZE); if (Config.CHAR_STORE_INTERVAL > 0) {- _autoSaveInDB = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoSaveTask(), 300000L, (Config.CHAR_STORE_INTERVAL * 60000L));+ _autoSaveInDB = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoSaveTask(), Rnd.get(300000L, 300000L + Config.CHAR_STORE_INTERVAL * 60000L), (Config.CHAR_STORE_INTERVAL * 60000L)); }
How many players are playing on your Server?
maxstyleboy
Posts: 183 Joined: Thu Jul 15, 2010 12:26 am
Post
by maxstyleboy » Tue Dec 18, 2012 1:40 am
taro87 wrote: JOJO wrote: lag each 20 minute on my poor server if "RestoreOffliners = true". this is patch.
Code: Select all
public L2GameClient(MMOConnection<L2GameClient> con) { super(con); _state = GameClientState.CONNECTED; _connectionStartTime = System.currentTimeMillis(); _crypt = new GameCrypt(); _stats = new ClientStats(); _packetQueue = new ArrayBlockingQueue<>(Config.CLIENT_PACKET_QUEUE_SIZE); if (Config.CHAR_STORE_INTERVAL > 0) {- _autoSaveInDB = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoSaveTask(), 300000L, (Config.CHAR_STORE_INTERVAL * 60000L));+ _autoSaveInDB = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoSaveTask(), Rnd.get(300000L, 300000L + Config.CHAR_STORE_INTERVAL * 60000L), (Config.CHAR_STORE_INTERVAL * 60000L)); }
How many players are playing on your Server?
Code: Select all
Core\java\com\l2jserver\gameserver\network\L2GameClient.java:129: error: cannot find symbol [javac] _autoSaveInDB = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoSaveTask(), Rnd.get(300000L, 300000L + Config.CHAR_STORE_INTERVAL * 60000L), (Config.CHAR_STORE_INTERVAL * 60000L)); [javac] ^ [javac] symbol: variable Rnd [javac] location: class L2GameClient [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error