Search found 17 matches
- April 2nd, 2013, 3:42 am
- Forum: Coder’s Corner
- Topic: Questions about the Source Code
- Replies: 16
- Views: 5312
Re: Questions about the Source Code
Normal variables, the ones that wesnoth.get_variable accesses, are not accessible across multiple playthroughs of a campaign or multiple multiplayer games, whereas persistent variables are. To access persistent variables from Lua, call the WML action tag handlers through the wesnoth.wml_actions tab...
- March 30th, 2013, 10:41 pm
- Forum: Coder’s Corner
- Topic: AI changes on Windows
- Replies: 10
- Views: 4108
Re: AI changes on Windows
Another detail was that, to execute a custon AI (like mine, Ron or Fred) I had to copy the folder "AI-demos" from "My Documents\My Games\Wesnoth\data\add-ons" to "C:\Users\<My User>\AppData\Local\VirtualStore\Program Files (x86)\Battle of Wesnoth\userdata\data\add-ons"...
- March 26th, 2013, 11:42 am
- Forum: Coder’s Corner
- Topic: Questions about the Source Code
- Replies: 16
- Views: 5312
Re: Questions about the Source Code
I am trying a simple example now. :geek: In my experiment, my AI is supose to save some data at the start of a game (like it start position). And in the next game, it is supose to be printed in the game using {MESSAGE narrator "" "Title" _"<start position from last game>&quo...
- March 26th, 2013, 11:20 am
- Forum: Coder’s Corner
- Topic: AI changes on Windows
- Replies: 10
- Views: 4108
Re: AI changes on Windows
Nice, I will try it at night!
- March 26th, 2013, 3:57 am
- Forum: Coder’s Corner
- Topic: AI changes on Windows
- Replies: 10
- Views: 4108
Re: AI changes on Windows
Maybe should pin my solution to this topic:
http://forums.wesnoth.org/viewtopic.php?f=4&t=23894
http://forums.wesnoth.org/viewtopic.php?f=4&t=23894
- March 26th, 2013, 3:49 am
- Forum: Coder’s Corner
- Topic: AI changes on Windows
- Replies: 10
- Views: 4108
Re: AI changes on Windows
Needing to be administrator is an acceptable restriction however. I hope you meant ‘ un acceptable’. Yes! It's unacceptable. I am a windows user (I am a .NET developer and a hardcore gamer when I am not working, so windows is the only option). But thanks to you guys, I have solved the problem. I ju...
- March 25th, 2013, 3:41 am
- Forum: Coder’s Corner
- Topic: AI changes on Windows
- Replies: 10
- Views: 4108
AI changes on Windows
Have anyone worked with Wesnorth on Windows? I am having problems to try AI modifications. First: I am using this example of how to execute the game from the terminal: http://forums.wesnoth.org/viewtopic.php?f=10&t=38344 I am trying to execute the following line on terminal: wesnoth -m --control...
- March 12th, 2013, 8:18 pm
- Forum: Coder’s Corner
- Topic: Questions about the Source Code
- Replies: 16
- Views: 5312
Re: Questions about the Source Code
Hey guys! Any idea about how could I get some feedback after executing an action in LUA? Umm, probably ... But as with your previous question, there are a lot of different ways of interpreting this and therefore many potential answers. As a general rule, you should state your questions as specifica...
- March 9th, 2013, 6:54 pm
- Forum: Coder’s Corner
- Topic: Questions about the Source Code
- Replies: 16
- Views: 5312
Re: Questions about the Source Code
Hey guys! Any idea about how could I get some feedback after executing an action in LUA?
- March 8th, 2013, 8:56 pm
- Forum: Coder’s Corner
- Topic: Questions about the Source Code
- Replies: 16
- Views: 5312
Re: Questions about the Source Code
So, I think it's possible using wml.
What I want is save the information learned from a game.
So, I can run my AI like 500x and it should learn something with this, and reuse this in the next games (with continuous learning).
What I want is save the information learned from a game.
So, I can run my AI like 500x and it should learn something with this, and reuse this in the next games (with continuous learning).
- March 5th, 2013, 11:55 am
- Forum: Coder’s Corner
- Topic: Questions about the Source Code
- Replies: 16
- Views: 5312
Re: Questions about the Source Code
Another thing, are there any example of data storage in Lua?
Like save data from between different games. I will need this to work with learning (a good learning will need a big set of matchs).
Like save data from between different games. I will need this to work with learning (a good learning will need a big set of matchs).
- February 27th, 2013, 8:52 pm
- Forum: Coder’s Corner
- Topic: Questions about the Source Code
- Replies: 16
- Views: 5312
Re: Questions about the Source Code
Thanks guys!
I am current looking at the forum, seeking for material. =]
I am current looking at the forum, seeking for material. =]
- February 27th, 2013, 12:13 pm
- Forum: Coder’s Corner
- Topic: Questions about the Source Code
- Replies: 16
- Views: 5312
Questions about the Source Code
Hello, :geek: How I have told in "Introduce yourself here!", I am new at developing in this game. My goal here is to use this game to get results for my research (master's degree) and maybe help to improve the game. My research area is Artificial Intelligence (focus in Reinforcement Learni...
- February 26th, 2013, 9:44 pm
- Forum: Coder’s Corner
- Topic: UMC-Dev vs Github?
- Replies: 6
- Views: 3031
Re: UMC-Dev vs Github?
So, there aren't a Git to make a fork?
- February 26th, 2013, 9:39 pm
- Forum: Users’ Forum
- Topic: Introduce yourself here!
- Replies: 684
- Views: 284058
Re: Introduce yourself here!
Thanks for the context, lipk!