#nuvie@irc.freenode.net logs for 30 Aug 2012 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage

[00:11:33] --> Kirben has joined #nuvie
[04:59:53] <CIA-91> nuvie: 03malignantmanor * r1556 10/nuvie/trunk/ (6 files in 3 dirs):
[04:59:53] <CIA-91> nuvie: * Randomly generate the frame for dead bodies that are blood
[04:59:53] <CIA-91> nuvie: * Fix crash from passing a null obj pointer to can_drop_obj.
[07:51:17] <CIA-91> nuvie: 03malignantmanor * r1557 10/nuvie/trunk/ (5 files in 3 dirs):
[07:51:17] <CIA-91> nuvie: * Fix name displayed by shrines and statues actors
[07:51:17] <CIA-91> nuvie: * Allow book of circles to be read
[09:06:24] --> Dominus1 has joined #nuvie
[09:09:51] <-- Dominus has left IRC (Ping timeout: 240 seconds)
[09:42:20] --- Dominus1 is now known as Dominus
[13:16:06] <-- Kirben has left IRC ()
[14:14:39] <-- Dominus has left IRC (Read error: Connection reset by peer)
[14:14:51] --> Dominus has joined #nuvie
[15:02:37] <-- SHODAN has left IRC (Remote host closed the connection)
[15:04:30] --> SHODAN has joined #nuvie
[15:36:43] <-- SHODAN has left IRC (*.net *.split)
[15:40:28] --> SHODAN has joined #nuvie
[21:24:22] --> Yuv422 has joined #nuvie
[21:50:38] --> Malignant_Manor has joined #nuvie
[21:50:50] <Malignant_Manor> I beat Ultima 6 with Nuvie.
[21:51:05] <Yuv422> Awesome!!
[21:51:12] <Yuv422> congrats!
[21:51:43] <Yuv422> that's great news
[21:51:46] <Malignant_Manor> Did you see the log the other day where the npc schedule updating change doesn't seem to work?
[21:52:04] <Yuv422> no
[21:52:09] <Yuv422> what was the problem?
[21:52:23] <Dominus> great, thanks for playing it through
[21:52:27] <Malignant_Manor> It just didn't seem to do anything.
[21:53:03] <Malignant_Manor> Neither walking nor teleporting had the npc at the proper location.
[21:53:09] <Yuv422> do you have a save where their is a problem?
[21:53:13] <Yuv422> there
[21:53:48] <Malignant_Manor> I think I have one where you can walk to the mint and it should be about time for Terri to show.
[21:54:10] <Yuv422> terri was the npc I was using in my test. :-)
[21:54:29] <Yuv422> I was checking the time
[21:54:37] <Yuv422> then doing an alt-300
[21:54:41] <Yuv422> and looking at her
[21:55:00] <Yuv422> and checking her next schedule and current location from the console output
[22:01:47] <Malignant_Manor> That save. she should be at the bar not the inn.
[22:02:23] <Yuv422> *2: location=0x181,0x19a,0x0 time=12:00 day=0 worktype=0x92(Sit)*
[22:02:35] <Yuv422> it looks ok to me based on her schedule
[22:02:38] <Malignant_Manor> Teleport to her.
[22:02:44] <Malignant_Manor> She will be in bed.
[22:03:08] <Malignant_Manor> That's what happens for me anyway.
[22:03:09] <Yuv422> she's at the correct location for me
[22:03:24] <Yuv422> sitting at the table having some food
[22:03:56] <Yuv422> have you taken and recompiled my schedule changes?
[22:04:22] <Malignant_Manor> I think I did do a make clean.
[22:04:27] <Malignant_Manor> I'll try again.
[22:04:31] <Yuv422> I did walk to the mint first
[22:05:22] <Yuv422> your right she's at the totally wrong location when you first start that save
[22:05:53] <Yuv422> that would be because she never teleports to her correct location if she was off screen
[22:05:56] <Yuv422> with the old code
[22:06:15] <Yuv422> with the new code she will teleport but only on the hour change
[22:06:28] <Yuv422> because the engine assumes she is in the right location on start
[22:06:41] <Malignant_Manor> But the hour does change.
[22:06:58] <Malignant_Manor> It changes while walking to the location.
[22:07:34] <Malignant_Manor> It's the hour change where her schedule changes too.
[22:08:57] <Yuv422> It is working for me
[22:09:36] <Yuv422> I loaded your save and walked straight to the tavern and she was sitting at the table
[22:12:38] <Malignant_Manor> It doesn't work with a fresh compile.
[22:13:08] <Yuv422> is it past 12:00
[22:13:29] <Malignant_Manor> When I get there, yes.
[22:14:17] <Yuv422> wait!!
[22:14:23] <Yuv422> I forgot to commit a file.
[22:14:30] <Yuv422> Doh!
[22:14:32] <Malignant_Manor> Okay, that will do it.
[22:14:38] <Malignant_Manor> Lua file?
[22:14:44] <Yuv422> yeah
[22:14:47] <Yuv422> Sorry
[22:15:36] <Malignant_Manor> I was just going to ask if your working copy could be different.
[22:15:49] <Yuv422> hehe yeah ;-)
[22:20:02] <CIA-91> nuvie: 03efry * r1558 10/nuvie/trunk/ (ChangeLog data/scripts/u6/actor.lua): * Added missing code for schedule fix from r1550
[22:20:42] <Yuv422> ok that should be fixed now
[22:20:47] <Yuv422> for real this time.
[22:23:27] <Malignant_Manor> Yeah, she's at the tavern.
[22:33:28] <Malignant_Manor> Weird the the musician couple north of that save are staying in bed with worktype sleep but no schedule selected. They should both be awake at the music place.
[22:33:47] <Yuv422> hmm
[22:33:59] <Malignant_Manor> Is there code that restricts immobile npcs?
[22:34:28] <Yuv422> quite possibly
[22:37:08] <Malignant_Manor> They're fine once they go back to sleep schedule and it changes again.
[22:37:35] <Yuv422> what's the npc number?
[22:40:08] <Yuv422> the schedule change code looks like it would be ok for sleeping actors
[22:40:23] <Yuv422> they should change to walk to location
[22:40:47] <Yuv422> maybe it isn't unsetting the sleep flag correctly
[22:40:48] <Malignant_Manor> 11 and 12
[22:43:48] <Yuv422> yeah there is some problem with their schedule selection
[22:48:56] <Yuv422> ok I think I've found it
[22:49:50] <Yuv422> sched_pos is 0 on startup which is the same schedule for these actors
[22:49:57] <Yuv422> which means they don't change schedule
[22:50:07] <Yuv422> so they are stuck in sleep mode
[22:50:15] <Yuv422> when they should be changed to schedule 0
[22:50:31] <Malignant_Manor> Terri didn't show up at the mint when I waited there. When I walked offscreen and back she was there.
[22:50:55] <Yuv422> yeah she won't teleport if the location is on screen
[22:52:03] <Yuv422> I think the issue with 11 and 12 is a side effect of the broken teleport logic
[22:52:12] <Yuv422> a new game wouldn't have this problem
[22:53:06] <Malignant_Manor> I guess having the npc teleport just off screen and walk isn't implemented.
[22:57:16] <Yuv422> yeah
[22:57:25] <Yuv422> I don't think the original did that either
[22:57:31] <Yuv422> but it would be a nice to have
[22:58:06] <Yuv422> you'd need to do a reverse pathfind from the target
[22:58:36] <Yuv422> I've got to go now
[22:58:57] <Yuv422> cya
[22:59:13] <-- Yuv422 has left IRC (Quit: Yuv422)
[23:12:20] <-- Malignant_Manor has left IRC (Quit: ChatZilla [Firefox 15.0/20120824154833])
[23:50:55] --> Kirben has joined #nuvie