Bug - SotA, Mountain Pass, Chocobone spawn Lua script
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
-
- Posts: 16
- Joined: June 19th, 2017, 4:07 pm
Bug - SotA, Mountain Pass, Chocobone spawn Lua script
There is a bug with the Chocobone spawn script in the Mountain Pass scenario of SotA campaign. It seems to only occur when Ardonna triggers the event by moving onto the bone hex.
Code: Select all
Data directory: C:\Program Files (x86)\Battle for Wesnoth 1.13.8
User configuration directory: C:\Users\jerem\Documents\My Games\Wesnoth1.13
User data directory: C:\Users\jerem\Documents\My Games\Wesnoth1.13
Cache directory: C:\Users\jerem\Documents\My Games\Wesnoth1.13\cache
Setting mode to 1920x1057
Checking lua scripts... ok
20170627 16:08:56 error scripting/lua: lua/wml/animate_unit.lua:90: bad argument #4 to 'add' (target location must be adjacent to the animated unit)
stack traceback:
[C]: in method 'add'
lua/wml/animate_unit.lua:90: in upvalue 'add_animation'
lua/wml/animate_unit.lua:108: 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>
20170627 16:32:25 error scripting/lua: lua/wml/animate_unit.lua:90: bad argument #4 to 'add' (target location must be adjacent to the animated unit)
stack traceback:
[C]: in method 'add'
lua/wml/animate_unit.lua:90: in upvalue 'add_animation'
lua/wml/animate_unit.lua:108: 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>
20170627 16:34:37 error scripting/lua: lua/wml/animate_unit.lua:90: bad argument #4 to 'add' (target location must be adjacent to the animated unit)
stack traceback:
[C]: in method 'add'
lua/wml/animate_unit.lua:90: in upvalue 'add_animation'
lua/wml/animate_unit.lua:108: 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>
- Attachments
-
- SotA-Mountain_Pass-Auto-Save3.gz
- Save file
- (53.45 KiB) Downloaded 262 times
-
- wesnoth-20170627-160340-6068.log
- Log file. Contents in [code] block above.
- (1.73 KiB) Downloaded 244 times
-
- build information.txt
- Build Information file
- (1 KiB) Downloaded 216 times
-
- Developer
- Posts: 546
- Joined: January 12th, 2011, 2:18 am
- Location: Pennsylvania, USA
Re: Bug - SotA, Mountain Pass, Chocobone spawn Lua script
Thanks for the report. I've figured out what the issue is, and I should have a fix in for 1.13.9.
As you have noted, it only occurs when Ardonna moves to the hex at 16,21.
So in the meantime, the workaround is to use any other unit to move there.
EDIT (2017-07-01): Fixed for BfW 1.13.9
As you have noted, it only occurs when Ardonna moves to the hex at 16,21.
So in the meantime, the workaround is to use any other unit to move there.
EDIT (2017-07-01): Fixed for BfW 1.13.9
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.