Sign in to follow this  
Sklo:D

Players getting deleted on Server travel

Recommended Posts

GM account has been deleted and replaced with a new account upon cross server travel. This bug is very likely to happen also in Wurm Online.

 

Jul 14, 2018 9:18:44 AM com.wurmonline.server.webinterface.WebInterfaceImpl transferPlayer
INFO: 192.168.1.20 Transferplayer name: Thaurissan, position (x,y): 3612, 2149, surfaced: true
Jul 14, 2018 9:18:45 AM com.wurmonline.server.players.DbPlayerInfo load
INFO: Thaurissan has played 116 days, 17 hours and 11 minutes at load.
Jul 14, 2018 9:18:45 AM com.wurmonline.server.intra.IntraServerConnection savePlayerToDisk
INFO: Found old player info for the name Thaurissan. Deleting old information with wurmid 3890220752896. New wurmid=8272006349056
Jul 14, 2018 9:18:45 AM com.wurmonline.server.intra.IntraServerConnection savePlayerToDisk
INFO: Player Thaurissan deleted. PlayerInfo is null
Jul 14, 2018 9:18:45 AM com.wurmonline.server.items.RecipesByPlayer unPackRecipes
INFO: unpacking 0 known recipes!
Jul 14, 2018 9:18:45 AM com.wurmonline.server.items.RecipesByPlayer unPackRecipes
INFO: unpacking 0 favourites!
Jul 14, 2018 9:18:45 AM com.wurmonline.server.items.RecipesByPlayer unPackRecipes
INFO: unpacking 0 notes!
Jul 14, 2018 9:18:45 AM com.wurmonline.server.intra.IntraServerConnection savePlayerToDisk
INFO: has info:false
 

Share this post


Link to post
Share on other sites

Caused by this on the login server:

 


INFO: 192.168.1.22 Transferplayer name: Thaurissan, position (x,y): 1000, 1000, surfaced: true
Jul 14, 2018 9:12:06 AM com.wurmonline.server.intra.IntraServerConnection savePlayerToDisk
WARNING: Unpack exception null
java.io.EOFException
        at java.io.DataInputStream.readFully(DataInputStream.java:197)
        at java.io.DataInputStream.readLong(DataInputStream.java:416)
        at com.wurmonline.server.intra.IntraServerConnection.createItem(IntraServerConnection.java:2281)
        at com.wurmonline.server.intra.IntraServerConnection.createItem(IntraServerConnection.java:2268)
        at com.wurmonline.server.intra.IntraServerConnection.savePlayerToDisk(IntraServerConnection.java:1966)
        at com.wurmonline.server.webinterface.WebInterfaceImpl.transferPlayer(WebInterfaceImpl.java:4657)
        at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
        at sun.rmi.transport.Transport$1.run(Transport.java:200)
        at sun.rmi.transport.Transport$1.run(Transport.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

 

 

 

As a result a new player is created:

 

Jul 14, 2018 9:14:54 AM com.wurmonline.server.creatures.DbCreatureStatus load
WARNING: Failed to load status for creature with id 3890220752896
java.lang.NullPointerException
        at com.wurmonline.server.creatures.CreatureTemplateFactory.getTemplate(CreatureTemplateFactory.java:90)
        at com.wurmonline.server.creatures.DbCreatureStatus.load(DbCreatureStatus.java:295)
        at com.wurmonline.server.players.Player.<init>(Player.java:542)
        at com.wurmonline.server.LoginHandler.handleLogin(LoginHandler.java:1382)
        at com.wurmonline.server.LoginHandler.login(LoginHandler.java:447)
        at com.wurmonline.server.LoginHandler.reallyHandle(LoginHandler.java:314)
        at com.wurmonline.communication.SocketConnection.tick(SocketConnection.java:615)
        at com.wurmonline.communication.SocketServer.tick(SocketServer.java:172)
        at com.wurmonline.server.Server.run(Server.java:2516)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)

Jul 14, 2018 9:14:54 AM com.wurmonline.server.LoginHandler handleLogin
INFO: /xxx.xxx.xxx.xxx,Thaurissan was created successfully.
 

Edited by Sklo:D

Share this post


Link to post
Share on other sites

The EOFException is caused because of bad error handling in another class:

So no real bug in this class (receiving) but a bug while sending the items.

 

 

 

 

 

Share this post


Link to post
Share on other sites

I've just got the same error appear in the log with a normal player on my server when they try to use the Server to Server portals. For my GM and other normal players it is fine. Character appears to be otherwise ok

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this