Search found 15 matches

by dagoi-koi
February 15th, 2009, 7:02 pm
Forum: Coder’s Corner
Topic: stderr when testing python ais
Replies: 0
Views: 1135

stderr when testing python ais

I use the following on Windows xp from the command line: wesnoth.exe --nogui --multiplayer --controller1=ai --controller2=ai --algorithm1=bruteforce2.py --algorithm2=tommy-0.4.7.py --scenario=multiplayer_Basilisk Both algorithms (bruteforce and tommy) are present in the proper directory. I can pick ...
by dagoi-koi
November 24th, 2007, 9:10 pm
Forum: Technical Support
Topic: Client Disconnected
Replies: 40
Views: 11117

Yeah, now my r21754 crashes also. Maybe it's a server issue now.
by dagoi-koi
November 23rd, 2007, 8:08 pm
Forum: Technical Support
Topic: Client Disconnected
Replies: 40
Views: 11117

okay, the r21754 .exe works for me. I haven't actually played a game with it yet, but i can join the server and see other peoples games.

Thank you.

Also, What is the optimized build?
by dagoi-koi
November 23rd, 2007, 1:03 pm
Forum: Technical Support
Topic: Client Disconnected
Replies: 40
Views: 11117

Someone please test with this binary:
I got the .exe and the .dlls. When I join the official server BFW now crashes with an error report, instead of the client disconnect.
by dagoi-koi
November 23rd, 2007, 3:58 am
Forum: Technical Support
Topic: Client Disconnected
Replies: 40
Views: 11117

Just wanted to say I am getting the same error. 1.3.11. Windows XP.
by dagoi-koi
November 10th, 2007, 6:45 pm
Forum: Technical Support
Topic: 1.3.9: game will not exit when run with --nogui
Replies: 2
Views: 981

Thanks. Once it is compiled for Windows I will get it. Unless you could point me to a 1.3.10 windows exe.
by dagoi-koi
November 10th, 2007, 6:04 pm
Forum: Technical Support
Topic: 1.3.9: game will not exit when run with --nogui
Replies: 2
Views: 981

1.3.9: game will not exit when run with --nogui

Version 1.3.9 on Windows XP. The game will not exit when run from the command line using the --nogui switch. Here is the whole cmd I am using: wesnoth.exe --nogui --multiplayer --controller1=ai --controller2=ai --scenario=multiplayer_Den_of_Onis Here is Stderr.txt: Battle for Wesnoth v1.3.9 Started ...
by dagoi-koi
November 3rd, 2007, 4:36 pm
Forum: Coder’s Corner
Topic: list of executable switches?
Replies: 12
Views: 5140

wesnoth --nogui --multiplayer --scenario=multiplayer_The_Freelands --controller1=ai --side1="Knalgan Alliance" --controller2=ai --side2="Knalgan Alliance" --algorithm2=python_ai --parm2=python_script:bruteforce.py I tried using the above on Windows XP and it doesn't work. Follow...
by dagoi-koi
November 3rd, 2007, 5:27 am
Forum: Technical Support
Topic: Incorrect spelling: Northeners or Northerners
Replies: 1
Views: 727

Incorrect spelling: Northeners or Northerners

Windows XP. BFW 1.2.7 Spelling mistake in data\factions\northerners-default.cfg The id=Northeners has left out the 2nd 'r'. #textdomain wesnoth [multiplayer_side] id=Northeners name={MENU_IMG_TXT "orcs/warrior.png~TC(1,magenta)" _"Northerners"} type=Orcish Warrior leader=Orcish W...
by dagoi-koi
November 2nd, 2007, 1:58 am
Forum: Technical Support
Topic: bruteforce.py AI does nothing under 1.3.9
Replies: 15
Views: 3642

There did seem to be a nasty memory leak going on.
Yeah, I've noticed that also. But only on the development version. The stable version works well. Also bruteforce.py will also work on the stable version if you want a more challenging ai. Just copy it to userdata\data\ais.
by dagoi-koi
November 1st, 2007, 8:03 pm
Forum: Technical Support
Topic: bruteforce.py AI does nothing under 1.3.9
Replies: 15
Views: 3642

Solution: After installing python, take the python25.dll from the python directory. Rename it python23.dll and replace the python23.dll in Wesnoth directory. Then bruteforce.py will work.

You may want to backup the original dll if you have problems.
by dagoi-koi
October 31st, 2007, 1:49 pm
Forum: Coder’s Corner
Topic: Script/exe to test ai's
Replies: 0
Views: 1769

Script/exe to test ai's

I have written a script that is used to test ai's on Windows. It automates the launching of wesnoth.exe with the parameters you specify in an .ini file and collects the data into a text file. When first run it creates an .ini file with the following parameters that can be changed. [Options] Ai1=brut...
by dagoi-koi
October 30th, 2007, 6:54 pm
Forum: Coder’s Corner
Topic: list of executable switches?
Replies: 12
Views: 5140

Thanks for all the help! I now have it working.
by dagoi-koi
October 30th, 2007, 2:12 pm
Forum: Coder’s Corner
Topic: list of executable switches?
Replies: 12
Views: 5140

Ah. Can't do that with windows, or at least I don't know how.

Also the map name must be capitalized even on Windows.
by dagoi-koi
October 30th, 2007, 5:06 am
Forum: Coder’s Corner
Topic: list of executable switches?
Replies: 12
Views: 5140

list of executable switches?

Can someone point me to a list of the wesnoth executable switches?

So far I have found :
--nogui
--multiplayer
--controllerX=ai
--algorithmX=ai1.py

I am unsure how to select a map for the AI's to play on. Also, is there a way to report the faction of each team to stdout?

Thank you.