#nuvie@irc.freenode.net logs for 3 May 2003 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[01:06:04] --> Yuv422 has joined #nuvie
[01:31:00] <-- Yuv422 has left IRC (brunner.freenode.net irc.freenode.net)
[01:34:04] --> Kirben has joined #nuvie
[01:38:00] <-- wjp has left IRC ("Zzzz...")
[05:26:55] * Eclair is away: MANGA TIME!!!
[05:30:45] --> Yuv422 has joined #nuvie
[06:48:37] --> sbx has joined #nuvie
[06:48:56] <Yuv422> hi sbx
[06:49:03] <sbx> hi
[06:50:23] <Yuv422> was a pink glow 'invisible'?
[06:50:45] <sbx> no that was blue glow i think
[06:50:59] <Yuv422> can you remember what pink was?
[06:51:17] <sbx> no
[06:51:20] <sbx> how did you find it?
[06:51:23] <Yuv422> you flash blue when putting on a storm cloak
[06:51:39] <Yuv422> playing around with NPC status flags
[06:51:58] <Yuv422> bit 0
[06:52:09] <Yuv422> npcs starting at 0x800
[06:52:24] <Yuv422> 0x801 for avatar
[06:52:42] <Yuv422> bit 3 is poisoned
[06:53:00] <sbx> ooh
[06:53:04] <sbx> i shouldve thought of that
[06:53:09] <sbx> did you play with the ones at 14f1?
[06:53:17] <Yuv422> not yet
[06:53:27] <Yuv422> I did find wind direction though :)
[06:53:33] <Yuv422> not that we need that yet.
[06:54:24] <sbx> how did you find that one?
[06:54:44] <sbx> did you just guess at first that 1bfa was wind direction?
[06:54:59] <Yuv422> lots of trial and error
[06:55:14] <Yuv422> it was hard to tell at first because Clear is ff
[06:55:19] <Yuv422> I was looking for 0
[06:55:27] <Yuv422> but I found it in the end
[06:56:09] <Yuv422> this page has lots of u6 game related observations. http://www.btinternet.com/~lilith.kaos/games/ultima6.html
[06:56:22] <sbx> is that new?
[06:56:36] <Yuv422> it's a walk thorugh
[06:56:41] <Yuv422> not a tech doc
[06:56:53] <Yuv422> but it lists karma and exp levels etc
[06:57:21] <Yuv422> it might be usefull when we need to implement these things ourselves.
[06:59:24] <Yuv422> can scripts alter karma?
[06:59:30] <Yuv422> I guess they would need to.
[07:00:19] <sbx> yeah
[07:02:37] <sbx> you can even give the party members horses in scripts
[07:03:09] <Yuv422> is that used anyware apart from the cheat menu?
[07:05:03] <sbx> horse dealers
[07:05:09] <sbx> hmm dealers
[07:05:13] <sbx> whatever they are called
[07:05:28] * Yuv422 slaps himself, of course.
[07:12:25] <Yuv422> I'm just working on GameClock
[07:12:52] <Yuv422> what timeofday descriptions do you need?
[07:14:42] <Yuv422> ah found it
[07:14:54] <Yuv422> morning, afternoon, evening
[07:16:29] <sbx> do you know the times that return each string?
[07:17:38] <Yuv422> no
[07:18:13] <Yuv422> just need to know when evening starts and stops.
[07:23:30] <Yuv422> hour < 12 morning, hour >= 12 && hour <= 18 afternoon, else evening?
[07:24:12] <Yuv422> at a guess
[07:24:21] <sbx> i havnt checked how u6 does it
[07:25:55] <sbx> lol
[07:26:01] <sbx> just playing the original in dosbox
[07:26:06] <sbx> i forgot i changed a conversation or two
[07:26:14] <Yuv422> hehe
[07:26:25] <sbx> i just noticed a guard's strange conversation
[07:26:42] <sbx> radically different from the original
[07:37:59] <Yuv422> straight 30 day months?
[07:41:27] <sbx> i dont even know if i played it one month game time
[07:42:44] <Yuv422> that's only 172,800 moves. :)
[07:42:58] <Yuv422> if you play day and night that is. ;)
[07:44:21] <sbx> oh thats easy then!
[07:44:40] <sbx> but i dont feel like checking it now :)
[07:44:48] <Yuv422> np
[07:45:03] <Yuv422> well leave it at 30 day months till someone complains. :)
[07:45:08] <Yuv422> we'll
[07:45:55] <sbx> sounds good
[08:47:33] <sbx> well i came in here too late
[08:47:35] <sbx> gotta go already
[08:47:36] <sbx> cya
[08:47:40] <Yuv422> cya
[08:47:51] <Yuv422> gameclock nearly finished now :)
[08:48:04] <sbx> :)
[08:48:05] <-- sbx has left IRC ("X-Chat [1.6.4]")
[11:05:58] <-- Kirben has left IRC (Excess Flood)
[11:06:05] --> Kirben has joined #nuvie
[11:08:59] --> vividos has joined #nuvie
[11:09:09] <vividos> hi
[11:09:14] <Yuv422> hi
[11:09:29] <Yuv422> How's things?
[11:09:41] <Yuv422> that MD screenshot looked nice! :)
[11:10:39] <vividos> yes, but it was quite a hack :)
[11:10:52] <Yuv422> I can imagine
[11:11:06] <vividos> I have some code to commit that I wanted to talk with you about first
[11:11:19] <Yuv422> fire away
[11:11:50] <vividos> first I added support for uncompressed lzw files in U6Lzw. a first step in supporting MD :)
[11:12:13] <Yuv422> when you say uncompressed what do you mean exactly?
[11:12:22] <Yuv422> is there a lzw style header?
[11:12:40] <vividos> files that don't have these 0x100 bytes at offset 4 (?)
[11:13:25] <vividos> the check is_valid_lzw_file() does return false for these
[11:14:37] <Yuv422> so U6Lzw handles these files ok now?
[11:15:06] <vividos> when I commit the changes, yes
[11:15:40] <vividos> when we have an uncompressed file, the contents start at offset 8 of the file
[11:16:51] <Yuv422> so U6Lzw will return the data as if it were coming from a compressed file.
[11:17:44] <vividos> yes
[11:18:39] <Yuv422> does collision detection work?
[11:18:57] <vividos> in MD? yes
[11:19:11] <Yuv422> room blacking?
[11:19:31] <Yuv422> doors probably don't work
[11:20:09] <vividos> room blacking does work, doors not
[11:20:37] <Yuv422> we'll need to workout the object code numbers for doors etc.
[11:20:39] <vividos> the mars channels always change between empty and full :)
[11:21:02] <vividos> in U6 conversations are done on the right message scroll, right?
[11:21:03] <Yuv422> hmm any thoughts on why?
[11:21:14] <Yuv422> yes
[11:21:52] <vividos> hmm don't know, I just changed some file names :)
[11:22:24] <vividos> MD in fact has quite some differences comparing to U6
[11:22:37] <Yuv422> I'll have to install MD on my win32 machine so I can copy the data files over
[11:22:59] <Yuv422> I've got the original 3.5" disk version.
[11:23:15] <vividos> cool :)
[11:23:18] <Yuv422> hopefully it installs on XP. ;)
[11:23:35] <vividos> I even had problems to install UW2 on Win98 :)
[11:23:44] <Yuv422> :(
[11:23:57] <vividos> committed that patch, just have a look at it
[11:24:02] <Yuv422> I guess these are the reasons for the remakes. ;)
[11:24:05] <Yuv422> righto
[11:24:42] <Yuv422> let me just fix my cvs copy first.
[11:24:45] <Yuv422> one sec
[11:25:32] <Yuv422> I'm just adding a game clock
[11:25:37] <Yuv422> and player karma
[11:26:34] <vividos> too late :-)
[11:26:43] <Yuv422> ?
[11:26:50] <vividos> I only changed U6Lzw.cpp
[11:27:14] <vividos> never mind :)
[11:27:29] <Yuv422> :) checking out files now
[11:27:38] <vividos> the problem with UW2 was that it expected the install files on a path like D:\ or so
[11:28:36] <Yuv422> CD install?
[11:29:09] <vividos> I copied the files to HD so that I don't have to mess with disks all the time
[11:30:48] <Yuv422> that patch looks ok
[11:30:51] <Yuv422> I guess we'd never expect a genuine bad lzw file. :)
[11:31:08] <vividos> only through file correction perhaps
[11:32:09] <Yuv422> did you see that ladders are now working :)
[11:32:46] <vividos> couldn't test yet
[11:38:31] <Yuv422> and probably a gamebehaviour class to handle more general game related differences
[11:41:30] <vividos> another fix I have is related to Look.cpp
[11:41:44] <Yuv422> what does it fix?
[11:41:53] <vividos> memory leaks
[11:42:03] <vividos> there is a string array with 2048 entries, each for one object
[11:42:13] <Yuv422> ah.. pesky memory leaks.
[11:42:37] <Yuv422> are you freeing them or have or changed the logic?
[11:42:41] <vividos> some pointers are shared between objects, which makes deallocation impossible
[11:43:03] <vividos> my current solution strdup()'s the strings
[11:43:24] <Yuv422> ah yes I see what you mean
[11:43:38] <vividos> another solution could be a "pool" of unique "char*" strings that have to be freed afterwards
[11:43:59] <Yuv422> I didn't know about strdup when I wrote Look.cpp
[11:44:57] <vividos> a third possibility would be not to dup strings, but to store the whole buffer somewhere and just have char* pointer that point into that buffer
[11:45:19] <Yuv422> that's an idea
[11:46:52] <vividos> when I understood the code correctly, the look_data is the buffer we need and it contains all strings, right?
[11:47:17] <Yuv422> yes
[11:47:54] <Yuv422> so you'd just need char *look_ptrs[2048]; or some such
[11:48:13] <vividos> yes
[11:48:16] <vividos> or const char* 's
[11:48:57] <Yuv422> I really wasn't thinking of memory deallocation when I was writing that code, was I? ;)
[11:50:27] <vividos> :)
[11:50:37] <Yuv422> wait we can just use look_tbl
[11:50:43] <vividos> just found another code bit to commit that frees the schedule stuff
[11:50:45] <vividos> yes :)
[11:51:26] <Yuv422> commit away. ;)
[11:51:58] <vividos> ok
[11:52:11] <vividos> ladder changing works, but the ladder is drawn over the avatar :)
[11:52:44] <Yuv422> surface ladders?
[11:52:56] <vividos> no, in the dungeons
[11:53:11] <Yuv422> ladders going back up to the surface?
[11:53:25] <Yuv422> they should be above the avatar
[11:53:32] <vividos> "Look-Thou dost see 5 campfire"
[11:53:36] <Yuv422> as they are fixed to the roof of the dungeon. ;)
[11:53:52] <Yuv422> yes some look issues remain. ;)
[11:54:14] <vividos> currently I'm in a dungeon beyond LB's castle
[11:55:55] <Yuv422> let me check ladders in the original
[11:56:19] <vividos> have to go offline again then. I'll do the changes in Look.cpp
[11:56:26] <Yuv422> righto
[11:56:32] <Yuv422> thanks vividos
[11:59:32] <vividos> 'till then
[11:59:45] <-- vividos has left IRC ("http://uwadv.sourceforge.net/")
[12:03:00] --> wjp has joined #nuvie
[12:03:56] <Yuv422> hi wjp
[12:04:14] <wjp> hi
[12:04:55] <Yuv422> just working on the GameClock
[12:05:16] <Yuv422> so we can have actors cycle through their schedules
[13:07:53] <-- wjp has left IRC ("brb")
[13:40:26] --> wjp has joined #nuvie
[13:40:44] <Yuv422> schedules are sort of working now
[13:40:50] <wjp> cool :-)
[13:41:09] <Yuv422> but actors teleport when changing positions
[13:41:13] <wjp> btw, did people continue walking while you were trying to select someone to talk to?
[13:41:18] <wjp> (in the original, I mean)
[13:41:29] <wjp> rather annoying, IMHO :-)
[13:41:32] <Yuv422> no
[13:41:45] <Yuv422> they won't in nuvie either.. in time ;)
[13:41:54] <Yuv422> well actually no one is walking ATm
[13:41:59] <Yuv422> while I add schedules
[13:42:08] <wjp> ok, as long as it wasn't intentional :-)
[13:42:16] <wjp> also, the rotating ankh cursor seems to overlap the last character you type in the message scroll
[13:42:32] <Yuv422> yes that's on my todo list. :)
[13:43:00] <Yuv422> I'm going to talk some time fixing up the structure to handle scheds better
[13:43:14] <Yuv422> then add some worktype support
[13:43:18] <Yuv422> maybe chairs too
[13:44:21] <Yuv422> I think I need an "advance 1 hour" button :)
[13:44:38] <Yuv422> at the moment I'm just rushing around with the avatar.
[13:45:01] <Yuv422> at 4 moves a minute, it is a rather slow way of testing. :)
[13:45:20] <wjp> :-)
[14:06:45] <Yuv422> chairs are working now :)
[14:07:19] <Yuv422> LB's throne probably isn't working. let me check
[14:14:03] <Yuv422> Yay LB is sitting down properly for his lunch!
[14:14:12] <Yuv422> no more standing on the chairs
[14:14:21] <wjp> :-)
[14:14:23] <wjp> nice
[14:19:41] <Yuv422> I need a faster obj check/retrieval routine
[14:19:58] <Yuv422> I'm checking for objects allover the place now and it's quite a slow process. :(
[14:20:12] <Yuv422> maybe an array of object indicators
[14:29:46] <Yuv422> Yay! Actors now handle the time of day correctly. :)
[14:34:16] <-- Yuv422 has left IRC (brunner.freenode.net irc.freenode.net)
[14:37:34] --> Yuv422 has joined #nuvie
[14:37:35] <-- Yuv422 has left IRC (brunner.freenode.net irc.freenode.net)
[14:37:35] --> Yuv422 has joined #nuvie
[14:40:41] <Yuv422> all those changes are in CVS now.
[14:54:11] <Yuv422> time for bed
[14:54:11] <Yuv422> cya
[14:54:11] <-- Yuv422 has left IRC ("[BX] Occifer, I'm not as think as you stoned I am!")
[15:00:17] * Eclair is back (gone 09:33:19)
[15:00:30] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[16:28:15] * Eclair is away: doing work
[17:08:42] * Eclair is back (gone 00:40:27)
[23:19:25] <-- wjp has left IRC ("Zzzz...")