#exult@irc.freenode.net logs for 22 Apr 2002 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[07:26:39] <wjp> hm, it's way too late again
[07:26:39] <wjp> 'night
[07:26:39] <Dominus> night
[07:26:39] <-- wjp has left IRC ("Zzzz...")
[07:26:39] <Dominus> going as well
[07:26:39] <-- Dominus has left #exult ()
[07:26:39] <-- exultbot has left IRC (signing off...)
[07:27:44] --> exultbot has joined #exult
[07:27:44] --- Topic for #exult is: Exult: an open-source engine for Ultima 7: http://exult.sf.net/
[07:27:44] --- Topic for #exult set by wjp at Tue Apr 2 07:38:10 2002
[07:46:38] --> Kirben has joined #exult
[07:46:38] --- ChanServ gives channel operator status to Kirben
[07:47:14] * Darke happybounces. exultbot is back! Oh, yeah, Hi Kirben!
[07:47:31] <Kirben> Hi
[08:05:55] --> exultbot has joined #exult
[08:05:55] --- Topic for #exult is: Exult: an open-source engine for Ultima 7: http://exult.sf.net/
[08:05:55] --- Topic for #exult set by wjp at Tue Apr 2 07:38:10 2002
[09:39:57] --> matto has joined #exult
[09:52:52] <-- Darke has left #exult ("Vendi-Vidi-Infeci")
[10:15:22] <-- matto has left IRC (Remote closed the connection)
[11:16:38] --> darke has joined #exult
[11:16:39] --- ChanServ gives channel operator status to darke
[11:28:24] <-- darke has left IRC ("BitchX: its what's for lunch")
[12:33:02] --> Darke has joined #exult
[12:33:02] --- ChanServ gives channel operator status to Darke
[12:39:13] <-- Darke has left IRC (Remote closed the connection)
[12:55:18] --> Darke has joined #exult
[12:55:18] --- ChanServ gives channel operator status to Darke
[14:06:35] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[14:43:25] --> Colourless has joined #Exult
[14:43:25] --- ChanServ gives channel operator status to Colourless
[14:47:27] <Colourless> hi
[14:49:44] <-- Darke has left IRC (Remote closed the connection)
[14:50:14] --> Darke has joined #exult
[14:50:14] --- ChanServ gives channel operator status to Darke
[14:50:20] <Darke> Hi.
[14:50:56] * Darke grumblesighs. He's installed kde3 and things are a bit of a mess...
[14:52:11] <Colourless> want to know something interesting.
[14:52:25] * Darke nods.
[14:52:29] <Colourless> i was viewing a disassembly of u8.exe and there was a function that caught my eye
[14:52:42] * Darke earperks.
[14:53:15] <Colourless> it is a function that isn't referenced by anything...
[14:53:46] <Colourless> the function has the name GetSex() and is between the GetName() and GetAvatarInStatus() functions
[14:54:09] * Darke ooohs.
[14:56:09] <Colourless> the avatar structure actually has a byte for the sex as well
[14:56:21] <Colourless> actually it's not a byte, it's a word
[14:56:39] <Colourless> the structure has 16 bytes for the name, then 2 bytes for the sex
[14:57:31] <Darke> Or maybe 16 for the name a '\0' end-of-string byte, then 1 for the sex?
[14:58:17] <Colourless> no. it's a word for sex.
[14:58:18] <Colourless> @getSex$qv proc far
[14:58:18] <Colourless> push bp
[14:58:18] <Colourless> mov bp, sp
[14:58:18] <Colourless> mov ax, word_7BF7_AD14
[14:58:18] <Colourless> pop bp
[14:58:20] <Colourless> retf
[14:58:22] <Colourless> @getSex$qv endp
[14:59:17] <Darke> Curious. I wonder why they'd allocate an entire word? Maybe a byte for the male/female flag, then a byte for what 'skin colour' you are?
[14:59:45] <Colourless> yeah, maybe
[15:00:24] <Colourless> i have a feeling though what ever it was, got removed a long time before the game was finished, and was only kept strictly for compatability.
[15:00:59] <Colourless> there 'may' have been some assumptions placed on the locations in avatar.dat for various things
[15:06:14] * Darke nods. Makes sense.
[15:07:13] <Darke> The 'obvious' way to test this, is to look at the usecode for inline he/his/him's, if they're there, then it must have been taken out early in the dev process.
[15:09:58] <Colourless> the avatars gender is assumed be male. all the usecode already has the gender specific pronouns in the conversations
[15:14:52] * Darke finds himself wondering how difficult it would be to do a search/replace on all the male pronouns and replace them with a bit of code to do a function call and remerge the strings on the stack... he thinks far too much effort.
[15:15:15] <Colourless> :-)
[15:15:55] <Colourless> it would be easier just to write a patch file and when the usecode attempts to load a string, if the right offset comes up, load the string from the patch file instead
[15:16:07] <Darke> You do know, of course, what the first two things people are going to ask us to 'extend' the engine to handle, don't you? *grin*
[15:16:15] <Colourless> :-)
[15:17:16] <Colourless> i guess we had better get wjp to censor the exultbot logs. we wouldn't want people to know we discuss things like avatar gender and crusader
[15:17:30] <Darke> Multiple party members and a selectable gendered avatar. They'll probably be a few people clamoring for multiplayer too. <grin>
[15:17:47] * Darke thinks it's tempting sometimes. <grin>
[15:18:20] <Darke> Lurkers: For the reference _no_ we have no intention of doing it. *grin*
[15:19:18] <Darke> Oooh! Kdevelop 2.1 has automatic code completion. I hope it's a little more intelligent then MS' last time I tried it.
[15:20:38] <Colourless> i seriously think, that by the end of they year if we tried hard enough, we could have a very playable ultima 8 engine running. we know a 'lot' about it, just not much is implemented at the moment
[15:21:12] <Darke> Agreed.
[15:21:43] <Colourless> though the usecode events/overloaded functions will take a while
[15:21:48] <Colourless> here is what i know
[15:22:02] <Colourless> 0 = ::Clicked()
[15:22:09] * Darke nods.
[15:22:10] <Colourless> 1 = :: DoubleClicked()
[15:22:26] <Colourless> 8 = ::UpdateSchedule()
[15:22:40] <Colourless> avtually it's more like AdvanceSchedule()
[15:22:48] <Darke> <nod> Makes sense.
[15:22:59] <Colourless> 2 = ::Animate()
[15:23:13] <Colourless> 0xF = ::Proximity Close (was off screen, now on???)
[15:23:22] <Colourless> 0x10 = ::ProximityFar (was on screen, now off???)
[15:24:40] <Colourless> that's what I know for sure. the u8usecode has more
[15:24:51] <Colourless> that's u8usecode.txt
[15:25:35] <Darke> <nod> Have you updated the file with the ones you're certain about?
[15:25:46] <Colourless> i'm about to
[15:25:55] <Colourless> i've got to commit a few things
[15:26:24] * Darke 's main system is in a rather rickity state at the moment, he's sitting on the backup whilst he's actually building it, so he can't access most of his stuff now.
[15:34:54] <Colourless> only events 5 and 7 are totally unknown now
[15:36:17] <Colourless> well, 12 and 15 aren't really known either, except only avatar has them
[15:36:49] <Colourless> then again, 15 is all the silly guardian chants that occur when saving a game
[15:37:00] <Colourless> s/chats/taunts/
[15:39:14] <Darke> I take it these were added so it distracted you from just how long it took to save the game? *grin*
[15:39:38] <Colourless> well, they occured after you finished saving :-)
[15:40:28] * Darke grins. Ahh well, what a _lost_ opportunity to make it look like the long pause whilst saving was there for a reason. <grin>
[15:46:41] <Colourless> perhaps that is what 'we' should do :-)
[15:47:39] <Darke> But that would hardly do it justice! After all, we're not doing to sit there and thrash for _nearly_ as long as u8 does! <grin, duck>
[18:58:23] --> exultbot has joined #exult
[18:58:23] --- Topic for #exult is: Exult: an open-source engine for Ultima 7: http://exult.sf.net/
[18:58:23] --- Topic for #exult set by wjp at Tue Apr 2 07:38:10 2002
[19:07:11] --> Dominus has joined #exult
[19:07:21] --- ChanServ gives channel operator status to Dominus
[19:07:25] <Dominus> hi
[19:07:31] <Colourless> hi
[19:08:21] <Dominus> look at www.sophen.de/exult an attempt to help people with usecode creation by a forum user
[19:08:32] <Dominus> named Pertex
[19:12:12] <Dominus> he asks for more information and if he should go on doing this
[19:13:43] <Colourless> well, he can just ask us whatever he wants to know
[19:15:07] <Dominus> I wrote him to come into the channel
[19:27:40] * Dominus wonders if today was one of the rare days that exultbot really missed out on interesting conversations while sleeping
[19:28:00] * Colourless scrolls up... yes... yes it did
[19:28:17] <Dominus> *sniff
[19:29:30] <Colourless> well, it depends. If are interested in u8 usecode then it would be interesting
[19:30:05] <Dominus> I think I pass unless you found some groundbreaking stuff out
[19:30:55] <Colourless> well, i made more mistakes that groundbreaking discoveries :-)
[19:31:01] <Colourless> s/that/than/
[21:06:35] <-- Fingolfin has left IRC ("42")
[22:45:57] <Colourless> time to go
[22:46:02] <-- Colourless has left IRC ("cya")
[23:17:46] <-- Dominus has left IRC ("Exult! Exult! Exult!")
[23:34:23] --> Kirben has joined #exult
[23:44:59] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))