Legend of the Invincibles

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
Thrash
Posts: 233
Joined: June 25th, 2010, 1:54 pm

Re: Legend of the Invincibles

Post by Thrash »

In the attached 3.2.8 save Efraim seems to somehow have two swords equipped - Doombringer and Sword of Krux. It appears to be just Doombringer, until you bring up the items and click on the sword, then you'll see the Sword of Krux. If you try to unequip the Sword of Krux, it will keep adding one to the inventory, but still leave one equipped (meaning I can make infinite such swords). Same thing with dropping it - it seems to create a copy.

My recollection is that he had Sword of Krux equiped and then picked up Doombringer and I didn't notice this at the time. I can dig deeper if useful
Attachments
LotI1-Siege-Auto-Save1.gz
Efraim with two swords equipped
(219.81 KiB) Downloaded 106 times
white_haired_uncle
Posts: 1456
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Re: Legend of the Invincibles

Post by white_haired_uncle »

You skipped the tutorial, right?

I can fix your save later today
Speak softly, and carry Doombringer.
forkyhasaquestion
Posts: 3
Joined: September 1st, 2024, 5:28 pm

Re: Legend of the Invincibles

Post by forkyhasaquestion »

white_haired_uncle wrote: September 2nd, 2024, 1:39 pm
forkyhasaquestion wrote: September 2nd, 2024, 12:55 pm
white_haired_uncle wrote: September 1st, 2024, 9:25 pm
forkyhasaquestion wrote: September 1st, 2024, 5:31 pm A few questions:

1. Mario (the peasant) now has a "perfectionist" trait. Is there a way for anyone else to get it? Is there a file that lists the likelihood of getting each trait?
2. I believe there used to be a way to adjust the gem drop rate. Has that been removed? I can't find it.
1. I'm pretty sure no one else can get it. You can find the odds in the code, but even them some get overridden.

2. Drop rates are set separately for pretty much every scenario, though in theory you could override this in utils/global_events.cfg.
Thanks for the quick reply.

1. I thought there might be a file that lists the likelihood of getting each trait. But I can't find it. I went through all the .cfg files.
2. The global events file doesn't mention any percentages. Do you know where and what you'd have to write to change them?
1) One place is utils/global_events.cfg RECRUIT_MODS. Don't expect to find one place that lists each trait and its chance to be acquired randomly. And it's not that easy anyway, as some traits may get removed (there are some units that can be VERY nasty if they get the right mix of traits, so when they are first encountered some traits may be removed so they are not impossible to beat). units/demons_race.cfg is another.

2) First page of utils/global_events.cfg. CHANCE and CHANCE_GEM are percentages

Code: Select all

#define DROPS CHANCE CHANCE_GEM WEAPONS BOSSES ENEMIES
Thank you.

I found a line "[/if]
{VARIABLE_OP highlander rand (1..100)}
[if]
"

I believe that means the default is getting the highlander trait 1 in 100 times. I changed that to 1..25 and now it's much more frequent.
Thrash
Posts: 233
Joined: June 25th, 2010, 1:54 pm

Re: Legend of the Invincibles

Post by Thrash »

white_haired_uncle wrote: September 2nd, 2024, 3:58 pm You skipped the tutorial, right?
I've played the tutorial and the whole game several times and think I have a good understanding of how items/inventory/etc. are supposed to work and I believe characters aren't supposed to be able to have two swords equipped and if they drop an item, it's not supposed to produce a copy of the item

Can you please elaborate on what I'm not understanding? Thanks!
white_haired_uncle wrote: September 2nd, 2024, 3:58 pm I can fix your save later today
No need. Thank you though.
white_haired_uncle
Posts: 1456
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Re: Legend of the Invincibles

Post by white_haired_uncle »

Thrash wrote: September 2nd, 2024, 6:46 pm
white_haired_uncle wrote: September 2nd, 2024, 3:58 pm You skipped the tutorial, right?
I've played the tutorial and the whole game several times and think I have a good understanding of how items/inventory/etc. are supposed to work and I believe characters aren't supposed to be able to have two swords equipped and if they drop an item, it's not supposed to produce a copy of the item

Can you please elaborate on what I'm not understanding? Thanks!
white_haired_uncle wrote: September 2nd, 2024, 3:58 pm I can fix your save later today
No need. Thank you though.
LotI is currently broke (I did it). If you skip the tutorial, the Potion of Steel Skin never wears off and the Sword of Krux won't go away (they are missing sort=...).

Yeah, that's the problem with your save.
Speak softly, and carry Doombringer.
Thrash
Posts: 233
Joined: June 25th, 2010, 1:54 pm

Re: Legend of the Invincibles

Post by Thrash »

white_haired_uncle wrote: September 2nd, 2024, 7:17 pm LotI is currently broke (I did it). If you skip the tutorial, the Potion of Steel Skin never wears off and the Sword of Krux won't go away (they are missing sort=...).

Yeah, that's the problem with your save.
Ah, gotcha. Yes, I did skip the tutorial this time. Thanks for clarifying.
Thrash
Posts: 233
Joined: June 25th, 2010, 1:54 pm

Re: Legend of the Invincibles

Post by Thrash »

In Castle of the Wicked, Efraim's Dopplegangers can appear inside of walls. I think I've seen new units appearing in walls elsewhere so expect it's a more general bug.
Thrash
Posts: 233
Joined: June 25th, 2010, 1:54 pm

Re: Legend of the Invincibles

Post by Thrash »

When a Juggernaut has Spinning Swords(24) and get to select an advancement, the menu still says "24 damage" when it means 32 - see attached image.
Attachments
Juggernaut-spinning.png
white_haired_uncle
Posts: 1456
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Re: Legend of the Invincibles

Post by white_haired_uncle »

Thrash wrote: September 7th, 2024, 10:04 pm When a Juggernaut has Spinning Swords(24) and get to select an advancement, the menu still says "24 damage" when it means 32 - see attached image.
Submitted a fix.

You playing on hard by any chance?
Speak softly, and carry Doombringer.
Thrash
Posts: 233
Joined: June 25th, 2010, 1:54 pm

Re: Legend of the Invincibles

Post by Thrash »

white_haired_uncle wrote: September 8th, 2024, 1:40 am You playing on hard by any chance?
No, whatever the default is.

BTW, I am updating my notes in the wiki
white_haired_uncle
Posts: 1456
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Re: Legend of the Invincibles

Post by white_haired_uncle »

Darn. Hard (in part 1) should be a lot more interesting now. But it's hard for me to test since I know all the changes.

But even on normal difficulty, you should be about to see some changes once you enter that tunnel...

(please do make sure to try out the new autorecall menu. I think I left it as an additional menu item so you could still use the old text one)
Speak softly, and carry Doombringer.
Thrash
Posts: 233
Joined: June 25th, 2010, 1:54 pm

Re: Legend of the Invincibles

Post by Thrash »

white_haired_uncle wrote: September 8th, 2024, 2:55 am Darn. Hard (in part 1) should be a lot more interesting now. But it's hard for me to test since I know all the changes.

But even on normal difficulty, you should be about to see some changes once you enter that tunnel...

(please do make sure to try out the new autorecall menu. I think I left it as an additional menu item so you could still use the old text one)
I'll give Hard a chance next time I play. Yep, I'm enjoying the changes in the Dungeon.

The new auto-recall menu (as well as the previous menus for recalling units from prior Chapters) rock! Thank you! As far as I'm concerned it should replace the text-based version.

Unrelated: is there a known issue with a memory leak? I notice the Wesnoth App consuming an increasing amount of memory now until I bounce it. I don't know it's LotI-related as I haven't really played anything else.
bolderaft
Posts: 31
Joined: March 9th, 2010, 2:57 am

Re: Legend of the Invincibles

Post by bolderaft »

Today I tried the latest LotI beta, Part 2 (with Lethalia waking in a tomb with lost memory), and ran into this error. I was able to clear it and keep playing, but thought it might be worth mentioning here. This error has happened several times today while playing, and I normally just :clear and move on.

«Lua error» -add-ons/Legend_of_the_Invincibles_beta/lua/main.lua:212: attempt to call a nil value (field 'fire"
stack traceback:
~add-ons/Legend_of_the_Invincibles_beta/lua/main.lua:212:in local 'emd' lua/wmI-utils.lua:144. in field 'handle _event_commands" lua/wmI-flow.lua:19: in local 'emd" lua/wmI-utils.lua:144: in field 'handle _event_commands' lua/wml-flow.lua:5: in function <lua/wmI-flow.lua:4>
: in field 'attack'
ai/lua/ai_helper.lua:444:in field 'robust_move_and_attack' ai/micro_ais/cas/ca_fast_combat.lua:135: in field 'execution' [string 'local self, params, data, filter_own = .."):2: in main chunk
white_haired_uncle
Posts: 1456
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Re: Legend of the Invincibles

Post by white_haired_uncle »

Thrash wrote: September 8th, 2024, 5:06 pm
Unrelated: is there a known issue with a memory leak? I notice the Wesnoth App consuming an increasing amount of memory now until I bounce it. I don't know it's LotI-related as I haven't really played anything else.
Does it increase even if you just let the game sit and don't do anything? I remember a wesnoth issue that I thought would affect LotI that did this, but I don't know if it got fixed. Time frame seems about right.
Speak softly, and carry Doombringer.
gnombat
Posts: 896
Joined: June 10th, 2010, 8:49 pm

Re: Legend of the Invincibles

Post by gnombat »

Thrash wrote: September 8th, 2024, 5:06 pm Unrelated: is there a known issue with a memory leak? I notice the Wesnoth App consuming an increasing amount of memory now until I bounce it. I don't know it's LotI-related as I haven't really played anything else.
I haven't tried playing LotI but I have noticed Wesnoth 1.18 leaking huge amounts of memory at times.
Post Reply