Page 3 of 3

Re: Disconnect every half hour.

Posted: Tue Dec 04, 2012 4:39 am
by tukune
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));        }

Re: Disconnect every half hour.

Posted: Tue Dec 04, 2012 10:06 am
by DareStrike
what to what. java should add
will reduce the Disconnect ?

Re: Disconnect every half hour.

Posted: Thu Dec 06, 2012 5:15 pm
by maxstyleboy
DareStrike wrote:what to what. java should add
will reduce the Disconnect ?

:roll:

Re: Disconnect every half hour.

Posted: Fri Dec 07, 2012 3:59 pm
by maxstyleboy
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.


:|

Re: Disconnect every half hour.

Posted: Mon Dec 17, 2012 12:17 am
by maxstyleboy
someone can help ?

Re: Disconnect every half hour.

Posted: Mon Dec 17, 2012 12:58 pm
by taro87
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?

Re: Disconnect every half hour.

Posted: Tue Dec 18, 2012 1:40 am
by maxstyleboy
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