Share

KQ

Tracker: Bugs

5 Games crashes in Dungar's house - ID: 2796679
Last Update: Comment added ( peterhull90 )

After retrieving the Opal Helmet, Dungar and his wife invite Noslom and
Corrin for dinner. After I kill off the Assassin, I head to Dungar's room
(his wife DID scream). I walk straight up through the door and the game
crashes.


Ryan Kohn ( ryankohn ) - 2009-05-26 05:28

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 4 )

Date: 2009-06-09 20:31
Sender: peterhull90Project Admin

Applied to CVS


Date: 2009-05-30 05:43
Sender: ryankohn

Alright, I hope I did this right.

--- scripts/estate.lua 18 Nov 2007 03:54:26 -0000 1.20
+++ scripts/estate.lua 30 May 2009 05:41:24 -0000
@@ -145,7 +145,7 @@
local wife = 1

set_progress(P_TALKGELIK, 4)
- set_ent_facing(en, FACE_DOWN)
+ set_ent_facing(wife, FACE_DOWN)
bubble(wife, _"Oh $0!")
bubble(wife, _"I woke up because I thought I heard fighting in your
room.")
bubble(wife, _"When I turned to wake Dungar, I realized that he was
dead.")


Date: 2009-05-29 07:22
Sender: peterhull90Project Admin

Thanks for this bug report and for fixing it too! The best way is for you
to make a patch using cvs diff -u and post it here, then we'll apply it.

Peter


Date: 2009-05-26 06:53
Sender: ryankohn

Okay, I traced down the bug to line 148 of /scripts/estate.lua:
set_ent_facing(en, FACE_DOWN)

It's because 'en' isn't defined in this context.

I think the intention was for the value to be wife:
set_ent_facing(wife, FACE_DOWN)

I tested the change on a local copy and verified that the game no longer
crashes. How do I check these changes in?

Thanks,
Ryan


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2009-06-09 20:31 peterhull90
resolution_id None 2009-06-09 20:31 peterhull90
allow_comments 1 2009-06-09 20:31 peterhull90
close_date - 2009-06-09 20:31 peterhull90