~/D/w/v/v/b/D/v/C/MacOS (develop) $ ./vcmiclient --disable-video objc[34182]: Class SDLApplication is implemented in both /usr/local/lib/libSDL2-2.0.0.dylib and /Users/ilya/Documents/work/vcmi2/vcmi/bin/Debug/vcmiclient.app/Contents/MacOS/./vcmiclient. One of the two will be used. Which one is undefined. Starting... Creating console and configuring logger: 4 The log file will be saved to "/Users/ilya/Library/Application Support/vcmi/VCMI_Client_log.txt" Initialization: 13 Data loading: 204 Mod handler: 0 Mod filesystems: 68 Basic initialization: 286 Initialized logging system based on settings successfully. Error: campaign movies was not found! Error: campaign music was not found! Loading settings: 290 VCMI 0.96b (client) Found 2 render drivers opengl (active) software Created renderer opengl Initializing screen: 47 Initializing video: 0 Initializing screen and sound handling: 24 Bonus type handler: 8 General text handler: 14 Hero handler: 6 Artifact handler: 0 Creature handler: 0 Town handler: 0 Object handler: 0 Object types information handler: 0 Spell handler: 0 Terrain view pattern handler: 2 Template handler: 2 Initializing handlers: 35 Initializing content handler: 205 ms [511225d2] Original game files [ea3c8b99] VCMI essential files Parsing mod data: 62 ms [DONE] Original game files [SKIP] VCMI essential files Loading mod data: 319ms Resolving identifiers: 18 ms No templates found for 49:1 No templates found for 70:0 No templates found for 79:7 No templates found for 100:1 No templates found for 103:1 No templates found for 172:0 No templates found for 186:0 No templates found for 189:0 Handlers post-load finalization: 34 ms All game content loaded in 641 ms Initializing VCMI_Lib: 679 Loading and transforming heroes' flags: 92 Screen handler: 132 Main graphics: 131 Initializing game graphics: 263 Message handler: 19 Initialization of VCMI (together): 1331 Warning: Cannot open Music/MainMenu: Unrecognized music format Unable to play music (music parameter was NULL) Blocking buttons from 0 Setting up thread calling server: 0 No templates found for 49:1 No templates found for 70:0 No templates found for 79:7 No templates found for 100:1 No templates found for 103:1 No templates found for 172:0 No templates found for 186:0 No templates found for 189:0 Waiting for server: 1198 Establishing connection... Found endpoints: 0: 127.0.0.1:3030 Trying connection to 127.0.0.1:3030 (0) Established connection with VCMI 0.96b (server) Connecting to the server: 5 Will send info to server... Sending/Getting info to/from the server: 10 Creating gamestate: 1 Using random seed: 1412942426 Open map file: MAPS/KNEE DEEP IN THE DEAD Map loaded! Our checksum for the map: 882541360 Seed after init is 1421145555 (before was 1412942426) Initializing GameState (together): 90 Creating mapHandler: 3 Preparing FoW, roads, rivers,borders: 137 Making object rects: 168 Initializing mapHandler (together): 306 Player 1 will be lead by VCAI Opening VCAI Loaded VCAI FUNCTION_BLOCK VAR_INPUT BankInput: REAL; OurShooters: REAL; OurWalkers: REAL; OurFlyers: REAL; EnemyShooters: REAL; EnemyWalkers: REAL; EnemyFlyers: REAL; OurSpeed: REAL; EnemySpeed: REAL; CastleWalls: REAL; Bank: REAL; strengthRatio: REAL; heroStrength: REAL; turnDistance: REAL; lockedMissionImportance: REAL; END_VAR FUZZIFY BankInput TERM SET := Singleton (0.5); END_FUZZIFY FUZZIFY OurShooters TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY OurWalkers TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY OurFlyers TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY EnemyShooters TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY EnemyWalkers TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY EnemyFlyers TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY OurSpeed TERM LOW := Shoulder left(3 6.5); TERM MEDIUM := Triangular (5.5 8 10.5); TERM HIGH := Shoulder right(8.5 16); END_FUZZIFY FUZZIFY EnemySpeed TERM LOW := Shoulder left(3 6.5); TERM MEDIUM := Triangular (5.5 8 10.5); TERM HIGH := Shoulder right(8.5 16); END_FUZZIFY FUZZIFY CastleWalls TERM NONE := Singleton (0); TERM MEDIUM := Trapezoidal (1 1.3 2.2 2.5); TERM HIGH := Shoulder right(1.9 3); END_FUZZIFY FUZZIFY Bank TERM FALSE := Singleton (0); TERM TRUE := Singleton (1); END_FUZZIFY FUZZIFY strengthRatio TERM LOW := Shoulder left(0 1.5); TERM HIGH := Shoulder right(1.5 4.5); END_FUZZIFY FUZZIFY heroStrength TERM LOW := Shoulder left(0 0.2); TERM MEDIUM := Triangular (0.2 0.5 0.8); TERM HIGH := Shoulder right(0.5 1); END_FUZZIFY FUZZIFY turnDistance TERM SMALL := Shoulder left(0 0.5); TERM MEDIUM := Triangular (0.1 0.45 0.8); TERM LONG := Shoulder right(0.5 3); END_FUZZIFY FUZZIFY lockedMissionImportance TERM LOW := Shoulder left(0 2.5); TERM MEDIUM := Triangular (2 2.5 3); TERM HIGH := Shoulder right(2.5 5); END_FUZZIFY VAR_OUTPUT BankDanger: REAL Threat: REAL Value: REAL END_VAR DEFUZZIFY BankDanger TERM Bank0 := Triangular (0 0.5 1); TERM Bank3 := Triangular (0 0.5 1); TERM Bank2 := Triangular (0 0.5 1); TERM Bank1 := Triangular (0 0.5 1); END_DEFUZZIFY DEFUZZIFY Threat TERM LOW := Shoulder left(0.5 1); TERM MEDIUM := Triangular (0.8 1 1.2); TERM HIGH := Shoulder right(1 1.5); END_DEFUZZIFY DEFUZZIFY Value TERM LOW := Shoulder left(0 2.5); TERM MEDIUM := Triangular (2 2.5 3); TERM HIGH := Shoulder right(2.5 5); END_DEFUZZIFY Block 0 RULEBLOCK RULE 1: if BankInput is SET then BankDanger is Bank0; RULE 2: if BankInput is SET then BankDanger is Bank1; RULE 3: if BankInput is SET then BankDanger is Bank2; RULE 4: if BankInput is SET then BankDanger is Bank3; END_RULEBLOCK Block 1 RULEBLOCK RULE 1: if ( EnemySpeed is LOW and OurShooters is MANY ) then Threat is LOW; RULE 2: if ( EnemyShooters is FEW and OurShooters is MANY ) then Threat is LOW; RULE 3: if ( EnemyShooters is MANY and OurSpeed is LOW ) then Threat is HIGH; RULE 4: if ( EnemyShooters is MANY and OurSpeed is HIGH ) then Threat is LOW; RULE 5: if ( EnemyShooters is MANY and OurWalkers is FEW ) then Threat is somewhat LOW; RULE 6: if ( EnemySpeed is HIGH and OurShooters is MANY ) then Threat is somewhat HIGH; RULE 7: if EnemySpeed is MEDIUM then Threat is MEDIUM; RULE 8: if ( OurShooters is FEW and EnemySpeed is LOW ) then Threat is MEDIUM; RULE 9: if ( OurShooters is MANY and Bank is TRUE ) then Threat is somewhat HIGH; RULE 10: if ( EnemyShooters is MANY and Bank is TRUE ) then Threat is LOW; RULE 11: if ( OurWalkers is MANY and CastleWalls is HIGH ) then Threat is very HIGH; RULE 12: if ( ( OurShooters is MANY and OurFlyers is MANY ) and CastleWalls is HIGH ) then Threat is MEDIUM; RULE 13: if ( ( EnemyWalkers is MANY and OurShooters is MANY ) and CastleWalls is MEDIUM ) then Threat is LOW; END_RULEBLOCK Block 2 RULEBLOCK RULE 1: if ( heroStrength is LOW and strengthRatio is HIGH ) then Value is very HIGH; RULE 2: if ( heroStrength is MEDIUM and strengthRatio is HIGH ) then Value is somewhat HIGH; RULE 3: if ( heroStrength is HIGH and strengthRatio is HIGH ) then Value is somewhat LOW; RULE 4: if ( heroStrength is LOW and strengthRatio is LOW ) then Value is very LOW; RULE 5: if ( heroStrength is MEDIUM and strengthRatio is LOW ) then Value is somewhat HIGH; RULE 6: if ( heroStrength is HIGH and strengthRatio is LOW ) then Value is LOW; RULE 7: if lockedMissionImportance is HIGH then Value is very LOW; RULE 8: if lockedMissionImportance is MEDIUM then Value is somewhat LOW; RULE 9: if lockedMissionImportance is LOW then Value is HIGH; RULE 10: if turnDistance is SMALL then Value is HIGH; RULE 11: if turnDistance is MEDIUM then Value is MEDIUM; RULE 12: if turnDistance is LONG then Value is LOW; END_RULEBLOCK END_FUNCTION_BLOCK Opening StupidAI Loaded Stupid AI 0.1 CPack serialized... this should not happen! Cannot apply on CL plain CPack! Assertion failed: (0), function applyOnClBefore, file /Users/ilya/Documents/work/vcmi2/vcmi/client/Client.cpp, line 98. fish: Job 1, './vcmiclient --disable-video' terminated by signal SIGABRT (Abort) ~/D/w/v/v/b/D/v/C/MacOS (develop) $ ./vcmiclient --disable-video .objc[34407]: Class SDLApplication is implemented in both /usr/local/lib/libSDL2-2.0.0.dylib and /Users/ilya/Documents/work/vcmi2/vcmi/bin/Debug/vcmiclient.app/Contents/MacOS/./vcmiclient. One of the two will be used. Which one is undefined. /vcmStarting... Creating console and configuring logger: 11 The log file will be saved to "/Users/ilya/Library/Application Support/vcmi/VCMI_Client_log.txt" Initialization: 12 Data loading: 208 Mod handler: 0 Mod filesystems: 70 Basic initialization: 291 Initialized logging system based on settings successfully. Error: campaign movies was not found! Error: campaign music was not found! Loading settings: 295 VCMI 0.96b (client) Found 2 render drivers opengl (active) software Created renderer opengl Initializing screen: 51 Initializing video: 0 Initializing screen and sound handling: 24 Bonus type handler: 9 General text handler: 23 Hero handler: 7 Artifact handler: 0 Creature handler: 1 Town handler: 0 Object handler: 0 Object types information handler: 0 Spell handler: 0 Terrain view pattern handler: 5 Template handler: 4 Initializing handlers: 54 Initializing content handler: 213 ms [1a268425] Original game files [ea3c8b99] VCMI essential files Parsing mod data: 69 ms [DONE] Original game files [SKIP] VCMI essential files Loading mod data: 302ms Resolving identifiers: 15 ms No templates found for 49:1 No templates found for 70:0 No templates found for 79:7 No templates found for 100:1 No templates found for 103:1 No templates found for 172:0 No templates found for 186:0 No templates found for 189:0 Handlers post-load finalization: 26 ms All game content loaded in 627 ms Initializing VCMI_Lib: 683 Loading and transforming heroes' flags: 92 Screen handler: 129 Main graphics: 134 Initializing game graphics: 264 Message handler: 19 Initialization of VCMI (together): 1350 Warning: Cannot open Music/MainMenu: Unrecognized music format Unable to play music (music parameter was NULL) Blocking buttons from 0 Setting up thread calling server: 0 No templates found for 49:1 No templates found for 70:0 No templates found for 79:7 No templates found for 100:1 No templates found for 103:1 No templates found for 172:0 No templates found for 186:0 No templates found for 189:0 Waiting for server: 1753 Establishing connection... Found endpoints: 0: 127.0.0.1:3030 Trying connection to 127.0.0.1:3030 (0) Established connection with VCMI 0.96b (server) Connecting to the server: 6 Will send info to server... Sending/Getting info to/from the server: 16 Creating gamestate: 1 Using random seed: 1412943508 Open map file: MAPS/ARROGANCE Map loaded! Our checksum for the map: 2873086985 Seed after init is 1086833603 (before was 1412943508) Initializing GameState (together): 133 Creating mapHandler: 2 Preparing FoW, roads, rivers,borders: 98 Making object rects: 233 Initializing mapHandler (together): 332 Player 1 will be lead by VCAI Opening VCAI Loaded VCAI FUNCTION_BLOCK VAR_INPUT BankInput: REAL; OurShooters: REAL; OurWalkers: REAL; OurFlyers: REAL; EnemyShooters: REAL; EnemyWalkers: REAL; EnemyFlyers: REAL; OurSpeed: REAL; EnemySpeed: REAL; CastleWalls: REAL; Bank: REAL; strengthRatio: REAL; heroStrength: REAL; turnDistance: REAL; lockedMissionImportance: REAL; END_VAR FUZZIFY BankInput TERM SET := Singleton (0.5); END_FUZZIFY FUZZIFY OurShooters TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY OurWalkers TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY OurFlyers TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY EnemyShooters TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY EnemyWalkers TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY EnemyFlyers TERM FEW := Shoulder left(0 0.6); TERM MANY := Shoulder right(0.4 1); END_FUZZIFY FUZZIFY OurSpeed TERM LOW := Shoulder left(3 6.5); TERM MEDIUM := Triangular (5.5 8 10.5); TERM HIGH := Shoulder right(8.5 16); END_FUZZIFY FUZZIFY EnemySpeed TERM LOW := Shoulder left(3 6.5); TERM MEDIUM := Triangular (5.5 8 10.5); TERM HIGH := Shoulder right(8.5 16); END_FUZZIFY FUZZIFY CastleWalls TERM NONE := Singleton (0); TERM MEDIUM := Trapezoidal (1 1.3 2.2 2.5); TERM HIGH := Shoulder right(1.9 3); END_FUZZIFY FUZZIFY Bank TERM FALSE := Singleton (0); TERM TRUE := Singleton (1); END_FUZZIFY FUZZIFY strengthRatio TERM LOW := Shoulder left(0 1.5); TERM HIGH := Shoulder right(1.5 4.5); END_FUZZIFY FUZZIFY heroStrength TERM LOW := Shoulder left(0 0.2); TERM MEDIUM := Triangular (0.2 0.5 0.8); TERM HIGH := Shoulder right(0.5 1); END_FUZZIFY FUZZIFY turnDistance TERM SMALL := Shoulder left(0 0.5); TERM MEDIUM := Triangular (0.1 0.45 0.8); TERM LONG := Shoulder right(0.5 3); END_FUZZIFY FUZZIFY lockedMissionImportance TERM LOW := Shoulder left(0 2.5); TERM MEDIUM := Triangular (2 2.5 3); TERM HIGH := Shoulder right(2.5 5); END_FUZZIFY VAR_OUTPUT BankDanger: REAL Threat: REAL Value: REAL END_VAR DEFUZZIFY BankDanger TERM Bank0 := Triangular (0 0.5 1); TERM Bank3 := Triangular (0 0.5 1); TERM Bank2 := Triangular (0 0.5 1); TERM Bank1 := Triangular (0 0.5 1); END_DEFUZZIFY DEFUZZIFY Threat TERM LOW := Shoulder left(0.5 1); TERM MEDIUM := Triangular (0.8 1 1.2); TERM HIGH := Shoulder right(1 1.5); END_DEFUZZIFY DEFUZZIFY Value TERM LOW := Shoulder left(0 2.5); TERM MEDIUM := Triangular (2 2.5 3); TERM HIGH := Shoulder right(2.5 5); END_DEFUZZIFY Block 0 RULEBLOCK RULE 1: if BankInput is SET then BankDanger is Bank0; RULE 2: if BankInput is SET then BankDanger is Bank1; RULE 3: if BankInput is SET then BankDanger is Bank2; RULE 4: if BankInput is SET then BankDanger is Bank3; END_RULEBLOCK Block 1 RULEBLOCK RULE 1: if ( EnemySpeed is LOW and OurShooters is MANY ) then Threat is LOW; RULE 2: if ( EnemyShooters is FEW and OurShooters is MANY ) then Threat is LOW; RULE 3: if ( EnemyShooters is MANY and OurSpeed is LOW ) then Threat is HIGH; RULE 4: if ( EnemyShooters is MANY and OurSpeed is HIGH ) then Threat is LOW; RULE 5: if ( EnemyShooters is MANY and OurWalkers is FEW ) then Threat is somewhat LOW; RULE 6: if ( EnemySpeed is HIGH and OurShooters is MANY ) then Threat is somewhat HIGH; RULE 7: if EnemySpeed is MEDIUM then Threat is MEDIUM; RULE 8: if ( OurShooters is FEW and EnemySpeed is LOW ) then Threat is MEDIUM; RULE 9: if ( OurShooters is MANY and Bank is TRUE ) then Threat is somewhat HIGH; RULE 10: if ( EnemyShooters is MANY and Bank is TRUE ) then Threat is LOW; RULE 11: if ( OurWalkers is MANY and CastleWalls is HIGH ) then Threat is very HIGH; RULE 12: if ( ( OurShooters is MANY and OurFlyers is MANY ) and CastleWalls is HIGH ) then Threat is MEDIUM; RULE 13: if ( ( EnemyWalkers is MANY and OurShooters is MANY ) and CastleWalls is MEDIUM ) then Threat is LOW; END_RULEBLOCK Block 2 RULEBLOCK RULE 1: if ( heroStrength is LOW and strengthRatio is HIGH ) then Value is very HIGH; RULE 2: if ( heroStrength is MEDIUM and strengthRatio is HIGH ) then Value is somewhat HIGH; RULE 3: if ( heroStrength is HIGH and strengthRatio is HIGH ) then Value is somewhat LOW; RULE 4: if ( heroStrength is LOW and strengthRatio is LOW ) then Value is very LOW; RULE 5: if ( heroStrength is MEDIUM and strengthRatio is LOW ) then Value is somewhat HIGH; RULE 6: if ( heroStrength is HIGH and strengthRatio is LOW ) then Value is LOW; RULE 7: if lockedMissionImportance is HIGH then Value is very LOW; RULE 8: if lockedMissionImportance is MEDIUM then Value is somewhat LOW; RULE 9: if lockedMissionImportance is LOW then Value is HIGH; RULE 10: if turnDistance is SMALL then Value is HIGH; RULE 11: if turnDistance is MEDIUM then Value is MEDIUM; RULE 12: if turnDistance is LONG then Value is LOW; END_RULEBLOCK END_FUNCTION_BLOCK Player 5 will be lead by VCAI Opening VCAI Loaded VCAI Player 6 will be lead by VCAI Opening VCAI Loaded VCAI Opening StupidAI Loaded Stupid AI 0.1 CPack serialized... this should not happen! Cannot apply on CL plain CPack! Assertion failed: (0), function applyOnClBefore, file /Users/ilya/Documents/work/vcmi2/vcmi/client/Client.cpp, line 98. fish: Job 1, './vcmiclient --disable-video' terminated by signal SIGABRT (Abort)