Mthec

[Released] Mthec's NPCs - Crafter, Buyer, DeliveryContracts, MerchantCap, and CustomTrader

Recommended Posts

It's just 1 6.40kg pile of ash, Removing it as gm didn't fix it. It lights the forge and everything, Just no imping. It also doesn't want to imp stone mine doors

Share this post


Link to post
Share on other sites

Crafter update and bugfixes

Download

 

Added global restricted materials.  Now GM can limit which materials Crafters may use.  This works in combination with Per-Crafter restrictions, but cannot override globally blocked materials.

Type /restrictmaterials into chat as a GM to bring up the list.

 

Also fixed several bugs.

On 5/7/2020 at 12:01 AM, Batta said:

I've noted that the crafter can only take a certain amount of stuff at one time -- I think 5 items?  Ash Produce mod spawns a lot more than that, so it's possible it's overloading your crafter.  I'd test this theory by removing Ash Produce.

 

EDIT:  I mean you can trade only a very limited number of items to the crafter at one time, though you can eventually trade all your stuff for imping if you do it in small batches, one after the other.

Should be fixed now.

 

11 hours ago, Hakameda said:

It's just 1 6.40kg pile of ash, Removing it as gm didn't fix it. It lights the forge and everything, Just no imping. It also doesn't want to imp stone mine doors

I have a suspicion as to what the problem is, see if the new version fixes it.

 

If not, could you try turning on crafter output by putting this:

output=print

In your .properties file.  It should hopefully say what the problem is.

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, Mthec said:

Crafter update and bugfixes

Download

Do we need to do anything with our existing crafters when we add this fix?  Or will they just be updated?

Share this post


Link to post
Share on other sites
1 hour ago, Batta said:

Do we need to do anything with our existing crafters when we add this fix?  Or will they just be updated?

No, the problem you posted was just blocking acceptance of orders, old orders will continue as usual.

  • Like 1

Share this post


Link to post
Share on other sites

Still seems unable to do stone mine doors, Trying metal now as well

Share this post


Link to post
Share on other sites

I'm not sure what the problem could be.  Did you get any output using output=print?

Share this post


Link to post
Share on other sites

Sorry took a bit, Crafter is working on mine doors but not imping them. [20:36:13] <Twinkywinky> I am currently currently working on 10 items for you.

 

And with the debug message on, Nothing is showing up. Metal items just get mailed right back to me

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

Crafter bugfix

Download

 

Crafter logs weren't being written to.  Now fixed.

13 hours ago, Hakameda said:

Sorry took a bit, Crafter is working on mine doors but not imping them. [20:36:13] <Twinkywinky> I am currently currently working on 10 items for you.

 

And with the debug message on, Nothing is showing up. Metal items just get mailed right back to me

Sorry about this, still not sure of the cause.  But hopefully with the fix to the message logging it should clear things up.  Check the individual log files in the WurmServerLauncher folder, if you haven't already, sometimes the messages can get log in the console output.

 

The only other idea I have at this time is to dismiss and replace the Crafter.  Have you tried that since the previous update?

 

 

Edited by Mthec
Forgot something.

Share this post


Link to post
Share on other sites

[03:37:48 AM] INFO Twinkywinky_2219913977089: Received - You enter Farmville.
[03:37:48 AM] INFO Twinkywinky_2219913977089: Received - You enter Freedom Isles.
[03:38:51 AM] INFO Twinkywinky_2219913977089: Improving mine door with rock shards
[03:38:52 AM] INFO Twinkywinky_2219913977089: Received - The rock shards is in too poor shape to improve the mine door.
[03:38:52 AM] INFO Twinkywinky_2219913977089: Improving mine door with rock shards
[03:38:58 AM] INFO Twinkywinky_2219913977089: Received - The rock shards is in too poor shape to improve the mine door.
[03:38:58 AM] INFO Twinkywinky_2219913977089: Improving mine door with rock shards
[03:39:16 AM] INFO Twinkywinky_2219913977089: Received - The rock shards is in too poor shape to improve the mine door.
[03:39:16 AM] INFO Twinkywinky_2219913977089: Improving mine door with rock shards

 

  • Like 1

Share this post


Link to post
Share on other sites

It also prevents the server from running after updating, It also seemed to crash the server after loading i think

 

Caused by: org.gotti.wurmunlimited.modloader.classhooks.HookException: java.lang.reflect.InvocationTargetException
    at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:394)
    at com.wurmonline.server.Items.destroyItem(Items.java)
    at com.wurmonline.server.Items.destroyItem(Items.java:576)
    at com.wurmonline.server.Items.destroyItem(Items.java:571)
    at mod.wurmunlimited.npcs.CrafterAIData.sendNextAction(CrafterAIData.java:366)
    at mod.wurmunlimited.npcs.CrafterAI.pollCreature(CrafterAI.java:61)
    at com.wurmonline.server.creatures.Creature.poll$1(Creature.java:6017)
    ... 11 more

 

I can dm you the full log if you like

  • Like 1

Share this post


Link to post
Share on other sites

Crafter bugfix

Download

 

16 hours ago, Hakameda said:

*snip*

 

I can dm you the full log if you like

Yes please, if you wouldn't mind.  What I'm seeing there is that something is going wrong when removing the ash from the forge, but it works fine on my end so can't tell what the problem is.

 

I've hopefully fixed the issue with the mine doors, thanks for the logs, but you may still have problems starting up if the ash related issue is still causing problems.

Share this post


Link to post
Share on other sites

Actually if you wanna know the weirdest thing, I reverted the version and now some of the crafters are working and imping metal things now

  • Like 1

Share this post


Link to post
Share on other sites
29 minutes ago, Hakameda said:

Actually if you wanna know the weirdest thing, I reverted the version and now some of the crafters are working and imping metal things now

Weird.  I guess don't argue if it is working, but it's strange all the same.

Share this post


Link to post
Share on other sites

@MthecI just noticed that the Custom Trader is missing lingonberrywood as a wood type.  

  • Like 1

Share this post


Link to post
Share on other sites

CustomTrader and BuyerMerchant fixes

Download CustomTrader

Download BuyerMerchant

 

Added missing wood types.

On 6/28/2020 at 6:23 PM, Batta said:

@MthecI just noticed that the Custom Trader is missing lingonberrywood as a wood type.  

Interesting.  So in the Wurm Unlimited code there is a list of all the wood types, but for some reason it is missing lingonberrywood and orangewood.  At first I thought it was because they were less common wood types, but raspberrywood and blueberrywood are included.

 

Thanks for the report.

  • Like 1

Share this post


Link to post
Share on other sites

Hello! Im starting a new server with some friends and we are using the Buyer Merchant, Crafter and Custom Trader mods. 

When I click on a tile to place the custom trade, it always spawn facing the same direction. Is there a way to change it or maybe Im not doing it the right way?

They don't look at people when trading either.

 

I am trying to set up a market with sellers on two sides and an empty space between them for customers, but I'm not succeeding due to this problem. 


 

Spoiler

Images: 

Screenshot-17.png 

 

All merchants are oriented to the same side:

Screenshot-18.pngScreenshot-19.png

 

 

Share this post


Link to post
Share on other sites
2 hours ago, Norhi said:

Hello! Im starting a new server with some friends and we are using the Buyer Merchant, Crafter and Custom Trader mods. 

When I click on a tile to place the custom trade, it always spawn facing the same direction. Is there a way to change it or maybe Im not doing it the right way?

They don't look at people when trading either.

 

I am trying to set up a market with sellers on two sides and an empty space between them for customers, but I'm not succeeding due to this problem. 


 

  Reveal hidden contents

Images: 

Screenshot-17.png 

 

All merchants are oriented to the same side:

Screenshot-18.pngScreenshot-19.png

 

 

As soon as a player who is not a GM clicks to trade with them, they will turn to face the player.  

 

  • Like 2

Share this post


Link to post
Share on other sites
11 hours ago, Batta said:

As soon as a player who is not a GM clicks to trade with them, they will turn to face the player.  

 

 

Oh... Im so sorry. I was so worry trying to set up everything that I didnt even test it. Thank you very much, Batta. It's working wonderfully.

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

I seem to have a glitch with the crafter. We have been using it for quite a while, but recently I gave him 2 rare pickaxes and asked him to mail them when done. He finished the work and mailed them to me, but when we run our nightly restart they disappear from my inventory and end up in the mail again. I also noticed after he mails them they are still in his inventory. Not sure it anyone has had this issue or not. If you need some type of logs let me know and instruct me where to find them please. :)

 

Not sure what happened, but after the 3rd or 4th day it fixed itself.

 

 

Edited by Mynerva
issue fixed itself

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.