UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2749 no available alien equipment for mission
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Campaign
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    5. Important
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2749 Item 2749] imported from sourceforge.net tracker on 2013-01-28 19:47:16

On standard difficulty level I get

ERROR: CP_SetAlienEquipmentByInterest: no available alien equipment for mission 'cat1_interest24_3'

on the first mission (shot down scout).

date is about 2084-03-29 09:17

# debug_missionlist
mission: 'cat1_interest24_3'
...category 1. 'Recon Mission' -- stage 14. 'Leaving earth'
...mapDef: 'ufocrash'
...location: 'A Közép-keleti Szövetség'
...start (day = 760745, sec = 72918), ends (day = 760754, sec = 20666)
...pos (-23.50, 21.04)(assigned Pos) -- mission on Geoscape
...UFO: craft_ufo_scout (4/5)

# debug_interestlist
Overall interest: 28
Individual interest:
...0. None -- 0
...1. Recon Mission -- 9
...2. Terror mission -- 0
...3. Base attack -- 0
...4. Building Base or Subverting Government -- 0
...5. Supply base -- 0
...6. XVI propagation -- 0
...7. Interception -- 0
...8. Harvest -- 8
...9. Alien base discovered -- 0
...10. Rescue mission -- 0

-geever
===== Comments Ported from Sourceforge =====

====== tlh2000 (2010-12-29 18:14:35) ======

looks like the alienTeamCategory_t is created with an empty linked list for the equipment. this should not happen. we need error handling earlier here to nail it down
====== tlh2000 (2010-12-29 18:18:53) ======

a44da28f2b35d1a5514347f281130beb975fdbe8 adds some sanity check at parsing stage - looks like this is no empty list.
====== tlh2000 (2010-12-29 18:21:18) ======

so it must really be related to the interest values - i never really understood this equipment interest stuff. is it somehow possible to add a unittest for this stuff to check that every potential mission has at least one valid equipdef?
====== geever (2010-12-31 16:19:35) ======

Someone blindly replaced strncmp-s with Q_streq calls which caused this failure.

In alientype_missions.ufo the alienteam/equipment records don't fully match with equipment records of equipment_missions.ufo, they are only prefixes! only Q_strstart check can be done!

the someone missed testing his changes in game!!

-geever
====== sf-robot (2011-01-14 16:20:04) ======

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif