URL:
<http://gna.org/bugs/?13655>
Summary: data/lua/wml-tags.lua not included when starting
wesnoth --multiplayer
Project: Battle for Wesnoth
Submitted by: ai0867
Submitted on: Tuesday 06/09/2009 at 00:53
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.7.0+svn r36082
Operating System: Debian lenny
_______________________________________________________
Details:
When wesnoth is started with the --multiplayer switch, data/lua/wml-tags.lua
does not seem to be included.
Steps to reproduce:
1. Apply the attached patch to data/multiplayer/eras.cfg
2. Run: wesnoth --multiplayer --turns=2
3. Play until turn 3
4. Find the following error in stderr
20090609 00:19:45 error scripting/lua: Failure while running Lua script:
[string "..."]:26: attempt to call global 'unit_worth' (a nil value)
stack traceback:
[string "..."]:26: in main chunk
caught unknown error playing level...
5. Start wesnoth normally, start a multiplayer game using the default era
with a 2 turn limit.
6. Play until turn 3
7. Find the following, different error in stderr, proving that
data/lua/wml-tags.lua is included when started this way.
20090609 00:30:02 error scripting/lua: Failure while running Lua script:
/home/ai/src/wesnoth-git/data/lua/wml-tags.lua:215: Unit at 15,18 does not
have a cost
stack traceback:
[C]: in function 'error'
/home/ai/src/wesnoth-git/data/lua/wml-tags.lua:215: in function
'unit_worth'
[string "..."]:26: in main chunk
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tuesday 06/09/2009 at 00:53 Name: eras.diff Size: 0B By: ai0867
<http://gna.org/bugs/download.php?file_id=5921>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13655>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs