Search found 151 matches

by yobbo
February 15th, 2008, 6:01 am
Forum: Coder’s Corner
Topic: python AI
Replies: 20
Views: 4882

Wow, what a tremendously unhelpful error message you got :shock: I had a go at tracking down the problem... it's definitely choking due to the line: curhorse.save_data() ... ahh I was just about to say I have no idea what its problem is but then I figured it out. wesnoth.set_variable can only store ...
by yobbo
February 13th, 2008, 11:03 pm
Forum: Art Contributions
Topic: Portraits: Hammer of Thursagain
Replies: 249
Views: 55690

Hi, in general nice portraits :). I agree with esr on elurin's facial lines though. Are you working at final resolution (205 x 205)? If so I think you would get a much better effect from scaling the image up to 410 x 410 (with no interpolation), working on it, then scaling it back down (again with n...
by yobbo
February 13th, 2008, 4:17 am
Forum: Coder’s Corner
Topic: python AI
Replies: 20
Views: 4882

The easiest thing to do is just try everything, and if safe.py complains about something, do it another way. Most importantly for me, there is no exception handling. You can't even "raise". If you look at data/ais/safe.py, you can see the 'whitelist' of builtins you can use. Similarly in d...
by yobbo
February 13th, 2008, 2:08 am
Forum: Art Development
Topic: kitty's elvish portraits
Replies: 626
Views: 202511

FWIW, my interpretation of the ranger's hand position: He is ready to prepare to fire . As in, he's courteously demonstrating through hand position that he does not intend to shoot the person he's talking to. However he could, if the need arose, quickly ready his arrow and shoot. Somewhat like the c...
by yobbo
February 12th, 2008, 11:46 pm
Forum: Coder’s Corner
Topic: new python AI, needs testing! Current version: 0.4.7
Replies: 19
Views: 6917

I've reached another stopping place so here's a new version.

Most obvious change: it's about 10 times faster.

It's not quite as clever as 0.4b though :(. It's just not aggressive enough on big maps.

http://www.wesnoth.org/forum/download.php?id=20272
by yobbo
February 12th, 2008, 2:35 pm
Forum: Coder’s Corner
Topic: python AI
Replies: 20
Views: 4882

I'm guessing it doesn't like the lambda function:

Code: Select all

        allhorses = filter(lambda x: x.type().name == "Horse", allunits) 
Try a normal function definition in stead and see if that works.
by yobbo
February 10th, 2008, 9:18 pm
Forum: Coder’s Corner
Topic: new python AI, needs testing! Current version: 0.4.7
Replies: 19
Views: 6917

Losing to bruteforce on Basilisk? I must've broken something :oops: I'll check the village protection code, something there will be amiss. Thanks :) And yeah - it's not optimised much yet, so it does hordes of checks it doesn't need to. When the leader has orders for a unit, the unit only checks the...
by yobbo
February 10th, 2008, 12:02 pm
Forum: Coder’s Corner
Topic: new python AI, needs testing! Current version: 0.4.7
Replies: 19
Views: 6917

Sorry, it'll only work if you have your own SVN build. Actually I'll just change the title. It'll be ready for testing next dev release. For now it's just more of a milestone for me and a heads up that it exists. Re: messy code: the easier it is for me to fix... the easier it is to put off fixing it...
by yobbo
February 10th, 2008, 5:36 am
Forum: Coder’s Corner
Topic: new python AI, needs testing! Current version: 0.4.7
Replies: 19
Views: 6917

new python AI, needs testing! Current version: 0.4.7

I've been working on a python AI! My goal is to make an AI that's more fun to play against. Smarter than the current one, but also less suicidally punishing. It's at the point where pitting it against the current AI and chesslike (bruteforce.py) isn't really highlighting its vulnerabilities any more...
by yobbo
January 23rd, 2008, 10:53 pm
Forum: Art Development
Topic: kitty's elvish portraits
Replies: 626
Views: 202511

Re: the glow on the vines, I was expecting the small green seed bits to turn into magic sparkles or fireflies.

Pardon my quick hack to show what I mean:

btw I like your elves :).
by yobbo
July 31st, 2007, 4:30 am
Forum: Music & Sound Development
Topic: Where can i get the Wesnoth Music?
Replies: 9
Views: 4574

VS wrote:http://svn.gna.org/viewcvs/wesnoth/trunk/music

When you click file, you'll see a list of revisions - get the last, which is at the top (there is link"download").
This link is no longer valid. The music has been moved to http://svn.gna.org/viewcvs/wesnoth/trun ... ore/music/ :)
by yobbo
January 8th, 2006, 3:56 am
Forum: Art Contributions
Topic: Non magical dangerous beasts
Replies: 47
Views: 12149

Seals are dangerous.

Plus they move astoundingly fast on land. I had one chase me once. It was scary. :P
by yobbo
December 24th, 2005, 1:38 pm
Forum: Art Development
Topic: Making Canyons using the Castle methodology
Replies: 55
Views: 26165

:| Sure, though we'd need a better image for the "aether", rather than those rather primitive "drawn-with-a-pencil-tool" stars (No offense, yobbo). For the record, they looked a lot better on my old CRT monitor :). Getting a new LCD screen was kinda like when I first started wea...
by yobbo
December 22nd, 2005, 4:29 am
Forum: Users’ Forum
Topic: Posting links
Replies: 4
Views: 1177

like so

Code: Select all

[url=http://www.wesnoth.org/forum/viewtopic.php?t=8941]like so[/url]
by yobbo
December 19th, 2005, 10:15 am
Forum: Website
Topic: Trouble with Replays
Replies: 5
Views: 2719

*cough* uhh, those threads are quite old... in fact I believe between then and now there was a forum crash, and all the attachments were destroyed. Not that I've been around that long or anything. Just the lack of attachments annoyed me when I was looking at old art threads. I think you won't find m...