Mthec

[Released] Mthec's NPCs - Crafter, Buyer, DeliveryContracts, MerchantCap, CustomTrader, ToolPurchaser, Banker, BeastSummoner (new)

Recommended Posts

7 hours ago, Batta said:

@MthecWe're having a problem with Delivery Contracts, v. 0.5.12

A player packaged up a sailboat and sold it on his merchant. The buyer extracted it at a buoy without problem, but the ship is now unusable.  

- When I right-click on it, I get an endless "refreshing" and no info

- GM can't summon it because of the endless refreshing

- GM can't delete or destroy the ship

- When I try using a keybind to push it, I get [12:14:53] No item found with id 14997714580226

I also had this issue but far less in depth than you I just forgot to report it and logs are long gone by now without extensive searching

I also had some console spam relating No item found with id with the mod and it would often cause server lag. I had to end up removing the mod because of the endless errors until I got around to reporting it.

Share this post


Link to post
Share on other sites
On 9/9/2021 at 8:18 PM, Batta said:

@MthecWe're having a problem with Delivery Contracts, v. 0.5.12

A player packaged up a sailboat and sold it on his merchant. The buyer extracted it at a buoy without problem, but the ship is now unusable.  

- When I right-click on it, I get an endless "refreshing" and no info

- GM can't summon it because of the endless refreshing

- GM can't delete or destroy the ship

- When I try using a keybind to push it, I get [12:14:53] No item found with id 14997714580226

- Using the wand on the buoy tile, it shows that ship on the tile, with the ID mentioned above, but doing a #loadItem gives no result, not even an error message

- The seller changed ownership of the boat to the buyer, but the ship doesn't show up in either player's owned ships list

Sorry for the late reply, I was away yesterday.  Thank you for the detailed report.

 

What you're saying suggests the item is really gone, but hasn't been removed from players view for some reason.  You could check the wurmitems.db to see if the id is still there, but I doubt it.

 

I couldn't get the problem to occur on my end.  I packed and unpacked a caravel, traded it between characters, put it on a merchant, rebooted the server with the delivery note both on and off the merchant.

 

Is the ship still there when a player exits and logs back in?  Still there after server restart?

On 9/10/2021 at 4:10 AM, WesncIsMe said:

I also had this issue but far less in depth than you I just forgot to report it and logs are long gone by now without extensive searching

I also had some console spam relating No item found with id with the mod and it would often cause server lag. I had to end up removing the mod because of the endless errors until I got around to reporting it.

Sorry you had issues too.

 

If the 'No item found with id' errors said a number between 1-4 that was just an overly cautious message on my part.  Which I've now removed.  When destroying an item DeliveryContracts might appear, but that's just the normal log warning.  Something else however and I'll have to look into it further.

Share this post


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

Is the ship still there when a player exits and logs back in?  Still there after server restart?

It took a server restart to make the ship disappear. However, the buyer is still out the 9s she paid for the ship, so it's still a problem if delivery contracts don't always work as intended.  

I checked the wurmitems.db before the server reset, and the ship was no longer there.

Edited by Batta

Share this post


Link to post
Share on other sites

I was curious if adding some sort of item filter would be possible?

Rather it be only for that crafter or some kind of global item filter set via the config, whichever is easier?

 

I want to disallow players to use the crafters to imp metal minedoors only from Blacksmithing, everything else is fine

Share this post


Link to post
Share on other sites

Crafter update

Download

 

Added the ability to block items from being accepted by Crafters, both globally for all Crafters and specific to each Crafter through the normal management screen.

GMs can use the command /blockcrafteritems to bring up the global restrictions menu.
Global restrictions will be added to individual Crafters the next time their individual settings are updated. So as to avoid surprises if they are re-enabled in the future.

On 9/29/2021 at 6:30 PM, WesncIsMe said:

I was curious if adding some sort of item filter would be possible?

Rather it be only for that crafter or some kind of global item filter set via the config, whichever is easier?

 

I want to disallow players to use the crafters to imp metal minedoors only from Blacksmithing, everything else is fine

It wasn't that much different implementing both at the same time.  I used a similar system I created for material restrictions.

  • Like 1

Share this post


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

Crafter update

Download

 

Added the ability to block items from being accepted by Crafters, both globally for all Crafters and specific to each Crafter through the normal management screen.

GMs can use the command /blockcrafteritems to bring up the global restrictions menu.
Global restrictions will be added to individual Crafters the next time their individual settings are updated. So as to avoid surprises if they are re-enabled in the future.

It wasn't that much different implementing both at the same time.  I used a similar system I created for material restrictions.

Thank you so much!!!

  • Like 1

Share this post


Link to post
Share on other sites

Hello : )
I was wondering if maybe we could get the option in the BeastSummoner mod to choose the trait of the mob we're summoning before purchase?
I understand there's a way to make the summons, globally, one type- however I think more people would sink more money into the merchant if they could decide what level of fighting they may be able to take on better.
I'd also personally just like to purchase lurking horses lol
Is there any chance of this in the near future?

Share this post


Link to post
Share on other sites
On 10/11/2021 at 4:57 PM, pepofaec said:

Hello : )
I was wondering if maybe we could get the option in the BeastSummoner mod to choose the trait of the mob we're summoning before purchase?
I understand there's a way to make the summons, globally, one type- however I think more people would sink more money into the merchant if they could decide what level of fighting they may be able to take on better.
I'd also personally just like to purchase lurking horses lol
Is there any chance of this in the near future?

Sorry for the late reply, but I have been away for a few weeks.

 

So, the way this works with the GM Summon action is that only creatures with a Den or Rift creatures can have traits.  However it is possible to override this, which I have done with the update below.

 

Be aware, although it seems to work fine, there may be a reason it is normally disallowed in the Wurm Unlimited code.

 

BeastSummoner update

Download

 

restrict_types - If false, then BeastSummoners will be able to summon typed/trait versions (lurking, raging, greenish, etc.) of any creature template.  Not just those with a Den or Rift creatures. Default true.

Share this post


Link to post
Share on other sites

BuyerMerchant update

Download

 

You can now schedule resetting the amount of an item that is purchased ('Limit').
Click Schedule on either the Buyer Management or Prices screen.

 

Every interval (in hours) the Buyer will update the 'Limit' option on their price list for the listed items.


e.g. With a 'Limit' of 5 the Buyer will purchase a maximum of 5 of an item, as it did already. If players only sell 3 of the item, then at the next update the Buyer will go up to 5 again. If players buy all of an item, it will be temporarily removed from the list, then at the next update added back at 5.

Share this post


Link to post
Share on other sites

Crafter wound not have permission to access this forge.

 

I cant figure out what i am doing wrong lol

Share this post


Link to post
Share on other sites

Crafter update

Download

 

Added "Invite to settlement" button to the Manage window.  It will only appear if your village is different to the Crafter's.

 

CustomTrader update

Download

 

Another update someone requested, you can now set inscriptions and recipes to paper items for the CustomTrader to sell.

9 hours ago, WolfHunt said:

Crafter wound not have permission to access this forge.

 

I cant figure out what i am doing wrong lol

That message appears when the Crafter does not have the "Pickup" permission for a deed.  I guess most people have it set for Everybody, but it makes sense that there should be an invite option.  So I added it to the Manage screen.  Then you can change them to whatever role you want, so long as it has the Pickup option.

Share this post


Link to post
Share on other sites

Thank you.

Got the forge assigned. How long should it take for crafter to start imping?

Share this post


Link to post
Share on other sites

They should start as soon as they have jobs, or donated items, to work on.  They will also wait for the items to heat up.

 

If that's not the case, are there any errors in the server log?

Share this post


Link to post
Share on other sites

Guards wont let crafter imp.

Cant do that here.

Has pickup permission and every other one i could think of that might stop them

 

Update moved everything off deed and functions as intended.

Edited by WolfHunt
Update
  • Like 1

Share this post


Link to post
Share on other sites

Crafter update

Download

 

Added some messages clarifying when permissions are needed.

10 hours ago, WolfHunt said:

Guards wont let crafter imp.

Cant do that here.

Has pickup permission and every other one i could think of that might stop them

 

Update moved everything off deed and functions as intended.

Thanks for the update.  I've had permissions set up on my test server for a while and so have forgotten what was needed.

 

So I tested it and found that you need the Improve permission for general crafting, and Pickup as well to use a forge.

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