#nuvie@irc.freenode.net logs for 6 Jul 2003 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[01:23:01] --> Kirben has joined #nuvie
[08:00:57] --> yuv422 has joined #nuvie
[09:15:06] --> animeloe has joined #nuvie
[09:15:10] --- animeloe is now known as Eclair
[09:44:29] --> wjp has joined #nuvie
[09:44:35] <yuv422> hi wjp
[09:45:40] <wjp> hi
[09:46:03] <yuv422> MD and SE are segfaulting. :(
[09:46:30] <yuv422> and my memory profiler isn't seeing the problem. :(
[09:46:55] <wjp> want me to take a shot?
[09:47:03] <yuv422> sure. :)
[09:47:28] <yuv422> I've fixed two bugs while trying to find it
[09:47:33] <yuv422> let me commit them first
[09:50:04] <yuv422> ok those fixes are in cvs now
[09:55:07] <yuv422> ah fixed it :)
[09:55:11] <yuv422> silly me
[09:55:26] <yuv422> it was a problem with NuvieIOFileRead
[09:58:03] <yuv422> Argh! gcc 3.3 has a new c++ name mangler and now my method names are garbage in MallocDebug. :(
[10:02:15] <wjp> hm :/
[10:04:01] <yuv422> it's hard to track memory leaks from methods called ZhzZm. ;)
[10:04:19] <wjp> :-)
[10:06:50] <yuv422> ah the fun part... removing fixed bug entries from sourceforge. :)
[12:14:40] --> SB-X has joined #nuvie
[12:14:49] <yuv422> hi SB-X
[12:14:54] <SB-X> hi
[12:15:16] <yuv422> you're on late, or early!?
[12:15:50] <SB-X> i don't know
[12:15:56] <SB-X> early
[12:16:11] <yuv422> I'm just trying to find if U6 stores some info to say an NPC is changing schedules
[12:16:39] <SB-X> besides the schedule? what for?
[12:16:56] <SB-X> like moving between schedule points?
[12:17:06] <yuv422> yes
[12:17:21] <yuv422> how do we know that an NPC is moving between points?
[12:17:49] --> Pieter_ has joined #nuvie
[12:18:03] <yuv422> hi Pieter
[12:18:09] <Pieter_> hi.
[12:20:21] <SB-X> If the game is saved when they are moving, then they will be at the new location when reloaded.
[12:20:49] <yuv422> that's what I thought but no
[12:20:58] <yuv422> they are in the same location.
[12:20:59] <SB-X> really?
[12:21:03] <yuv422> yup
[12:21:24] <yuv422> and on reload they try to pathfind to their new location.
[12:22:09] <SB-X> oh then their map location takes precedence over their schedule position
[12:22:46] <yuv422> but how do they know they need to pathfind to their new location?
[12:23:28] <yuv422> hmm
[12:23:32] <Pieter_> maybe tehy just figure that they're not in the right location (yet) and starrt walking?
[12:23:34] <yuv422> have a look at 0x11f0
[12:23:40] <yuv422> in objlist
[12:24:00] <yuv422> but some schedules have the npc wandering around
[12:24:13] <yuv422> I saved the game with LB very near his bed.
[12:25:11] <yuv422> the 0x100 bytes from 0x11f0 look like they could be worktype codes?!
[12:25:15] <yuv422> what do you think?
[12:25:35] <SB-X> but mine start with 00 00 02 01 01 01
[12:25:46] <yuv422> then what?
[12:25:51] <SB-X> those are party members?
[12:25:53] <SB-X> then
[12:25:58] <SB-X> 9288 8a8d 9a91 9592 9290
[12:26:07] <yuv422> the next byte changed from 84 to 91
[12:26:20] <yuv422> when LB went to sleep on my two saves
[12:26:40] <yuv422> 92 is work stay still
[12:26:47] <yuv422> is LB at dinner?
[12:26:50] <yuv422> or on the throne?
[12:27:12] <yuv422> let me guess
[12:27:17] <yuv422> on the throne?
[12:27:50] <yuv422> maybe 0x84 is a temp schedule for walking between schedule locations?? :)
[12:27:53] <yuv422> what do you think?
[12:28:39] <yuv422> here's my data at 0x11f0
[12:28:46] <yuv422> 00 00 02 01 01 01 91 91 91 80 9A 90 80 80 80 90
[12:29:16] <yuv422> this is what it looks like when LB is walking to bed.
[12:29:27] <yuv422> 00 00 02 01 01 01 84 91 91 80 83 90 80 80 80 90
[12:30:42] <SB-X> what if you set them to that
[12:30:44] <SB-X> from the cheat screen
[12:31:02] <yuv422> set their work type?
[12:31:07] <SB-X> or even in the objlist file
[12:31:09] <SB-X> yes
[12:31:51] <yuv422> I'm just going to change the 84 to 91
[12:32:03] <yuv422> and see if anything happens to LB
[12:32:14] <SB-X> hopefully he wont turn into a bed
[12:32:33] <yuv422> that's what we do want, right?
[12:33:04] <SB-X> oh then lets hope for the best
[12:33:05] <SB-X> heh
[12:33:28] <yuv422> he's frozen on the spot.
[12:33:47] <yuv422> I can still talk to him
[12:33:56] <yuv422> and he is standing
[12:34:08] <yuv422> but he's not moving to the bed
[12:34:41] <yuv422> that must be their current worktype when the game is saved.
[12:35:09] <SB-X> and when they reach schedule dest. it changes to the worktype for the time
[12:35:26] <yuv422> huh?
[12:35:29] <SB-X> and when they reach schedule dest. it changes to the worktype for the time
[12:35:47] <yuv422> ah yeah
[12:35:52] <SB-X> 0x84 would be walk to schedule
[12:35:59] <yuv422> yes
[12:36:36] <yuv422> hmm
[12:36:42] <yuv422> I wonder what 80 is
[12:36:45] <yuv422> or 83?
[12:37:42] <yuv422> hmm
[12:37:53] <yuv422> 80 he stands still and we get no responce
[12:38:37] <SB-X> so it doesn't automatically restart them to schedule when you reload :(
[12:38:58] <SB-X> must be something else in the file
[12:40:19] <yuv422> hmm he moves to the bed with 83 as well
[12:41:19] <yuv422> looks like that block starts at 0x11f1 and goes for 0x100 bytes
[12:42:27] <SB-X> NuvieIO needs cstdio
[12:42:41] <yuv422> ah k
[12:42:56] <yuv422> it does seem to load the schedule
[12:43:04] <yuv422> I just set LB to 8f wander around
[12:43:16] <yuv422> and that's what he's doing. :)
[12:43:54] <SB-X> what if you change it back to 84
[12:44:00] <SB-X> does he go to bed?
[12:44:23] <SB-X> (unless too much time has passed and the next schedule started already)
[12:46:37] --> armchair_avatar has joined #nuvie
[12:47:15] <armchair_avatar> found a small bug in U6Lzw.cpp
[12:47:48] <armchair_avatar> in line 243, it returns NULL, even though the return type is bool
[12:49:13] <yuv422> hi armchair_avatar.
[12:49:23] <yuv422> ah k
[12:49:31] <yuv422> I'll fix that now
[12:49:41] <SB-X> it also returns unsigned char * at the end
[12:49:52] <SB-X> thought we fixed something like that a while back
[12:51:25] <yuv422> the Lzw support was put in quickly
[12:52:08] <yuv422> I was eager to see results at that stage. ;)
[12:54:47] <yuv422> have the lzw patents expired now?
[12:55:08] <wjp> the US patent has expired, yes
[12:55:15] <wjp> not sure about those from other countries
[12:55:19] <armchair_avatar> the Unisys patent has expired in the USA, but not in other countries
[12:55:38] <armchair_avatar> IBM also has a patent on LZW, but I don't know when that's going to expire
[12:57:24] <yuv422> so I guess it's still not save to use gifs then.
[12:57:54] <armchair_avatar> why would you want to?
[12:58:01] <armchair_avatar> PNG is so much better
[12:58:41] <yuv422> yes. most of the graphics on the nuvie webpage are pngs
[12:59:06] <armchair_avatar> btw, have you read this article:
[12:59:10] <armchair_avatar> http://developers.slashdot.org/article.pl?sid=03/07/02/1817220&mode=thread&tid=185
[12:59:41] * yuv422 looks now.
[13:02:08] <yuv422> I've been thinking about adding more progress reports to the webpage
[13:02:42] <yuv422> I guess to outsiders the project doesn't look very active
[13:02:51] <yuv422> if they just surf through the main page.
[13:10:02] * yuv422 wonders if he should rewrite Nuvie in Python? ;)
[13:11:41] <armchair_avatar> omg
[13:11:46] <armchair_avatar> or java
[13:12:08] <yuv422> hmm how about php!? ;)
[13:13:26] * yuv422 would like to write it in Objective C but then it would probably only run on OS X. :(
[13:17:36] * yuv422 writes 0x11f1 in the objlist.txt file
[13:17:49] <yuv422> another 0x100 bytes now accounted for
[13:18:03] <SB-X> what do you call that field?
[13:18:08] <SB-X> Worktypes?
[13:18:14] <yuv422> current worktype
[13:18:18] <SB-X> ok
[13:22:39] <yuv422> any idea what the data at 0x10f1 could be?
[13:23:13] <yuv422> looks like the max value is 5
[13:23:26] <yuv422> avatar and party are 0
[13:23:32] <yuv422> LB is 5
[13:24:15] <yuv422> temp npcs don't appear to have any value in this section.
[13:28:26] <SB-X> which one is LB?
[13:28:52] <yuv422> at 0x10f6
[13:29:04] <yuv422> I'm guessing but I'm pretty sure that's LB
[13:30:18] <SB-X> that is 00 on mine
[13:30:31] <yuv422> hmm
[13:30:38] <yuv422> how does your data look
[13:30:38] <SB-X> ths first non-00 is 01 at 0x10f9
[13:31:02] <yuv422> interesting
[13:31:04] <SB-X> 00 0000 0000 0000 0001 0104 0000 0002
[13:31:22] <yuv422> 00 00 00 00 00 05 04 05 02 05 03 02 02 02 02
[13:31:45] <yuv422> 00 0000 0000 0504 0502 0503 0202 0202
[13:33:25] <yuv422> there is about 0x800 bytes of unknown data left in objlist
[13:39:13] <armchair_avatar> have you emailed any of the original programmers?
[13:56:13] <yuv422> hmm sourceforge's cvs server doesn't want to go. :(
[13:58:16] <yuv422> ah there it goes
[13:59:00] <yuv422> time for bed.
[14:00:09] <yuv422> cya
[14:00:10] <-- yuv422 has left IRC ("BitchX Lite I said!")
[14:16:39] <-- armchair_avatar has left IRC ("Client Exiting")
[15:29:13] <-- Pieter_ has left IRC ("[BX] Silly wabbit, BitchX is for kids!")
[15:35:49] <-- Kirben has left IRC (Read error: 54 (Connection reset by peer))
[15:43:40] <-- SB-X has left IRC (Remote closed the connection)
[21:01:46] <-- wjp has left IRC ("Zzzz...")
[21:11:26] <-- kefka has left IRC ("Client exiting")
[21:12:24] --> kefka has joined #nuvie