Menu

#127 Killed by villagers but health does not decrease

open
nobody
None
5
2007-11-27
2007-11-27
Anonymous
No

When playing the game online (version 0.335) ( http://tyrant.sourceforge.net/play.html ) I created a character of type "Hawken", then "War-Mage" and entered my name "Scott". When the game started I moved the character left towards the first door then opened it. I then went back out of the room and down towards "rochy" the farmer. I then decided to kick rotchy then continue on to kill him (by just moving into him) before picking up any items he dropped. Then when moving up towards the room with the door you opened the villagers attack you. I found on every occasion that when a villager had slain my character, the health meter was not at zero as I expect it aught to be.

Thanks

Scott s0674960@sms.ed.ac.uk

Discussion

  • Nobody/Anonymous

     
  • Andrew

    Andrew - 2008-03-15

    Logged In: YES
    user_id=867384
    Originator: NO

    What's happening here is that the hero is dying before the first quest is completed (ie- visit a town).

    So, this means that any time the hero dies before visiting a town, this error will occur.

    More specifically, when the hero dies, its place field is set to null. If this first quest is still active, then there is a test to see if this quest has been completed (which actually happens after every action). Since the hero's map is null, there is a null pointer exception thrown.

    I will submit a patch to fix this.

     

Log in to post a comment.