Map Database  •  FAQ  •  RSS  •  Login

AI attacks bug in KaM Remake

<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 07 Mar 2013, 05:39

AI attacks bug in KaM Remake

Vas reported a bug in AI attacks loading from DAT script. Attacks were not properly reset inbetween parsing. Example:
  Code:
... player 2 setup ... !SET_AI_ATTACK TYPE 0 !SET_AI_ATTACK TOTAL_AMOUNT 1 !SET_AI_ATTACK TAKEALL !SET_AI_ATTACK COUNTER 12000 !SET_AI_ATTACK TARGET 2 !COPY_AI_ATTACK 0 ... snip ... player 3 setup ... !SET_AI_ATTACK TYPE 0 !SET_AI_ATTACK TOTAL_AMOUNT 9 !SET_AI_ATTACK TARGET 2 !COPY_AI_ATTACK 0
With such layout the attack from player 3 would have TAKEALL and DELAY 12000 applied to it. If you resaved the map in Remakes MapEd it would write these fields.

Presumably this bug existed since at least version r4001. Please check your maps.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

pawel95

Castle Guard Swordsman

Posts: 1912

Joined: 03 Oct 2008, 22:00

KaM Skill Level: Skilled

Location: "Pawel95" on Youtube.com

Post 07 Mar 2013, 13:58

Re: AI attacks bug in KaM Remake

In which mission this bug poped out?
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 07 Mar 2013, 16:07

Re: AI attacks bug in KaM Remake

Vas found this bug when testing his campaign in KaM Remake MapEd. I asked hima nd he made a test mission with 3 players just to reproduce this bug.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de

Return to “Map Design”

Who is online

Users browsing this forum: No registered users and 19 guests