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 #2823 Breakable doors causing a LE_NotFoundError
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
    General
  • 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/2823 Item 2823] imported from sourceforge.net tracker on 2013-01-28 19:50:51

Decided to make some mapping experiments and while testing breakable doors found that when a soldier walks to a destroyed door it will crash the server, it seems that the door trigger is activating despite the fact the door is already destroyed...

Attached ufoconsole.log and a possible fix for this bug
===== Comments Ported from Sourceforge =====

====== darkrainx (2011-03-07 01:12:07) ======

Trying to go through a destroyed door results in this
====== darkrainx (2011-03-07 01:13:22) ======

Posible fix
====== tlh2000 (2011-03-07 08:10:17) ======

thanks for the patch - i will check it

i think we have an edict destroy function where the trigger removal should be added.
====== darkrainx (2011-03-08 02:15:14) ======

Indeed SV_UnlinkEdict is supposed to unlink ent->child but
a) that line (129 in sv_world.c) is never reached (at least when unlink is successful) and
b) even if I move it so it actually unlinks ent->child before unlinking its parent reached the error persists

Additionally I found other related bug: if a spawnpoint (info_human_start in this case) is placed next to a door upon loading the map the server will crash - same error, it seems that Touch_DoorTrigger is called before the door LE is ready in the client, but don't know exactly what's wrong, anyway I attach a log for this later bug as well
====== darkrainx (2011-03-08 02:15:50) ======


====== tlh2000 (2011-03-09 12:29:45) ======

applied the fix to master
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