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 #3065 Unread E-Mail Item Crashes Game
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 (1)
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/3065 Item 3065] imported from sourceforge.net tracker on 2013-01-28 19:58:38

Restarted with a New Campaign.
There is a Mail message in the Mailclient System with a label "Alien Died" the Date Column is showing (null) as a date value. Attempts to read the mail crashes the game with an error - Q_strncpyz: NULL src (src/client/cgame/campaign/cp_ufopedia.c, 480)
===== Comments Ported from Sourceforge =====

====== tlh2000 (2011-10-25 06:31:13) ======

a savegame would be nice
====== tlh2000 (2011-10-25 06:31:35) ======

it's the alienbreathing mail
====== tlh2000 (2011-10-25 06:35:56) ======

i would say the whole eventmail system is not stored in a savegame - thus reloading a savegame with an eventmail should always fail (no date is set)
====== tlh2000 (2011-10-25 06:47:04) ======

collected alienbreathing - and got the mail
====== tlh2000 (2011-10-25 06:47:51) ======

i can not reproduce it, and my suspect is wrong, the date is saved as far as i can tell (at least the loading of the savegame works and it does not crash)
====== gren01 (2011-10-25 10:30:32) ======

Copy of Console Log
====== gren01 (2011-10-25 10:31:03) ======

Save-Game
====== gren01 (2011-10-25 10:33:02) ======

http://i616.photobucket.com/albums/tt248/gren_pics/UFOAI/UFOAI-Mail01.png
http://i616.photobucket.com/albums/tt248/gren_pics/UFOAI/UFOAI-Mail02.png
Links to images of error
====== tlh2000 (2011-10-25 16:10:01) ======

what about the savegame?
====== tlh2000 (2011-10-25 16:10:29) ======

ah sorry - missed it - thanks for attaching it
====== tlh2000 (2011-10-25 16:11:31) ======


====== tlh2000 (2011-10-25 16:11:40) ======


====== geever (2011-10-26 21:42:39) ======

Eventmails have their own datestring in eventMail_t so it's not enough to set the messages' date. It's not a nice code but I wont rewrite it for 2.4 - it's too much risk. The eventmail loading is fixed in a2dd0ef680762209efec09b373d5c55e9237f3f0.

-geever
====== gren01 (2011-10-28 18:39:55) ======

Tested - Thank you.
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