I have Lua error that I dont get it :P

Discussion of Lua and LuaWML support, development, and ideas.

Moderator: Forum Moderators

Post Reply
User avatar
ChaosRider
Posts: 920
Joined: April 15th, 2012, 1:15 pm

I have Lua error that I dont get it :P

Post by ChaosRider »

I have error of Lua that I dont get it.
Error.png
Last edited by Ravana on November 29th, 2024, 7:11 pm, edited 1 time in total.
Reason: Lua
Creator of WOTG (+4000 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.18 Wesnoth server.
User avatar
Ravana
Forum Moderator
Posts: 3202
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: I have Lua error that I dont get it :P

Post by Ravana »

You call [unstore_unit] which also calls [unstore_unit]. It seems likely to involve advancement.
white_haired_uncle
Posts: 1456
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Re: I have Lua error that I dont get it :P

Post by white_haired_uncle »

Is that a WML call to [unstore_unit]? Or [modify_unit]?

Maybe one of the advance events calling [modify_unit] which is giving exp causing an advance... ?

The pre advance doc carries a warning
Care needs to be taken when tags that may trigger advancement themselves are used in this event. For example [transform_unit], [unstore_unit], [modify_unit] etc.
Speak softly, and carry Doombringer.
Post Reply