Mthec

Members
  • Content Count

    291
  • Joined

  • Last visited

Everything posted by Mthec

  1. Crafter update Download Added "Give tools" option to the Trade window, so that owners and GMs can donate tools to be used by the Crafter. Making it possible to give Crafters enchanted tools. GMs can now set the level of any skill for a Crafter, using the Manage>Modify Skills>Set Skill Levels menu. Crafter's will now bump all known skills up to the starting_skill level set in .properties. allow_threatening now uses three options: disabled kingdom village_alliance I've added a new Trade option, "Give tools". It's limited to the owner and GMs, to prevent random players affecting the Crafter. The Crafter will use the tool normally (not "cheating" as it does with its own tools), so the owner needs to keep an eye on it, and remove/re-improve tools as they stop being useful. As there is no real way for a Crafter to know which enchantments are good or bad, I've left it up to the owner. As long as a tool is between the target QL and the targetQL + 20 (to prevent wasting 99ql lumps to improve items at 1ql), the Crafter will use it. Hopefully sorted. If your Crafter is controlled by a GM, they can now change any of the Crafter's skills with the Manage menu. A Crafter's skills will be boosted to the starting_skill level, if they are too low. Hopefully that's the least messy solution. Interestingly, it's neither. They use Toymaking. I've setup a system that should clear things up. Toymaking is considered to be part of Carpentry, when it comes to the Crafter's assigned skills, but will still use Toymaking to improve. I've changed the allow_threatening option to allow you to set disabled, kingdom, or village_alliance. No worries, out of interest it doesn't undo pings. Just glad it's resolved for you.
  2. It should still be doable. I just worked on them in order of what I thought would be easier, and thought I'd release what I had after completing several of them.
  3. Interesting. The player-owned Buyer wouldn't show up in the buyer.db, as I added the database much later on in development. A quick look shows that the PLACE field is for where an item is on a creatures body. 0 being nowhere. Not sure why it would not be null, unless it was put in someones hand, but oh well. So I'll have to do some investigating into crossing server borders, but in the mean time I've created a little site to help with reconnecting the contract to the Buyer. Using a GM wand, use 'Get info' on the Buyer, and look for the 'Wurmid'. It should be a long number in the last line in Event. Visit the site, and put the id into the box and press Calculate. You'll get two numbers labeled 'Data1' and 'Data2'. Use the wand on the contract and go 'Item>Set data', then put the two numbers in the appropriate fields. Click 'Send' then you should be able to access the Buyer with the contract again.
  4. Crafter update Download Added 'Threaten' action, for non-home, PvP servers. Uses the same system as merchants, except it will also work on non-epic servers. Set allow_threatening to true in .properties. Default false. Added option to stop Crafter action messages appearing in Event. Set send_event_messages to false. Default true. Added option to allow Crafters to keep their skills, when dismissed and replaced. Set allow_saved_skills to true. Default true. Only works for Crafters placed with contracts, GMs can still modify skills via the 'Manage' menu. If disabled Crafters won't load skills when placed, and won't update their entries in the database. However, already saved skills won't be removed from the database, and will load again if the setting is enabled, and the Crafter is replaced. Fixed an issue that prevented compatibility with some other modded items. Added the 'Threaten' option, which works like merchant threatening. Drops all jobs, and donated items. Needs to be turned on, as I thought it might be a nasty surprise for those who aren't expecting it. Added. Ah, thanks for the explanation. I've sorted it so that items that use blade- and head- smithing for improvement can now be accepted with the weaponsmithing trade option. Also added. Needs to be turned on, as one of the intentions with the mod were to add some "background noise" of activity. But I can understand how a lot of them put together would get annoying. I took a quick look at the code, and it appears that 'Destroy'ing them, also cleans up some database stuff. Hmm, sounds like the server transfer is messing up the contract, which should keep a reference to the Buyer. I haven't played around much with hopping servers. I've run out of time now, but I'll respond later with more details.
  5. I'm a little out of practice, but if it isn't too big of a change I'm happy to make additions.
  6. The price is calculated like this: Prices over 70ql were not high enough, so it switches to a different formula (yellow). Then the price of the current ql is deducted from the target ql, and that's the price you pay at the Crafter. There is the base_price option, which modifies the price, but I don't think that's what you're after. How would you like the pricing to work? Also, I'm going away tomorrow for two weeks, so may not have the time to update the mod. Depending on what needs adding.
  7. Crafter bugfix Download Had a report of a writ holder not being able to access the coins generated by the Crafter. Added a workaround, to reset ownership, that occurs the next time the owner uses the Manage option on the writ.
  8. If the forge is in a village, the Crafter needs to be a member, the player making the changes needs to already be a member. If they are not, right-click on the crafter contract (or GM wand right-click the Crafter) and select manage. There should be an 'Invite to Settlement' button. It doesn't show if they already are. Then go to the settlement 'Manage roles' option, and 'Edit' the 'citizens' role. (You can move them to any role, they just start as citizens.) Give the role the Pickup/Drop/'Improve/Repair' permissions. If none of that works, it may be a bug. If so, what is the exact message you are receiving, and where is it showing (Event/logs)?
  9. The other thing it could be is that the Crafter is added as a 'Citizen' to the placer's village. So if citizens don't have permission, then the Crafter won't.
  10. Sorry for the late reply, I was away. Depending on which mod you mean, it should support any item template, default or modded. It fetches the list of item templates the server knows after the server has loaded.
  11. It seems it's either a bugged guard tower, or bugged tower guard that may have lost its tower. The log is saying that a tower guard is checking the local area for enemies, and a quick look at the code shows it checks if the guard tower is the same kingdom. But for some reason the guard tower value is missing. I'm afraid I can't be more specific than that.
  12. Sorry, I can't help. What's happening is, in order for my mod to do stuff whenever the game 'poll's a Creature you have to create a hook with modloader. In the hook you can also tell it to do whatever it is it was going to do. If that causes an error, it bubbles back up the layers. If there's anything after: Caused by: java.lang.NullPointerException It should tell you where the problem occurred. But it may, or may not, help.
  13. MerchantDecayPrevention fix Download Fixed allow_cooling not working. Strange, I thought I had it working, but apparently not. Fixed now, thank you for the report.
  14. Crafter update Download Fixed issue with not accepting coins when using restricted materials. Sorry about that, thanks for the picture it really helped. Turns out when using restricted materials, if the coin wasn't on that list it was rejected from the payment. It was unrelated. Seems to be something to do with when a player, possibly a passenger, is getting out of a vehicle. Not really sure.
  15. That's not right at all. Typically, it works on my end, which doesn't help. One thing I did discover is that sleep powder only works if the weight is below 30 grams, if it's higher then it acts as a meal. In the trade window the weight should read 0.03 (it's actually 0.025), is that correct? Have you tried dismissing and creating a new currency trader? Might sort things. If there's nothing unusual in the server log, then the only other place is in the per trader log, which is in the main folder named othertrader_<wurm_id>.log. If none of the above helps let me know, and I'll try adding some extra messages to the mod.
  16. BuyerMerchant update Download Hmm, it should allow duplicates with different qls as you describe. I didn't find quite that issue, but did have trouble with duplicate entries so I rewrote some things which may help. At the very least, it will send a message telling you when it is skipping because it is too much of a duplicate.
  17. Thank you @Batta. It lists the Crafter mod there, what version is it? It need to be 0.5.2 or newer, as it wasn't compatible with my more recent mods. If that's not the problem I'll keep thinking.
  18. Thank you for the extra details. Haven't quite tracked down the problem, but have a new version that should give a more helpful error message. Download If you could please try another request, then check the server log for the following line, and post the lines after it: Shop exists in getShops(), but cannot get via getShop(). Thanks.
  19. The Beast Summoner will give change, so that's not the issue. When you get to the trade window, does it say the correct price? Does the Beast Summoner say the usual "<name> demands x coins to make the trade." message, and does that have the right price? Any other messages in Event, or in the summoner's log? You're not missing anything. I can't remember the details but for some reason I prevented any duplicates with the same template/material. I think it was trying to prevent any confusion with which rows would be updated when you edit the prices/details. Either I changed something along the way and never went back, or have learnt more since then, but I have it working now. BuyerMerchant update Download Enabled multiple items with same template/material but different weight/ql.
  20. Sorry for the late reply @Batta. It is likely to be a problem with one of my mods. What version of BuyerMerchant are you using? There used to be a compatibility issue, but it was fixed in version 0.5.25.
  21. Bugfix CustomTrader Download Thank you for the log and picture @LightningRoc, they helped me track down the problem. It was a bug with the mod, which I've now fixed. What was happening was that putting the enchantments on in a different order was causing the item to not match with the Currency Trader entry, thus not finding a price and trading it for 0. In my testing I had only checked enchantments in a specific order, so missed it. Sorry about that. Let me know if you have still have issues.
  22. Thank you for the details. There isn't much to the config for CustomTrader. I still can't find a problem on my end, so I've created a new version with extra log messages: Download It should be as simple as completing another 'free' trade. The messages will be in the per Currency Trader log files. Hopefully that will help me point out the problem area. For anyone else reading, I also found an unrelated bug with filtering Currency items. Fixed version is below (already included in above). Bugfix CustomTrader Download
  23. Definitely not right, should still be working. 1) Check you have the latest version. (0.3.7) 2) Any errors in the Wurm log, or in the currency trader log (e.g. .../WurmServerLauncher/othertrader_12345678.log)? 3) What item are you using as currency? Any 'Advanced' settings? 4) What item are you selling? 5) When you say 'free' is that without anything in the players trading area, or with a wrong item? Does the trader say anything different in Event? 6) Try dismissing and setting up a new Currency Trader. 7) Any other trade mods that might be interfering?