#exult@irc.freenode.net logs for 1 Oct 2001 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[07:21:14] <-- exultbot has left IRC (signing off...)
[07:22:26] --> exultbot has joined #exult
[12:30:07] --> Sentack has joined #Exult
[12:30:09] <-- Sentack has left #Exult
[13:29:24] --> Colourless has joined #Exult
[13:29:48] * Colourless jumps up and down, and goes crazy
[14:01:59] <Colourless> hello? is there anybody out there?
[14:10:50] --> Nadir has joined #exult
[14:11:23] <Nadir> I still don't see why you can't use usecode for the intro.
[14:12:08] <Nadir> Why not implement the sequence functions you described the other day with special intrinsics.
[14:12:38] <Nadir> Of course you'd need intrinsics to show FLICs, etc
[14:12:58] <Colourless> you could, but it would be awkward in my opinion. creating the actual usecode function to do the sequences wouldn't be that simple
[14:13:24] <Colourless> everything has to be timed exactly
[14:14:00] <Nadir> And how would you do that with a custom scripting language ?
[14:15:19] <Colourless> by simply making it timed based. you specify what you want to do at a certain time and the player will start to do it when that time is reached.
[14:15:22] <Colourless> everything just runs in order
[14:16:31] <Nadir> yes, but you could do that with usecode. Just create an array with the sequence and have a "CinematicPlay(array)" intrinsic for it
[14:17:43] <Nadir> InitCinematicSequence(arr)
[14:18:00] <Colourless> aye, but how many arrays would we need to make? how nice would the code look? how easy would it be to create and modify?
[14:19:03] <Nadir> 4 arrays: intro/ending BG/SI
[14:19:13] <Nadir> Code could be nice
[14:20:22] <Colourless> so, what would these arrays actually look like?
[14:21:16] <Colourless> i.e. i'm asking for a code example
[14:21:51] <Nadir> Well, I would just take what you already have, but "usecode it". (example coming)
[14:22:10] <Nadir> InitCinematicSequence(arr)
[14:23:30] <Nadir> SequencePaintShape(arr, shape, frame)
[14:23:42] <Nadir> SequencePlayMusic(arr,midiindex)
[14:23:58] <Nadir> SequenceDisplayText(arr,x,y,text)
[14:24:22] <Nadir> SequenceTime(50)
[14:24:24] <Nadir> etc.
[14:24:34] <Nadir> at the end, you'd do a
[14:24:40] <Nadir> PlaySequence(arr)
[14:25:05] <Nadir> s/SequenceTime(50)/SequenceTime(arr,50)/
[14:25:36] <Colourless> sure that's possible, but i prefer that the sequences remain in a text script for a cupple reasons. 1) Don't need to recompile the usecode to use. 2) I can't compile usecode
[14:25:58] <Nadir> You can't compile usecode ? Doesn't the compiler work ?
[14:26:08] <Colourless> no, I can't compile it
[14:26:11] <Colourless> the compiler that is
[14:28:00] <Nadir> Implementing it as a special script language would be ok too, I guess. I just liked the idea of "reusing" usecode. reusecode :)
[14:28:26] <Colourless> heh, funny :-)
[14:29:27] <Colourless> we could do both :-)
[14:31:26] <Nadir> That was quite quotable, actually :)
[14:32:09] <Colourless> the doing both comment was serious. the script reader/parser would most likely call functions very similaar to the ones you exampled. Each line in thte script would just be a function call obviously.
[14:33:33] <Nadir> Usecode already has features for timing, show shapes, play music, etc. It seems like a waste not to use that. Plus it would be a good test. But implementing it your way is probably easier
[14:33:53] <Nadir> Let me rewrite part of that.
[14:34:06] <Nadir> "Plus it would be a good test for the usecode tools"
[14:36:02] <Colourless> i just think using usecode would be overkill. you could do interesting stuff with it though, because you could do conditional statements, have loops, use random numbers and stuff
[14:36:40] <Nadir> exactly. I have decided your way is better
[14:37:57] * Nadir casts a vote
[14:38:34] <Nadir> :)
[14:38:49] <Nadir> when are you going to commit it then ? :)
[14:39:17] <Colourless> soonneed to work out what the exact requirements are first.
[14:39:29] <Colourless> s/soonned/soon. need
[14:39:47] <Nadir> I have a very partial "Gameplay options" menu implemented
[14:40:05] <Nadir> Two options only, atm. one active, one useless
[14:40:06] <Colourless> cool. what's in it?
[14:40:12] <Nadir> Cheating
[14:40:18] <Nadir> (that one works)
[14:40:34] <Colourless> paperdolls in BG would be good
[14:40:59] <Nadir> :) The second one is "Paperdolls in BG" (does nothing. should only appear when running BG)
[14:41:33] <Colourless> :-)
[14:41:51] <Colourless> there is a flag in gamewin that you can change to enable/disable them.
[14:42:00] <Colourless> not a flag actually, but a bool
[14:42:20] <Nadir> is there a exult.cfg setting ?
[14:42:26] <Colourless> no there isn't.
[14:42:26] <Nadir> or do I need to make one
[14:42:39] <Colourless> you'll need to make one
[14:42:50] <Nadir> What else could be a "Gameplay option" ?
[14:43:00] <Nadir> "Standard formation" ??? :)
[14:43:26] <Nadir> "Party stats" (left, center, right)
[14:43:32] <Colourless> yeah
[14:44:00] <Nadir> I also never got round to implementing the gamma sliders for the "Video Options" menu
[14:47:15] <Colourless> i wonder how many people actually use gamma control
[14:47:35] <Nadir> maybe I should just remove those and shrink the dialog
[14:48:42] <Colourless> yeah maybe. if someone wants to put them in, they can just resize the box
[15:02:58] <Nadir> indeed. Do you have a draft of required script functions ?
[15:16:02] <Nadir> gotta go
[15:16:05] <-- Nadir has left IRC (Read error to Nadir[natmi130.etnoteam.it]: Connection reset by peer)
[16:18:55] --> fingolfin has joined #exult
[16:19:16] <fingolfin> hiya
[16:19:18] <fingolfin> I am still here, for the car is not usable right now...
[16:19:20] <fingolfin> so you have to cope with me, muwahaha
[16:19:24] <Colourless> hu
[16:19:29] <Colourless> hi
[16:52:05] <-- exultbot has left IRC (signing off...)
[16:53:06] --> exultbot has joined #exult
[17:40:14] --> wjp has joined #exult
[17:40:17] <wjp> hi
[17:40:43] <Colourless> hi
[17:44:14] <fingolfin> hi
[17:52:46] <wjp> ouch... apparently people on D2 are already on clvl 97 within 23 hours of the ladder reset
[17:53:30] <Colourless> i'm not sure what to say.... impressive, or get a life?
[18:09:04] --> jameson has joined #exult
[18:09:07] <jameson> Hi!
[18:09:15] <Colourless> hi
[18:52:16] <fingolfin> hi jameson
[18:52:20] <fingolfin> wjp: ouch!
[18:52:34] <fingolfin> wjp: now that tells us something about the game balance of D2, right?
[18:55:49] <wjp> fingolfin: yeah, it does
[18:57:49] <fingolfin> lvl 99 was reached alread, btw
[18:57:55] <fingolfin> I just read it on diablo2.de
[19:02:16] --- wjp is now known as wjp|away
[19:15:54] * jameson scratches his head
[19:16:10] <jameson> OK, I could build a deb for Alpha now, compiled with Compaq's cxx...
[19:16:43] <jameson> But the package already in woody works quite well already, and comes with a Debian-ish install script for setting game directories.
[19:16:48] --> voyager_106 has joined #exult
[19:17:08] <voyager_106> hello?
[19:17:25] <jameson> Hi!
[19:17:56] <voyager_106> wow, thanks for the enthusiastic "hi" :)
[19:18:07] <jameson> What I should be would be to build an RPM. I think I'll do that.
[19:18:24] <jameson> NP, I still have enough of them...
[19:19:08] <jameson> s/should be/should try to do/
[19:19:24] <jameson> Agh, too late...
[19:19:32] <voyager_106> I've just started using exult on my Windows machine, and it works fine....
[19:19:34] --- jameson is now known as jameson-0
[19:19:40] --- jameson-0 is now known as j_
[19:19:55] <-- j_ has left IRC (Read error to j_[pD9E1C8A2.dip.t-dialin.net]: EOF from client)
[19:19:57] <voyager_106> however, when I try it on my linux machine, I don't get far at all and was wondering if someone could help me out.....
[19:20:20] --> jameson has joined #exult
[19:20:51] <jameson> Sorry, IRC client was acting up. Guess I can't use dots in nicks.
[19:21:03] <voyager_106> jameson, do you know much about the exult under linux?
[19:21:51] <jameson> Not really. I did some porting work to get it to run on Alpha (particularly with the DEC C++ compiler), but my knowledge about the internals is very limited.
[19:23:00] <jameson> (Alpha/Linux, that is.)
[19:23:07] <voyager_106> s/the exult/exult
[19:23:34] <voyager_106> well, I've tried running it under linux, and this is what I get:
[19:23:41] <voyager_106> Exult V0.94alpha5
[19:23:53] <voyager_106> Data path = /usr/local/share/exult
[19:23:57] <voyager_106> Internal cheapass forked timidity synthesiser
[19:24:01] <voyager_106> is_installed: ./blackgate/static/endgame.dat
[19:24:05] <voyager_106> is_installed: ./serpentisle/static/sispeech.spc
[19:24:09] <voyager_106> Creating new player thread
[19:24:13] <voyager_106> Fatal signal: Segmentation Fault (SDL Parachute Deployed)
[19:24:29] <voyager_106> the screen starts to come up and then dies....
[19:25:51] <jameson> Hmm... the correct way to debug this would be to run gdb on it and see where the problem occurs. However, it may be neccessary to turn off that SDL Parachute.
[19:26:37] <jameson> I'll have a look at whether this can be done after build time.
[19:27:32] <voyager_106> OK, thanks, though it's not a big deal.....
[19:28:00] <voyager_106> I was just curious
[19:30:27] <jameson> Hmm, I can't find a way to disable it.
[19:30:53] <jameson> (After build time).
[19:31:02] <jameson> Still, gdb should be able to detect it.
[19:31:15] <jameson> It's just a signal handler, after all...
[19:31:35] <voyager_106> cool, thanks. I'll give it a try....
[19:31:54] <jameson> OK. Do you know how to operate gdb?
[19:32:34] <voyager_106> I've played with it a little bit....not much, though. Unfortunately I'm not a developer :)
[19:33:04] <voyager_106> I am trying to teach myself C++, so it would be good practice
[19:33:48] <jameson> No problem- just start it with 'gdb `which exult`' (you may replace `which exult` with the full qualified name of the exult binary and should do so if it's not in your path).
[19:33:58] * fingolfin pops in
[19:34:08] <jameson> wb!
[19:34:14] <fingolfin> thx!
[19:34:37] <voyager_106> thanks for your help, jameson. I appreciate it greatly....
[19:34:46] <fingolfin> voyager_106: are you using CVS or release?
[19:35:23] <voyager_106> fingolfin: release
[19:36:26] <jameson> Once you've started it, just type 'run', unless it prints an error message.
[19:36:45] <jameson> You should then see Exult starting in the usual way, up until the point it segfaults.
[19:36:55] * fingolfin nods
[19:37:40] <voyager_106> thanks!
[19:37:51] <voyager_106> I'll give it a try tonight.....
[19:38:02] <jameson> OK, but this isn't really going to help you yet...
[19:38:31] <jameson> This will just make the program crash in a more controlled environment that has the capabilities needed for examining the causes of the problem.
[19:38:32] <voyager_106> oops....
[19:38:43] * voyager_106 got a little overzealous
[19:38:53] <jameson> At the very least, you'll need a stack trace (type 'bt').
[19:39:22] <fingolfin> and this then you can either show one of us here
[19:39:24] <jameson> This will show where in the code the problem occured, and which functions called the functions listed in the list.
[19:39:27] <fingolfin> or send to the exult-general mailing list
[19:39:50] <jameson> Exactly.
[19:40:23] <wjp|away> did you build exult yourself or did you use a binary?
[19:40:28] --- wjp|away is now known as wjp
[19:40:36] <fingolfin> wb wjp :)
[19:40:43] <Colourless> wb
[19:40:44] <wjp> thx :-)
[19:40:45] <jameson> wb!
[19:40:51] <wjp> hi
[19:40:54] <voyager_106> wjp: I used the 0.9.4 rpm
[19:41:09] <wjp> what distro do you use?
[19:41:36] <voyager_106> RH7.2 beta....
[19:42:36] <wjp> I'm not sure how much info gdb will give on that binary (since it's probably built without debugging info)
[19:42:41] * voyager_106 apologizes for not sharing this information before hand....
[19:43:02] <jameson> NP, no need to apologize
[19:43:35] <voyager_106> would building it from source work better?
[19:43:43] <wjp> yeah, it should
[19:43:55] <wjp> although it still depends on the exact cause of the crash
[19:43:55] <jameson> voyager_106 : The accuracy of the stack trace will depend on whether the program is built with debugging information or not.
[19:46:16] <voyager_106> jameson, wjp: gotcha.....
[19:47:06] <voyager_106> is there an easy way to build it with more debugging info?
[19:47:23] <wjp> ./configure --enable-debug
[19:47:27] <voyager_106> such as configure --more-debug-info or something :)
[19:47:47] <voyager_106> wjp: that works too :)
[19:48:20] --- wjp is now known as wjp|away
[19:48:24] <wjp|away> time to go again :-)
[19:48:34] * wjp|away will be back in 45-60 minutes
[19:48:36] <voyager_106> thanks wjp. good bye
[19:49:46] <voyager_106> jameson: I'll download the source tonight and build it with the debuggin information and will use gdb to get the useful information you need
[19:50:59] <jameson> Thanks! This should help us locate the problem.
[19:52:09] <jameson> s/should help us/will make it possible to/
[19:53:28] <voyager_106> well, hopefully I'll have something for y'all tomorrow. I'd love to be able to play U7 under linux....
[19:54:06] <fingolfin> actually
[19:54:27] <fingolfin> the problem might already be fixed in current CVS, you might want to consider to try that instead of the relase
[19:54:36] <fingolfin> (or maybe this was already suggested and I just missed it? :)
[19:55:58] <voyager_106> fingolfin: no, you're the first...thanks, I'll give it a try
[19:56:26] <jameson> Hmm, sorry- that should've been my first suggestion.
[19:56:58] <voyager_106> jameson: actually, *I* should've tried doing that before posting the question. My bad :)
[19:57:14] * voyager_106 is generally pretty good about making sure he has the "latest and greatest" software....
[20:00:22] <fingolfin> no worries :)
[20:01:45] <voyager_106> btw, completely OT here, but is there a project in the works to port U5 to linux?
[20:01:59] <voyager_106> *that* would be wonderful
[20:02:30] <Colourless> not as far as I know
[20:03:09] <fingolfin> lazarus?
[20:03:37] <fingolfin> look at the exult homepage, links
[20:03:39] <Colourless> you've got to be kidding
[20:03:41] <fingolfin> Ultima 5: Lazarus
[20:03:45] <fingolfin> ?
[20:03:49] <voyager_106> I was hoping Lazarus would do it, but unfortunately it depends on the Dungeon Siege game, which is from MS....
[20:03:56] <fingolfin> ah right
[20:04:02] <fingolfin> I only looked at the links page :)
[20:04:03] <voyager_106> although it's still going to be cool!
[20:04:06] <Colourless> which explains my comment :-)
[20:04:08] <fingolfin> didn't follow the link...
[20:04:23] <fingolfin> damn! this means I will not be able to play it on MacOS (X) either! damn them! :)
[20:04:33] <voyager_106> doesn't that suck?
[20:04:56] <Colourless> even though I am a windows users, i say it does
[20:05:14] * voyager_106 has a windows machine his wife uses....
[20:05:18] <voyager_106> all my others are linux
[20:05:36] <voyager_106> and I've never been able to get any of the older games to play under emulation
[20:05:38] <voyager_106> :(
[20:05:44] <fingolfin> :/
[20:06:20] * jameson finally decided to buy a new system for christmas, primarily to play games
[20:06:36] <jameson> BTW: Thanks for the powerup, fingolfin ;-)
[20:07:16] <fingolfin> :)
[20:07:20] <voyager_106> I was using my Win machine to play UO until I cancelled my subscription
[20:07:37] <jameson> Does anyone here know someone who wants to sell an Amiga 1200 for a good price?
[20:08:17] * voyager_106 shakes his head
[20:08:20] <voyager_106> sorry, jameson
[20:08:27] <voyager_106> ebay maybe?
[20:36:41] --- wjp|away is now known as wjp
[20:39:55] <wjp> voyager_106: your machine is named hythloth? :-)
[20:44:01] <voyager_106> wjp: hehe, I forgot about that :)
[20:44:12] <voyager_106> I had to move to dungeons after I ran out of villains....
[20:44:32] <voyager_106> I have astaroth, nosfentor, faulinei, mondain, minax.....
[20:45:14] <wjp> no exodus?
[20:45:29] <fingolfin> wjp: that is so common, boring
[20:45:33] <wjp> true :-)
[20:45:44] <voyager_106> thought about it, but I thought hythloth had a greater coolness factor....
[20:45:50] <wjp> it does :-)
[20:45:57] <voyager_106> plus, I was afraid someone might think my naming scheme was books of the Bible
[20:46:03] <voyager_106> (not that that's a bad thing....)
[20:58:02] <fingolfin> I should go to bed now
[20:58:09] <-- fingolfin has left IRC (good night, folks)
[20:58:09] <Colourless> ok, cya
[21:01:14] <voyager_106> thanks for the help, all! See you later!
[21:01:48] <Colourless> i think i'll be going too
[21:01:51] <-- Colourless has left IRC ([6:35])
[21:02:10] <-- voyager_106 has left IRC (Client Exiting)
[21:07:40] --> chimera|wookin has joined #exult
[21:08:26] <wjp> I have to go too
[21:08:28] <wjp> night
[21:08:33] <-- wjp has left IRC ([x]chat)
[21:08:40] <chimera|wookin> goodnight!
[22:53:01] <jameson> Good night, everyone...
[22:53:20] <-- jameson has left IRC (User abortion with 5 coathooks)
[23:15:32] --> matto has joined #exult