View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002143 | Spring engine | AI | public | 2010-09-23 18:38 | 2010-11-23 01:40 |
| Reporter | gajop | Assigned To | abma | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0002143: RAI crashes at the beginning of the game when assigned to team 1 | ||||
| Description | As said in summary, RAI crashes when testing against my AI if it's assigned to AI1, that is, team 1. It works fine if it's in team 0, AI0. It crashes somewhere after line 142 of RAI.cpp, writting "Loading Global RAI...". AI produces no logs and infolog isn't very informative. It was tested on Comet Catcher Redux and Altair Crossing. | ||||
| Additional Information | script that fails [GAME] { HostIP=; HostPort=8452; IsHost=1; MyPlayerName=gajop; ModHash=2721138577; MapHash=311717275; Mapname=Altair_Crossing-V1; GameType=Balanced Annihilation V7.15; startpostype=3; [mapoptions] { } [modoptions] { disablemapdamage=0; fixedallies=0; ghostedbuildings=1; limitdgun=0; mo_comgate=0; mo_coop=0; mo_enemywrecks=1; mo_greenfields=0; mo_noowner=0; mo_noshare=1; mo_nowrecks=0; mo_preventdraw=0; mo_progmines=0; maxspeed=30; maxunits=500; minspeed=15; startenergy=1000; startmetal=1000; deathmode=com; gamemode=0; } NumRestrictions=0; [RESTRICT] { } NumPlayers=1; NumUsers=3; [PLAYER2] { Name=gajop; CountryCode=; Spectator=1; Rank=0; IsFromDemo=0; Team=1; } [AI0] { Name=Self; ShortName=MyAI; Version=0.1; Team=0; IsFromDemo=0; Host=2; [Options] { } } [AI1] { Name=RAI; ShortName=RAI; Version=0.601; Team=1; IsFromDemo=0; Host=2; [Options] { } } [TEAM0] { TeamLeader=2; StartPosX=496; StartPosZ=1924; AllyTeam=1; RGBColor=0.976471 1 0; Side=ARM; Handicap=0; } [TEAM1] { TeamLeader=2; StartPosX=3755; StartPosZ=2037; AllyTeam=0; RGBColor=0.509804 0.498039 1; Side=ARM; Handicap=0; } [ALLYTEAM1] { NumAllies=0; } [ALLYTEAM0] { NumAllies=0; } } script that works: [GAME] { HostIP=; HostPort=8452; IsHost=1; MyPlayerName=gajop; ModHash=2721138577; MapHash=311717275; Mapname=Altair_Crossing-V1; GameType=Balanced Annihilation V7.15; startpostype=3; [mapoptions] { } [modoptions] { disablemapdamage=0; fixedallies=0; ghostedbuildings=1; limitdgun=0; mo_comgate=0; mo_coop=0; mo_enemywrecks=1; mo_greenfields=0; mo_noowner=0; mo_noshare=1; mo_nowrecks=0; mo_preventdraw=0; mo_progmines=0; maxspeed=30; maxunits=500; minspeed=15; startenergy=1000; startmetal=1000; deathmode=com; gamemode=0; } NumRestrictions=0; [RESTRICT] { } NumPlayers=1; NumUsers=3; [PLAYER2] { Name=gajop; CountryCode=; Spectator=1; Rank=0; IsFromDemo=0; Team=1; } [AI0] { Name=RAI; ShortName=RAI; Version=0.601; Team=0; IsFromDemo=0; Host=2; [Options] { } } [AI1] { Name=Self; ShortName=MyAI; Version=0.1; Team=1; IsFromDemo=0; Host=2; [Options] { } } [TEAM0] { TeamLeader=2; StartPosX=3755; StartPosZ=2037; AllyTeam=1; RGBColor=0.976471 1 0; Side=ARM; Handicap=0; } [TEAM1] { TeamLeader=2; StartPosX=496; StartPosZ=1924; AllyTeam=0; RGBColor=0.509804 0.498039 1; Side=ARM; Handicap=0; } [ALLYTEAM1] { NumAllies=0; } [ALLYTEAM0] { NumAllies=0; } } | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
on some more further inspections these crashes don't happen when playing against a human player or a C interface based AI Skirmish bots, it only seems to happen when playing against java based bots (tested it for my ai, NullJavaAI and NullOOJavaAI) |
|
|
doesn't crash in current spring (0.82.6.1), please reopen if bug persists. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-09-23 18:38 | gajop | New Issue | |
| 2010-09-23 18:38 | gajop | File Added: infolog.txt | |
| 2010-09-24 00:58 | gajop | Note Added: 0005642 | |
| 2010-11-23 01:28 | abma | Note Added: 0005960 | |
| 2010-11-23 01:28 | abma | Status | new => resolved |
| 2010-11-23 01:28 | abma | Resolution | open => fixed |
| 2010-11-23 01:28 | abma | Assigned To | => abma |
| 2010-11-23 01:40 | abma | Project | AI => Spring engine |