Legend of the Invincibles
Moderator: Forum Moderators
Re: Legend of the Invincibles
Hello,
I got following error message at the start of turn 2 when trying to start the 2nd part of the campaign with the latest version:
20200102 19:00:29 error engine: failed to auto-store $second_unit at (-999,-999)
20200102 19:00:31 error scripting/lua: ~add-ons/Legend_of_the_Invincibles/lua/items.lua:313: attempt to index a nil value (upvalue 'item_generation_lists')
stack traceback:
~add-ons/Legend_of_the_Invincibles/lua/items.lua:313: in field 'generate'
~add-ons/Legend_of_the_Invincibles/lua/items.lua:815: in local 'cmd'
lua/wml-utils.lua:145: in field 'handle_event_commands'
lua/wml-flow.lua:6: in function <lua/wml-flow.lua:5>
The error appears every time I try to start a new game on my freshly installed Wesnoth on pc and I could find no items at all.
I got following error message at the start of turn 2 when trying to start the 2nd part of the campaign with the latest version:
20200102 19:00:29 error engine: failed to auto-store $second_unit at (-999,-999)
20200102 19:00:31 error scripting/lua: ~add-ons/Legend_of_the_Invincibles/lua/items.lua:313: attempt to index a nil value (upvalue 'item_generation_lists')
stack traceback:
~add-ons/Legend_of_the_Invincibles/lua/items.lua:313: in field 'generate'
~add-ons/Legend_of_the_Invincibles/lua/items.lua:815: in local 'cmd'
lua/wml-utils.lua:145: in field 'handle_event_commands'
lua/wml-flow.lua:6: in function <lua/wml-flow.lua:5>
The error appears every time I try to start a new game on my freshly installed Wesnoth on pc and I could find no items at all.
- edwardspec
- Posts: 80
- Joined: March 29th, 2013, 9:37 pm
- Location: Russia
Re: Legend of the Invincibles
Fixed, should work in the latest beta.
How? She has 62 hitpoints, Efraim can deal 32 damage with sword (if he hits every time) or 9 with magic.boyoyoy wrote: ↑January 2nd, 2020, 3:14 pm1. It is possible to kill Delenia in the tutorial- of course just 2,3% or something like that, but I started with something like 24 of 25 xp for efraim! Maybe you shall increase Delenias resistances or her hp - just for the tutorial. But after the tutorial she was back
Re: Legend of the Invincibles
Ok, 2,6%edwardspec wrote: ↑January 2nd, 2020, 5:20 pm
How? She has 62 hitpoints, Efraim can deal 32 damage with sword (if he hits every time) or 9 with magic.
Efraim has 16/4 and Delenia has 62 hitppoints
Still thinking about, if I should think about what I should think about...
Re: Legend of the Invincibles
I've had the same item list error last night, and I just updated after seeing edwardspec's post, but sadly it's still there. Just launched a part2 campaign and got this straight up after turn1


- edwardspec
- Posts: 80
- Joined: March 29th, 2013, 9:37 pm
- Location: Russia
Re: Legend of the Invincibles
Fixed. Turns out, new beta was only uploaded to 1.15 addon server. Now it's updated for 1.14 too.
Rechecked the tutorial. For me the Efraim's sword at this point is 8/4 (4 attacks, 8 damage each).
Re: Legend of the Invincibles
I played it again, and I know where the problem is.edwardspec wrote: ↑January 2nd, 2020, 5:46 pm Rechecked the tutorial. For me the Efraim's sword at this point is 8/4 (4 attacks, 8 damage each).
When I craft the second sword, I still have the stats of the first (krux). I have to store the second one, and BEFORE I equip krux sword, the name of the attack is krux sword. So the stats arn't removed, and I have two times +3 dmg, so +6 dmg. so I get to 12/4 and with -30% to blade I deal 16/4 dmg.
EDIT:
Ah, ok now I have the problem - just still had the b version. didnt notice, that there is a newer

Last edited by Konrad2 on January 2nd, 2020, 6:44 pm, edited 1 time in total.
Reason: Merged doublepost
Reason: Merged doublepost
Still thinking about, if I should think about what I should think about...
Re: Legend of the Invincibles
I made her get 1 hitpoint in case she would be going to die, making her effectively immortal in that scenario.boyoyoy wrote: ↑January 2nd, 2020, 3:14 pm 1.
It is possible to kill Delenia in the tutorial- of course just 2,3% or something like that, but I started with something like 24 of 25 xp for efraim! Maybe you shall increase Delenias resistances or her hp - just for the tutorial. But after the tutorial she was back
![]()
It was caused by a recent change in the way hitpoints are calculated when a unit's maximum hitpoints changes. Fixed.
It's related to the latest update, but I could not replicate it in the most up to date version, maybe it was fixed recently.
Re: Legend of the Invincibles
Hi,
I don't know if you fixed it already, because I have the new version since yesterday, and it takes some to to play to the end of chapter 7, but there is/was another bug.
If you incernate one of the doubles of the evil lethalia, the double disappears and you receive an error the the second unit couldn't be stored.
But as I said, I don't know if you fixed it already
I don't know if you fixed it already, because I have the new version since yesterday, and it takes some to to play to the end of chapter 7, but there is/was another bug.
If you incernate one of the doubles of the evil lethalia, the double disappears and you receive an error the the second unit couldn't be stored.
But as I said, I don't know if you fixed it already

Still thinking about, if I should think about what I should think about...
Re: Legend of the Invincibles
I played first 3 scenarios of the second part of the campaign (latest beta) before I happened to check the Wesnoth log from the options and it was full of the same error:boyoyoy wrote: ↑January 3rd, 2020, 10:06 am Hi,
I don't know if you fixed it already, because I have the new version since yesterday, and it takes some to to play to the end of chapter 7, but there is/was another bug.
If you incernate one of the doubles of the evil lethalia, the double disappears and you receive an error the the second unit couldn't be stored.
But as I said, I don't know if you fixed it already![]()
error engine: failed to auto-store $second_unit at (-999,-999)
I always managed to reproduce the above error message in logs (shows nothing in-game though) by playing any saves I had made and it keeps coming even after trying several fresh starts right away.
After that I decided to try the first part of the campaign but I couldn't even start the first scenario before I got another error suggesting me to report it here:
Link to pictures of the error https://imgur.com/a/JhVUIR9
- edwardspec
- Posts: 80
- Joined: March 29th, 2013, 9:37 pm
- Location: Russia
Re: Legend of the Invincibles
Fixed in the latest beta.Shardeth wrote: ↑January 3rd, 2020, 5:59 pmAfter that I decided to try the first part of the campaign but I couldn't even start the first scenario before I got another error suggesting me to report it here:
Link to pictures of the error https://imgur.com/a/JhVUIR9
Re: Legend of the Invincibles
Chapter 9, I get stuck in the sepuchlre of the nefarious, when i get to the bottom efraim says "there appears to be something in there that should not be, let's wait" or something similar, but then I waited for like 20 turns and nothing happened except the acid rain appeared. Does anyone know how to finish that part of the scenario?
Re: Legend of the Invincibles
In the latest github version, there are some bugs with item drop system. Occasionally, when my units kill enemies, this debug message will be displayed:

And sadly, it seems that the system no longer collects item dropped from boss when the scenario ended.

And sadly, it seems that the system no longer collects item dropped from boss when the scenario ended.
Re: Legend of the Invincibles
bugs with item drop system too. And Can't pick up the last item when scenario ends.
Re: Legend of the Invincibles
Hello, I really like this mod and I came back from a few years break. But there is lua error with items, they can not spawn because script gets nil values instead of item IDs. Could you please fix this bug because it was not present previously!
- edwardspec
- Posts: 80
- Joined: March 29th, 2013, 9:37 pm
- Location: Russia