#exult@irc.freenode.net logs for 9 Dec 2000 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage

[01:49:37] <Kefka> ?seen fingoldin
[01:49:40] <Kefka> ?seen fingolfin
[01:49:44] <Kefka> ?help
[01:50:03] <Kefka> ?exultbot
[01:50:03] <exultbot> Exultbot is written in Perl by Willem Jan Palenstijn.
[01:50:30] <chimera|work> wjp wrote exultbot, eh?
[01:50:38] <Kefka> yeah
[02:11:24] <-- Kirben has left IRC (System Meltdown)
[02:15:07] --> Kirben has joined #exult
[05:07:33] <Kefka> anyone around?
[08:04:35] <-- Kirben has left IRC (barnes.openprojects.net king.openprojects.net)
[08:04:41] --> Kirben has joined #exult
[11:35:35] --> Fingolfin has joined #exult
[11:35:50] <Fingolfin> ?log
[11:35:50] <exultbot> Logs are available at http://www.math.leidenuniv.nl/~wpalenst/exultlog.php3
[11:36:16] <Fingolfin> ?seen wjp
[11:36:20] <Fingolfin> ?help
[11:39:30] <Fingolfin> ?wjp
[11:39:35] <Fingolfin> ?fingolfin
[11:39:39] <Fingolfin> ?homepage
[11:39:49] <Fingolfin> ?url
[11:39:49] <exultbot> The official Exult homepage is at: http://exult.sourceforge.net/
[11:41:19] <Fingolfin> ?ultima
[11:41:27] <Fingolfin> ?exult
[11:41:27] <exultbot> Exult is a project to create an Ultima 7 game engine that runs on modern operating systems, capable of using the data and graphics files that come with the game. See http://exult.sourceforge.net/ for more information.
[11:47:57] <-- Fingolfin has left IRC (42)
[12:45:59] <-- Kirben has left IRC (System Meltdown)
[12:57:51] --> wjp has joined #exult
[13:25:56] --> Nadir has joined #exult
[13:30:03] <wjp> hi
[13:30:25] <Nadir> hi wjp
[13:30:59] <wjp> oooh... lots of updates :-)
[13:31:15] <wjp> "CLEANFILES"?
[13:31:15] <Nadir> not really...
[13:31:53] <Nadir> Yeah I hate all those *~ files that editors leave around. Make clean now nukes them
[13:32:04] <wjp> ah, ok
[13:32:36] * wjp re-configures
[14:11:47] <Nadir> wjp, I see someone has assigned the "plasma" cloud behind the Guardian to you...
[14:12:08] <wjp> hmmm...
[14:12:11] <wjp> I see...
[14:12:20] <wjp> you want it? :-)
[14:13:15] <Nadir> Well, I looked for some "plasma" code which could generate a nice 16-colour cloud, so we could colour-cycle it...
[14:13:44] <wjp> sounds good
[14:15:05] <wjp> that's what I was thinking
[14:21:32] --> Fingolfin has joined #exult
[14:21:39] <wjp> hi
[14:21:43] <Fingolfin> hi
[14:22:03] <Fingolfin> ?seen wjp
[14:22:08] <Fingolfin> <g>
[14:22:39] <wjp> :-)
[14:24:09] --- Fingolfin is now known as Fingolfin|late_lunch
[14:25:17] <Nadir> seen wjp ? what's that ?
[14:25:28] <wjp> a feature I should add to exultbot :-)
[14:30:11] <Nadir> ?seen Nadir
[14:30:21] <Nadir> and what should it do ?
[14:30:41] <wjp> say when it has last seen somebody
[14:31:40] <Nadir> ah
[14:37:55] --- wjp is now known as wjp|later_lunch
[14:37:57] <wjp|later_lunch> :-)
[14:39:57] --- wjp|later_lunch is now known as wjp
[14:40:02] * wjp is having lunch right here
[14:46:18] <Nadir> don't mess up your keyboard with crumbs and coke
[14:46:22] <wjp> :-)
[14:46:24] <wjp> I won't :-)
[15:03:13] <-- Nadir has left IRC ([x]chat)
[15:04:58] <-- Fingolfin|late_lunch has left IRC (42)
[17:16:59] --> Nadir has joined #exult
[17:17:04] <Nadir> back !
[17:20:20] <wjp> wb
[17:39:07] <Nadir> Committing some stuff
[18:00:27] <Nadir> going...
[18:00:30] <-- Nadir has left IRC ([x]chat)
[21:04:32] --> Fingolfin has joined #exult
[21:04:36] <Fingolfin> hiya
[21:04:40] <Fingolfin> wjp: you there?
[21:04:42] <wjp> hi
[21:04:45] <wjp> sort of :-)
[21:06:22] <Fingolfin> hm, I was wondering about the slimes bug, I finally have some time ;)
[21:06:29] <Fingolfin> slimes should reproduce, IIRC
[21:06:37] <wjp> yes
[21:06:44] <Fingolfin> can't verify it w/o being able to run the original, though...
[21:06:45] <Fingolfin> hm
[21:06:50] <wjp> same here :-(
[21:10:02] <Fingolfin> hm :/
[21:10:03] <Fingolfin> well
[21:10:16] <Fingolfin> I guess I need to dive into usecode to fix this one
[21:10:22] <wjp> they definitely reproduce, but I'm not sure how
[21:10:32] <wjp> I don't think it's really usecode-related
[21:10:38] <Fingolfin> I wonder whether slimes reproduction is hard coded or usecode dr
[21:10:41] <Fingolfin> yeah
[21:10:42] <Fingolfin> ;)
[21:10:46] <wjp> right :-)
[21:11:37] <Fingolfin> I really need to see this in the original I think... the slimes are also drawn incorrectly, which at least partly is due to the missing reproduction I think
[21:11:56] <wjp> yes, the frames you see are the 'connected-to-another-slime' frames
[21:13:24] <Fingolfin> yup
[21:30:50] --- Fingolfin is now known as Fingolfin|brb
[21:30:54] <Fingolfin|brb> bb in 15 mins
[21:50:00] --- Fingolfin|brb is now known as Fingolfin
[21:50:01] <Fingolfin> b
[21:50:08] <wjp> wb
[21:50:14] <Fingolfin> thnx
[21:51:18] <wjp> do you know Babylon 5?
[21:52:42] <Fingolfin> sure I do ;) I watched a lot of it
[21:52:47] <wjp> I'm playing Exile 3 and just entered a town in which all the NPCs have names from Bablyon 5 ;-)
[21:53:04] <wjp> Delenn, Voldo, Ivanova...
[21:53:08] <wjp> probably more :-)
[21:53:09] <Fingolfin> hehe ;) yes, I think I remember that ;)
[21:53:14] * Fingolfin is a big exilt fan
[21:53:20] <Fingolfin> s/exilt/exile
[21:53:31] * Fingolfin wonders if exilt is a cross between exult and exile ;)
[21:53:32] <wjp> just started playing nr. 3 a few days ago
[21:53:36] <wjp> lol
[21:53:50] <wjp> haven't played the other 2
[21:53:50] <Fingolfin> have you tried avernum? that is a remake of exile 1... it is *great*!
[21:54:00] <Fingolfin> I reged it, and will get Avernum 2 when it is out
[21:54:03] <Fingolfin> ah
[21:54:10] <Fingolfin> well, you should try avernum then
[21:54:36] <wjp> Exile 3 is pretty big
[21:54:50] <wjp> this is just the SW version, and I haven't even seen everything yet
[21:55:54] <Fingolfin> yeah ;)
[21:56:03] <wjp> G'Kar...
[21:58:03] * wjp enters the Golddale mines. (authorized miners only) :-)
[21:58:36] <Fingolfin> when you are in a dark cave: should the file gump really be so dark? i.e. you barely can recognize the buttons
[21:58:41] <Fingolfin> <G>
[21:58:58] <wjp> hmmm... I think the entire screen brightens when you go into gump mode
[21:59:00] <wjp> not sure though
[21:59:33] <wjp> "The walls were clearly built for one purpose: to help defend against attackers. For example, you."
[21:59:39] <wjp> Those comments are really great ;-)
[22:02:13] * Fingolfin notices "slimes" have an unusal flags field value of 534 - maybe this is related to breeding?
[22:02:17] <Fingolfin> wjp: they are ;)
[22:02:27] <Fingolfin> I know why I actually bought Avernum
[22:02:38] <Fingolfin> I could have got myself a cracked key, but I prefered to pay for it
[22:03:24] <wjp> ummm.. 534?
[22:04:14] <Fingolfin> yeah ;)
[22:04:22] <Kefka> Hi
[22:04:24] * wjp waits...
[22:04:28] <wjp> hi Kefka
[22:04:40] <Fingolfin> this is 0x216
[22:04:44] <Fingolfin> hi kefka
[22:04:55] * wjp waits some more... :-)
[22:05:05] <wjp> which is the unusual bit?
[22:05:13] <Kefka> i was just reading what you guys have been talking about
[22:05:20] <Kefka> were the exile games BBS doors?
[22:05:34] <Fingolfin> wjp:. uhhmmmm sorry? I guess I miss something
[22:05:52] <wjp> no, I'm probably missing something
[22:06:10] <wjp> I know absolutely nothing about flags values
[22:06:12] <Fingolfin> wjp: monster_actors have a flag field
[22:07:10] <wjp> ok, and slimes are the only ones with 0x216?
[22:07:17] <Fingolfin> wjp: 0x216 = binary 1000010110 => starting from the right: bits 1, 2, 4, 9
[22:07:22] <Fingolfin> and
[22:07:41] <Fingolfin> this means: swim, walk, unknown, slow
[22:07:50] <Fingolfin> at least there is nothing defined for bit 4
[22:07:52] <wjp> 'unknown'... right :-)
[22:07:55] <Fingolfin> enum Flags {
[22:07:55] <Fingolfin> fly = 0,
[22:07:55] <Fingolfin> swim = 1,
[22:07:55] <Fingolfin> walk = 2,
[22:07:55] <Fingolfin> ethereal = 3, // Can walk through walls.
[22:07:56] <Fingolfin> // 5: gazer, hook only.
[22:07:58] <Fingolfin> magic_only = 7, // Can only be hurt by magic weapons.
[22:08:00] <Fingolfin> // 8: bat only.
[22:08:02] <wjp> any other monsters have this bit set?
[22:08:02] <Fingolfin> slow = 9 // E.g., slime, corpser.
[22:08:04] <Fingolfin> // 10: skeleton only.
[22:08:06] <Fingolfin> };
[22:08:09] <Fingolfin> I will check that now
[22:14:45] <Fingolfin> several have it: bird, bat, corpse, ethereal monster, gazer, ghost, gremlin... propably more
[22:14:51] <Fingolfin> hmm
[22:14:56] <wjp> weird
[22:14:57] <Fingolfin> so it is not breeding I guess
[22:15:04] <Fingolfin> but what is it, anyway?
[22:15:16] <wjp> 'special'
[22:15:19] <wjp> ?
[22:15:32] <wjp> ie. there's some special behaviour defined elsewhere?
[22:16:09] <wjp> gremlin has special behaviour, bird too I think (not attackable)
[22:19:36] <-- Fingolfin has left IRC (Ping timeout for Fingolfin[pD9504FA8.dip.t-dialin.net])
[22:24:49] --> Fingolfin has joined #exult
[22:25:00] <Fingolfin> crash
[22:25:01] <Fingolfin> ?log
[22:25:01] <exultbot> Logs are available at http://www.math.leidenuniv.nl/~wpalenst/exultlog.php3
[22:25:51] <Fingolfin> wjp: you could be right about special behaviour...
[22:26:05] <Fingolfin> I think we still have some unknown bytes in there ;)
[22:26:21] <wjp> yay :-)
[22:26:33] <Fingolfin> and I definitly know now that the hard exult crashes I experience from time to time are related to the audio system
[22:26:40] <Fingolfin> it crashes inside of fill_audio
[22:26:52] <Fingolfin> but only when the game just starts (i.e. journey onwards)
[22:27:10] <wjp> I have the sound disabled atm
[22:27:18] <Fingolfin> I guess some race condition, as it never happens when I step through the code in the debugger, but then this could be by coincidence
[22:27:21] <wjp> all those bugs were driving me slightly nuts
[22:29:09] * wjp tosses a few fireballs at some slith
[22:29:57] <Fingolfin> well, I have all sound disabled, I think
[22:30:15] <Fingolfin> at least I set speech/music/effects to "enabled->no"
[22:30:29] <Fingolfin> still it calls fill_audio... hrm
[22:30:40] * Fingolfin sets a break point and runs
[22:33:40] <-- Fingolfin has left IRC (Ping timeout for Fingolfin[p3EE22510.dip.t-dialin.net])
[22:35:23] --> Fingolfin has joined #exult
[22:35:26] <Fingolfin> ouch
[22:35:33] <Fingolfin> that was mean
[22:35:52] * Fingolfin notes down: "never put a breakpoint into fill_audio"
[22:36:00] <wjp> ??
[22:36:02] <wjp> what happened?
[22:37:59] <Fingolfin> freeze when I hit the brpoint
[22:38:17] <Fingolfin> I guess this is because the code is called during interrupt time or though... just a guess, though
[22:38:26] <wjp> weird
[22:38:33] <Fingolfin> maybe this is also causing the "normal" freeze I experience sometimes
[22:38:49] <wjp> sounds likely
[22:57:03] <Fingolfin> ok, now I am sure. fill_audio is a callback func, and in the mac implementation of SDL, it is called during interrupt time
[22:57:38] <Fingolfin> but during interupt time, there are several OS funcs you may *not* call (including a lot of memory manager funcs)
[22:58:06] <wjp> uh oh
[22:58:40] <Fingolfin> which sounds as if I had to rewrite that code big parts :(
[22:58:43] <Fingolfin> well
[22:58:52] <Fingolfin> stack based memory alloc should be OK...
[22:59:02] <Fingolfin> I will need to find out what exactly is "evil" and what not
[22:59:48] * wjp is ambushed by 30-40 goblins (no problem) and 10 ursagi (problem)
[23:00:52] <Fingolfin> LOL
[23:01:15] <wjp> 8...
[23:01:57] <wjp> 7
[23:03:09] <Fingolfin> all calls to operator new are potentially crashing me
[23:03:23] <Fingolfin> but luckily I can convert several of them to be stack based
[23:04:29] <wjp> enough of them?
[23:04:46] <Fingolfin> can you take a look at compress_audio_sample? it seems to start with a "return;" thus doing nothing
[23:04:49] <Fingolfin> dunno yet
[23:05:05] <wjp> probably a not-yet-implemented function
[23:05:50] <wjp> which file?
[23:07:13] <wjp> nm, got it
[23:07:13] <wjp> yup, it starts with a return
[23:07:13] <wjp> weird
[23:10:19] --> Kirben has joined #exult
[23:10:33] <wjp> oops... it's past midnight already
[23:10:41] <wjp> hey Travis
[23:10:53] * wjp has to get up around 7:30 again
[23:10:57] <wjp> bah
[23:11:06] <Fingolfin> wjp: why?
[23:11:15] <Fingolfin> wjp: I mean, why do you have to get up that early?
[23:11:21] <Fingolfin> hi travis
[23:11:22] <wjp> I have a meeting
[23:11:34] <wjp> "you need to be registered to enter"
[23:11:37] <wjp> grrrr
[23:12:17] <Fingolfin> LOL
[23:12:26] <wjp> a meeting of an organization called "vierkant" (=square) which aims to make maths more popular for children
[23:12:27] <Fingolfin> exile is fun ;)
[23:12:49] <wjp> yes it is :-)
[23:15:07] <wjp> "you need to be registered to enter" again...
[23:15:19] <wjp> I guess this is kind of supposed to be the end of the demo
[23:15:21] * wjp sighs
[23:15:39] <Fingolfin> wjp: well... you ought to register!
[23:15:58] <Fingolfin> "maths more popular for children" sounds good!
[23:16:07] * Fingolfin retro-thwaps wjp
[23:16:12] <wjp> ouch :-)
[23:16:27] <wjp> what for?
[23:16:41] <Fingolfin> wjp: that was for laughin about the bad pun from jameson one or two days ago when I was not looking ,)
[23:16:51] <Fingolfin> the one about "our 1st degree CS students"
[23:16:51] <wjp> lol
[23:17:00] <wjp> yes, I remember :-)
[23:18:24] <wjp> ooooh... 9 gremlins packed together in a 3x3 square.... FIREBALL! ;-)
[23:18:44] <Fingolfin> LOL yeah these are nice (fireballs I mean)
[23:18:49] <Fingolfin> hm
[23:18:55] <Fingolfin> MIxer.cc:
[23:18:56] <Fingolfin> (**it)->end_consumption();
[23:18:56] <Fingolfin> audio_streams.erase(*it);
[23:19:01] <Fingolfin> line 172
[23:19:03] <Fingolfin> BUT
[23:19:14] <Fingolfin> end_consumption() could call "delete this"
[23:19:23] <Fingolfin> <sigh>
[23:19:36] <Fingolfin> now, is this a potential trouble point or not? I am not sure...
[23:19:45] <Fingolfin> this code is really ... interesting
[23:19:45] <wjp> hmmm
[23:19:54] * wjp isn't really sure either
[23:20:20] <Fingolfin> it is ok
[23:20:29] <Fingolfin> I mixed something up
[23:20:37] <Fingolfin> th erase is on a vector of iterators..
[23:20:42] <Fingolfin> wierd code, as i said
[23:20:44] <wjp> oh, ok
[23:21:02] <Fingolfin> it is really bad practise to store iterators... but well, it works it seems ;)
[23:23:40] <Fingolfin> ugh
[23:27:51] <Fingolfin> I wonder why it allocates a buffer each during each loop iteration, the frees it - only to allocate an identical buffer in the next iteration
[23:28:00] <Fingolfin> wasteful
[23:28:02] <wjp> :-)
[23:28:07] <wjp> not the most efficient way, no
[23:28:16] <wjp> anyway, I should go to bed
[23:28:20] <wjp> bye
[23:28:24] <Fingolfin> cya
[23:28:32] <-- wjp has left IRC ([x]chat)
[23:34:27] <-- Fingolfin has left IRC (Ping timeout for Fingolfin[p3EE03DC7.dip.t-dialin.net])
[23:49:23] <-- Kirben has left IRC (Read error to Kirben[co3007967-a.brasd1.vic.optushome.com.au]: Connection reset by peer)
[23:54:31] --> Kirben has joined #exult