Sign in to follow this  
Eject

some errormessages i cant read

Recommended Posts

Hello

Can you help me please with this errors?

 

java.lang.ClassCastException: com.wurmonline.server.creatures.Npc cannot be cast to com.wurmonline.server.players.Player

at com.wurmonline.server.behaviours.ItemBehaviour.action(ItemBehaviour.java:2971)

at com.wurmonline.server.behaviours.Action.poll(Action.java:3500)

at com.wurmonline.server.behaviours.ActionStack.poll(ActionStack.java:237)

at com.wurmonline.server.creatures.Creature.poll(Creature.java:5791)

at com.wurmonline.server.creatures.Creatures.pollAllCreatures(Creatures.java:1756)

at com.wurmonline.server.zones.Zones.pollNextZones(Zones.java:1779)

at com.wurmonline.server.Server.run(Server.java:1853)

at java.util.TimerThread.mainLoop(Timer.java:555)

at java.util.TimerThread.run(Timer.java:505)

[08:05:02 AM] INFO com.wurmonline.server.creatures.Creatures: com.wurmonline.server.creatures.Npc cannot be cast to com.wurmonline.server.players.Player

java.lang.ClassCastException: com.wurmonline.server.creatures.Npc cannot be cast to com.wurmonline.server.players.Player

at com.wurmonline.server.behaviours.ItemBehaviour.action(ItemBehaviour.java:2971)

at com.wurmonline.server.behaviours.Action.poll(Action.java:3500)

at com.wurmonline.server.behaviours.ActionStack.poll(ActionStack.java:237)

at com.wurmonline.server.creatures.Creature.poll(Creature.java:5791)

at com.wurmonline.server.creatures.Creatures.pollAllCreatures(Creatures.java:1756)

at com.wurmonline.server.zones.Zones.pollNextZones(Zones.java:1779)

at com.wurmonline.server.Server.run(Server.java:1853)

at java.util.TimerThread.mainLoop(Timer.java:555)

at java.util.TimerThread.run(Timer.java:505)

 

This two blocks are coming each second and i dont know where i can find the problem

Eject

Share this post


Link to post
Share on other sites

Do you have test server ticked.

It's to do with that i think.

Share this post


Link to post
Share on other sites

Stuff like that is usually caused by NPCs freely roaming around and trying to do random actions, that are often poorly coded and assume that the action will always be performed by a real player.

 

I don't know if i'ts limited to test serves, they do that random action spam stuff on normal servers too.

 

It's mostly harmless except logging spam, but if you want to get rid of it - confine the NPCs to some specific areas (using buildings, gates, etc), and limit what they have access to. Or just remove them entirely.

Share this post


Link to post
Share on other sites

Thanks for your help and claryfication :)

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