Page 5 of 67

Re: Barbarian v1.61

Posted: Tue Jan 10, 2012 8:13 am
by erli4000
I tried a 2 vs 2 game with the horde vs barbarian 1.61 in the latest userpatch and got player4 barbarian/onlymeso.per line 447:err6002 rule too long at beginning of game. Both barbarian ais were not meso either.

Re: Barbarian v1.61

Posted: Tue Jan 10, 2012 8:37 am
by _II2N_
Try to download it again, it's fixed now. I noticed that and reuploaded Barbarian earlier today. Sorry for those few who were too fast and downloaded the not working version.

Re: Barbarian v1.61

Posted: Thu Jan 19, 2012 6:53 pm
by scripter64
I was checking stuff after a mp test went OOS and I found something. For up-set-defense-priority and up-set-offense-priority, I probably mentioned this, but didn't emphasize it enough (see the note here): you can't use unit lines with these commands (at least not yet). Setting something like spearman-line will have unknown results. You can only use standard types and classes. Instead of spearman-line, use spearman, for example. Sorry :'

Re: Barbarian v1.61

Posted: Thu Jan 19, 2012 11:11 pm
by _II2N_
Ah, ok. In my tests it worked well though (monks aimed well and eagles only fought melee-units first), but I'll switch those in the next update. Maybe I atleast now get a reason to start doing that :lol:

Re: Barbarian v1.61

Posted: Sat Feb 18, 2012 9:16 pm
by kram1138
Hmmm. I wonder where Barbarian's max-camp-distance was.
MAP000.JPG
MAP000.JPG (198.48 KiB) Viewed 5316 times
This was in a game on UP on my custom random map. It didnt have enough TS most of the castle age.

Oh, and another thing: it had two TCs until just before this was taken.

The full map print is pretty cool.

Re: Barbarian v1.7

Posted: Sun Feb 19, 2012 9:32 am
by _II2N_
Updated.

Re: Barbarian v1.7

Posted: Sun Feb 19, 2012 11:05 am
by Alevo1
I'll test it out soon :) what's new?
Kram, how do you take pictures like that? :O

Re: Barbarian v1.7

Posted: Sun Feb 19, 2012 11:43 am
by kram1138
ctrl + f12.

Re: Barbarian v1.7

Posted: Sun Feb 19, 2012 11:30 pm
by erli4000
For userpatch, up.per line151:err2005:invalid identifier:trebuchet-line
I"m going to guess because of this change to user patch


UserPatch 20120130-142304 has been released! This resolves 243: #UserPatch [AI Scripting] New combined unit counting identifiers should be renamed to avoid confusion. These were never truly unit "lines" and should not have been named as such. This may be a breaking change for some AIs. I'm sorry about the trouble :'

Renamed identifiers (if they were defconst'ed in the AI, there's no issue):
- 970 monk-line: now named "monk-set"
- 971 trebuchet-line: now "trebuchet-set"
- 972 combined-huskarl-line: now "huskarl-set"

Re: Barbarian v1.7

Posted: Mon Feb 20, 2012 12:11 am
by offwo
Add this to the top of the script

(defconst monk-line 970)
(defconst trebuchet-line 971)
(defconst combined-huskarl-line 972)

and it should work.