Page 1 of 1

Can anyone tell me how to solve this AI LAN problem?

Posted: Mon Feb 10, 2014 4:36 pm
by professor_smith
:?: Hello,
I have copied and pasted the debug log warnings/errors that pop up for my modification of the Omaha Beach map for Bf1942 in my mod, HTroop. For some reason, it the client continues to crash to the desktop when loading into the host's server in Omaha Beach. Can anyone tell me what to do to fix this problem, using the information below?

Thank You,

Professor Smith

Warning: Io: Error bf1942/levels/Omaha_Beach/coop.con (0): Game.setNumberOfTickets 1 100
Engine\Io\Console.cpp(1498): Warning: Io: Error bf1942/levels/Omaha_Beach/coop.con: Unknown object or method!
Engine\Io\Console.cpp(1497): Warning: Io: Error bf1942/levels/Omaha_Beach/coop.con (1): Game.setNumberOfTickets 2 100
Engine\Io\Console.cpp(1498): Warning: Io: Error bf1942/levels/Omaha_Beach/coop.con: Unknown object or method!
Engine\Io\Console.cpp(1497): Warning: Io: Error bf1942/levels/Omaha_Beach/coop.con (2): Game.setTicketLostPerMin 1 15
Engine\Io\Console.cpp(1498): Warning: Io: Error bf1942/levels/Omaha_Beach/coop.con: Unknown object or method!
Engine\Io\Console.cpp(1497): Warning: Io: Error bf1942/levels/Omaha_Beach/coop.con (3): Game.setTicketLostPerMin 2 15
Engine\Io\Console.cpp(1498): Warning: Io: Error bf1942/levels/Omaha_Beach/coop.con: Unknown object or method!
Engine\Io\Console.cpp(1769): Debug: Io: CRC32: (run) SinglePlayer/SoldierSpawnTemplates
Engine\Io\Console.cpp(1769): Debug: Io: CRC32: (run) SinglePlayer/SoldierSpawns
Engine\Io\Console.cpp(1769): Debug: Io: CRC32: (run) SinglePlayer/SpawnpointManagerSettings
Engine\Io\Console.cpp(1497): Warning: Io: Error bf1942/levels/Omaha_Beach/SinglePlayer/SpawnpointManagerSettings.con (16): ------------------------------------------------------------------------------------------------
Engine\Io\Console.cpp(1498): Warning: Io: Error bf1942/levels/Omaha_Beach/SinglePlayer/SpawnpointManagerSettings.con: Wrong syntax!
Engine\Io\Console.cpp(1769): Debug: Io: CRC32: (run) SinglePlayer/ObjectSpawnTemplates
Engine\Io\Console.cpp(1769): Debug: Io: CRC32: (run) SinglePlayer/ControlPointTemplates
Engine\Io\Console.cpp(1769): Debug: Io: CRC32: (run) ai
Engine\Io\Console.cpp(1769): Debug: Io: CRC32: (run) AIPathFinding.con
AI\AIConsole.cpp(846): Warning: AI: Error while setNStarResources: No active pathfinding
AI\AIConsole.cpp(739): Warning: AI: Error: No active AI Main
AI\AIConsole.cpp(959): Warning: AI: Error while addSearchType: No active pathfinding
AI\AIConsole.cpp(979): Warning: AI: Error while setSpawnpoints: No active pathfinding
AI\AIConsole.cpp(739): Warning: AI: Error: No active AI Main
AI\AIConsole.cpp(959): Warning: AI: Error while addSearchType: No active pathfinding
AI\AIConsole.cpp(979): Warning: AI: Error while setSpawnpoints: No active pathfinding
AI\AIConsole.cpp(739): Warning: AI: Error: No active AI Main
AI\AIConsole.cpp(959): Warning: AI: Error while addSearchType: No active pathfinding
AI\AIConsole.cpp(979): Warning: AI: Error while setSpawnpoints: No active pathfinding
AI\AIConsole.cpp(999): Warning: AI: Error while setSmoothing: No active pathfinding
AI\AIConsole.cpp(739): Warning: AI: Error: No active AI Main
AI\AIConsole.cpp(959): Warning: AI: Error while addSearchType: No active pathfinding
AI\AIConsole.cpp(979): Warning: AI: Error while setSpawnpoints: No active pathfinding
AI\AIConsole.cpp(999): Warning: AI: Error while setSmoothing: No active pathfinding
AI\AIConsole.cpp(1281): Warning: AI: Error while loading maps: No active pathfinding
Engine\Io\Console.cpp(1769): Debug: Io: CRC32: (run) ai/StrategicAreas.con

Re: Can anyone tell me how to solve this AI LAN problem?

Posted: Mon Feb 10, 2014 8:48 pm
by Vilespring
Do you has debugger?
It will tell you want went wrong.

Re: Can anyone tell me how to solve this AI LAN problem?

Posted: Mon Feb 10, 2014 9:26 pm
by professor_smith
Yes, of course I have a debugger lol. Thats where the debugging errors came from, but I don't understand them. Do you? I just don't understand why my pathfinding is not active. Here is a copy of my AIpathFinding.con scripts:

rem *** pathfinding debug mode
rem game.aiPathfindingDebuggingActive 1

rem *** Set number of AStar resources ***
Ai.NumAStarResources 12

rem *** Setup map parameters ***
rem *** searchMap name/waterHeight/waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/considerAITypes
rem *** searchType name/mapNum/minSearchLevel

rem *** Tank ***
ai.addSearchMap Tank0 0 0 40 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
ai.setMapSpawnPoints 0 1032.75/1184.25
ai.setSmoothing 0 20

rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 40 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
ai.setMapSpawnPoints 1 1032.75/1184.25
ai.setSmoothing 1 10

rem *** Boat ***
ai.addSearchMap Boat2 1 8 30 125.0 0.3 2.5 0 2 5
ai.addSearchType Boat 2 2
ai.setMapSpawnPoints 2 855.821/705.578
ai.setSmoothing 2 20

rem *** LandingCraft ***
ai.addSearchMap LandingCraft3 1 1.4 30 4.0 0.3 2.5 0 2 5
ai.addSearchType LandingCraft 3 2
ai.setMapSpawnPoints 3 932.37/849.894
ai.setSmoothing 3 20

rem *** Car ***
ai.addSearchMap Car4 0 0 35 3.0 0.3 2.5 0
ai.addSearchType Car 4 0
ai.setMapSpawnPoints 4 1040/1200
ai.setSmoothing 4 6
rem ai.setMapSpawnPoints 4 1000/1000 1040/1200

rem *** Load maps ***
ai.loadMaps