Posted October 22, 2021 Something strange happening with some new creatures added to granger in version R121 Windows The foal "Ballet" has parents Greysouth and Soulwar but in granger they appear as "the Greysouth" and "the Soulwar" granger log file Quote 2021/10/22 21:56:33.331 > Info > GrangerFeature > smile cond: You smile at the adolescent Ballet. 2021/10/22 21:56:33.332 > Info > GrangerFeature > attempting to start processing creature due to line: You smile at the adolescent Ballet. 2021/10/22 21:56:33.332 > Info > GrangerFeature > extracting object name 2021/10/22 21:56:33.332 > Info > GrangerFeature > object assumed to be a creature 2021/10/22 21:56:33.332 > Info > GrangerFeature > building new creature object and moving to processor 2021/10/22 21:56:33.332 > Info > GrangerFeature > finished building 2021/10/22 21:56:34.333 > Info > GrangerFeature > applying foalization to the creature 2021/10/22 21:56:34.333 > Info > GrangerFeature > creature set to female 2021/10/22 21:56:34.333 > Info > GrangerFeature > found maybe trait line: It has a strong body. It can carry more than average. It looks unusually strong and healthy. It is easy on its gear. It has been bred in captivity. 2021/10/22 21:56:34.333 > Info > GrangerFeature > found trait: It has a strong body 2021/10/22 21:56:34.333 > Info > GrangerFeature > found trait: It can carry more than average 2021/10/22 21:56:34.333 > Info > GrangerFeature > found trait: It looks unusually strong and healthy 2021/10/22 21:56:34.333 > Info > GrangerFeature > found trait: It is easy on its gear 2021/10/22 21:56:34.333 > Info > GrangerFeature > found trait: It has been bred in captivity 2021/10/22 21:56:34.333 > Info > GrangerFeature > trait parsing finished 2021/10/22 21:56:34.333 > Info > GrangerFeature > found maybe color line 2021/10/22 21:56:34.333 > Info > GrangerFeature > found creature to have color: appaloosa 2021/10/22 21:56:34.389 > Info > GrangerFeature > found maybe parents line 2021/10/22 21:56:34.389 > Info > GrangerFeature > mother set to: the Soulwar 2021/10/22 21:56:34.389 > Info > GrangerFeature > father set to: the Greysouth 2021/10/22 21:56:34.389 > Info > GrangerFeature > finished parsing parents line Share this post Link to post Share on other sites
Posted October 23, 2021 Is it possible to add a column on Granger for Trait category: Combat, Draft, Speed, Misc and official trait point equivilancies? Maybe even a total Speed/Draft/Combat score? Share this post Link to post Share on other sites
Posted October 23, 2021 Hi @Exploracould you send me the Event window output of Examine? I think this is a bug with new "name extracting" code that I recently changed. Should be quick fix. Hi @Trakeyes I'm working on this. Sorry it's taking so long, was to finish this month ago, but been through job switch and had to invest some extra time there for a spin up. 1 Share this post Link to post Share on other sites
Posted October 23, 2021 @AldurEvent log for smile-examine of foal Ballet Quote [22:56:33] You smile at the adolescent Ballet. [22:56:34] A foal skips around here merrily. [22:56:34] She has a normal build. [22:56:34] This creature could use some grooming. [22:56:34] It has a strong body. It can carry more than average. It looks unusually strong and healthy. It is easy on its gear. It has been bred in captivity. [22:56:34] This creature has a total of 55 trait points. [22:56:34] They are not hungry. [22:56:34] You can groom them again now. [22:56:34] Its colour is appaloosa. [22:56:34] This creature is penned, and will search the enclosure for food. [22:56:34] Her mother is the aged fat Soulwar. Her father is the aged fat Greysouth. Share this post Link to post Share on other sites
Posted October 23, 2021 5 hours ago, Aldur said: Hi @Exploracould you send me the Event window output of Examine? I think this is a bug with new "name extracting" code that I recently changed. Should be quick fix. Hi @Trakeyes I'm working on this. Sorry it's taking so long, was to finish this month ago, but been through job switch and had to invest some extra time there for a spin up. This is happening with donkey's as well, for atleast wild donkey parents anyway (I'm still early in breeding them) "an donkey `Mack`" for example. Pigs have it too "an pig `Hoggart`". Cows "an bull" and "a brown cow" Share this post Link to post Share on other sites
Posted October 23, 2021 any way to setup a trigger for when a foal is born ? since it goes like "The young Rockkicker has arrived" would it work with a trigger like "The young * has arrived" as i dont want a trigger every time something with "the young" happens or any animal "has arrived" :p Share this post Link to post Share on other sites
Posted October 30, 2021 I 'think' maybe the new, more accurate estimate of 'give birth' messed up Wurm Assist. Not updating the "give birth" column for me. [10:48:00] You feel confident she will give birth in 6 days, 5 hours. I know you are probably already busy. Hopefully it is just a matter of inserting the new wording, "you feel confident." Share this post Link to post Share on other sites
Posted October 31, 2021 I don't know if this is the right place to make a suggestion, but I was wondering if it was possible to add an option to only play a sound if the duration of the action is less than 5 seconds. It is programmed in Wurm for sounds native to Wurm not to play if your action does not last more than 5 seconds. I personally dislike this and would like to have my sounds play only if an action is less than 5 seconds. If this is already possible, could someone please reply and describe how to do it? Share this post Link to post Share on other sites
Posted November 1, 2021 On 10/23/2021 at 4:26 PM, Explora said: @AldurEvent log for smile-examine of foal Ballet Hi @Exploraand thanks for example. It should now be fixed. On 10/23/2021 at 11:16 PM, denully said: any way to setup a trigger for when a foal is born ? since it goes like "The young Rockkicker has arrived" would it work with a trigger like "The young * has arrived" as i dont want a trigger every time something with "the young" happens or any animal "has arrived" 😛 Hi @denully Yes. Create REGEX trigger and aside from typical trigger options, for log entry content, type: The young .+ has arrived On 10/30/2021 at 4:51 PM, Homestead said: I 'think' maybe the new, more accurate estimate of 'give birth' messed up Wurm Assist. Not updating the "give birth" column for me. [10:48:00] You feel confident she will give birth in 6 days, 5 hours. I know you are probably already busy. Hopefully it is just a matter of inserting the new wording, "you feel confident." Hi @Homestead- this should also be fixed now. Is the old wording still in use? 20 hours ago, Leora said: I don't know if this is the right place to make a suggestion, but I was wondering if it was possible to add an option to only play a sound if the duration of the action is less than 5 seconds. It is programmed in Wurm for sounds native to Wurm not to play if your action does not last more than 5 seconds. I personally dislike this and would like to have my sounds play only if an action is less than 5 seconds. If this is already possible, could someone please reply and describe how to do it? Hi @LeoraI don't think this is possible. Added to todo for someday. 1 Share this post Link to post Share on other sites
Posted November 1, 2021 29 minutes ago, Aldur said: Hi @denully Yes. Create REGEX trigger and aside from typical trigger options, for log entry content, type: The young .+ has arrived Awesome thank you. Share this post Link to post Share on other sites
Posted November 2, 2021 @Aldurthe name fix is working thank you. I thought when breeding animals the male was automatically was set to "not in mood" so it would not suggest breeding it again but this appears to have stopped working. Share this post Link to post Share on other sites
Posted November 3, 2021 they changed the color line in examines so that granger no longer picks it up; now shows the gender of the examined animal used to be [2021-09-17] [17:20:18] Its colour is ebony black. now it is [18:02:16] Her colour is ebony black. Share this post Link to post Share on other sites
Posted November 3, 2021 Hey @Explora& @Lisabet, I'll take a look at these 2 issues around this weekend 2 Share this post Link to post Share on other sites
Posted November 5, 2021 On 10/30/2021 at 10:51 AM, Homestead said: I 'think' maybe the new, more accurate estimate of 'give birth' messed up Wurm Assist. Not updating the "give birth" column for me. [10:48:00] You feel confident she will give birth in 6 days, 5 hours. I know you are probably already busy. Hopefully it is just a matter of inserting the new wording, "you feel confident." This isn't working for me anymore either. 3.3 R122 I thought maybe it was just me missing an update so I made sure to download any new version files I might've been missing but that didn't seem to resolve anything. Quote [08:28:08] You predict she will give birth in 6 days, 19 hours. Granger didn't update with anything in the Give Birth section for this mare. Share this post Link to post Share on other sites
Posted November 5, 2021 Hi @ZeraI will have to field-test this then. In R122 - on "paper" - code works for this new wording. Share this post Link to post Share on other sites
Posted November 5, 2021 (edited) 7 hours ago, Aldur said: Hi @ZeraI will have to field-test this then. In R122 - on "paper" - code works for this new wording. Looks like there is different wording, perhaps based on skill. I get: Quote [15:51:52] You feel confident she will give birth in 5 days, 16 hours, 30 minutes. "Confident" and down to minutes vs. "predict." FWIW, it is working for me. Rounds the minutes to an hour, which is completely fine and logical. Edited November 5, 2021 by Homestead Add that it is working for me. Share this post Link to post Share on other sites
Posted November 5, 2021 (edited) Thanks for all your observations! @Lisabet, @Zera, @Homestead Both birth date and colour should be working again! ✌️Update is brewing 🏭 @Exploraabout setting male cooldown, this is somewhat tricky multiphase code. Can I ask you to show current log messages that appear during ❤️ ? The ones that Granger interprets now are similar to: //[04:23:27] The Aged fat Dancedog and the Aged fat Cliffdog get intimate. //The Old fat Ebonycloud will probably give birth in a while! //[04:23:47] The Aged fat Dancedog will probably give birth in a while! //[06:18:19] The Aged fat Umasad shys away and interrupts the action. Fun fact. This is by far not the weirdest REGEX I've seen, but definitely the weirdest I've written so far: (?:You feel confident|You predict) she will give birth in (?:(?<days>\d+)(?: days| day))?(?:, |)?(?:(?<hours>\d+)(?: hours| hour))?(?:, |)?(?:(?<minutes>\d+)(?: minutes| minute))? Edited November 5, 2021 by Aldur 1 Share this post Link to post Share on other sites
Posted November 6, 2021 Thank you. Again. Your work is more useful than anything in Wurm. I'm away from the game for a day or two, but will get the breeding message I see up after if they are different from any that get posted while I'm away. 1 Share this post Link to post Share on other sites
Posted November 6, 2021 The old event log messages for animal breeding (from 2020) Quote [2020-01-25] [20:33:24] You start leading the adolescent fat Zoehappy. [2020-01-25] [20:33:53] The adolescent fat Zoehappy and the venerable fat Hardventure get intimate. [2020-01-25] [20:34:22] The adolescent fat Zoehappy will probably give birth in a while! [2020-01-25] [20:34:40] You stop leading the adolescent fat Zoehappy. New event log messages Quote [2021-11-02] [00:12:51] You start leading the aged fat Briskrhyme. [2021-11-02] [00:12:59] The aged fat Briskrhyme and the aged fat Rockswift get intimate. [2021-11-02] [00:13:17] You feel confident she will give birth in 6 days, 16 hours. [2021-11-02] [00:13:44] You stop leading the aged fat Briskrhyme. [2021-11-02] [00:13:47] You smile at the aged fat Briskrhyme. [2021-11-02] [00:13:48] Horses like this one have many uses. [2021-11-02] [00:13:48] She is very strong and has a good reserve of fat. [2021-11-02] [00:13:48] She could use some grooming. [2021-11-02] [00:13:48] It has a strong body. It has a certain spark in its eyes. It has strong legs. It is easy on its gear. It has been bred in captivity. [2021-11-02] [00:13:48] She has a total of 55 trait points. [2021-11-02] [00:13:48] She is not hungry. [2021-11-02] [00:13:48] You can groom her again now. [2021-11-02] [00:13:48] Her colour is black silver. [2021-11-02] [00:13:48] You feel confident she will give birth in 6 days, 16 hours. [2021-11-02] [00:13:48] Her mother is the aged fat Lightningbrisk. Her father is the aged fat Depbone. The Granger logfile 2021/11/02 00:12:59.881 > Info > GrangerFeature > LIVETRACKER: attempting to cache last bred pair data due to: Timestamp: 02/11/2021 00:12:59, Source: , Content: The aged fat Briskrhyme and the aged fat Rockswift get intimate. 2021/11/02 00:13:47.616 > Info > GrangerFeature > smile cond: You smile at the aged fat Briskrhyme. 2021/11/02 00:13:47.616 > Info > GrangerFeature > attempting to start processing creature due to line: You smile at the aged fat Briskrhyme. 2021/11/02 00:13:47.616 > Info > GrangerFeature > extracting object name 2021/11/02 00:13:47.616 > Info > GrangerFeature > object assumed to be a creature 2021/11/02 00:13:47.616 > Info > GrangerFeature > building new creature object and moving to processor 2021/11/02 00:13:47.616 > Info > GrangerFeature > finished building 2021/11/02 00:13:47.616 > Info > GrangerFeature > finished parsing pregnant line 2021/11/02 00:13:48.618 > Info > GrangerFeature > found maybe trait line: Horses like this one have many uses. 2021/11/02 00:13:48.618 > Info > GrangerFeature > trait parsing finished 2021/11/02 00:13:48.618 > Info > GrangerFeature > finished parsing pregnant line 2021/11/02 00:13:48.618 > Info > GrangerFeature > creature set to female 2021/11/02 00:13:48.618 > Info > GrangerFeature > finished parsing pregnant line 2021/11/02 00:13:48.618 > Info > GrangerFeature > finished parsing pregnant line 2021/11/02 00:13:48.618 > Info > GrangerFeature > found maybe trait line: It has a strong body. It has a certain spark in its eyes. It has strong legs. It is easy on its gear. It has been bred in captivity. 2021/11/02 00:13:48.618 > Info > GrangerFeature > found trait: It has a strong body 2021/11/02 00:13:48.618 > Info > GrangerFeature > found trait: It has a certain spark in its eyes 2021/11/02 00:13:48.618 > Info > GrangerFeature > found trait: It is easy on its gear 2021/11/02 00:13:48.618 > Info > GrangerFeature > found trait: It has strong legs 2021/11/02 00:13:48.618 > Info > GrangerFeature > found trait: It has been bred in captivity 2021/11/02 00:13:48.618 > Info > GrangerFeature > trait parsing finished 2021/11/02 00:13:48.618 > Info > GrangerFeature > finished parsing pregnant line 2021/11/02 00:13:48.618 > Info > GrangerFeature > finished parsing pregnant line 2021/11/02 00:13:48.618 > Info > GrangerFeature > finished parsing pregnant line 2021/11/02 00:13:48.618 > Info > GrangerFeature > finished parsing pregnant line 2021/11/02 00:13:48.618 > Info > GrangerFeature > finished parsing pregnant line 2021/11/02 00:13:48.618 > Info > GrangerFeature > found creature to be pregnant, exact delivery: 08/11/2021 16:13:48 2021/11/02 00:13:48.618 > Info > GrangerFeature > finished parsing pregnant line 2021/11/02 00:13:48.704 > Info > GrangerFeature > found maybe parents line 2021/11/02 00:13:48.704 > Info > GrangerFeature > mother set to: Lightningbrisk 2021/11/02 00:13:48.704 > Info > GrangerFeature > father set to: Depbone 2021/11/02 00:13:48.704 > Info > GrangerFeature > finished parsing parents line 2021/11/02 00:13:52.755 > Info > GrangerFeature > processing timed out, attempting to verify and apply last inspected creature 2021/11/02 00:13:52.755 > Info > GrangerFeature > finishing processing creature: Briskrhyme 2021/11/02 00:13:52.755 > Info > GrangerFeature > Creature data is valid 2021/11/02 00:13:53.407 > Info > GrangerFeature > successfully updated creature in db 2021/11/02 00:13:53.407 > Info > GrangerFeature > processor buffer cleared 2021/11/02 00:13:53.407 > Info > GrangerFeature > processor buffer cleared Unfortunately I don't have any "shys away" messages to show you. Share this post Link to post Share on other sites
Posted November 6, 2021 (edited) Thanks @Explora, looks like 'confident' messages from examine are now reused in place of "probably give birth in a while" that used to be there. This is tricky, because old message had name in it but should be doable. But before I tackle this I still need to confirm what the shys away message looks like today. Edited November 6, 2021 by Aldur Share this post Link to post Share on other sites
Posted November 7, 2021 Got it, thanks to @reddragon6450🌮 [14:14:53] The aged fat Hasteocho shies away and interrupts the action. Seems unchanged. With that I can start fixing. Share this post Link to post Share on other sites
Posted November 8, 2021 (edited) Well this is trickier than I thought. Since message from breeding is the same as message from examine... I can't find a good pattern to avoid accidental update of wrong creature. Scenario 1: 1. Creature A (female) and B (male) start breeding 2. Smilexamine creature C that is also pregnant 3. Creature A is marked to give birth as time of creature C 4. Creature A and B finish breeding 5. Actual birth date is disregarded. I thought of doing something like detecting examine but the outputs are varied among creatures. Then perhaps reacting to Smile that precedes examine, but that also causes tricky corner case: 1. Creature A (female) and B (male) start breeding 2. Smilexamine any other creature 3. Breeding is forgotten by WA 4. Creature A and B finish breeding 5. Nothing is updated. Did I miss any clever way to go about this? If not, we will probably need to rely on smilexamine for this... or ask developers to modify these log messages to be unique between action types. Edited November 8, 2021 by Aldur Share this post Link to post Share on other sites
Posted November 8, 2021 I think you are correct I can't see a way to update the correct creature in all situations. To solve the male not in mood problem is it possible to set "not in mood" at the start of the breeding action instead of the end since the male will be not in mood whether breeding succeeds or fails. Unfortunately this would not work if you cancel the breeding action midway where the male would wrongly be set to "not in mood". I can't think of a better way to do this. Share this post Link to post Share on other sites
Posted November 9, 2021 I have an idea, but it's not for today. I've been thinking for a while now, to have an interactive widget instead of these things being fully automatic. This way it could ask for confirmation. I've got this planned for next version, not sure when I'll be ready with it though. Share this post Link to post Share on other sites