#exult@irc.freenode.net logs for 23 May 2002 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:02:09] --> cnj has joined #exult
[01:41:46] --> Kirben has joined #exult
[01:41:46] --- ChanServ gives channel operator status to Kirben
[01:55:07] <Kirben> hmm compile error:
[01:55:08] <Kirben> g++ -O2 -Wno-long-long -fvtable-thunks -DHAVE_SNPRINTF -Dsnprintf=_snprintf -DVE
[01:55:08] <Kirben> RSION=\"0.99cvs\" -DEXULT_DATADIR=\"data\" -DDEBUG -DSIZEOF_SHORT=2 -DSIZEOF_INT
[01:55:08] <Kirben> =4 -I./imagewin -I./shapes -I./files -I./files/zip -I./gumps -I./objs -I./tools
[01:55:08] <Kirben> -I. -I./audio -I./conf -I./pathfinder -I./headers -I./usecode -I./usecode/ucxt/i
[01:55:08] <Kirben> nclude -I./usecode/compiler -I./data -I./server -I./sdl/include -DHAVE_SNPRINTF
[01:55:10] <Kirben> -DUSE_EXULTSTUDIO -DHAVE_PNG_H -I./zlib-1.1.3 -DHAVE_ZIP_SUPPORT -c -o ucmain
[01:55:12] <Kirben> .o ./usecode/compiler/ucmain.cc
[01:55:14] <Kirben> ./usecode/compiler/ucmain.cc: In function `int main(int, char **)':
[01:55:16] <Kirben> ./usecod
[01:55:20] <Kirben> ./usecode/compiler/ucmain.cc: In function `int main(int, char **)':
[01:55:22] <Kirben> ./usecode/compiler/ucmain.cc:71: implicit declaration of function `int getopt(..
[01:55:24] <Kirben> .)'
[01:55:44] <Kirben> Should I just include getopt.h ?
[01:57:54] <Darke> I think that was the temporary solution from this morning.
[01:58:50] <Darke> I think someone's going to replace it with the Args class, rather then getopt.
[02:00:15] <Kirben> ok
[03:06:06] <-- Kirben has left IRC ("System Meltdown")
[03:46:26] --> Kirben has joined #exult
[03:46:26] --- ChanServ gives channel operator status to Kirben
[04:03:53] --> Dominus has joined #exult
[04:04:08] --- ChanServ gives channel operator status to Dominus
[04:04:14] <Dominus> hi
[04:04:33] <Darke> Hi.
[04:04:55] <Dominus> anyone feel like checking a usecode script for me, why I get a parse error?
[04:05:57] <Dominus> I compiled ucc with the include getopt.h and I'm getting weird parse errors...
[04:06:23] <Darke> I'll try. Just dcc it to me? You'll have to tell me which lines the errors are on though, since I don't have a working copy of exult compiled atm. *grin*
[04:07:24] <Dominus> line 1534
[04:09:48] * Darke looks.
[04:11:49] <Darke> Try and put a set of curly braces {} around the item-> line for that else statment.
[04:13:32] <Darke> It 'looks' like that's not the problem, but I'm not sure how robust the parser is. *grin*
[04:13:56] <Dominus> hm, still there - it seems to be some problem with line endings...
[04:14:40] <Darke> At the 'answers = ["Name", "Job"]` line you're missing a semi colon on the end of it.
[04:14:48] <Dominus> having it like this {
[04:14:49] <Dominus> item->say("Hello Avatar!");
[04:14:49] <Dominus> (line 1536) }
[04:14:59] <Dominus> nope like
[04:15:08] <Dominus> {
[04:15:08] <Dominus> item->say("Hello Avatar!");
[04:15:08] <Dominus> }
[04:15:28] <Darke> *nod* That item->say line is line 1534 isn't it?
[04:15:32] <Dominus> and in between the ; and } another free line it says error on that line
[04:15:52] <Dominus> when I don't have that line it is back to the item line
[04:16:00] * Darke wonders if the line counting thing is a little wrong.
[04:16:39] <Darke> Try and add the semicolon onto the end of that line I mentioned above, it should be line 1538.
[04:17:41] <Dominus> hm got me confused now
[04:18:40] <Dominus> it looks now like this:
[04:18:42] <Dominus> {
[04:18:42] <Dominus> item->say("Hello Avatar!");
[04:18:42] <Dominus> }
[04:18:49] <Dominus> no lines in between
[04:18:55] <Dominus> weher do you want the semi?
[04:19:09] <Darke> Do the three lines below that look like this:
[04:19:10] <Darke> var answers;
[04:19:11] <Darke> answers = ["Name", "Job"]
[04:19:11] <Darke> answers = [answers, "Bye"];
[04:20:35] <Darke> Just add a semicolon onto the end of the line above, that doesn't have one.
[04:21:55] <Dominus> ok, that was that error
[04:23:23] <Dominus> got another one
[04:23:28] <Dominus> and another one...
[04:23:51] <Darke> Weird. Either my editor is being a little confused with line numbers using dos eols, or ucc has a minor problem with line counting. *grin*
[04:23:59] <Darke> Which lines?
[04:24:04] <Dominus> got it fixed
[04:24:14] * Darke ahhs.
[04:24:19] <Dominus> forgot some {} and the same case of missing ;
[04:25:27] * Darke nods.
[04:30:24] <Dominus> now it works
[04:30:40] <Dominus> Kirben: you want to see yourself on SF - Island?
[04:31:49] * Darke yays!
[04:32:19] <Dominus> oh, Darke, thx for helping me see the obvious
[04:33:24] <Dominus> Darke, exult doesn't work for you atm, right? so no use sending the patch over to you?
[04:33:34] * Darke giggles in a threating manner. "It's no problem. *smile* Soon we'll have you programming in a 'real' language and you can have fun bug hunting there..."
[04:33:49] <Darke> Yeah. I'll look at the patch then next time I get a chance. *grin*
[04:34:53] <Dominus> I wonder if I should comit it to cvs as I'm not sure if it will get in the way of changes Jeff made locally...
[04:35:53] <Dominus> btw, look at that usecode.uc and read the conversation with the latest resident of the island called BillyG
[04:36:47] <Darke> Commit the changes, cvs will normally sort things out 'properly' most times. *grin*
[05:23:53] <Dominus> ok, it's already bright light outside, time to go to bed :-)
[05:24:07] <Dominus> bye
[05:24:09] <Darke> Night! *grin*
[05:24:13] <-- Dominus has left IRC ("Exult! Exult! Exult!")
[05:28:50] <-- cnj has left IRC (Read error: 110 (Connection timed out))
[06:50:38] --> cnj has joined #exult
[08:24:24] <Kirben> I will have to island out again, how to install it ?
[08:24:39] <Kirben> I will have to try island out again, how to install it ?
[08:25:38] <Darke> Umm... include a <patch> ... </patch> section in the <blackgate> section of the config file, pointing to the directory containing the patch? That's how it was last time I used the patch. Maybe there's a readme.
[08:27:53] <Kirben> can't find any mention in docs, maybe I am looking in wrong place.
[08:30:15] <Darke> IIRC there was some sort of README in the same directory as the patch.
[08:30:39] * Darke hasn't touched the patch since it was released as a zip, back about number 3, does it show? *grin*
[08:34:24] <Kirben> no readme like that in cvs, checking out last zip verisons readme.
[08:34:42] <Kirben> island seems to work but characters are acting weird.
[08:35:18] --> Nadir has joined #exult
[08:35:18] --- ChanServ gives channel operator status to Nadir
[08:35:26] <Darke> Hi.
[08:35:58] * Darke considers that it could be that the characters are acting weird, because they're supposed to. *grin* But thinks that's _not_ the particular weirdness you're describing.
[08:36:31] <Kirben> should I be able to talk to them ? because I can't
[08:37:51] <Darke> You should be able to. Did you try to recompile the usecode.uc file? It might be missing the usecode.
[08:38:41] <Kirben> no
[08:39:37] <Nadir> hi
[08:40:22] <Nadir> I updated my Debian unstable today and got gcc 3.1
[08:40:22] <Nadir> I am now compiling Exult with it.
[08:40:22] <Darke> Ok. Try that. *grin* I'm not sure if they included a binary compiled usecode in the cvs. If they didn't, that sort of 'error' would make sense.
[08:40:27] <Nadir> only the source usecode.uc exists
[08:40:46] <Nadir> maybe add a target to the Makefile that compiles usecode.uc to usecode if ucc is built
[08:41:18] <Kirben> just use ucc usecode.uc ?
[08:42:34] <Darke> Kirben: That should work I think.
[08:42:43] <Nadir> that will produce usecode.uco
[08:42:46] <Nadir> rename that
[08:42:49] <Darke> Nadir: Cool. Luck! *grin*
[08:43:05] <Nadir> Maybe there is a switch to ucc that outputs to a specified filename
[08:43:34] <Nadir> Darke: apart from missing std goodness, it's chugging along
[08:44:01] <Nadir> we are using a deprecated header
[08:44:06] <Nadir> strstream
[08:44:13] <Nadir> we should use sstream
[08:55:29] <Nadir> compiled !
[08:56:30] <Darke> Nice!
[08:57:33] <Darke> We're using strstream in a few places since some of the compilers (gcc2.95.x?) don't have it. I've got bits of code floating around to handle swapping between sstream and strstream if sstream's not found.
[08:57:34] <Nadir> committing my changes
[08:57:50] <Nadir> my copy of 2.95.4 has it
[08:58:12] <Darke> Good. I think it was Fingolfin that was complaining, but he's upgraded his compiler since then, IIRC.
[09:08:08] <Nadir> Exult version 0.99cvs
[09:08:08] <Nadir> Built at: May 23 2002 10:50:11
[09:08:08] <Nadir> Compile-time options: HAVE_TIMIDITY_BIN, USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
[09:08:08] <Nadir> Compiler: gcc, version: 3.1 (Debian)
[09:08:08] <Nadir> Platform: Linux version 2.4.18-686
[09:09:09] <Nadir> committed
[09:23:44] <Kirben> Looks like gcc 3.1 for win32 is going to be a pain, all linked dlls need to be recompiled.
[09:24:15] <Kirben> and no -fnative-struct support anymore.
[09:43:42] --- Darke is now known as Darke|afk
[10:11:13] <Nadir> what does -fnative-struct do ?
[10:33:42] <Kirben> Just allows linking against dlls compiled with Microsoft Visual C/C++ I think.
[10:35:40] <Kirben> The glib/gtk+ win32 binaries are all msvc compiled for example.
[10:55:57] <Nadir> any explanation was given for that ?
[10:57:25] <-- cnj has left IRC (Read error: 104 (Connection reset by peer))
[11:03:30] <Kirben> from mailing list:
[11:03:31] <Kirben> -fnative-struct is not supported. Instead, the functionality has moved to a
[11:03:31] <Kirben> target-switch -mms-bitfields (and its negation -mno-ms-bitfields). The default
[11:03:31] <Kirben> is no-ms-bitfields.
[11:03:51] <Kirben> The ability to mark single structs as native layout is not yet there yet. It
[11:03:51] <Kirben> probabaly will be there next ime around.
[11:04:28] <Kirben> that is only explation of this issue given so far.
[11:22:11] <Nadir> ok
[11:22:15] <Nadir> got to go now
[11:22:16] <Nadir> bye
[11:22:19] <-- Nadir has left IRC ("Client Exiting")
[12:05:34] --> Colourless has joined #Exult
[12:05:34] --- ChanServ gives channel operator status to Colourless
[12:05:58] <Colourless> hi
[12:11:44] --> Dominus has joined #exult
[12:11:59] <Colourless> hi
[12:12:04] --- ChanServ gives channel operator status to Dominus
[12:12:10] <Dominus> hi
[12:12:12] <Dominus> Kirben: did it work now?
[12:12:20] <Kirben> yes
[12:12:22] <Dominus> (the island patch?)
[12:12:28] <Kirben> yes
[12:12:36] <Dominus> how well do you like your role in it? :-)
[12:12:58] <Kirben> Surprising but seems good.
[12:13:47] <Kirben> Church of Open Source :)
[12:14:03] <Dominus> I wanted to integrate you and also put in some of the plot, Nadir suggested ages ago about principles and such
[12:14:04] <Colourless> All follow BillyG!
[12:14:55] <Dominus> and you, Kirben, seemed to be the perfect host for that Open Church, as you provide snapshots to many open source projects...
[12:18:37] <Kirben> yep I have to admit I really do like open source projects.
[12:21:47] <Kirben> Dominus: btw what opengl headers/libs do you currently use ?
[12:22:13] <Dominus> the ones Colourless sent me
[12:22:57] <Dominus> better ask him...
[12:23:06] <Kirben> Well official mingw ones out now, http://sourceforge.net/project/showfiles.php?group_id=2435&release_id=90705
[12:24:12] <Dominus> ah, he he, just minutes ago, I got the notification from SF that there is a new mingw package :-)
[12:24:58] <Colourless> i am not entirely sure where my headers came from :-)
[12:25:18] <Colourless> possibly from MS Platform SDK
[12:26:06] <Dominus> Kirben: btw, ucc -o usecode usecode.uc creates the file usecode without the .o (I'm updating the readme of /content atm)
[12:26:10] <Kirben> MS Platform SDK header's are designed for msvc and aren't always mingw compatbile.
[12:26:24] <Kirben> ok
[12:26:37] <Colourless> OpenGL headers were made by SGI
[12:27:12] <Dominus> so Kirben, what is save to use of the recent mingw updates?
[12:28:20] <Kirben> mingw-runtime 1.x and win32api 1.x are safest ones.
[12:28:27] <Kirben> avoid gcc 3.x
[12:28:51] <Dominus> bin utils ok?
[12:29:27] <Kirben> I have not updated that in ages, should be fine though.
[12:32:21] <Dominus> one thing about those opnegl headers: Colourless sent me a glaux.h file along and that isn't in the mingw stuff. Needed?
[12:32:41] <Colourless> unlikely
[12:33:45] <Colourless> seems to be some wacky windows stuff that there isn't a chance we'd use
[12:41:31] <Dominus> I think I should stop spaming Jeff on the ML with all those feature requests for ES... :-)
[12:43:21] <Colourless> look at this great exponential curve. by this time next week, i think we'll be the most popular project on sourceforge: http://sourceforge.net/project/stats/?group_id=53819
[12:44:14] <Dominus> oh my gosh
[12:56:07] --> cnj has joined #exult
[12:57:26] <-- voyager_106 has left #exult ("Client Exiting")
[13:01:07] <Dominus> ok, got to go. see you tomorrow!
[13:01:12] <-- Dominus has left IRC ("Exult! Exult! Exult!")
[13:01:14] <Colourless> cya
[13:04:32] --> voyager_106 has joined #exult
[15:42:54] <-- Kirben has left IRC ("System Meltdown")
[16:28:16] --> wjp has joined #exult
[16:28:16] --- ChanServ gives channel operator status to wjp
[16:28:48] <wjp> hi
[16:28:55] <Colourless> hi
[17:56:07] --- Darke|afk is now known as Dakre
[17:56:11] --- Dakre is now known as Darke
[17:59:24] <Colourless> ok, i take it you just got up
[18:01:28] * Darke innocentblinkblinks. Maybe. *grin*
[18:01:36] <Colourless> 4am?
[18:02:28] <Darke> Yep.
[18:03:13] <Colourless> ok, the next question is why
[18:03:27] * Darke thinks pentagram is generating impressive stats for a project that isn't actually being 'worked' on. *grin*
[18:03:48] <Colourless> you refering to this:
[18:03:49] <Colourless> [22:13] <Colourless> look at this great exponential curve. by this time next week, i think we'll be the most popular project on sourceforge: http://sourceforge.net/project/stats/?group_id=53819
[18:04:06] <Darke> Because I only sleep for 6-8 hours and I went to sleep at about 8pm? *grin*
[18:04:24] * Darke noddles. He's looking at that now, tis the comment. *grin*
[18:05:01] <Darke> s/tis/thus/
[18:42:38] <-- cnj has left IRC (Read error: 110 (Connection timed out))
[18:50:22] --> Fingolfin has joined #exult
[18:50:34] <Darke> Hi.
[18:50:46] <Fingolfin> yo
[18:50:48] --- ChanServ gives channel operator status to Fingolfin
[18:52:33] <Colourless> hi
[20:04:03] --> cnj has joined #exult
[20:17:30] <Colourless> i think i'm going to leave a little earlier today
[20:17:35] <Colourless> time for me to depart
[20:17:55] <-- Colourless has left IRC ("cya")
[22:27:59] <-- Fingolfin has left IRC ("42")
[23:52:13] * wjp has to go too
[23:52:16] <wjp> bye
[23:52:18] <-- wjp has left IRC ("Zzzz...")