#exult@irc.freenode.net logs for 28 Jul 2001 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:11:02] <-- Fingolfin has left IRC (Client Exiting)
[00:25:51] --> Kirben has joined #exult
[00:28:20] --> Kirben2 has joined #exult
[00:28:20] <-- Kirben has left IRC (Read error to Kirben[co3007967-a.brasd1.vic.optushome.com.au]: Connection reset by peer)
[00:45:08] <-- Kirben2 has left IRC (Read error to Kirben2[co3007967-a.brasd1.vic.optushome.com.au]: Connection reset by peer)
[00:58:51] --> Kirben has joined #exult
[01:04:55] --> matt0 has joined #exult
[05:15:28] --> matt0_ has joined #exult
[05:15:28] <-- matt0 has left IRC (Read error to matt0[1667079149-yippy.dsl.xmission.com]: Connection reset by peer)
[07:03:46] --> A3D has joined #exult
[07:26:40] <-- A3D has left IRC (Ping timeout for A3D[co3007967-a.brasd1.vic.optushome.com.au])
[07:27:21] --> A3D has joined #exult
[08:10:38] --> A3D2 has joined #exult
[08:11:05] <-- A3D has left IRC (Read error to A3D[co3007967-a.brasd1.vic.optushome.com.au]: Connection reset by peer)
[08:11:15] --- A3D2 is now known as A3D
[08:11:29] <-- chimera|wookin has left IRC (Ping timeout for chimera|wookin[holladay.cb-travel.com])
[08:11:40] --> chimera|wookin has joined #exult
[08:12:37] --- matt0_ is now known as matt0
[08:36:21] <-- A3D has left IRC (Kirben)
[08:55:32] --> A3D has joined #exult
[08:56:29] <-- A3D has left #exult (Left all channels)
[08:56:40] --> A3D has joined #exult
[09:59:31] <-- A3D has left IRC (Kirben)
[10:13:05] --- ChanServ has changed the topic to: Exult, the open source Ultima 7 and U7 part 2 engine
[10:23:45] --> fingolfin has joined #exult
[10:28:25] <Kirben> Hi fingolfin
[10:29:04] <fingolfin> hi
[10:29:09] <Kirben> Would help if you could add time to snapshot files on Exult site too if possible.
[10:29:44] <Kirben> Since I sometimes update a couple of times daily, users won't see the difference.
[10:30:54] <fingolfin> ok
[10:30:57] <fingolfin> hmmm
[10:31:07] <fingolfin> it shouldnīt consume too much space, though...
[10:35:43] <Kirben> The files ? or php ?
[10:36:37] <matt0> either of you guys had experience building shared libraries?
[10:36:55] <Kirben> no
[10:36:59] <fingolfin> matt0: erhm, depends
[10:37:04] <fingolfin> matt0: what is the problem?
[10:37:25] <fingolfin> Kirben: I mean the page layout; adding times adds horizontal space
[10:38:23] <matt0> fingolfin: ok I wrote this shared lib (.so) ... and with a small test program, it works perfectly. But when I try to link it to my bigger program, it says all of my function labels are undefined.
[10:38:54] <Kirben> ok, maybe reduce it to hour only ?
[10:39:32] <fingolfin> http://fingolfin.dnsalias.net/~maxhorn/exult/download.php
[10:39:40] <fingolfin> Kirben: seconds are not needed, i scrap those now
[10:40:09] <fingolfin> Kirben: maybe some additional formatting? make suggestions if you want ;)
[10:40:14] <fingolfin> matt0: hm
[10:40:37] <fingolfin> in your bigger program, you are sure you properly link against your .so?
[10:40:57] <fingolfin> matt0: what is the linking line for your small programm, and for your big program?
[10:41:00] <matt0> I believe so ...
[10:41:34] <Kirben> maybe add one extra column to snapshots for time/date?
[10:41:51] <matt0> let me try "make clean" ... that mgiht help
[10:42:03] <fingolfin> matt0: <g>
[10:42:09] <fingolfin> Kirben: good idea, Iīll try
[10:43:56] <matt0> blast!
[10:43:59] <matt0> it didn't fix it
[10:45:06] <fingolfin> Kirben: check it out now (I also right-aligned the file sizes)
[10:45:38] <fingolfin> matt0: can you tell me the lines you use for linking? also before it complains about missing symbols, does it complain about something else?
[10:45:43] <Kirben> That is much better, but maybe time before the date ?
[10:45:48] <fingolfin> matt0: e.g. maybe it just canīt find your lib?
[10:46:19] <fingolfin> Kirben: I tried that first, but then all the file sizes would be at the very right; and Iīd like to keep the download sizes in one column...
[10:46:45] <matt0> fingolfin: my lib is called libvldp.so.1.0 and I am linking with -lvldp ... and this works with a test program
[10:46:53] <matt0> it's not complaining about anything else
[10:46:54] <fingolfin> Kirben: look at it
[10:47:08] <matt0> if it couldn't find the lib then it just says "can't find lib vldp"
[10:47:12] <fingolfin> matt0: yeah
[10:47:23] <matt0> but instead, it says "undefined reference to" blah blah
[10:47:28] <matt0> all of the functions inside the lib
[10:47:38] <fingolfin> matt0: I am only using shared libs on Darwin/OS X, they are a bit different, and linking there is also different; still
[10:47:52] <fingolfin> matt0: there must be a difference between your test app and your full app
[10:47:58] <matt0> yes
[10:48:18] <fingolfin> matt0: e.g. different lib dirs; different compiler/linker/tool versions; something like that
[10:48:24] <Kirben> ok that is good
[10:48:25] <fingolfin> hmm
[10:48:33] <fingolfin> is this app C or C++? and the lib?
[10:48:41] <matt0> the lib is C, the app is C++
[10:48:49] <matt0> but I compiled the test program in C++ just to make sure hehe
[10:49:26] <fingolfin> Kirben: except for the "td/>" ;) look now
[10:49:34] <fingolfin> hmm still
[10:49:47] <fingolfin> have you "extern "C" { ... }" in your lib headers?
[10:50:16] <matt0> no
[10:50:20] <fingolfin> ah
[10:50:27] <fingolfin> name mangling might be your enemy then...
[10:50:36] <Kirben> Ok thats fixed, maybe get rid of , between date/time if possible ?
[10:50:39] <matt0> oh?
[10:50:55] <matt0> hmmm
[10:51:18] <fingolfin> matt0: in C, function names are translated straight to symbol names; in C++. name mangling happens first, to encode the parameter types -> allows overloading
[10:51:52] <fingolfin> matt0: in your header file, try to embrace all everything with "extern "C" {" and then a trailing }
[10:52:16] <fingolfin> matt0: and these two should again be enclosed by a #ifdef / #endif pair that checks for a C++ compiler
[10:53:24] <matt0> fingolfin: ah ha!
[10:53:43] <fingolfin> matt0: look at the SDL headers for example usage, IIRC ;)
[10:53:51] <matt0> fingolfin: you might be on to something here!
[10:54:35] <fingolfin> Kirben: ups, overlooked you, sorry ;) - will do
[10:55:26] <matt0> fingolfin: IT WORKS!!!!!!!!!!!!!!!!!!!!!
[10:55:30] <matt0> fingolfin: YOU'RE A GENIUS!!!!
[10:55:31] <matt0> hehehehe
[10:55:42] <fingolfin> matt0: nah, all experience from similiar problems in the past ;)
[10:56:03] <fingolfin> Kirben: et voila
[10:56:58] <Kirben> Thanks, make it official :)
[10:59:48] <fingolfin> Kirben: aye, aye, sir!
[11:02:14] <fingolfin> done
[11:04:22] <Kirben> what should I do with old snapshots page now ? just redirect to download.php ?
[11:06:33] <Kirben> if I just delete it, directory contents will be shown.
[11:06:56] <Kirben> http://exult.sourceforge.net/snapshots/
[11:07:06] <fingolfin> ?
[11:07:09] <fingolfin> well
[11:07:25] <fingolfin> you talk about exult.sf.net/snapshots? that wasnīt active for a long time, was it?
[11:07:41] <Kirben> only a day or so
[11:08:06] <fingolfin> well, put a redirect in there; and also put a short sentence stating it moved, and a link, for ppl who have disabled redirect
[11:08:14] <fingolfin> then we remove it in a week or so
[11:08:42] <fingolfin> for your old snapshot page, maybe you can do something similiar, but because it was in existance much longer, maybe you can keep the redirect there longer
[11:10:31] <Kirben> I already have a redirect on the old site along with link, just updated links there to http://exult.sourceforge.net/download.php
[11:10:45] <Kirben> Check out http://exult.on.openave.net
[11:13:51] <fingolfin> fine
[11:14:10] <Kirben> Also does it matter uploading files directly ? or should I upload to different directory and then move files. I worry about users downloading the files while I'm uploading.
[11:14:56] <fingolfin> oh hm
[11:14:58] <fingolfin> well
[11:15:03] <Kirben> My ISP limits uploads at 16kb/sec so takes a few minutes.
[11:15:10] <fingolfin> it is not a good idea to replace files file they are being used, true, but
[11:15:28] <fingolfin> a) if you replace direclty, or indirectly, it is still a replace -> no difference!
[11:15:50] <fingolfin> b) we should test it, in theory the web server might have a lock on the file while it is being downloaded...
[11:16:00] <fingolfin> not sure about this, though, never tried
[11:16:41] <Kirben> I will upload studio as test and check...
[11:18:04] <Kirben> http://exult.sourceforge.net/snapshots/Studio.zip
[11:18:14] <Kirben> been uploaded right now
[11:18:38] <Kirben> I can access it here through site
[11:19:13] <fingolfin> can you delete a file on shell.sourceforge.net while you download it?
[11:19:18] <fingolfin> that is the question
[11:19:30] <Kirben> ok
[11:19:35] <Kirben> will check
[11:21:01] <Kirben> hmm download is too fast
[11:24:57] <Kirben> anyone here on modem speed ?
[11:27:36] --> wjp has joined #exult
[11:27:38] <fingolfin> I only have DSL, sorry ;)
[11:27:41] <wjp> hi
[11:27:42] <fingolfin> hi willem
[11:29:37] <Kirben> oh well, can't check then.
[11:30:17] <Kirben> Will just keep uploading directly for now, is interesting to watch sizes increase on download page.
[11:30:29] <wjp> :-)
[11:30:49] <matt0> w j p ! ! !
[11:30:56] <wjp> m a t t ! ! !
[11:31:10] <matt0> fingolfin: you got DSL?
[11:32:35] <fingolfin> matt0: like wjp, yeah
[11:32:41] <fingolfin> Kirben: ;)
[11:33:04] <matt0> wjp: no more awesome cable?
[11:33:13] <wjp> no :-)
[11:33:15] <wjp> finally :-)
[11:33:16] <matt0> woohoo!
[11:33:49] <matt0> wow.. I'm tired!
[11:34:06] <matt0> (and I don't like it either)
[11:34:21] <fingolfin> matt0: pah, it is morning for you, no? ;)
[11:34:28] <matt0> 5:34 AM
[11:34:33] <matt0> I'm up wayyy too late
[11:35:11] <matt0> where the devil is Dominus?
[11:35:25] * matt0 pounds fist onto wooden table, ruffling official-looking document
[11:35:48] <matt0> and what's this I hear about exult island?
[11:35:55] <fingolfin> http://fingolfin.dnsalias.net/~maxhorn/netXDarwinScreenSnapz001.png
[11:36:07] <wjp> 404
[11:36:10] <fingolfin> ups
[11:36:14] <matt0> dead link
[11:36:16] <fingolfin> http://fingolfin.dnsalias.net/~maxhorn/XDarwinScreenSnapz001.png
[11:36:45] <matt0> it's .. not.. working?
[11:36:56] <wjp> how overloaded is your upstream? ;-)
[11:37:11] <wjp> or are you trying to delete a file while we're downloading it? :-)
[11:37:15] <fingolfin> hmm
[11:37:38] <fingolfin> the file is damaged...
[11:37:40] <fingolfin> but why? ;)
[11:38:07] <matt0> I blame darwin
[11:38:10] <matt0> :)
[11:38:24] <Kirben> How to redirect with a whole page setting ?
[11:39:27] <Kirben> Was updating old spaceports site redirect link and redirect keeps the ad banner
[11:39:47] <Kirben> See http://io.spaceports.com/~kirben/
[11:40:46] <fingolfin> http://fingolfin.dnsalias.net/~maxhorn/XDarwinScreenSnapz001.jpg
[11:40:53] <fingolfin> Kirben: hm
[11:41:04] <fingolfin> Kirben: are you inside some frames or what?
[11:41:43] <fingolfin> Kirben: in this case I am not sure there is an easy way out, frames are and aritifical ugly addon to HTML, and redirects were invented before them, so no way to specify a frame dest, I fear
[11:41:46] <Kirben> I guess the ads make the page itself in a frame.
[11:42:27] <Kirben> in that case will just leave plain link and no auto redirect.
[11:42:54] --> Colourless has joined #Exult
[11:42:57] <fingolfin> hi ryan
[11:42:59] <Colourless> hi
[11:43:01] <wjp> they use an interesting way to display those adds
[11:43:04] <Kirben> Hi Colourless
[11:43:11] --- fingolfin is now known as Fingolfin|lunch
[11:44:52] <wjp> hi
[11:48:12] <Colourless> if I were to write a small program to set the paths in the exult.cfg file for win32, which paths should I get from the users. SI and BG would be required for sure. Do you think that any other paths would be required?
[11:49:59] <Kirben> the data path ?
[11:50:53] <Colourless> well, that isn't really required is it? By defult it's in a directory called data in the directory exult is in.
[11:52:08] <Colourless> setting the data path to "data" should be sufficent
[11:52:50] <Kirben> btw why not put it in exult ?
[11:54:00] <Kirben> So it users change their game directories exult will prompt for location again.
[11:54:20] <Kirben> ie if ultima 7 bg/si files aren't found and os is win32, call set file path code
[11:54:50] <Kirben> or even make it multiplatform
[11:56:01] <Colourless> multiplatform is easier said than done
[11:56:35] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[11:56:52] <Kirben> not possible through sdl interface ?
[11:57:08] <Colourless> nope
[11:57:19] <wjp> well, not easily, anyay
[11:57:22] <wjp> anyway, even
[11:59:11] <Kirben> talking of sdl, would it be possible to use sdlnet for server sections of exult ?
[12:00:01] <Fingolfin|lunch> sdlnet is bad, not ported to MacOS and some other OSes
[12:00:05] * Fingolfin|lunch goes back to lunch
[12:00:13] <Colourless> never heard of it, but I would imagine so
[12:00:13] <wjp> :-)
[12:00:29] <Colourless> i guess not then ;0)
[12:00:44] <Kirben> oh well, thought it might have been more multi-platform.
[12:01:13] <Kirben> it does say MacOS support in progress
[12:01:16] <Kirben> though
[12:01:26] <Kirben> http://www.libsdl.org/projects/SDL_net/index.html
[12:01:37] <wjp> I don't think there's been much progress on it lately, though
[12:02:32] <Kirben> wait it is in there, from mailing list:
[12:02:33] <Kirben> The latest version of the SDL_net library is available!
[12:02:34] <Kirben> http://www.libsdl.org/projects/SDL_net/
[12:02:34] <Kirben> This version features support for MacOS Classic and MacOS X!
[12:02:51] <Kirben> in 1.2.2 announcement
[12:04:37] <wjp> I wonder if it supports ipc
[12:08:40] <Kirben> I don't know, does exult need ipc ?
[12:16:45] <wjp> well, some sort of it, yes.
[12:17:10] <wjp> I don't really know how Jeff currently handles the communication
[12:24:46] --- Fingolfin|lunch is now known as Fingolfin
[12:24:53] * Fingolfin is astonished about the SDL_net news
[12:25:11] <Fingolfin> well, I unsubscribed SDL-ml long time ago, content/noise ratio was too bad for me;)
[12:25:17] <Fingolfin> but that is indeed good news
[12:25:42] <Fingolfin> SDL-net support for OS X should be trivial, though... I will check out whatīs true about Classic support, and what is myth...
[12:25:51] <Kirben> Can access mailing list via news groups server to, that is what I do.
[12:25:57] <Fingolfin> I was trying to port it back when I was involved with ariannerpg
[12:27:27] <Kirben> I just hope it is possible to use it in exult, would be cool to have exult/studio interaction possible on all platforms.
[12:29:31] <wjp> it would probably mean switching to a tcp connection
[12:29:48] <wjp> ...,which would open up the interesting possibility on remotely running exult studio :-)
[12:30:23] <Fingolfin> hehe
[12:30:31] <Fingolfin> but it bears a problem
[12:30:53] <Kirben> would that help with a exult online too ?
[12:31:12] <Fingolfin> that is waht people will start asking ;)
[12:31:20] <Fingolfin> "canīt you now make a networked version of U7" ?
[12:31:32] <Kirben> They are already asking
[12:44:59] <Fingolfin> wjp: do you remember when I had tried to use the "unicode" feature for SDL_events for the key input?
[12:45:10] <wjp> yeah
[12:45:18] <Fingolfin> wjp: do you remember if SDL ever returned the unicode on Linux? it did on MacOS, that I know
[12:45:25] <Fingolfin> there is a guy in #sdl with a problem there ;)
[12:45:34] <Fingolfin> he always gets 0; and he says he turned it on
[12:45:46] <wjp> strange
[12:56:42] <-- Fingolfin has left IRC (Client Exiting)
[12:59:15] --> fingolfin has joined #exult
[13:21:41] <-- wjp has left IRC ([x]chat)
[13:22:06] --> wjp has joined #exult
[13:25:09] <Colourless> i've decided to move the GumpShapeFile stuff to ShapeID and make ShapeID into a generic shape referencing class. I'm also going to add a method to get the shapeframe from ShapeID itself, instead of having to always go though Game_window.
[13:55:14] * wjp puts all the server stuff in exult behind #ifdef USE_EXULTSTUDIO instead of behind #ifdef XWIN
[13:58:23] <fingolfin> good idea
[13:59:55] <wjp> we should also have a #define to completely disable audio support
[14:04:04] <fingolfin> brb
[14:04:06] <-- fingolfin has left #exult (Client Exiting)
[14:16:54] --> fingolfin has joined #exult
[14:17:09] <wjp> wb
[14:19:07] <fingolfin> thx
[14:24:56] <-- Kirben has left IRC (System Meltdown)
[14:45:45] <Colourless> *sigh* Making Gump_widget inherit ShapeID is more work that I ever though. There "cannot access private member declared in class" errors everywhere
[14:47:45] <wjp> you could make some members protected, I guess
[14:48:08] <Colourless> no
[14:50:28] <Colourless> only 95 error to go :)
[14:54:15] <-- fingolfin has left IRC (Client Exiting)
[14:55:23] <Colourless> now that i've expanded ShapeID to handle other files it make things so much simpler because pretty much everything is based on ShapeID.
[14:55:45] --> fingolfin has joined #exult
[14:55:51] <fingolfin> hm
[14:55:58] <Colourless> Instead of lots and lots of code all over the place to work out what file a shape is in, ShapeID does it all for you
[14:56:29] <Colourless> 1 call to ShapeID::get_shape() and you're done.
[15:00:15] <fingolfin> nice
[15:03:50] <-- fingolfin has left IRC (Client Exiting)
[15:05:07] --> fingolfin has joined #exult
[15:15:48] <Colourless> seems to be working perfectly
[15:49:19] <Colourless> can someone start a new game in SI? It crashes for me
[15:52:27] <wjp> assertion failed
[15:52:40] <Colourless> good :)
[15:53:29] <Colourless> i beleive the game attempts to show a face, but the faces vga files isn't loaded yet
[15:55:05] <wjp> when was this bug introduced?
[15:55:14] <Colourless> no idea.
[15:55:27] <Colourless> i think nadir did it when he was doing the return to menu stuff
[15:57:25] <wjp> creating a new BG game does work
[15:58:01] <Colourless> BG doesn't use faces.vga
[15:58:07] <Colourless> (for the start menu)
[15:58:11] <wjp> ah, ok
[16:23:59] <Colourless> think you can fix it?
[16:24:52] <Colourless> the problem will probably lie in sigame.cc because nadir has probably moved where faces.vga is being loaded?
[16:30:50] <wjp> faces.vga seems to be loaded in Game_window::init_files()
[16:31:40] <Colourless> but that gets called after you've started a game
[16:32:12] <wjp> hmm, so it is
[16:38:10] <wjp> I wish I knew when it was introduced...
[16:42:15] --- fingolfin is now known as Fingolfin|away
[16:44:15] <wjp> ah... the init_files call was moved
[16:46:52] <Colourless> ok, the easiest solution is probably to just create a Vga_file object for the faces in SI_Game::new_game and modify the gwin->paint_face call
[16:47:07] <Colourless> to a gwin->paint_shape call
[16:48:02] * wjp nods
[16:51:53] <wjp> fixed
[16:52:30] <wjp> hmm, that 'return to menu' thing isn't really working properly yet
[16:55:12] <Colourless> no it doesn't work at all really
[16:55:23] <wjp> as long as you don't switch games it seems to work
[16:55:58] <Colourless> i've been tracking down the problem
[16:57:10] <Colourless> for whatever reason a call to U7Object::retrieve doesn't work properly and returns the wrong stuff
[16:57:47] <wjp> the crash I get here seems to be caused by a Shape_file (the one in Font) reloading
[16:57:57] <Colourless> i think it's realated to the U7FileManager
[16:58:12] <Colourless> yeah it is because it's not correctly loading the VGA files
[17:00:15] <Colourless> the problem is occuring do to the call to retrieve in "int Font::load(const char *fname, int index, int hlead, int vlead)" not working
[17:00:59] <Colourless> you can tell this by looking at the length of the buffer it allocates. It's all wrong
[17:02:01] <Colourless> BTW thanks for fixing the crash
[17:02:35] <wjp> np :-)
[17:06:03] <wjp> filemanager should be reset when switching games
[17:06:16] <Colourless> that's what I'm guessing
[17:06:26] <wjp> no need to guess :-)
[17:15:47] <wjp> ok, I think I fixed it
[17:17:10] <wjp> ...but now it crashes the second time you switch to a game
[17:18:31] <wjp> ah well... first it's time for dinner
[17:18:36] --- wjp is now known as wjp|dinner
[17:18:43] <Colourless> :)
[17:19:30] <wjp|dinner> oh.. I think that is because I delete the U7File object before Font is deleted...
[17:19:38] <wjp|dinner> *really gone now*
[17:19:49] <Colourless> :)
[17:46:55] --- wjp|dinner is now known as wjp
[17:48:47] * wjp is confused
[17:48:54] <Colourless> why?
[17:49:04] <wjp> it's crashing in a place it really shouldn't be
[17:49:17] <Colourless> where?
[17:49:27] <wjp> ~Font, delete [] font_buf
[17:52:59] <Colourless> odd
[17:53:05] <wjp> oh... a buffer length of ~3 billion might be a bit much
[17:53:23] <Colourless> hehe, could be
[18:00:34] * wjp resets the font manager too
[18:04:55] <wjp> crashes again...
[18:05:19] <wjp> apparently that SIINTRO_FONT really doesn't want to be deleted
[18:05:19] <Colourless> you don't seem to be having any luck :)
[18:05:59] <wjp> not really, no :-)
[18:06:32] <wjp> I wonder if a Font object was ever destructed in the before the 'return to menu' option
[18:06:43] <wjp> s/in the //
[18:07:15] <Colourless> i would guess not
[18:10:56] <wjp> hmm, if I completely skip deleting the fonts when reseting the fontmanager, I don't get enough memory leaks
[18:11:07] <wjp> looks like some fonts are deleted, but others aren't!?
[18:14:00] * wjp counts again
[18:14:17] <wjp> no, I was wrong; there are enough memleaks
[18:41:44] * wjp notices something weird
[18:41:53] <Colourless> what?
[18:41:58] <wjp> font_buf += 8
[18:42:15] <Colourless> where?
[18:42:17] <wjp> font_buf is delete[]'ed in the destructor
[18:42:26] <wjp> in Font::load()
[18:42:44] <Colourless> hehe, that could be very big a problem
[18:43:37] <wjp> and guess what... it just happens to crash on a font that needed that correction
[18:43:58] <Colourless> hmmm
[18:45:04] <wjp> that did the trick
[18:46:46] <wjp> uh oh
[18:47:05] <Colourless> what?
[18:47:42] <wjp> http://www.math.leidenuniv.nl/~wpalenst/exult003.pcx
[18:48:41] <Colourless> hmm, looks like it didn't work ;0(
[18:49:33] <wjp> this is what happens after switching to BG once
[18:49:58] <wjp> looks like something else needs to be reset too :-)
[18:50:24] <Colourless> chunks
[18:50:49] <wjp> but these shouldn't be loaded at that point yet
[18:52:10] <wjp> hmm, the starting point is off too
[18:52:34] <wjp> might be the BG starting point
[19:02:57] <wjp> oh... I think I get it...
[19:03:33] <wjp> yup, that did it...
[19:03:45] <wjp> it was the system dirs. (the <PATCH> dir, specifically)
[19:04:18] <Colourless> heh
[19:04:34] <wjp> so it ended up using the BG patch :-)
[19:05:05] <Colourless> that could be why it looked so wierd :)
[19:05:46] <wjp> recompiling... (utils.h modified :-( )
[19:06:07] <Colourless> hehe
[19:06:29] --- wjp is now known as wjp|away
[19:06:55] <wjp|away> I'll test and (hopefully) commit when I get back
[19:07:06] <Colourless> ok
[19:26:59] --- wjp|away is now known as wjp
[19:27:23] <wjp> *sigh*
[19:27:32] <Colourless> didn't work?
[19:27:37] <wjp> I need to store the state of that path_map
[19:27:51] <wjp> I accidently reset <DATA> and that kind of stuff too
[19:29:58] <wjp> wow, it actually seems to work now
[19:30:09] <Colourless> cool
[19:30:22] <wjp> I'll commit and let our alpha testers test the rest ;-)
[19:30:28] <Colourless> hehe
[19:33:03] <wjp> ok, done
[19:34:03] <wjp> hmm, lots of people seem to having problems with the 'flee' combat type
[19:34:25] <wjp> maybe it should be reset to normal after a while?
[19:35:04] <Colourless> yeah
[19:35:14] <Colourless> flee should only last for a little while
[19:43:38] --- wjp is now known as wjp|away
[19:43:39] <wjp|away> bbl
[19:43:48] <Colourless> cya
[20:33:39] --> matt0 has joined #exult
[20:40:36] --- Fingolfin|away is now known as Fingolfin
[20:55:00] <-- Colourless has left IRC (bed)
[21:10:54] --- wjp|away is now known as wjp|almostback
[21:10:57] <wjp|almostback> ;-)
[21:13:17] <matt0> wjp!
[21:13:57] <Fingolfin> hehehe
[21:14:09] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[21:16:39] --> matt0 has joined #exult
[21:21:28] <Fingolfin> wb matt0
[21:21:29] <Fingolfin> brb
[21:21:34] <-- Fingolfin has left IRC (Client Exiting)
[21:21:47] --> fingolfin has joined #exult
[21:21:55] <matt0> fingolfin!
[21:22:09] <fingolfin> matt0!!!
[21:22:10] <matt0> chanserv?
[21:22:27] <matt0> I was trying to give myself write access to a FAT32 partition
[21:22:39] <matt0> a quick search of deja.com did it for me .. *phew*
[21:22:43] <fingolfin> ts ts
[21:23:05] <matt0> ?
[21:25:30] <fingolfin> alright ;)
[21:25:33] <fingolfin> brb
[21:25:34] <-- fingolfin has left IRC (Client Exiting)
[21:25:45] --> fingolfin has joined #exult
[21:35:51] --- wjp|almostback is now known as wjp
[21:36:15] <wjp> write access to a FAT32 partition?
[21:36:33] <wjp> somebody else's FAT32 partition? ;-)
[21:37:59] <fingolfin> wb
[21:38:04] <wjp> thanks
[21:38:08] <fingolfin> wjp: do you still have this perl script for xchat?
[21:38:12] <wjp> sure
[21:38:13] <fingolfin> wjp: for chanserv
[21:38:16] <wjp> should still be on the some URL
[21:38:25] <fingolfin> good. I only need to rewrite it for python then ;)
[21:38:33] <wjp> why? not perl support?
[21:38:37] <wjp> s/not/no/
[21:38:39] <fingolfin> I canīt compiler perl support into xchat ATM, due to some linking problems
[21:38:48] <wjp> ah... I had those too I think
[21:39:11] <wjp> do you still have the precise errors?
[21:40:18] <fingolfin> yeah, the problem is that OS X has a different shared lib system than linux (many Unices have a different one ;). now there is a compat lib, dlcompat, the provdes dlopen etc. for some apps
[21:40:27] <fingolfin> but Perl on OS X has its own emulation of those
[21:40:39] <fingolfin> now try to link against perl lib and another lib that uses dlcompat... boom
[21:40:42] <wjp> it would probably be a different problem then
[21:40:46] <fingolfin> yeah ;)
[21:40:56] <fingolfin> we need to "fix" perl it seems
[21:41:26] <wjp> http://www.math.leidenuniv.nl/~wpalenst/nickserv.pl
[21:41:50] <wjp> fixing perl... hmm... sounds scary
[21:41:59] <wjp> I don't think I want to see the perl source ;-)
[21:42:27] <fingolfin> it is some perl file in fact. and I agree, I would prefer to not see it, to
[21:42:45] <fingolfin> it is not exactly easy to fix it, if you donīt know exactl ythe internals of perl, too
[21:43:38] <fingolfin> converting perl to python wonīt be easy either considering that I donīt know python (only some basics), but then it shouldnīt be too hard either ;)
[21:43:49] <wjp> it's just a simple 'if' statement really :-)
[21:44:00] <wjp> hmm, although... I hope python has regexps :-)
[21:44:17] <fingolfin> no idea, Iīll find out ;)
[21:44:41] <wjp> you could probably already find a similar python script online somewhere
[21:47:11] <fingolfin> I tried, didnīt find; I could ask on #python, though, but then I like learing a bit
[21:47:26] <fingolfin> what does the second parameter to IRC::register do? "0.1" ?
[21:47:33] <wjp> version nr.
[21:48:00] <wjp> kind of useless, but it's what you see listed when you say "List plugins"
[21:50:27] <fingolfin> ok
[21:50:46] <wjp> python has regexp support :-)
[21:52:16] <wjp> ...in a bit of a round-about way
[21:52:23] <wjp> brb
[21:55:50] <wjp> b
[22:02:10] <-- fingolfin has left IRC (Read error to fingolfin[pD95228D6.dip.t-dialin.net]: EOF from client)
[22:04:00] --> fingolfin has joined #exult
[22:04:59] <fingolfin> grmbl
[22:05:14] <fingolfin> "URL Grabber Window" menu item -> crash
[22:05:34] * wjp tries...
[22:05:49] * wjp is still here
[22:08:49] <wjp> hmm, OPN is switching ircd soon it seems
[22:08:53] <fingolfin> yeah
[22:10:08] <wjp> quit and part messages will be stripped from colour tags! woohoo! :-)
[22:11:10] <wjp> that really annoyed me sometimes :-)
[22:11:21] <-- matt0 has left IRC (bye!)
[22:29:18] <fingolfin> wjp: hmm
[22:29:31] <fingolfin> wjp: do you know that it is supposed to be pure evil to reply to a NOTICE message on IRC? ;)
[22:29:48] <wjp> it's not strictly a reply :-)
[22:29:55] <fingolfin> hmmm... well
[22:29:57] <fingolfin> ;)
[22:30:01] <wjp> and besides, nickserv asks for it :-)
[22:30:33] <fingolfin> how can I unload scripts again?
[22:30:47] <fingolfin> foo
[22:30:49] <wjp> 'kill'
[22:31:07] <fingolfin> the menu? disabled for me
[22:31:07] <wjp> (in the scripts&plugins menu)
[22:31:19] <wjp> then none must be loaded
[22:31:19] <fingolfin> how can I make xchat load a plugin at startup, btw?
[22:31:26] <wjp> it automatically does that
[22:31:39] <wjp> the question is: how do you disable one? ;-)
[22:31:46] <fingolfin> uhm
[22:31:58] <fingolfin> you mean, if I loaded a script once, it will remember that?
[22:32:00] <wjp> yeah
[22:32:08] <wjp> unless you kill it afterwards
[22:32:40] <fingolfin> hm
[22:32:46] <wjp> not a problem if you have only one script loaded (like me), but it must be really annoying when you have a dozen loaded
[22:33:00] <fingolfin> I will try somethingm brb
[22:33:04] <-- fingolfin has left IRC (Client Exiting)
[22:34:53] --> fingolfin has joined #exult
[22:35:03] <fingolfin> crashed with fatal error, sigh
[22:35:09] <fingolfin> and it didnīt reload the script
[22:35:21] <wjp> does it show up in 'list' ?
[22:35:43] <fingolfin> nope
[22:35:45] <fingolfin> ah well
[22:35:53] <wjp> do you register it properly?
[22:35:56] <fingolfin> the python code is supposed to be very unstable, anyway
[22:36:01] <fingolfin> yeah I do
[22:36:23] <fingolfin> oh, new release of xfree86 for OS X
[22:36:26] <wjp> could you dcc the python script?
[22:36:32] <fingolfin> wjp: sure, mom
[22:36:59] <fingolfin> it is icky, I admit ;)
[22:37:16] <fingolfin> I put in a print to see what some of the values actually mean
[22:37:28] <fingolfin> and in fact, I just see I placed the print not where I wanted to, urhm
[22:37:34] <fingolfin> still, it crashed...
[22:38:46] <wjp> what are those "##" in the print command?
[22:40:19] <wjp> do you have any docs for python scripting in xchat?
[22:42:29] <wjp> hey, you can kill individual plugins from the 'plugin list' it seems
[22:42:47] <wjp> why not scripts?! :-(
[22:43:04] <wjp> must be the scripting architecture they use
[22:43:21] <-- wjp has left IRC (Read error to wjp[ip503c5297.speed.planet.nl]: EOF from client)
[22:43:32] --> wjp has joined #exult
[22:43:41] <wjp> yup, that code is unstable ;-)
[22:43:56] <fingolfin> crashed you? ;)
[22:44:06] <fingolfin> the ## I only put in a seperators
[22:44:18] <wjp> ah, ok
[22:44:23] <fingolfin> and the docs for python scripting...
[22:44:37] <fingolfin> in the source dir, there is a short NOTICE file, in scripts-python
[22:44:43] <fingolfin> and then there is the source code ;)
[22:44:53] <fingolfin> took me some time to figure out the XP_TE_NOTICE
[22:45:06] <wjp> I like the perl version better :-)
[22:45:35] <fingolfin> so do I ;)
[22:46:15] <wjp> how do I output something in the irc window itself?
[22:46:24] <wjp> (like IRC::print in perl)
[22:47:54] * wjp downloads source... (ADSL nice :-) )
[22:56:27] <fingolfin> heh
[22:56:43] <fingolfin> dumb question... how do I test in a shell script whether a given app is present or not...
[22:57:02] <fingolfin> that is, before calling gconfigger I want to test if it is there at all to prevent an error if it is not
[22:57:15] <wjp> umm
[22:57:18] <wjp> well...
[22:58:01] <wjp> hmm, I think 'which' might do the trick
[23:00:29] <wjp> ie. something like:
[23:00:50] <wjp> if which gconfigger >& /dev/null; then echo "it exists"; fi
[23:01:11] <fingolfin> ok
[23:02:54] * wjp notices he has that program installed
[23:02:56] <wjp> what is it?
[23:05:46] <fingolfin> part of gnome
[23:06:00] <fingolfin> you can use it to set configurations of Gnome via scripts
[23:06:21] <wjp> ah, that sounds pretty useful
[23:06:41] <fingolfin> e.g. use gconfigger -g /Gnome/URL\ Handlers/default-show
[23:06:47] <fingolfin> this will print the default URL handler
[23:07:08] <wjp> gnome-moz-remote, apparently :-)
[23:07:15] <fingolfin> I use it to hook into gnome a small app I wrote today, which will redirect all URL handling requests from gnome apps to the MacOS X URL handing system
[23:07:33] <fingolfin> -> I click an URL in xchat -> my MacOS X browser is launched
[23:07:44] <wjp> nice
[23:07:51] <fingolfin> and I just packaged it so that other ppl can use it, too ;)
[23:08:21] <wjp> even nicer :-)
[23:09:16] <wjp> brb, getting rid of some python scripts... :-)
[23:09:17] <-- wjp has left IRC ([x]chat)
[23:09:25] --> wjp has joined #exult
[23:09:31] <fingolfin> but sadly, in xchat it is not yet fully working ... it works for e.g. the links in the help menu
[23:09:54] <fingolfin> but if I click on a normal URL, that doesnīt work; I have to right-click, then choose "open using gnome URL handler" or so
[23:09:59] <wjp> http://exult.sf.net/
[23:10:05] <fingolfin> I wonder what it does by default when I click on an URL...
[23:10:06] <wjp> doesn't work for me either
[23:10:20] <fingolfin> context menu
[23:11:07] <wjp> left clicking only highlights it for me, right clicking gives a context menu
[23:11:25] <wjp> why do we have only 12K hits on the homepage?
[23:11:51] <fingolfin> what?
[23:11:53] <fingolfin> mo
[23:12:17] <fingolfin> weird
[23:12:24] <fingolfin> Iīll check it out
[23:13:23] <wjp> hmm, 132 BeOS downloads already
[23:13:35] <wjp> not bad
[23:13:46] <wjp> btw, how are the MacOS versions doing?
[23:14:08] <fingolfin> index.html hits -> I copied the old counter data, and I guess I forgot one digit, sigh
[23:14:42] <fingolfin> macos version works, but I didnīt get around putting together a release; I thought it might be better to wait for next release now, as CVS is very fluent ATM
[23:15:10] <wjp> weren't we planning on doing monthly releases? ;-)
[23:15:25] <wjp> which would be yesterday :-)
[23:16:40] <fingolfin> erhmmm ;)
[23:16:57] <fingolfin> ryans recent changes + tristans = no release in the next few days me thinks ;)
[23:17:01] <fingolfin> counter fixed, I hope
[23:17:04] * fingolfin checks the other pages
[23:17:12] <wjp> you didn't see my changes yet, then :-)
[23:17:28] <fingolfin> ack ;)
[23:17:31] <wjp> (slightly risky bug fixes of Tristan's changes)
[23:17:33] <fingolfin> damn, more wrong numbers! why!
[23:17:58] <wjp> oh, because of that the 'return to menu' should work from the BG/SI menus now
[23:18:09] <fingolfin> cooool
[23:18:17] <fingolfin> "should" ? ;)
[23:18:19] <wjp> not from in-game yet, though
[23:18:23] <wjp> yes, 'should' ;-)
[23:18:39] <wjp> (as in, "it works for me, but no guarentuees")
[23:19:15] <wjp> I think I caught all things that needed resetting, but I'm not really sure
[23:20:50] <fingolfin> hehe ok
[23:21:02] <fingolfin> counters are really back to normal this time, in my third attempt
[23:21:14] <wjp> third attempt? :-)
[23:21:22] <fingolfin> uhm
[23:21:55] <fingolfin> once yesterday; changes got overwritten by accident
[23:22:09] <fingolfin> second time yesteray; apparanetly, I mixed up three numbers... sigh
[23:22:16] <fingolfin> one was missing one digit; two were swapped
[23:22:21] <fingolfin> third attempt now
[23:22:36] <wjp> oops :-)
[23:23:02] <fingolfin> I should retire, I am not fit for this world anymore
[23:24:08] <wjp> hehe :-)
[23:24:21] <wjp> everything changed since the Worldstone was destroyed, right? ;-)
[23:24:47] <fingolfin> hm... which level are you now in diablo 2? level 77 with your sorc and 46 with your asn? ;)
[23:24:58] <wjp> nah... haven't played last couple of days
[23:25:06] <wjp> 52/34
[23:25:08] <fingolfin> neither did I ;)
[23:25:19] <fingolfin> hmm, 43/43/35 or so
[23:25:26] <fingolfin> (pala/druid/ama)
[23:25:30] * wjp nods
[23:26:13] <fingolfin> I played a little bit with my druid to get him to 43 ;) then I stopped again, after some frustrating drop outs, and bnet was so extremly laggy (some days ago now)
[23:26:39] <wjp> yeah, it was very laggy a few days back
[23:26:44] <fingolfin> ok, time to get latest exult cvs
[23:45:44] <wjp> hm, almost 2 o'clock already
[23:45:58] <wjp> I don't suppose you'd feel like some D2? ;-)
[23:46:51] * wjp tries to decide between sleeping/reading/D2
[23:48:44] <wjp> hmm... interesting... I was just walking around a bit in SI, and a magic storm created a pair of magic boots!
[23:49:50] <fingolfin> hey!
[23:49:55] <fingolfin> is that normal? ;)
[23:49:59] <wjp> I dunno...
[23:50:08] <wjp> never saw a single useful item in the original
[23:50:24] <fingolfin> yeah, I wonder if they restricted the generated items somehow..
[23:50:50] <wjp> from the intrinsic trace, they create an array of about 40 shapenums
[23:51:07] <wjp> and the 'boots' shape really seems to be in there... weird
[23:51:17] <fingolfin> hrm, indeed
[23:51:54] <wjp> chances of getting magic boots are 1 in 132
[23:52:27] <wjp> not really that low, compared to the chance to get a Zod rune ;-)
[23:53:21] <fingolfin> <g>
[23:53:58] <fingolfin> there were some interesting articles on this topic, indeed... ;) zod and some other stuff is pretty rare
[23:54:12] <fingolfin> hm
[23:54:39] <fingolfin> well
[23:54:51] <fingolfin> I might play a bit D2 now, why not... would have to reboot, though
[23:54:57] <wjp> yeah, me too
[23:55:07] <fingolfin> you want to.... ? ;)
[23:55:12] <wjp> sure ;-)
[23:55:19] <fingolfin> ok, cya soon ;)
[23:55:22] <wjp> :-)
[23:55:26] <-- fingolfin has left IRC (Client Exiting)
[23:55:27] <-- wjp has left IRC ([x]chat)