Search found 69 matches

by Quitch
December 30th, 2012, 11:37 am
Forum: Coder’s Corner
Topic: Machine Learning Recruiter
Replies: 84
Views: 37242

Re: Machine Learning Recruiter

I'm split this discussion off into the compiling forum

http://forums.wesnoth.org/viewtopic.php?f=5&t=38108
by Quitch
December 29th, 2012, 8:38 pm
Forum: Release Announcements, Compiling & Installation
Topic: Applying a patch to source on Windows
Replies: 7
Views: 5137

Re: Applying a patch to source on Windows

That post lost me a little, so I should just state that the downloaded source has a hidden .git directory
by Quitch
December 29th, 2012, 6:01 pm
Forum: Release Announcements, Compiling & Installation
Topic: Applying a patch to source on Windows
Replies: 7
Views: 5137

Re: Applying a patch to source on Windows

Thanks for the suggestion, but alas it doesn't appear to work. c:\Users\Quitch\Downloads\wesnoth-1.11.1>"c:\Program Files (x86)\GnuWin32\bin\patch.exe" -p1 -i -d c:\users\Quitch\downloads\wesnoth-1.11.1 c:\users\Quitch\Downloads\ML_Recruiter_0.4.patch c:\Program Files (x86)\GnuWin32\bin\pa...
by Quitch
December 29th, 2012, 4:36 pm
Forum: Release Announcements, Compiling & Installation
Topic: Applying a patch to source on Windows
Replies: 7
Views: 5137

Applying a patch to source on Windows

I'm trying to apply the Machine Learning Recruiter patch to 1.11.1 on a Windows 8 machine, but I've run into some issues and I'm looking for help. I'm using GnuWin32's copy of patch 2.5.9 for this action. c:\Users\Quitch\Downloads\wesnoth-1.11.1>"c:\Program Files (x86)\GnuWin32\bin\patch.exe&qu...
by Quitch
December 29th, 2012, 1:08 am
Forum: Coder’s Corner
Topic: Exercises in Formula and Lua AI and AI-demos add-on feedback
Replies: 472
Views: 133096

Re: Exercises in Formula and Lua AI

One thing I noticed in my most recent game is that the AI doesn't appear to take beserk into account when considering threat. The undead kept placing dark adepts within range of my beserkers and giving me free XP as it couldn't fight back.
by Quitch
December 28th, 2012, 5:40 pm
Forum: Coder’s Corner
Topic: Exercises in Formula and Lua AI and AI-demos add-on feedback
Replies: 472
Views: 133096

Re: Exercises in Formula and Lua AI

That's great news, I'll be sure to give it a whirl. I must admit, while I understand the purpose of Fred, improvements in Ron are much more exciting since I perceive him as the end-goal. Incidentally, I don't know if this is on the goal list (didn't see it in the topic earlier), but a long-term goal...
by Quitch
December 28th, 2012, 11:54 am
Forum: Coder’s Corner
Topic: Exercises in Formula and Lua AI and AI-demos add-on feedback
Replies: 472
Views: 133096

Re: Exercises in Formula and Lua AI

I assume you mean not a problem any more in the current github version, rather than the addons copy, right?

Also thanks to you, and all the others, working on this as well. People like me greatly appreciate your efforts :)
by Quitch
December 28th, 2012, 3:55 am
Forum: Coder’s Corner
Topic: Exercises in Formula and Lua AI and AI-demos add-on feedback
Replies: 472
Views: 133096

Re: Exercises in Formula and Lua AI

mattsc, just worked my way through the whole thread and want to thank you for starting a real push to improve the Wesnoth AI even more. I don't play with humans only AI and I haven't lost a MP game to an AI yet, I always welcome developments in this space. What you're doing here is very exciting :) ...
by Quitch
December 28th, 2012, 1:45 am
Forum: Coder’s Corner
Topic: Machine Learning Recruiter
Replies: 84
Views: 37242

Re: Machine Learning Recruiter

Thanks, progress has been made. Alas, victory has not been secured it now terminates and crashes during the patching process. c:\Users\Quitch\Downloads\wesnoth-1.11.1>"c:\Program Files (x86)\GnuWin32\bin\patch.exe" -p1 -i c:\users\quitch\Downloads\ML_Recruiter_0.4.patch patching file RELEA...
by Quitch
December 28th, 2012, 12:17 am
Forum: Coder’s Corner
Topic: Machine Learning Recruiter
Replies: 84
Views: 37242

Re: Machine Learning Recruiter

Okay, I refuse to be defeated... So, I run the command using the Windows version of patch (2.5.9) under an elevated command prompt. Patch then prompts me for "File to patch". I provide it with the patch to the 1.11.1 source code folder, but it states that this is not a regular file and the...
by Quitch
December 28th, 2012, 12:01 am
Forum: Coder’s Corner
Topic: Machine Learning Recruiter
Replies: 84
Views: 37242

Re: Machine Learning Recruiter

Ah, I wondered if it might be a Unix thing.

I've tracked down patch for Windows as part of GnuWin32 and so will try that.
by Quitch
December 27th, 2012, 11:19 pm
Forum: Coder’s Corner
Topic: Machine Learning Recruiter
Replies: 84
Views: 37242

Re: Machine Learning Recruiter

I'm following those instructions, but as I said, I've downloaded the patch, downloaded the source and now it's telling me to apply the patch to the source using the following command: patch -p1 -i [path to patch file] However I have no idea what patch(.exe?) is. I have no such file, nor does it appe...
by Quitch
December 27th, 2012, 10:12 pm
Forum: Coder’s Corner
Topic: Machine Learning Recruiter
Replies: 84
Views: 37242

Re: Machine Learning Recruiter

So I grabbed the patch and the source and CMake, but before using CMake to compile I apparently need to use the following line:

patch -p1 -i [path to patch file]

But what's patch? I cannot find such a file.
by Quitch
December 27th, 2012, 9:20 pm
Forum: Coder’s Corner
Topic: Machine Learning Recruiter
Replies: 84
Views: 37242

Re: Machine Learning Recruiter

Thanks for the clarification.
by Quitch
December 27th, 2012, 6:44 pm
Forum: Coder’s Corner
Topic: Machine Learning Recruiter
Replies: 84
Views: 37242

Re: Machine Learning Recruiter

I'm interested in trying this and tried selecting it as part of a 1.11.1 game, but it pointed me to the wiki in order to get it to run. Do I need to manually patch this in? :(