URL:
<http://gna.org/bugs/?13114>
Summary: Cannot add a new python AI script
Project: Battle for Wesnoth
Submitted by: seahen
Submitted on: Thursday 03/05/2009 at 08:12
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
Item Group: Artificial Intelligence
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.5.10+svn (32849)
Operating System: Kubuntu
_______________________________________________________
Details:
When I create a new python script and save it as
/usr/share/games/wesnoth/data/ais/a119.py, it does not appear on the list of
available AI scripts; sample.py and bruteforce.py show up fine. When I try to
invoke it from the command line
wesnoth --nogui -m --controller1=ai --controller2=ai --algorithm1=python_ai
--algorithm2=python_ai --parm1=python_script:a119.py
--parm2=python_script:bruteforce.py --scenario=multiplayer_Random_Map
I get the following:
20090305 03:01:28 error ai: Python AI script 'a119.py' not found.
NB: The folder also contains other files, a0.py through a118.py, which also
do not appear on the list of AI scripts; they are not valid Python, but
a119.py should be.
I've tried chowning the file to root; doesn't help.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 03/05/2009 at 08:12 Name: a119.py Size: 30kB By: seahen
<http://gna.org/bugs/download.php?file_id=5381>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13114>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs