Page 2 of 2
Re: Offline shop major problem
Posted: Wed Mar 16, 2016 4:27 pm
by Attila
Avanael92 wrote:Well, tried to reproduce this problem.
I didn't realize, L2J uses develop branch now instead of master, so I have this problem too. In develop branch, this is fixed.
On master, this red line in OfflineTradersTable.java within the restoreOfflineTraders method is missing:
L2World.getInstance().addPlayerToWorld(player);
client.setState(GameClientState.IN_GAME);
player.setClient(client);
Without this line, the player is practically not ingame, so you can't kick him out of the game which results in this disconnect loop.
After adding this, I could login in two attempts after restart like explained here already.
Thanks so as to see the problem solved here
Re: Offline shop major problem
Posted: Wed Mar 16, 2016 11:59 pm
by Sacrifice
Avanael92 wrote:Well, tried to reproduce this problem.
I didn't realize, L2J uses develop branch now instead of master, so I have this problem too. In develop branch, this is fixed.
On master, this red line in OfflineTradersTable.java within the restoreOfflineTraders method is missing:
L2World.getInstance().addPlayerToWorld(player);
client.setState(GameClientState.IN_GAME);
player.setClient(client);
Without this line, the player is practically not ingame, so you can't kick him out of the game which results in this disconnect loop.
After adding this, I could login in two attempts after restart like explained here already.
Good answer... I would not have done better...
Good!
Re: Offline shop major problem
Posted: Sun Mar 27, 2016 7:40 am
by maxstyleboy
Re: Offline shop major problem
Posted: Thu Mar 31, 2016 10:30 am
by gajet55
Re: Offline shop major problem
Posted: Fri Apr 22, 2016 6:08 pm
by CostyKiller
I have this problem too, players can't login after server restarts if they had offline shops.
Note: If I disable offline shop restore, problem is gone.
Re: Offline shop major problem
Posted: Fri Apr 22, 2016 8:30 pm
by Avanael92
Do you even read?
Re: Offline shop major problem
Posted: Fri Apr 22, 2016 8:43 pm
by CostyKiller
Yes I read your post, but I have that red line there already, and still happens.