Offline shop major problem
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 37
- Joined: Tue Sep 08, 2015 8:42 am
Offline shop major problem
I have a problem with offline shop, if some one makes an offline shop. They cannot log back into game.. when they trying too select server it always says "disconnected from game". Major problem here... any one have a fix?
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: Offline shop major problem
yes i got it to if you put a offline shop to server,
and you got restore offliners on and the server make a restart
you can't log in back to game with your account you get the message you have been disconnected from the server please login again.
and you got restore offliners on and the server make a restart
you can't log in back to game with your account you get the message you have been disconnected from the server please login again.
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Offline shop major problem
If you place a player in offline mode... you must insert user and password one time (server place player out of session). Secondly you must place again same user and password and player must enter world... if not... then is a bug.
Try with my tip...
Try with my tip...
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: Offline shop major problem
yes i noSacrifice wrote:If you place a player in offline mode... you must insert user and password one time (server place player out of session). Secondly you must place again same user and password and player must enter world... if not... then is a bug.
Try with my tip...
but at the first time i get the message you have been disconnected from the server please login again.
and the player re mains in offline shop mode How many times I try to login to the game.
I think it's a bug at the new master hi5
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Offline shop major problem
Its extrange... but Im using last version and i dont have this issue...Attila wrote:yes i noSacrifice wrote:If you place a player in offline mode... you must insert user and password one time (server place player out of session). Secondly you must place again same user and password and player must enter world... if not... then is a bug.
Try with my tip...
but at the first time i get the message you have been disconnected from the server please login again.
and the player re mains in offline shop mode How many times I try to login to the game.
I think it's a bug at the new master hi5
Its two times... first is as you tell, and the second time you can enter with the player normally.
-
- Posts: 37
- Joined: Tue Sep 08, 2015 8:42 am
Re: Offline shop major problem
That doesn't work. Something is wrong, yes you enter account the first time and it says account is in use. Then you try too login and it won't let you in, just disconnects you on server select screen, you can try 100 times but it won't let you in, always disconnect. So I had too disable it now.. like a lot of other features here.
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Offline shop major problem
Banned accounts???... Could be?
-
- Posts: 37
- Joined: Tue Sep 08, 2015 8:42 am
Re: Offline shop major problem
No, doesn't matter who it is, no one is banned on my server. Also there are no console errors
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Offline shop major problem
Then could be a bug...Sinnocent wrote:No, doesn't matter who it is, no one is banned on my server. Also there are no console errors
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: Offline shop major problem
same problem hereSinnocent wrote:No, doesn't matter who it is, no one is banned on my server. Also there are no console errors
happened only if the server makes a restart
you put a offline shop to server.
server make a restart
then you try to login back to server with your offline shop account
and it won't let you in, just disconnects you on server select screen, you can try lot of times but it won't let you in, always disconnect.
and if you put offline shop to server off
and you make restart with server again
then you can be login with your account to server because then all offline shops are gone.
so the problem is that he is not take the offline shop away if you try to login back to server.
- u3games
- Posts: 1156
- Joined: Sun Feb 27, 2011 7:00 pm
- Location: España
- Contact:
Re: Offline shop major problem
Yes... double login because offline code use:
Code: Select all
L2World.getInstance().addPlayerToWorld(player);
client.setState(GameClientState.IN_GAME);
player.setClient(client);
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: Offline shop major problem
do we must do something with with this ?u3games wrote:Yes... double login because offline code use:
Code: Select all
L2World.getInstance().addPlayerToWorld(player); client.setState(GameClientState.IN_GAME); player.setClient(client);
-
- Posts: 183
- Joined: Thu Jul 15, 2010 12:26 am
Re: Offline shop major problem
i have same problem. Any fix?!
-
- Posts: 37
- Joined: Tue Sep 08, 2015 8:42 am
Re: Offline shop major problem
Someone said above the problem is coming from enabling the restore option. I disabled that function. So offline shops work now. But after server restarts they must setup shops again.
- Avanael92
- Advanced User
- Posts: 189
- Joined: Thu Aug 07, 2014 5:26 pm
- Location: Germany
Re: Offline shop major problem
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:
After adding this, I could login in two attempts after restart like explained here already.
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:
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.L2World.getInstance().addPlayerToWorld(player);
client.setState(GameClientState.IN_GAME);
player.setClient(client);
After adding this, I could login in two attempts after restart like explained here already.