Sign in to follow this  
Recon

Skills not loading for players SQL Migration

Recommended Posts

Hey all,

 

I've migrated my server from one provider to another but on migration I had issues loading the SQL Databases. 

 

I've fixed most of the issues but the only issue remaining is for existing players whereby their skills do not load. If they login and start building their skills any progression is also lost which is really frustrating for them. The error which appears is:

 

[11:03:39 AM] WARNING com.wurmonline.server.creatures.Creature: Failed to load and create skills for creature with name Dummy:null
java.lang.NullPointerException
	at com.wurmonline.server.skills.SkillSystem.getTypeFor(SkillSystem.java:453)
	at com.wurmonline.server.skills.Skill.<init>(Skill.java:181)
	at com.wurmonline.server.skills.DbSkill.<init>(DbSkill.java:66)
	at com.wurmonline.server.skills.DbSkills.load(DbSkills.java:122)
	at com.wurmonline.server.creatures.Creature.loadSkills(Creature.java:12289)
	at com.wurmonline.server.LoginHandler.handleLogin(LoginHandler.java:1690)
	at com.wurmonline.server.LoginHandler.login(LoginHandler.java:446)
	at com.wurmonline.server.LoginHandler.reallyHandle(LoginHandler.java:313)
	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:2462)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)

 

Any thoughts how to fix this?

 

Many Thanks

R

Share this post


Link to post
Share on other sites

There are complication when moving a server. Only thing that i can think of now is that there might when changing that the serverID did not get set in some of the database tables, ignore if you used the same ID on the new as old.

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