#exult@irc.freenode.net logs for 13 Dec 2000 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:25:39] --> chimera|work has joined #exult
[01:56:48] <-- wjp has left IRC (Leaving)
[02:27:09] <-- matto has left IRC (I'm too lame to make a quit message)
[05:47:23] --> Kirben has joined #exult
[05:49:02] <-- Kirben2 has left IRC (Ping timeout for Kirben2[co3007967-a.brasd1.vic.optushome.com.au])
[08:37:16] <-- Kirben has left IRC (System Meltdown)
[13:11:05] --> TonyHoyt has joined #Exult
[13:11:10] <TonyHoyt> Helllo
[13:19:48] <TonyHoyt> bbl
[13:19:49] <-- TonyHoyt has left #Exult
[13:38:19] --> Fingolfin has joined #exult
[13:38:55] <Fingolfin> ?seen wjp
[13:43:44] <-- Fingolfin has left #exult
[14:17:32] --> Nadir has joined #exult
[14:17:46] <Nadir> ?seen wjp
[15:28:17] --> wjp has joined #exult
[15:29:21] * wjp is very, _very_ lagged
[15:29:32] <Nadir> hi wjp
[15:29:39] <wjp> hi
[15:30:06] <wjp> 5 POS12-0-0.asd-bfr.nl.euro.net (194.134.160.130) 109.837 ms 177.871 ms 259.801 ms
[15:30:08] <wjp> 6 * Hssi12-0-0.GW1.AMS2.ALTER.NET (146.188.32.37) 2060.081 ms 2137.732 ms
[15:30:11] <wjp> (traceroute, ouch)
[15:30:48] <Nadir> what does /ping give you
[15:32:51] <wjp> 4 seconds to you
[15:33:50] <Nadir> wjp = 3.5 secs, chimera = 1.4 secs
[15:34:05] <Nadir> exultbot = 0.8 secs
[15:34:39] <wjp> it seems a lot worse though... probably because pings are small
[15:40:28] --- wjp is now known as wjp|away
[15:40:30] <wjp|away> brb
[15:48:14] <-- Nadir has left IRC (pohl.openprojects.net vinge.openprojects.net)
[15:48:19] --> Nadir has joined #exult
[16:03:02] <-- Nadir has left IRC ([x]chat)
[16:18:30] --> TonyHoyt has joined #Exult
[16:18:38] <TonyHoyt> Hello, just me.
[16:18:55] * TonyHoyt triest to install Exult but is haveing problems installing autoconf.
[16:19:13] <TonyHoyt> Why couldn't you guys just have a normal ./configure file like everyone else.
[16:21:37] <wjp|away> we don't?
[16:21:40] --- wjp|away is now known as wjp
[16:21:56] <wjp> oh, I see...
[16:22:06] <TonyHoyt> No, I have install these three apps. Ummm autoconf, automake, and... I forget the third.
[16:22:08] <wjp> you mean we should include it in the CVS?
[16:22:19] <wjp> autoconf, automake, libtool
[16:22:24] <TonyHoyt> I would say so. so I can just type ./configure and just run.
[16:23:24] <TonyHoyt> I can't get autoconf to work, I even had to install perl. And to be honest, that was annoying. Just because all I want to do is compile exult. I don't even need these to run exult. heck once I make the make file, I doubt I'll ever need to use these applications again. So why not just make the ./configure file once and be done with it?
[16:23:57] <TonyHoyt> I hate to sound whiney but it is annoying.
[16:26:29] <wjp> try sending an e-mail to the list about this
[16:26:34] <wjp> maybe we'll change it :-)
[16:27:04] <TonyHoyt> *chuckles* Maybe I should have done that. But I'm not a pro-active whiner yet...
[16:27:19] <TonyHoyt> Well now I just need to figure out why autoconf doesn't install. *Sigh*
[16:27:21] <wjp> :-)
[16:27:33] <wjp> what distro are you using?
[16:28:17] <TonyHoyt> Distro of what? Autoconf? 2.12. I couldn't even get 2.13 to reconize the fact that I have perl installed.
[16:28:26] <wjp> linux distro
[16:28:32] <wjp> (if Linux)
[16:28:41] <TonyHoyt> Ahh no Solaris.
[16:28:56] <TonyHoyt> I"m building it on a Solaris 2.7 box with gcc 2.95.2
[16:29:20] <wjp> I built exult on such a box too
[16:29:36] <wjp> couldn't get SDL to recognize X :-(
[16:29:41] <TonyHoyt> I just can't get Autoconf to install right.
[16:30:05] <TonyHoyt> I got SDL to compile, that was simple enough. Where you haveing troubles there?
[16:30:23] <wjp> SDL compiled ok, but it didn't find a video target
[16:32:09] <TonyHoyt> Ahhh, Umm Hmmm I'll see about that when the time comes. But that time might not come if this keeps up. *sigh* you got a copy of .configure you could pass to me?
[16:32:33] <wjp> sure
[16:32:44] <wjp> hold on...
[16:33:07] * wjp ssh's to his univ. account
[16:33:20] * wjp runs cvs update
[16:34:08] <TonyHoyt> send it to ahoyt@packetport.com
[16:35:36] <wjp> k, sent
[16:36:03] <TonyHoyt> Thanks. now I can give up on this blasted autoconf. *Sigh* Pain in the...
[16:37:11] <TonyHoyt> Dam that thing is long! Well I hope it works. It should work, shouldn't it? It's supposed to be a dependency checker script, correct?
[16:37:18] <wjp> yup
[16:37:46] <wjp> and it generates the Makefiles, while it's at it
[16:38:06] <TonyHoyt> So it should be something you can just throw into a distro and have anyone use it to build a make file for any platform right?
[16:38:21] <wjp> most platforms, yes
[16:38:26] <wjp> it is included in the main releases, btw
[16:38:42] <wjp> just not in the CVS
[16:39:15] <TonyHoyt> Ahhhh.
[16:39:23] <TonyHoyt> Well I got a CVS Snapshot.
[16:39:27] <TonyHoyt> Ooooooooooooooh
[16:40:01] <TonyHoyt> Now I get it. So it is something you guys build for the source code distro but not for the cvs snapshops that are available. Okay okay.
[16:40:46] <TonyHoyt> Doh, Now I feel really stupid. Ofcourse you wouldn't have .configure in with the cvs. It's like adding a object file, it's better to leave the source and just build as you need.
[16:41:08] <wjp> yup, that's why it isn't there
[16:42:49] <TonyHoyt> doh doh odh. Hmm wierd. now it' can't find install-sh. *sigh* What I do this time. Trying to run configure.. Ahh must need to change something in the configure... let's see.
[16:43:07] <wjp> hmmm... it might need some other files besides configure
[16:44:55] <TonyHoyt> *SCraches head* Could.. could...
[16:47:42] <TonyHoyt> I gave it a copy of autoconf-2.12's install-sh and it likes it.. Ooor does it. .Hmmm Main in the...
[16:47:48] <TonyHoyt> main -> pain
[16:48:16] <wjp> you might still need automake too
[16:49:01] <TonyHoyt> I have automake installed.
[16:49:24] <TonyHoyt> But ya it made a master make file. but that doesn't seem to work. *Sigh* This thing is a mess for me. I don't know what I"m doing wrong. *Sigh* Oh well.
[16:50:03] <wjp> autogen.sh is the file used to create configure and the other files
[16:50:14] <wjp> maybe there's something useful in there
[16:51:10] <TonyHoyt> Grr but I can do anything untill I get autoconf installed.
[16:51:25] <TonyHoyt> Maybe I need that.. Hmph. Let me see.. I"ll try installing it manual hopefully.
[16:53:40] <TonyHoyt> Hmm I did compile autoconf and so I put it in /usr/local/bin which is in my path. and then when I ran autogen.sh I get this 'configure.in: 22: required file `./autoconfig.h.in' not found
[16:53:41] <TonyHoyt> Autoconf requires GNU m4 1.1 or later'
[16:54:09] <wjp> yes, you require m4
[16:54:55] <TonyHoyt> m4? Another application I need?
[16:55:02] <wjp> yup :-(
[16:55:03] <TonyHoyt> *sigh* www.gnu.org.. I hate you.
[16:55:40] <TonyHoyt> m4? What is that?
[16:55:57] <wjp> the macro language is which configure.in is written
[16:56:05] <TonyHoyt> Hmmm
[16:56:12] <TonyHoyt> Okay ... Let mee... see..
[16:56:23] <TonyHoyt> I also get this from doing autogen.sh
[16:56:32] <TonyHoyt> 'You should add the contents of `/usr/local/share/aclocal/libtool.m4' to `aclocal.m4'.'
[16:56:48] <wjp> you can safely ignore that
[16:57:15] <TonyHoyt> Good.
[16:57:20] <TonyHoyt> Hmmm M4.....
[16:58:39] <TonyHoyt> downloading now...
[16:59:41] <TonyHoyt> Running configure.. now make..
[17:01:05] <TonyHoyt> Okay make installed, went over to exult dir.. Ran autogen.sh and got hte same message.
[17:01:20] <TonyHoyt> also "./autogen.sh autoheader: not found"
[17:01:36] <wjp> autoheader should be part of either autoconf or automake
[17:01:43] <TonyHoyt> Oooooh
[17:01:45] <TonyHoyt> Hmmm
[17:02:26] <TonyHoyt> Still says requires m4 1.1 or later. Wierd.
[17:02:50] <TonyHoyt> I copied autoheader to /usr/local/bin btw. Wierd.... why doesn't it see it.
[17:03:17] <wjp> rehash? (if you're using tcsh)
[17:03:52] <TonyHoyt> I'm.. using.. I'm not sure what. not c script I can tell you that.
[17:05:14] <TonyHoyt> autoconf does not see m4. Then again I didn't install the application very well. But drat.... why oh why... *sigh* I hate it when stuff like this just doesn't happen.
[17:07:10] <TonyHoyt> ya, I'm farely sure it has to do with the autoconf install.
[17:09:55] <TonyHoyt> I wonder if I should get an updated version of make.
[17:10:55] <TonyHoyt> Why not, I'm downloading everything else off the fliping web.
[17:11:00] <wjp> :-)
[17:11:14] <wjp> dinner's ready
[17:11:21] <wjp> good luck
[17:11:23] --- wjp is now known as wjp|dinner
[17:12:16] <TonyHoyt> Thanks
[17:30:56] --> Fingolfin has joined #exult
[17:31:03] <TonyHoyt> Hello hello
[17:31:08] <Fingolfin> hiya
[17:31:53] <TonyHoyt> Don't mind me, I'm just trying to compile a snapshot of exult. And finaly I'm getting somewhere. Onw how can I compile without haveing to get timidity..... *Sigh*
[17:32:35] <Fingolfin> sure
[17:32:40] <Fingolfin> AAAARGG
[17:32:47] <Fingolfin> WHO EDITED THE WEB PAGE?
[17:33:01] <TonyHoyt> ?
[17:33:10] <TonyHoyt> Where is Timidity btw?
[17:33:15] * Fingolfin thinks he should tell people about what server generated web pages are, and what happends to counters if you d/l a page and then upload the again
[17:33:23] <Fingolfin> dunno about timidity, sorry
[17:33:31] <TonyHoyt> drat.
[17:33:43] <TonyHoyt> then how can i make without it?
[17:34:11] <Fingolfin> well, it should work fine w/o timidity, only that you get no midi
[17:35:04] <wjp|dinner> b
[17:35:06] --- wjp|dinner is now known as wjp
[17:35:08] <TonyHoyt> I got a compileing error. Tried to compile.. Timidithy.... And... Hmmm Maybe that.s not a midi error... I'm getting... '../../exult_types.h:41: #error "Please make sure a 16 bit type is provided by exult_types.h"'
[17:35:23] <wjp> sounds familiar...
[17:35:44] <wjp> Fingolfin: what's wrong with the webpage?
[17:35:54] <Fingolfin> hi wjp
[17:35:59] <Fingolfin> wjp: it's ok, I fixed it ;)
[17:36:03] <wjp> hi
[17:36:04] <Fingolfin> wjp: the counter got broken
[17:36:18] <wjp> I think Dancer added a weekly update a few days ago
[17:36:21] <TonyHoyt> Where am I supposed to define SIZEOF_SHORT?
[17:36:35] <wjp> configure should do that
[17:36:55] <TonyHoyt> hmmmmmm.
[17:37:13] <TonyHoyt> so as it compiles there should be a statment -DSIZEOF_SHORT 2? or something.
[17:37:34] <wjp> no, that should go into autoconfig.h
[17:38:06] <TonyHoyt> wieeeeeeeeeerd
[17:38:20] <TonyHoyt> sizeoof_int, sizeof long, sizeof long long, sizeof short alll 0
[17:38:33] <Fingolfin> hm
[17:38:40] <Fingolfin> that is great for compression I guess ;)
[17:38:42] * Fingolfin ducks
[17:38:44] <wjp> lol
[17:39:08] <wjp> when running configure, do you get messages like 'checking size of int...'?
[17:39:22] <TonyHoyt> Ahhh let me check.
[17:39:45] <TonyHoyt> OH wierd. ya they all came back 8.
[17:39:50] <TonyHoyt> 8 -> 0
[17:39:53] <TonyHoyt> Wieeeerd.
[17:40:13] <wjp> weird indeed
[17:40:26] <wjp> just edit autoconfig.h then, I suppose
[17:40:36] <TonyHoyt> I did. Compileing now. Did a make clean though just in case.
[17:41:49] <TonyHoyt> It's a compileing.. slowly.
[17:42:36] <TonyHoyt> I think I'm up to P.. Scroll_gump.o
[17:43:07] <TonyHoyt> God I love UltraSparcII's... I heard that the III's are going to be out early next year.
[17:43:50] <TonyHoyt> hmm neat. so you guys make libraries of each of the sections?
[17:43:56] <TonyHoyt> Drat. error....
[17:44:13] <TonyHoyt> Looks like... ucclex.l and yacc.par failed... Or something...
[17:44:56] <TonyHoyt> Somethign with exult/tools
[17:45:34] <wjp> do you have flex and bison installed?
[17:46:24] <TonyHoyt> Ummm No, I think I have Lex and Yacc.
[17:46:32] <wjp> ok, should work
[17:46:53] <TonyHoyt> *groans* I'm not sure on that. There not that well on compatability.
[17:47:04] <TonyHoyt> I should get them and install them first..
[17:47:19] <TonyHoyt> In the mean time though. I'm going to lunch. Later guys
[17:47:30] <wjp> bye
[17:47:58] --- TonyHoyt is now known as Tony_Lunch
[17:48:21] <Tony_Lunch> oh btw, I like how I'm immortlize forever in the exult project as the guy who doesn't know what a 'kid' is. :P
[17:48:31] <wjp> :-)
[17:48:36] <Tony_Lunch> bbl
[18:12:45] --- Tony_Lunch is now known as TonyHoyt
[18:12:48] <TonyHoyt> Hello hello again
[18:12:55] <wjp> wb
[18:12:58] <TonyHoyt> Quiet in here today. Then again, when is it not.
[18:13:40] <TonyHoyt> Well I"m giving up on the whole attempting to compile exult right now to deal with other work related issues. Maybe I"ll pick it up tomorrow, who knows. But in the mean time, thanks guys for helping me out.
[18:17:38] <wjp> np
[18:19:15] <Fingolfin> hm
[18:19:23] <Fingolfin> I am sorry I don't speak more ;)
[18:19:25] <Fingolfin> please forgive me
[18:19:37] <wjp> np :-)
[18:20:22] <TonyHoyt> It's okay Fing. Just a quiet room that's okay. Not like there's much to talk about anyway.
[18:21:15] <Fingolfin> <g>
[18:21:22] <Fingolfin> well, I gotta go now, and do my homework
[18:21:25] <Fingolfin> cya later or so
[18:21:27] <-- Fingolfin has left IRC (42)
[18:21:29] <TonyHoyt> later
[18:34:13] <wjp> rebooting...
[18:34:15] <-- wjp has left IRC (Leaving)
[18:37:00] --> wjp has joined #exult
[18:37:05] <TonyHoyt> wb Wjp.
[18:37:29] <wjp> thanks
[18:38:04] <TonyHoyt> btw: You know anyone who is serious about migrateing the whole structure of the Exult Engine into a client server modle?
[18:39:20] <wjp> dunno if that's going to happen
[18:40:10] <wjp> who knows
[18:41:02] <TonyHoyt> Didn't think so. I was hopeing then someone might do that for me then *chuckles* I was pondering the idea of makeing a online game from the u7 artwork only because you guys had a lot of the initial difficult stuff done for me. but the porting to client server might just make it worth starting from scrach with some other tile set instead.
[18:42:57] <wjp> brb
[18:55:32] <wjp> b
[18:56:59] <TonyHoyt> wb
[19:02:20] <TonyHoyt> What do you have to delete to destroy the cache for configure?
[19:02:47] <TonyHoyt> Found it, never mind.
[20:06:12] --> freedman has joined #Exult
[20:07:18] <freedman> Tony: Still there
[20:07:43] <TonyHoyt> I'm here.
[20:08:05] <TonyHoyt> Although things are more dead here then a zebra in a lions den.
[20:08:36] <freedman> Seems like most of us have been taking a break from Exult this week to play games.
[20:09:05] <TonyHoyt> Sure does seem that way.
[20:09:19] <freedman> What sort of client/server features do you need?
[20:09:23] <TonyHoyt> I know of two who have confessed to the joys of gameing.
[20:09:34] <TonyHoyt> Eh? client/server? wjp talk to you?
[20:09:54] <freedman> No. I always read the transcript before signing on!
[20:10:54] <freedman> I haven't coded in several days, but have been trying to learn about IPC.
[20:11:13] <TonyHoyt> Oh well I was thinking at some point in the future (kind of distant future, like in a couple months down the line) I was thinking that maybe I could set things up so that I could use Exult to help build an online game world. All I would really be doing is borrowing the artwork and most likely want to make my own maps (Like something 5x as large) but for now, something where you could just have a Exult server and connection with a client.
[20:11:24] <TonyHoyt> Ahh Transcript. That is a neat thing. *g*
[20:11:57] <freedman> ... I'm interested in client/server for implementing a map-editor as a 'client' of Exult.
[20:12:37] <freedman> First goal is to have a shape browser that lets you drag a shape into the Exult window.
[20:12:52] <TonyHoyt> Ahh, Well I was thinking of using for some kind of silly online game idea I had. Basicly Blackrock (A u7 online game) But done in C, Cross platform (Pipe dream) and maybe with classes and stuff.
[20:13:11] <TonyHoyt> Well the map editor, that would be something interesting to work on.
[20:13:48] <TonyHoyt> I've done a little codeing with udp network, although I should learn to use tcp/ip for something like this. Would be neat.
[20:14:34] <freedman> Have you looked at the 'u7online' project? I heard of it a while ago, but don't know if it's gone anywhere (and they usually don't).
[20:16:29] <TonyHoyt> If your talking about Blackrock (Which is the Ultima 7 Online Project) that seems rather dead. Plus it was using Delphi I think. So that's kind of two strikes against it. And It seems like Exult is a fairly evolved state. Although I'm interested in seeing it perform with Serpent Isle. (Haven't tried it out yet) But my idea would include things like, Striping Usecode and replaceing it with Python, and maybe a few more changes if..
[20:16:57] <wjp> hi Jeff
[20:16:58] <TonyHoyt> I understand more of the internals of the system. Like I might want to go with a mySQL backend for object storage in the game (Since it will be an online game) or something.
[20:17:01] <wjp> *gone again*
[20:17:01] <freedman> Hi.
[20:17:15] <TonyHoyt> or something diffrent if I feel that the way things are now don't satisfy me.
[20:17:19] <wjp> (kind of busy, atm)
[20:17:27] <freedman> Tony: Sounds ambitious.
[20:17:40] <TonyHoyt> ya. That's why it's last on my list of things to do.
[20:18:15] <freedman> But it might be fun. Imagine several AVatar parties wandering around.
[20:18:40] <TonyHoyt> So Ambitious I'm debateing if U7 Graphics are the way to go, and maybe just go 3d with some help, or a diffrent 2d tile set or something.
[20:19:03] <freedman> As for SI, Ryan did some work on it, but there's a lot more to be done.
[20:19:42] <freedman> 3D might be better; U7's pretty out-of-date.
[20:19:48] <TonyHoyt> It's just an idea. I would rather have something where you actually can see what people are equipting instead of the default layout, but who knows. It's rather hard to say right now. I say use u7 because of the nastalga, the fact that it looks good, and you guys have taken care of a lot of the details.
[20:20:31] <TonyHoyt> The problem is getting good 3d artists, and the time to do the work, and that would be my first 3d project. So The debate inside my head goes on and on. About what to do.
[20:20:47] <freedman> Yes, it's probably possible to get something working fairly quickly with the existing engine.
[20:22:07] <TonyHoyt> Ya, Specialy if the u7p2 paperdoll system could be done. That just looks nicer imho. Although a little more of a pain from time to time. But beyond that, I would strip a lot of what Exult does for only the core functionality. And then hack up from there. And so It's an idea. But it's an ambitious project of the future.
[20:22:42] <freedman> Well, if I can get map-editing implemented, that might help your project too.
[20:23:14] <freedman> My goal is to write a new game (not sure what yet) with the Exult engine.
[20:23:46] <wjp> freedman: btw, I found the 'hack-moving monsters crashes game' bug
[20:24:10] <TonyHoyt> IN the mean time I can't even compile exult. I don't know why too. Ehhh Well I'll give you a LOT of time with that because right now I have two other projects that hold a great deal of my time. And I'll need at least a good couple months to bleed them out of my system at least. As for writing a new game with the exult engine, I say go for that first.
[20:24:35] <TonyHoyt> Anyway you guys can disable the line of site check for moveing stuff?
[20:24:43] <TonyHoyt> when in hack mover mode that is.
[20:25:00] <wjp> TonyHoyt: that's gone, but the z-coordinate of an object is the problem, atm
[20:25:06] <freedman> Cool. I'm still too busy playing GK3 ...
[20:25:52] <TonyHoyt> Ahhh Yes, that's must have been what I was affected by. Okay that makes sence.
[20:26:25] <wjp> It's on the bug list, btw
[20:27:11] <freedman> Wjp: How can the user indicate he's moving an object in the Z-dir, instead of Y? Could we use the shift key?
[20:27:23] <wjp> Jeff: do we have any way of determining if a 'Game_object' is an 'Actor' ?
[20:27:27] <wjp> ummm....
[20:27:34] <wjp> good question
[20:28:03] <wjp> might be a good idea
[20:29:14] <freedman> Has implications for map-editing. Seems like the hack-mover would actuall be a main part of the editor, since that's how you'd put buildings together.
[20:29:59] <wjp> yup
[20:30:21] <freedman> wjp: There's always dynamic-cast - look in the ucmachine.cc or ucitrinsic.cc code.
[20:30:46] <TonyHoyt> Is there some menu/buttonbar/window package available that is crossplatform that you guys have debated on that would be cool for the mapeditor?
[20:31:08] <wjp> dynamic_cast returns NULL if it's not a valid type?
[20:31:13] <freedman> Tony: Gtk+. I think it's portable to Win32.
[20:31:26] <wjp> yes, Gtk is portable to windows
[20:31:37] <freedman> wjp: Yes, that's right. Or, we could add another method.
[20:32:01] <wjp> dynamic_cast will do fine I think
[20:32:10] <TonyHoyt> Cool. I might want to look at that at some point. See if it works on Solaris as well. I would assume so.
[20:32:25] <TonyHoyt> si Gtk+ a GNU projet
[20:32:31] <TonyHoyt> si -> is
[20:32:32] <TonyHoyt> ?
[20:32:40] <freedman> Tony: For sure. We have an x86 Solaris machine running Gnome!
[20:33:12] <TonyHoyt> Oh ya, Found it. Gtk+ Hmmmm
[20:33:16] <freedman> wjp: Dynamic cast is fine, but some OO purists don't like it.
[20:34:11] <wjp> k
[20:34:31] <wjp> hack-moving yourself has some nasty effects, btw
[20:34:45] <wjp> we should probably not allow that
[20:34:51] <freedman> What happens?
[20:35:05] <wjp> not sure, but all sorts of functions don't get called
[20:35:35] <wjp> switched_chunks, for example
[20:35:36] <freedman> Are you calling move(tx,ty,tz)? It's a virtual, overloaded for NPC's and the Main_actor.
[20:36:00] <wjp> currently I'm not doing anything different for Actors
[20:36:32] <freedman> You probably shouldn't; but move() should do the right thing for all objects.
[20:36:56] * wjp checks drop() code
[20:37:23] <freedman> Drop()... wonder who wrote that?:-)
[20:37:50] <wjp> I can check in the CVS logs if you want ;-)
[20:38:37] <wjp> it calls set_lift() and set_shape_pos(), it seems
[20:39:19] <freedman> Yes... and that doesn't work for actors. I should rewrite it to call move().
[20:39:58] <wjp> let me try...
[20:40:11] <wjp> move(x,y,z) ?
[20:40:48] <freedman> Yes, that's the one, I think. There should be different versions for actors.
[20:41:21] <wjp> yes, it's a virtual
[20:41:35] <freedman> It should replace some of the other code in drop_at_lift(), since it sets the lift, chunk, and position.
[20:41:47] <wjp> yes
[20:42:05] <freedman> Okay, have fun with it.
[20:42:07] <wjp> does move also activate any eggs it gets dropped on?
[20:42:39] <freedman> ... looking in CVS...
[20:43:42] <wjp> hmm... doesn't look like it
[20:43:45] <freedman> Eggs- no. Also doesn't check for being blocked.
[20:43:57] <wjp> good :-)
[20:44:14] <freedman> But it should take care of what's missing now.
[20:44:18] <wjp> (blocking checks would only disable hackmover)
[20:46:08] <wjp> hmm...
[20:46:31] <freedman> I'm checking to see if it also handles NPC's. (It's a bug if not)
[20:46:59] <wjp> currently, an object is removed from its chunk when you start dragging
[20:47:40] <wjp> (or its gump)
[20:47:49] <wjp> gumps... ouch...
[20:48:03] <freedman> True. You may have to set its cx,cy to 255,255 just before dropping.
[20:48:25] <wjp> ah, ok
[20:48:44] <wjp> 255,255 gets mapped to NULL by get_objects_safely?
[20:48:45] <freedman> Sorry about the mess; it grew over time.
[20:49:03] <wjp> I know, I hacked at the drag-n-drop code before :-)
[20:50:24] <freedman> The kludge is that the code still stores the old cx,cy in the object, even though it's been removed from the chunk. It should store those elsewhere, and immediately set cx,cy to 255,255.
[20:51:22] <freedman> I've been thinking of makeing a separate 'Drag' class to store that stuff.
[20:52:01] <wjp> ok, drag'n'drop is still working...
[20:52:29] <freedman> ?? That was fast!
[20:52:30] <wjp> uh oh, Iolo is upset at me for moving a tree
[20:52:46] <wjp> 3 lines out, one line in :-)
[20:52:54] <freedman> Cool!
[20:53:21] <wjp> the screen needs to be re-centered when moving yourself
[20:53:29] <freedman> I've got a few bugs to fix too... but Gabriel still has to find the kidnapped baby:-)
[20:53:38] <wjp> hehe :-)
[20:54:05] <wjp> ok, now let's try hack-moving some monsters between chunks
[20:54:07] <freedman> There's something like center_view() if you find that you're moving the Avatar.
[20:54:24] <wjp> I know, it's in the <home> key handle code
[20:55:04] * wjp is playing with a dragon
[20:55:28] <wjp> hmm.... it disappeared
[20:55:34] <TonyHoyt> How do you know if you crossed a chunk line.
[20:55:47] <wjp> I just move it far enough :-)
[20:56:31] <wjp> ok... not good...
[20:56:50] <wjp> oh, nm...
[20:56:56] <wjp> I just moved them outside the cave ;-)
[20:57:44] * TonyHoyt ponders in something drawing a yellow line if a key is hit to display where a superchunck boundry is. But that's his idea.
[20:58:27] <freedman> Gird lines on chunks and superchunks would be a useful option...
[20:58:47] <freedman> Are the dragons still there?
[20:59:05] <wjp> yup
[20:59:15] <wjp> I'm moving one halfway across the map, currently
[20:59:26] <TonyHoyt> Well if you could toggle ya know. Grid lines from Supper chunk, to individual squares. *Shrugs* Just an idea.
[21:00:15] <TonyHoyt> Then again if you go to the square level that could really screw things over visualy. Unless you cut off a pixle off of two edges off ever tile.
[21:00:18] <freedman> Tony: Yes, it's needed for map-editing.
[21:00:35] <wjp> ok, dragon still dies properly
[21:01:02] <freedman> Sounds like success.
[21:01:13] <TonyHoyt> Is there any reason why you guyst are still going at that now 'small' superchunk level? Or is it still usefull?
[21:01:39] <freedman> ?? 'small' superchunk?
[21:03:08] <TonyHoyt> Well How big is a super chunk? Larger then say, Trinsic?
[21:03:22] <TonyHoyt> The world is a 16x16 grid right? SUper chunk size.
[21:03:48] <freedman> It's 16x16 chunks. A chunk is 16x16 tiles, which are 8x8 pixels. There are 12x12 superchunks.
[21:04:07] <wjp> ok, I've #if 0'ed the old code, since something's bound to be broken by this change
[21:04:11] <TonyHoyt> I mean, You could potentionaly have that whole game map loaded, ai going, npc's wandering, and events going on todays modern system without breaking a sweat I bet ya.
[21:04:12] <wjp> committing...
[21:04:41] <freedman> We use the superchunks because that's how the hgave objects are stored in U7: iregnn and ifixnn, where nn is the superchunk #.
[21:05:31] <TonyHoyt> *nods* I realize that. But do you still do the 'only have 9 super chuncks loaded at any one time' deal or is everything loaded and all ai is running?
[21:06:03] <freedman> Don't be too sure; U7 is big, and could chew up 32-64Mb, I think.
[21:06:36] <wjp> I got it up to 45 after scrolling around the edge of the map
[21:06:49] <freedman> We load up superchunks as needed, but currently never free them. So if you play long enough, they'll all get loaded.
[21:07:09] <TonyHoyt> Hmm Okay so Maybe i'm missing some details. Although a game takeing up 32 MB of ram. Now how uncommon for a recent game to take that much. *grin* But I'm just curious. What if people want to make games with much much larger maps. Is that being taken into consideration in the future?
[21:08:07] <freedman> We could free chunks that you haven't visited for a long time. It's something I've planned, but haven't gotten around to.
[21:09:29] <TonyHoyt> *shrugs* Well I'm just thinking about the aspects of the game that can affect an online game at this point. *grins* Not that i'm being selfish.
[21:10:16] <freedman> We'll also have to search the code for '12':-)
[21:10:40] <wjp> hehe :-)
[21:11:21] <freedman> Good thing I'm not in school, huh?
[21:11:25] <wjp> LOL
[21:11:36] <wjp> The mayor is actually complaining about me hack-moving myself
[21:12:01] <TonyHoyt> *laughs* Does hackmoveing qualify as stealing?
[21:12:06] <wjp> "Leave that be!"
[21:12:08] <freedman> :-) Should probably set 'okay_to_move' on all Actors.
[21:12:24] <wjp> or disable stealing checks when hack-moving
[21:13:04] <freedman> That sounds best. Hack-moving == map-editing:-)
[21:13:13] <wjp> yup :-)
[21:13:16] <TonyHoyt> I could just see someone hack moveing LB "Thou should not do that, avatar!"
[21:13:33] <freedman> Well, I'm heading off for lunch. See ya.
[21:13:43] <wjp> bye
[21:13:47] <-- freedman has left IRC (Leaving)
[21:14:45] <wjp> if (!okay_to_take && (dragging_gump != on_gump || dropped_in_something || (!dragging_gump && !okay_to_move &&
[21:14:54] <wjp> to_drop->get_abs_tile_coord().distance( Tile_coord(oldtx, oldty, oldtz)) > 2)))
[21:14:57] <wjp> OUCH
[21:15:24] <wjp> must be about the longest if-condition I've ever seen :-)
[21:16:04] <TonyHoyt> *chuckles*
[21:16:22] <wjp> and I need to add something to it
[21:16:22] <TonyHoyt> Sure that can't be done cleaner though in some fasion?
[21:16:24] * wjp sighs
[21:16:49] <wjp> dunno
[21:17:06] <TonyHoyt> Sure looks messy but I'll leave it to you. Goooood luck!
[21:17:12] <wjp> all the elements seem necessary...
[21:17:46] <TonyHoyt> Maybe you could condense portions of it into functions or something *Shrugs* If some of the elements are used often enough.
[21:18:17] --> Kirben has joined #exult
[21:18:39] <TonyHoyt> Hi Kirben
[21:18:44] <Kirben> Hi
[21:18:47] <wjp> hey Travis
[21:20:10] <TonyHoyt> What's up?
[21:20:11] <wjp> committing...
[21:20:39] <TonyHoyt> Cool.
[21:21:25] * wjp checks TODO&bug lists
[21:21:51] <TonyHoyt> Nice to see that gets updated.
[21:22:14] <wjp> hack-mover can't move things on top of roofs
[21:22:20] <wjp> ok, let's fix that one
[21:22:25] <TonyHoyt> Coooool.
[21:22:52] <wjp> hmm...
[21:23:13] <wjp> that might require that z-coordinate selection mechanism we discussed earlier
[21:23:25] <TonyHoyt> ?
[21:23:56] <wjp> <freedman> Wjp: How can the user indicate he's moving an object in the Z-dir, instead of Y? Could we use the shift key?
[21:24:20] <TonyHoyt> Ahhhhhhh. Neat idea
[21:24:50] <wjp> hey, the sound tester is broken
[21:25:07] <TonyHoyt> Oh, It is?
[21:25:10] <TonyHoyt> Oooooooookay.
[21:32:08] <wjp> brb
[21:47:12] <wjp> b
[21:55:21] <TonyHoyt> heading out later
[21:55:23] <-- TonyHoyt has left IRC (outtatime)
[22:18:15] <wjp> rebooting...
[22:18:17] <-- wjp has left IRC ([x]chat)
[22:20:46] --> wjp has joined #exult
[23:27:54] <chimera|work> wjp!
[23:37:36] <-- wjp has left IRC (Ping timeout for wjp[1dyn90.ogt.casema.net])
[23:45:40] --> wjp has joined #exult
[23:45:46] <wjp> :-(
[23:45:46] <wjp> back
[23:52:20] <wjp> hi chimera
[23:52:23] <wjp> still here?