#exult@irc.freenode.net logs for 3 Jun 2009 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:58:08] --> azeem_ has joined #exult
[01:09:36] <-- azeem has left IRC (Read error: 101 (Network is unreachable))
[02:37:04] --> hefner has joined #exult
[02:41:53] <-- hefner has left #exult ()
[04:53:20] --> ParuNexus has joined #exult
[04:54:31] <-- ParuCodex has left IRC (Read error: 104 (Connection reset by peer))
[07:20:24] --> shazza has joined #exult
[11:30:51] --> ParuCodex has joined #exult
[11:31:28] <-- ParuNexus has left IRC (Read error: 104 (Connection reset by peer))
[11:32:13] --- azeem_ is now known as azeem
[11:34:20] --> ParuNexus has joined #exult
[11:34:20] <-- ParuCodex has left IRC (Read error: 104 (Connection reset by peer))
[12:08:34] <-- shazza has left IRC (Read error: 60 (Operation timed out))
[12:09:49] --> shazza has joined #exult
[12:20:51] <-- Sevalecan has left IRC ("Leaving")
[13:36:12] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[13:55:37] <-- ettin has left IRC (Read error: 104 (Connection reset by peer))
[14:57:19] --> Spyes has joined #exult
[14:57:33] <Spyes> hello, is anyone on? I need some help comipiling exult... :\
[14:57:57] <Spyes> I'm getting really annoying errors in util.h
[14:59:01] <wjp> hi
[14:59:04] <Spyes> hello :)
[14:59:12] <wjp> which errors and which compiler on which system?
[14:59:19] <Spyes> alright, so!
[14:59:29] <Spyes> I have gcc4(.4?) yea?
[14:59:31] <Spyes> I ran the patch
[14:59:47] <wjp> patch?
[14:59:50] <Spyes> it gave me errors earlier with this and that, so I added <cstring> and <cstdlib> to places that needed it
[14:59:59] <Spyes> yeeaa the gcc4 patch
[15:00:02] <Spyes> one sec..
[15:00:13] <Spyes> well anyways
[15:00:19] <Spyes> exult 1.2
[15:00:25] <Spyes> In file included from ucexpr.cc:33:
[15:00:25] <Spyes> ./../../files/utils.h:81: error: ‘Read2’ declared as an ‘inline’ variable
[15:00:25] <Spyes> ./../../files/utils.h:81: error: ‘uint16 Read2’ redeclared as different kind of symbol
[15:00:25] <Spyes> ./../../files/utils.h:64: error: previous declaration of ‘uint16 Read2(uint8*&)’
[15:00:25] <Spyes> ./../../files/utils.h:81: error: ‘FILE’ is not a member of ‘std’
[15:00:25] <-- Spyes has left IRC (Excess Flood)
[15:00:40] --> Spyes has joined #exult
[15:00:42] <Spyes> oops
[15:00:53] <wjp> try SVN instead of 1.2
[15:00:54] <Spyes> did you get my message with the errors?
[15:01:02] <wjp> 1.2 is rather ancient
[15:01:06] <Spyes> true...
[15:01:09] <Spyes> alright, one second..
[15:02:37] <Spyes> should libtoolize: copying file `./ltmain.sh'
[15:02:37] <Spyes> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
[15:02:37] <Spyes> libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
[15:02:37] <Spyes> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
[15:02:40] <Spyes> make any difference?
[15:03:19] <wjp> that shouldn't be fatal
[15:03:26] <Spyes> yup, didn't think so...
[15:03:30] <Spyes> well, I'm buliding right now, so far so good..
[15:03:45] <Spyes> it's just, I remember building the svn version a little while back and it giving me errors
[15:03:49] <Spyes> there we go, error time :P
[15:03:58] <Spyes> shapewrite.cc: In member function ‘void Class_data_writer<T, data>::write_data(std::ostream&, int, bool) [with T = Monster_info, T* Shape_info::* data = &Shape_info::monstinf]’:
[15:03:58] <Spyes> shapewrite.cc:871: instantiated from here
[15:03:58] <Spyes> shapewrite.cc:254: internal compiler error: Segmentation fault
[15:04:09] <wjp> ICE? cute
[15:04:50] <Spyes> I've been programming for years, and I've never in my life gotten an internet compiler error (that's what you mean by ICE ya?)
[15:04:53] <Spyes> weeeirdd hah
[15:05:00] <Spyes> internal* xD
[15:05:48] <wjp> not sure if that's easy to get around
[15:06:23] <Spyes> what's it even mean??
[15:06:58] <Spyes> googling the error right now.. let's see...
[15:07:19] <Spyes> could it be something to do with the fact that my system is 32bit?
[15:07:47] <Spyes> (Arch on i686_32, Linux kernel version 2.6)
[15:08:18] <wjp> it basically means the compiler crashed
[15:08:46] <Spyes> arrrgg :\
[15:09:03] <wjp> that sums it up well :/
[15:09:14] <Spyes> hehe
[15:09:29] <wjp> do you maybe have a less cutting-edge compiler too?
[15:09:41] <Spyes> Umm...... I don't think so...
[15:09:57] <Spyes> nahh I only have gcc4.4
[15:10:10] <wjp> living on the edge :-)
[15:10:14] <Spyes> ;))
[15:10:19] <Spyes> I'm afraid if I downgrade it'll fuck things up
[15:10:30] <Spyes> o wait
[15:10:40] <Spyes> I could just make it in some dir and run the binary without actually installing it huh?
[15:10:48] <Spyes> (a different compiler that is)
[15:12:05] <Spyes> I suppose that would work.. what version should I get?
[15:12:52] <wjp> can you try a quick change to shapes/shapewrite.cc just in case that works around the crash?
[15:13:09] <Spyes> what means you?
[15:13:27] <wjp> in shapes/shapewrite.cc change line 254 from
[15:13:31] <Spyes> o, run make in shapes?
[15:13:31] <wjp> unsigned char buf[T::get_entry_size()];
[15:13:32] <Spyes> o
[15:13:32] <wjp> to
[15:13:37] <wjp> unsigned char *buf = new unsigned char[T::get_entry_size()];
[15:13:49] <Spyes> lemme try that, uno momento...
[15:14:44] <Spyes> Oh my, I think that worked!
[15:14:54] <Spyes> *bows*
[15:15:17] <wjp> ok, great
[15:15:25] <wjp> you need one more change then to stop it from leaking memory:
[15:15:32] <wjp> change lines 262-264 from
[15:15:36] <wjp> #ifdef _MSC_VER
[15:15:36] <wjp> delete buf;
[15:15:36] <wjp> #endif
[15:15:37] <wjp> to
[15:15:40] <wjp> delete[] buf;
[15:20:46] <Spyes> Thanks, mate! :D
[15:21:01] <wjp> no problem :-)
[15:25:29] --> Spyes_ has joined #exult
[15:25:30] <-- Spyes has left IRC (Read error: 104 (Connection reset by peer))
[15:25:31] <Spyes_> woahh...
[15:25:39] <Spyes_> so before you told me about the memory leak
[15:25:43] <Spyes_> I did make
[15:25:50] <Spyes_> then it got to some file...... can't remember the name now
[15:25:54] <Spyes_> and then the system just -froze-
[15:26:20] <Spyes_> so I saw the message you sent me, but my keyboard and mouse ween't working?
[15:26:22] <Spyes_> something oddd
[15:26:35] <Spyes_> anyways, could you give me that memory leak fix one more time please..?
[15:27:10] <Spyes_> o, and when it got to that file that froze everything up, it gave some kinda error.... I seriously don't remember, but if it happens again, I'll let you know ;)
[15:27:32] <wjp> change lines 262-264 from
[15:27:36] <wjp> #ifdef _MSC_VER
[15:27:38] <wjp> delete buf;
[15:27:40] <wjp> #endif
[15:27:41] <wjp> to
[15:27:44] <wjp> delete[] buf;
[15:28:36] <Spyes_> keep the ifdef's?
[15:28:50] <Spyes_> o, obviously not xD
[15:29:02] <Spyes_> a little thinking goes a long way, I realize... :P
[15:29:13] <Spyes_> anyways, thanks again man, let's hope my syste doesn't crash again...
[15:29:36] <Spyes_> so the file was scale_hq2x that was giving me that trouble
[15:29:51] <Spyes_> and it's eaaaatinnngg up memory right now trying to build it I guess
[15:29:54] <wjp> ah, that's a rather 'heavy' file to compile
[15:29:58] <Spyes_> yaaa
[15:30:30] <Spyes_> well, I guess it's kinda my fault... I had about 10 emacs windows open, each with two frames xD
[15:30:40] <Spyes_> (working on a game actually!)
[15:31:00] <wjp> ah, cool
[15:36:17] <Spyes_> scale_hq3x is eating up ram like a fat kid and choclate cake, man... and it's taking forever. What is that file?
[15:37:48] <wjp> a graphics scaler
[15:38:29] <wjp> from what I remember, it uses templates to handle different pixel formats which blows up memory usage
[15:39:22] <Spyes_> oo yeah.... :S I mean, it's been 6-7 minutes? and it's still on that one file
[16:03:23] <Spyes_> ok seriously.. for the past 30 minutes
[16:03:26] <Spyes_> it was just on that one file
[16:03:32] <Spyes_> so I had to ^c it
[16:07:44] <Spyes_> any ideas?
[16:42:24] <Spyes_> hmm
[16:42:35] <Spyes_> still giving me In file included from ucexpr.cc:33:
[16:42:35] <Spyes_> ./../../files/utils.h:80: error: ‘Read2’ declareIn file included from ucexpr.cc:33:
[16:42:35] <Spyes_> ./../../files/utils.h:80: error: ‘Read2’ declared as an ‘inline’ variable
[16:42:35] <Spyes_> d as an ‘inline’ variable
[16:50:42] <Spyes_> anyone 'round?
[17:03:53] --> Rottingbeef has joined #exult
[17:09:55] <Spyes_> hello :)
[17:10:07] <Spyes_> could you possibly help me out with some compilation errors..?
[17:11:28] <-- Spyes_ has left IRC (Remote closed the connection)
[17:16:02] --> Spyes has joined #exult
[17:18:00] <Spyes> yes hello?
[17:21:35] <azeem> Spyes: what system are you compiling on?
[17:34:54] <Spyes> arch i686
[17:35:43] <Spyes> gcc 4.4
[17:36:57] <azeem> which operating system?
[17:38:05] <Spyes> arch linux ;)
[18:03:13] --> Fingolfin has joined #exult
[18:03:13] --- ChanServ gives channel operator status to Fingolfin
[18:04:41] <Spyes> hi fingolfin, can you please help me with some compilation erros I'm having?
[18:12:00] --> ettin has joined #exult
[18:13:02] <Spyes> ettin - can YOU help me out with some compilation errors I'm having??
[18:14:11] <azeem> maybe pastebin the error properly first
[18:14:44] <Spyes> well, first, scale_hq3x takes for-ever- to fuckin compile
[18:15:15] <azeem> maybe you can hack it out
[18:15:44] <-- Spyes has left IRC (Read error: 104 (Connection reset by peer))
[18:16:56] <ettin> compiling problems... that reminds me of the FTBFS on mips
[18:27:49] <-- Fingolfin has left IRC ()
[18:48:20] --> Fingolfin has joined #exult
[18:48:20] --- ChanServ gives channel operator status to Fingolfin
[18:50:19] --> minra has joined #exult
[19:06:12] <-- shazza has left IRC ()
[20:01:05] <-- Fingolfin has left IRC (Read error: 104 (Connection reset by peer))
[20:01:20] --> Fingolfin has joined #exult
[20:01:29] --- ChanServ gives channel operator status to Fingolfin
[20:53:01] --> Baastuul_ has joined #exult
[20:54:05] <-- Rottingbeef has left IRC (Nick collision from services.)
[20:54:08] --- Baastuul_ is now known as Rottingbeef
[21:03:50] <-- minra has left IRC (Read error: 101 (Network is unreachable))
[21:10:06] --> minra has joined #exult
[21:18:33] --> Spyes has joined #exult
[21:18:41] <Spyes> hullo everyone ;)
[21:26:13] <minra> hi
[21:30:42] --> hefner has joined #exult
[21:31:16] <hefner> does anyone else have problems with exult locking up frequently during play (seemingly in an infinite loop in Map_chunk::add_dependencies)?
[21:32:04] <Spyes> Hrmm... I don't... but I do have this really annoying problem when I try building exult :\
[21:38:58] <minra> i have seen weird pauses on old builds hefner
[21:39:09] <minra> do you run it under gdb?
[21:39:31] <hefner> this happens to me in both 1.2 and the 1.4 snapshot, and doesn't ever seem to unfreeze
[21:39:40] <Spyes> I also have a question... when I build it, I remember it gets stuck on scale_hq3x
[21:39:46] <Spyes> and eats up almost allll my memory
[21:39:51] <hefner> minra: I'm running it in gdb at the moment, but not normally.
[21:40:13] <hefner> (this is linux, x86_64, incidentally)
[21:41:32] <minra> hmm, i noticed about 600ms pauses
[21:41:54] <minra> dunno Spyes
[21:42:44] <Spyes> well, I'm rebuilding 1.2 right now...
[21:42:50] <Spyes> 1.4 always got stuck on that scale file
[21:43:00] <Spyes> one sec, I'll give you the error in a second.. sorry to bother you
[21:43:35] <Spyes> Oh, also, I ran the patch before building (the gcc4 patch)
[21:44:15] <minra> i havent built exult in 14 months
[21:44:21] <Spyes> there we go.... In file included from ucexpr.cc:33:
[21:44:21] <Spyes> ./../../files/utils.h:80: error: ‘Read2’ declared as an ‘inline’ variable
[21:44:21] <Spyes> ./../../files/utils.h:80: error: ‘uint16 Read2’ redeclared as different kind of symbol
[21:44:21] <Spyes> ./../../files/utils.h:63: error: previous declaration of ‘uint16 Read2(uint8*&)’
[21:44:21] <Spyes> ./../../files/utils.h:80: error: ‘FILE’ is not a member of ‘std’
[21:44:23] <minra> not a core dev, sorry
[21:44:32] <Spyes> o
[21:44:35] <minra> hmm
[21:44:48] <Spyes> and it goes on, yeah
[21:45:06] <Spyes> ./../../files/utils.h:80: error: ‘in’ was not declared in this scope
[21:45:06] <Spyes> ./../../files/utils.h:123: error: ‘Read2high’ declared as an ‘inline’ variable
[21:45:06] <Spyes> ./../../files/utils.h:123: error: ‘uint16 Read2high’ redeclared as different kind of symbol
[21:45:06] <Spyes> etc.
[21:45:07] <minra> i have a feeling i disabled some things that gave me troubls
[21:45:39] <Spyes> hmmm
[21:45:49] <minra> anybody interested in making the maemo (nokia n800) build/poer better?
[21:45:57] <minra> port
[21:45:57] <Fingolfin> Spyes: what compiler is that?
[21:46:01] <Spyes> gcc4.4
[21:46:10] <Fingolfin> but you use it on windows?
[21:46:20] <Spyes> nonono haha, sorry, Arch Linux on i686
[21:46:28] <Fingolfin> ok
[21:46:32] <Spyes> kernel 2.6
[21:46:44] <Fingolfin> kernel is irrelevant, the C/C++ libraries are more of interest ;)
[21:46:54] <Spyes> hehe yeah, figured :P
[21:47:11] <Spyes> still, info be info eh? ;) hehe
[21:47:25] <Spyes> but anyways.. I ran the gcc4 patch
[21:47:36] <Spyes> that basically adds <cstring> and <cstdlib> where needed
[21:47:50] <Fingolfin> I have no idea what "the gcc4 patch" is
[21:47:52] <Fingolfin> but anyway
[21:47:53] <wjp> what happens if you change all instances of std::FILE to FILE in files/utils.h ?
[21:47:56] <Fingolfin> using std::File is odd
[21:48:09] <Fingolfin> yeah, as wjp says; maybe you also need to add an #include <stdio.h>
[21:48:16] <Spyes> hrmmmm alright, one sec..
[21:48:22] <Fingolfin> wjp: gosh, do we have a code formatting convention? :)
[21:48:37] <Fingolfin> and I guess all that ALPHA_LINUX_CXX code could be killed...
[21:48:40] <wjp> Fingolfin: no, but Jeff has weird parentheses habits :-)
[21:49:13] <Fingolfin> uhhh #ifdef BUFSIZ /* Kludgy, but I don't want to include stdio.h all the time.*/
[21:49:15] <Fingolfin> wow :)
[21:49:29] <Fingolfin> why not just... include stdio.h all the time? :)
[21:49:33] <Spyes> (quick question: is exult looking for extra hands with developing? been looking for a cool open-source project to work on... I need to sharpen my skills anyways heh)
[21:49:54] <wjp> Fingolfin: especially funny given that that file includes iostream, string and cstring anyway :-)
[21:50:21] <Spyes> hehehe I was wondering about that as well :P
[21:50:54] <Fingolfin> wjp: hm, and it would still be nice to switch to a pentagram/scummvm style build system
[21:51:10] <Fingolfin> Spyes: I think all open source projects are always lookking for extra hands
[21:51:47] <Spyes> xDDD yeaaa I realized what I said was kind of... ya :P
[21:52:34] <Spyes> just.. tell ya the truth, I've never been a part of any opensource project (that I haven't started with a friend or something)
[21:52:46] <Spyes> for no reason, really.. just hasn't crossed my path hehe
[21:54:42] <wjp> we could definitely use more developers :-)
[21:54:52] <Spyes> awesome :) How do I go about joining?
[21:54:55] <Spyes> Is there some kinda ritual I have to go thru?
[21:55:02] <Spyes> Eat live slugs....?
[21:55:07] <Spyes> break glass with my mind..?
[21:55:09] <Spyes> ;)
[21:55:31] <Spyes> (by the way, thanks for the help, it's fixing the errors :D)
[21:56:09] <wjp> a good first step is often to find something you want to fix or improve, and (possibly with our help) write a patch for that
[21:56:36] <Spyes> good call
[21:56:57] <wjp> it sounds like a good first patch would be adding gcc 4.4 support :-)
[21:57:04] <Spyes> :D very true!
[21:57:19] <Spyes> alright, well I suppose I should read up on patch files
[21:57:28] <Spyes> never written one before, but there's always a first heh
[21:57:57] <Fingolfin> use "svn diff" to create a patch file easily
[21:58:19] <Spyes> oo yes, right you are
[22:01:22] <Spyes> hmm, but before I do that.. more errors hehe
[22:01:38] <Spyes> I actually remember reading that someone else had these errors somewhere... so I'll look it up..
[22:05:05] <minra> you guys missed an opportunity with the slugs
[22:07:06] * wjp carefully weighs receiving patches against seeing somebody eat live slugs
[22:07:53] <Spyes> yeaaa man
[22:08:38] <Spyes> the cool thing is, I could break a salt shaker with my mind on those slugs
[22:08:43] <Spyes> then eat them while they're sizzzzzlinnn
[22:08:54] <Spyes> anyways, I think *gasps* it finally compiled!
[22:09:15] <Spyes> I'm still skeptical and have a feeling that if I do ./exult something might blow up (physically)
[22:09:21] <Spyes> so if I'm not back in 2 minutes....
[22:11:03] <Spyes> it worked...
[22:11:06] <Spyes> o.o
[22:11:14] <wjp> excellent
[22:11:20] <Spyes> Thank you guys!! :D
[22:11:41] <Spyes> now time to configure.. then create a patch file
[22:11:50] <Spyes> actually, I think I should create the patch file first
[22:12:12] <Spyes> should I compare my files with svn diff to the files on the server?
[22:12:19] <Spyes> and store the output in a .patch file?
[22:12:33] <wjp> yes
[22:12:46] <wjp> you should also use 'svn diff -u' to make it more readable
[22:12:55] * Fingolfin commits a change to utils.h some minutes ago, btw, which might fix the issue
[22:13:06] <Fingolfin> hm, a CIA bot for exult would be nice
[22:13:13] <Fingolfin> and for pentagram ;)
[22:13:46] <wjp> hm, the last commit on pentagram was depressingly long ago :-(
[22:14:01] <Fingolfin> :/
[22:14:23] <Fingolfin> I *really* would like to see exult move to a better build system... whenever I want to make even a tiny tweak, I stumble over that...
[22:14:25] <Spyes> CIA bot..?
[22:15:22] <wjp> CIA is a bot that can report commits to SVN in here
[22:15:28] <-- Fingolfin has left IRC ()
[22:17:20] <Spyes> thru IRC?
[22:17:51] <wjp> yes
[22:18:11] <Spyes> hrmmm
[22:18:36] <Spyes> well, I've never actually coded an IRC bot, but the basic idea of it doesn't sound all-too complicated
[22:18:53] <wjp> yeah, IRC is a fairly simple protocol
[22:23:10] <Spyes> hmmm... stupid question hehe but uh.. where's the exult "data/music" directory usually located..?
[22:23:25] <Spyes> wait
[22:23:28] <Spyes> I can set that with the config file huh?
[22:25:03] <Spyes> neever minddd sorry about that
[22:28:27] <Spyes> An exception occured:
[22:28:27] <Spyes> Error opening file u7midi
[22:28:27] <Spyes> errno: 13
[22:28:27] <Spyes> Error Description: Success
[22:28:57] <-- minra has left IRC (Read error: 110 (Connection timed out))
[22:30:35] <Spyes> yaaaaaaaaa everything works great now :DDD
[22:40:08] <Spyes> hmmmm
[22:40:15] <Spyes> so I downloaded the sqsfx files
[22:40:22] <Spyes> (does anyone think the jm files are better?)
[22:40:32] <Spyes> annddd... I don't see anywhere in the cfg file a <wave>
[22:40:48] <Spyes> I suppos I have to enter it in manually?
[22:40:52] <Spyes> Ooo <waves> that might be the problem
[22:40:55] <Spyes> I did <wave> heh
[22:51:15] --> minra has joined #exult
[22:52:54] <Spyes> hmm I was just wondering, anyone have any opinions on jm soundpack vs sqs?
[22:53:42] <wjp> not really; either works fine
[22:53:51] <Spyes> alrighty :)
[22:53:52] <wjp> which sounds better is personal preference
[22:53:56] <Spyes> true
[22:54:03] <Spyes> I like Roland's so I'll stick with sq xD
[22:54:24] <Spyes> just one quick question though..
[22:54:38] <Spyes> so the config file didn't have <waves> so I added em myself, but I added them right after <blackgate>
[22:54:50] <Spyes> <config>
[22:54:50] <Spyes> <disk>
[22:54:50] <Spyes> <game>
[22:54:50] <Spyes> <blackgate>
[22:54:50] <Spyes> <waves>
[22:54:51] <Spyes> sqsfxbg.flx
[22:54:53] <Spyes> </waves>
[22:54:57] <Spyes> taht should do it ya?
[22:55:01] <wjp> yes
[22:55:05] <Spyes> or do they ahve to go specifically under <audio>?
[22:55:08] <Spyes> alrighty cool :)
[22:57:15] <Spyes> just curious if it's working though... when I start exult it prints
[22:57:16] <Spyes> Black Gate : found
[22:57:16] <Spyes> exult_bg.flx : found
[22:57:16] <Spyes> Serpent Isle : found
[22:57:16] <Spyes> exult_si.flx : found
[23:02:30] --> Marzo has joined #exult
[23:02:38] <wjp> hi Marzo
[23:02:50] <Marzo> Hi
[23:13:01] <Spyes> hrmm.. one last question hehe
[23:13:06] <Spyes> so music plays for a bit
[23:13:07] <Spyes> but then stops
[23:13:17] <Spyes> is there any way to make it continously play?
[23:13:42] <Spyes> hmm <disablepause> maybe?
[23:16:25] --> Kirben has joined #exult
[23:16:28] --- ChanServ gives channel operator status to Kirben
[23:17:39] <-- hefner has left IRC (kornbluth.freenode.net irc.freenode.net)
[23:17:56] <Spyes> o...... haha that's cause some of the sound files are just quiet or have just birds and stuff xD
[23:19:19] --> hefner has joined #exult
[23:36:38] --- Marzo is now known as Marzo_away