The Beautiful Child
Moderator: Forum Moderators
Re: The Beautiful Child
Mac OS 10.13.4
Thanks for keeping on top of things. I love this campaign.
EDIT: I upgraded to Wesnoth version 1.14.3 just now, and Wesnoth still crashed at the end of turn 3.
Re: The Beautiful Child
I am aware of this problem but I can't find a good solution to this problem.Grummel wrote: ↑June 11th, 2018, 2:29 pm It's the first one I tried with the invincible extension and it was interesting for a change, but the hero characters got a little overpowered after a while. In fact in Siege of Ziggurat my heroes killed all opposition so quickly that Konrad's troops were unable to deal even a single blow.
What operating system do you have?
I found the cause. I am not uploading the fix right now, because more bug reports may follow.
I reported it here. No developer can reproduce it. Can you give some more information?
Last edited by Ravana on June 13th, 2018, 12:16 pm, edited 1 time in total.
Reason: Add protocol to link
Reason: Add protocol to link
Re: The Beautiful Child
I'll attempt to give more info. I restarted the scenario (but not the campaign) to see if that was the problem (corrupt file?), and it crashed at the end of turn 3, as before. A crash report came up (screenshot below). Full text of the report is in the attached rtf file (it was too long to post here): Unfortunately, I don't know how to get into the coding and such to see if there's any bugs there, but I hope the information I've provided helps.
Re: The Beautiful Child
It contains a lot of useful information. You need a special program to get which lines in the source code those numbers point to, but someone has it. The developers have noticed your post.
EDIT: They've found some relevant stuff there.
EDIT: They've found some relevant stuff there.
Re: The Beautiful Child
I think I'm getting the same error message. I'm on turn 3 of Coming of the Tide and every time I click end turn I get the following error message shortly after.
I'm running Wesnoth 1.14.4 on Windows 10 64-bit.
I'm running Wesnoth 1.14.4 on Windows 10 64-bit.
Re: The Beautiful Child
The error is being researched by the developers here and it appears to be a very complex bug. It is suspected that the cause is an AI side having two leaders. Maybe you could upload a save file where you hit End Turn and it happens.
Re: The Beautiful Child
Uploaded it to Google Drive, here's the link. Thanks for the quick response. Also I've spent many hours enjoying LotI, you're awesome.
Re: The Beautiful Child
Thanks According to the discussion, the save file allows reproducing the bug on Linux, which is where it becomes very helpful.
- Pentarctagon
- Project Manager
- Posts: 5564
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: The Beautiful Child
Perhaps more related to this add-on specifically, I also noticed the following in the log when loading the save:
Then when the map is displayed:
Then when clicking End Turn:
Code: Select all
20180903 14:41:35 warning general: no location found for 'data/add-ons/The_Beatiful_Child/translations', skipping textdomain
20180903 14:41:39 warning preprocessor: Redefining macro BUY_GEM without explicit #undef at ~add-ons/The_Beautiful_Child/scenarios/Thunderhold.cfg:1748
included from ~add-ons/The_Beautiful_Child/_main.cfg:54
previously defined at ~add-ons/Legend_of_the_Invincibles/utils/utils.cfg:223
included from ~add-ons/The_Beautiful_Child/_main.cfg:46
Code: Select all
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Code: Select all
20180903 14:41:44 error engine: failed to auto-store $second_unit at (-999,-999)
20180903 14:41:44 error engine: failed to auto-store $second_unit at (-999,-999)
20180903 14:41:44 error engine: failed to auto-store $second_unit at (-999,-999)
20180903 14:41:44 error engine: failed to auto-store $second_unit at (-999,-999)
20180903 14:41:44 error engine: failed to auto-store $second_unit at (-999,-999)
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: The Beautiful Child
I have learned long ago that fixing WML warnings is not worth the time. They are worth checking only if something breaks.Pentarctagon wrote: ↑September 3rd, 2018, 7:54 pm Perhaps more related to this add-on specifically, I also noticed the following in the log when loading the save:
[...]
Re: The Beautiful Child
Yeah, this was very helpful, thanks. We (gfgtdf, mostly) have figured out what is going on and are working on finding the best fix for it. In the meantime, if you wanted to keep going from one of your saves, you could unzip and open the save, and then look for this code block:
Code: Select all
[candidate_action]
engine="cpp"
id="leader_shares_keep"
max_score=10000
name="ai_default_rca::leader_shares_keep_phase"
score=10000
[/candidate_action]
Alternatively, Dugi could work around this bug by removing the leader_shares_keep candidate action from sides that have more than one leader. Either way, we'll have this fixed for 1.14.5.
SP campaigns: Galuldur's First Journey (1.12 & 1.14) & Grnk the Mighty (1.10 & 1.12)
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
Re: The Beautiful Child
Awesome mod team, thank you guys for fixing this!mattsc wrote: ↑September 8th, 2018, 3:05 pmYeah, this was very helpful, thanks. We (gfgtdf, mostly) have figured out what is going on and are working on finding the best fix for it. In the meantime, if you wanted to keep going from one of your saves, you could unzip and open the save, and then look for this code block:Just search for and remove all of them (there should be around 10). In principle you only need to remove one of them for this scenario, but it's easier to just remove them all than to figure out which one to remove.Code: Select all
[candidate_action] engine="cpp" id="leader_shares_keep" max_score=10000 name="ai_default_rca::leader_shares_keep_phase" score=10000 [/candidate_action]
Alternatively, Dugi could work around this bug by removing the leader_shares_keep candidate action from sides that have more than one leader. Either way, we'll have this fixed for 1.14.5.
I tried doing what you suggested and couldn't get it to work myself. All the altered saves ended up corrupted. Even unpacking a fresh working save and directly repacking it corrupts the save. All the saves are packed as .gz files, I can only pack .rar and what have you. A brief Google search for a .gz packer led me down a developers rabbit hole, which I have no clue how to navigate. Is there an easily accessible .gz packer, or is the corruption from something else?
Re: The Beautiful Child
Actually, you don’t have to repack it at all. You can just load the text file.
SP campaigns: Galuldur's First Journey (1.12 & 1.14) & Grnk the Mighty (1.10 & 1.12)
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
Re: The Beautiful Child
Good stuff, got it working now and past turn 3. Cheers to you folks!
Re: The Beautiful Child
With a little help from hrubymar10, I was able to get past that turn and finish the campaign. Excellent work. Once again, thank you for all the hard work!