Sign in to follow this  
DiWorm

No item template with id -1

Recommended Posts

This spaming in logs, any ideas what's wrong? Players found flowers that can not be collected

 

[02:43:54 AM] WARNING com.wurmonline.server.behaviours.Terraforming: No template for flowers!
com.wurmonline.server.items.NoSuchTemplateException: No item template with id -1
    at com.wurmonline.server.items.ItemTemplateFactory.getTemplate(ItemTemplateFactory.java:88)
    at com.wurmonline.server.items.ItemFactory.createItem(ItemFactory.java:110)
    at com.wurmonline.server.items.ItemFactory.createItem(ItemFactory.java:88)
    at com.wurmonline.server.items.ItemFactory.createItem(ItemFactory.java:185)
    at com.wurmonline.server.behaviours.Terraforming.pickFlower(Terraforming.java:4607)
    at com.wurmonline.server.behaviours.TileGrassBehaviour.action(TileGrassBehaviour.java:814)
    at com.wurmonline.server.behaviours.Action.poll(Action.java:2199)
    at com.wurmonline.server.behaviours.ActionStack.poll(ActionStack.java:237)
    at com.wurmonline.server.players.Player.pollActions(Player.java:7165)
    at com.wurmonline.server.Players.pollPlayers$1(Players.java:4488)
    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.nyxcode.wurm.timedpay.TimedPay.lambda$null$0(TimedPay.java:41)
    at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:344)
    at com.wurmonline.server.Players.pollPlayers$2(Players.java)
    at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.gotti.wurmunlimited.modloader.server.ProxyServerHook$6$1.invoke(ProxyServerHook.java:181)
    at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:344)
    at com.wurmonline.server.Players.pollPlayers(Players.java)
    at com.wurmonline.server.Server.run(Server.java:1861)
    at java.util.TimerThread.mainLoop(Unknown Source)
    at java.util.TimerThread.run(Unknown Source)

Share this post


Link to post
Share on other sites

It looks like the code for picking flowers is trying to create an item, but getting an error - new items are created by instantiating the templates, and something is trying to create an item using an error code.  Are you running any mods that change flower picking, or add any items?  I'd try disabling any like that and see if the problem goes away.

Share this post


Link to post
Share on other sites

Might be also because of junk data in the map, only flowers 0 through 7 are valid and have an item, but the value can go up to 15. If the map has a flower tile with an invalid type - the server will try to find a matching item, fail and you'll get that error.

Share this post


Link to post
Share on other sites
3 hours ago, Pandalet said:

It looks like the code for picking flowers is trying to create an item, but getting an error - new items are created by instantiating the templates, and something is trying to create an item using an error code.  Are you running any mods that change flower picking, or add any items?  I'd try disabling any like that and see if the problem goes away.

Not 1 mod does not affect the flowers. We use this map: 

 

 

 

 

 

 

P.S. My last post in map thread = another bug with this map.. I think problem near .map files, but I'm afraid to touch or delete them :D

 

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