Page 1 of 1

Restore offline Shops... Help

Posted: Fri Sep 30, 2011 9:06 pm
by morfiuz
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision CT 1.5:
L2JDP Revision CT 1.5:

I added the code to "restore offline shop" in my server.

He proceeds correctly, save the DB everything.
But when restoring returns this error, you can do something ...

Image

error line in OfflineTradersTable.java:176

Code: Select all

 L2GameClient client = new L2GameClient(null); 
invoked metodo in GameClient.java:88

Code: Select all

public L2GameClient(MMOConnection<L2GameClient> con)    {        super(con); //this line indicates the error                state = GameClientState.CONNECTED;        _connectionStartTime = System.currentTimeMillis();        _crypt = new GameCrypt();                if (Config.CHAR_STORE_INTERVAL > 0)        {            _autoSaveInDB = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(                     new AutoSaveTask(), 300000L, (Config.CHAR_STORE_INTERVAL*60000L)            );        }        else        {            _autoSaveInDB = null;        }    }