#exult@irc.freenode.net logs for 10 Jun 2001 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:22:45] <wjp> hmm, it's getting a bit late... see you later
[00:22:55] <-- wjp has left IRC ([x]chat)
[00:42:22] <-- statix- has left IRC (ircN 7.26 + 7.0 for mIRC (2001/04/03 20.00))
[01:14:38] --> Kirben has joined #exult
[03:20:14] --> Wumpus has joined #exult
[03:40:46] <-- Wumpus has left IRC (Time to stop avoiding stuff)
[06:48:30] <-- exultbot has left IRC (signing off...)
[06:48:38] --> exultbot has joined #exult
[06:53:11] --> matt0 has joined #exult
[07:46:09] <-- chimera|wookin has left IRC (Ping timeout for chimera|wookin[holladay.cb-travel.com])
[07:46:21] --> chimera|wookin has joined #exult
[07:51:51] <-- Kirben has left IRC (Read error to Kirben[co3007967-a.brasd1.vic.optushome.com.au]: Connection reset by peer)
[07:54:35] --> Kirben has joined #exult
[08:36:34] <-- exultbot has left IRC (signing off...)
[08:36:35] --> exultbot has joined #exult
[08:36:35] --- Topic for #exult is: Exult, the open source Ultima 7 and U7 part 2 engine
[08:36:35] --- Topic for #exult set by ChanServ at Tue Jun 5 21:37:52 2001
[08:56:35] <-- matt0 has left IRC (Ping timeout for matt0[1667079149-yippy.dsl.xmission.com])
[08:57:00] <-- chimera|wookin has left IRC (Ping timeout for chimera|wookin[holladay.cb-travel.com])
[09:27:43] --> matt0 has joined #exult
[09:44:53] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[11:36:27] --> wjp has joined #exult
[12:58:52] --> Colourless has joined #Exult
[12:59:20] <wjp> hi
[13:12:26] <Colourless> hi
[13:27:43] <-- Kirben has left IRC (System Meltdown)
[13:42:21] <wjp> I like the changing mouse cursor in gump mode, btw. (just saw it for the first time :-) )
[13:42:33] <Colourless> :)
[13:43:00] <Colourless> you know, it was so easy to do, i'm amazed it too so long for someone to do it :)
[13:43:10] <wjp> one thing though: maybe it would be useful to keep the 'arrow' mouse cursor while holding the right mouse button?
[13:43:14] <Colourless> s/too/took/
[13:43:34] <Colourless> yeah
[13:43:43] <Colourless> might change that a little later
[13:44:36] <wjp> I'm going to take a look at that avatar==Container_game_object bug
[13:44:45] <Colourless> good idea
[13:44:46] <wjp> I really don't get why that happens
[13:45:33] <Colourless> check for npc number?
[13:45:52] <wjp> as a fix you mean?
[13:46:17] <Colourless> no, as the cause of the problem
[13:46:28] <Colourless> it's just a guess
[13:46:30] <wjp> ?
[13:46:34] <wjp> what do you mean?
[13:47:20] <Colourless> i was just saying that the reason for the bug might have been due to a attempt to check for a npc number.
[13:47:26] <Colourless> i've no real idea though
[13:47:48] <wjp> yeah, I got that part, but I don't see how that would cause this
[13:48:02] <Colourless> :) i don'r really know what the problem it
[13:48:07] <Colourless> s/it/is
[13:48:48] <Colourless> what exactly is going on
[13:49:27] <wjp> gwin::double_clicked is called, which calls find_object(x,y), which apparently returns a pointer to a Container_gump_object instead of a Main_actor
[13:50:22] <Colourless> but that shouldn't matter... should it. all the relevant calls should be virtual
[13:50:58] <wjp> sorry, that was a confusing way of putting it... it calls Container_game_object::activate
[13:51:13] <wjp> and not Actor::activate
[13:51:34] <Colourless> I can see how that may cause a problem
[13:52:13] <wjp> (and since the avatar doesn't have a proper container gump associated with it, nothing happens)
[13:53:34] <wjp> ooh, I crashed gdb
[13:56:05] <Colourless> ok
[13:56:15] <Colourless> i've noticed something strange.
[13:57:06] <wjp> uh oh, wait a sec...
[13:57:18] <wjp> I may have caused this by that 'force_party_inv' flag
[13:57:21] <Colourless> yeah!
[13:57:30] <Colourless> :)
[13:57:59] <wjp> I should probably add it to the other ::activate's too, then
[13:58:05] <Colourless> yeah
[13:59:21] <wjp> learned another thing about virtual functions :-)
[14:00:53] <wjp> I wonder if there's a cleaner way to do this
[14:01:35] <wjp> how about an Actor::show_inventory?
[14:01:35] <Colourless> new function?
[14:01:43] <wjp> right :-)
[14:01:46] <Colourless> yeah, sounds good
[14:02:44] <wjp> oh, btw, before I forget: can you run SI in u7run?
[14:05:01] <Colourless> yeah
[14:05:38] <wjp> could you take a screenshot of that party-statistics gump?
[14:07:10] <Colourless> if you want
[14:15:26] <Colourless> http://www.users.on.net/triforce/statgump.png
[14:15:40] <wjp> thanks
[14:16:23] <Colourless> on av and shamino, but I think you'll work the rest out
[14:16:23] <Colourless> s/on/only/
[14:16:43] <wjp> :-)
[14:16:51] <wjp> shouldn't be hard to implement
[14:17:02] <wjp> only minor issue is that BG has more party members
[14:17:03] <Colourless> mostly just text
[14:17:18] <Colourless> yeah, but it's not in BG
[14:17:20] <Colourless> :)
[14:17:34] <wjp> heh :-)
[14:18:11] <Colourless> or, you could modify the gump :)
[14:18:46] <Colourless> it is possible to get more party members. I did it once in the original, and when I attempted to load the gump the game crashed
[14:19:05] <wjp> oops :-)
[14:19:41] <Colourless> it occured after i got out of the mountains of freedom. I had 2 or 3 automaton's in my party.
[14:20:00] <Colourless> Iolo, Shamino, Dupre and Boyden were waiting in Moonshade for me
[14:20:18] <Colourless> add it all up
[14:20:36] <wjp> and they just joined without complaining about party size?
[14:20:52] <Colourless> I think it required me to kill one of that automatons and recreate it
[14:21:44] <wjp> ok, inventory seems to be working properly again
[14:22:20] <Colourless> good :)
[14:30:01] * Colourless dislikes file formats that contain arrays and do not say how large the array is. :(
[14:41:40] <wjp> yeah, me too
[14:42:21] <Colourless> at least it was in a text file with a well defined structure
[14:47:38] <wjp> you access the combat stats by pressing the crossed swords in the inventory, right?
[14:47:45] <Colourless> yeah
[14:47:56] <Colourless> and a key press, but I can't remember what it is
[14:48:35] <Colourless> it's 'L'
[14:49:09] <wjp> L? ah well, why not :-)
[14:49:53] <Colourless> what would you call it?
[14:50:11] <wjp> combat stats
[14:50:23] <Colourless> and the key?
[14:50:33] <wjp> L? :-)
[14:50:40] <Colourless> heh.
[14:50:55] <Colourless> S = Save, Z = Ztats, C = Combat.
[14:51:26] <Colourless> perhaps 'T' would have been a good idea
[14:51:33] <wjp> target
[14:51:39] <Colourless> ah yeah
[14:51:55] <Colourless> i've got it
[14:52:05] <Colourless> P = Party Combat Stats (was Pick Lock)
[14:52:08] <Colourless> L = Lock Pick
[14:52:28] <wjp> yeah, that would work :-)
[15:09:07] <wjp> was the crash-when-sleeping bug in the current release?
[15:09:33] <Colourless> i've no idea
[15:55:39] <wjp> boy... adjusting coordinates sure is fun...
[15:55:51] <Colourless> :) yep it is
[15:56:21] <Colourless> imagine what doing the paperdolls was like... :(
[15:56:54] <wjp> heh :-)
[15:57:05] <wjp> I'd rather not :-)
[15:57:57] <Colourless> i still don't think it's correct for somethings
[15:58:53] <wjp> I haven't seen anything wrong yet
[15:59:03] <wjp> (not that I've been very close attention)
[15:59:41] <Colourless> wouldn't surprise me.
[16:05:10] <wjp> ok, finished most of the display code... phew
[16:05:19] <wjp> just need to do the character faces
[16:05:52] <Colourless> you'll need to get all of them from paperdolls....
[16:05:59] <wjp> yup
[16:06:04] <Colourless> but first
[16:07:40] <Colourless> i think it was you who added the Gumpshapefile stuff. The SI paperdolls don't use those methods... and probably should. You should add paperdol.flx to the Gumpshapefile list and use that for the gump.
[16:08:13] <Colourless> don't worry about updating the paperdoll gump, i'll do that later
[16:09:39] <Colourless> for to get the face shapes, use Paperdoll_gump::GetCharacterInfo
[16:10:35] * wjp checks headers
[16:10:53] <wjp> ok, so I get a Paperdoll_gump::Paperdoll_npc, which contains the info
[16:11:02] <Colourless> yeah
[16:11:52] <Colourless> the shape parameter for GetCharacterInfo is the world shape used for that character... you'll need to use Actor::get_shape_real() because polymorphs will cause problems
[16:12:02] <Colourless> if you use get_shape()
[16:12:04] <wjp> any special things needed for which avatar image you chose?
[16:13:31] <wjp> ie. does get_real_shape return the proper shape then?
[16:13:38] <Colourless> yeah it does
[16:13:41] <wjp> get_shape_real(), sorry
[16:13:42] <wjp> ok
[16:17:47] <Colourless> really old interview with Spector about SI http://www.ttlg.com/articles/WSint.asp
[16:20:36] <Colourless> the best quote EVER
[16:20:36] <Colourless> GB: (4) Still uses the Voodoo Memory Manager?
[16:20:36] <Colourless> WS: Yes it does. That is something I personally dearly would love to
[16:20:36] <Colourless> change, but it's not in the cards right now.
[16:20:50] <wjp> I was just reading that too :-)
[16:21:04] <wjp> the next one is fun too :-)
[16:21:15] <Colourless> heh
[16:22:24] <Colourless> uh oh
[16:22:24] <Colourless> GB: (8) Here's a "flame" as well call it on the net. It starts by saying,
[16:22:24] <Colourless> "This isn't a flame, but... I really enjoyed Ultima 7, but I was really
[16:22:24] <Colourless> disappointed that Origin seemed to do its beta-testing with the consumers.
[16:22:24] <Colourless> What are you doing to make sure that SI will be bug-free."
[16:23:39] <wjp> GB: Why do you call them "gumps"?
[16:23:50] <Colourless> hehe
[16:28:28] <Colourless> http://www.ttlg.com/articles/WSint.asp
[16:28:31] <Colourless> opps
[16:29:23] <wjp> buttons working...
[16:29:33] <wjp> now let's do those faces
[16:34:03] <wjp> hmm, what did you mean by using Gumpshapefile?
[16:34:45] <Colourless> look at the top of gump.h
[16:35:23] <wjp> I know what Gumpshapefile is, btw
[16:35:32] <wjp> :-)
[16:35:39] <wjp> (I kind of wrote it... :-) )
[16:35:45] <Colourless> yeah, i know
[16:37:00] <Colourless> as you would know, paperdol.flx isn't part of the Gumpshapefile set. It should be
[16:37:14] <Colourless> paperdol.vga actually
[16:39:07] <wjp> ok, added
[16:39:17] <wjp> but how would you use it here?
[16:39:51] <Colourless> how were you going to paint the faces ?
[16:40:02] <Colourless> just a heads up here. If you double click on a face in the stats gump, that persons inventory will be opened
[16:40:03] <wjp> get shapenum, paint shape
[16:40:13] <wjp> oh, it actually needs to do something?
[16:40:32] <wjp> ok, now I got it :-)
[16:40:47] <wjp> so I'll create a new Gump_widget
[16:41:53] <wjp> you wouldn't happen to already have it for the health bars, would you? :-)
[16:42:06] <Colourless> no. :)
[16:42:22] <Colourless> i haven't done anything for them yet :(
[16:42:46] <wjp> when I'm done with this widget you'll be able to say you're halfway there ;-)
[16:43:18] <Colourless> hehe
[17:10:55] <wjp> maybe we should get a uniform system for shapefile id's sometime
[17:11:17] <Colourless> we can dream :(
[17:11:23] <Colourless> that was meant to be a :)
[17:11:28] <wjp> :-)
[17:11:34] <wjp> there already is a 'ShapeID' class
[17:11:43] <wjp> we could extend it to include a file
[17:11:55] <Colourless> yeah
[17:11:58] <wjp> only problem is, not everything uses that to refer to a shape
[17:12:16] <Colourless> most things dont
[17:12:38] <Colourless> AFAIK
[17:12:48] <wjp> I think Game_object and Gump inherit from it, but that's about it
[17:13:09] <Colourless> yeah.
[17:13:49] <Colourless> what exactly does the ShapeID class do
[17:14:08] <wjp> nothing much
[17:14:36] <wjp> it just contains a shapenum, a framenum and some access functions
[17:15:11] <wjp> heh, shapeid.h says "objs.h" on top :-)
[17:15:25] <Colourless> heh.
[17:16:27] * wjp fixes that, causing a nearly full recompile
[17:16:29] <Colourless> Expanding shapeid might help a little. it couldn't hurt
[17:17:15] <wjp> this might be a useful project for after my exams
[17:17:45] <Colourless> there already is a Shape_frame *get_shape(const ShapeID& id)
[17:17:52] <Colourless> in GameWindow
[17:19:19] <wjp> okay if I export Paperdoll_gump::GetCharacterInfo and GetItemInfo? (protected->public)
[17:19:50] <wjp> or should I use 'friend' ?
[17:20:10] <wjp> (it's your class :-) )
[17:20:20] <Colourless> yeah, i know
[17:20:32] <Colourless> i'm looking at what i've done
[17:21:33] <wjp> dinner's ready; bbl
[17:23:04] <Colourless> ok, make GetCharacterInfo and GetItemInfo public. Also, make the returns const
[17:23:13] <Colourless> can't have them being modified
[17:42:31] <wjp> back
[17:44:34] --> Blackthorn has joined #exult
[17:44:46] <-- Blackthorn has left IRC ()
[17:46:11] <wjp> making the returns const will require quite a lot of changes in Paperdoll_gump.cc
[17:46:20] <Colourless> it will?
[17:46:33] <wjp> yeah, because the results are assigned to non-const pointers
[17:46:43] <wjp> and those are again passed to other functions
[17:46:44] <Colourless> ah ok.
[17:47:00] <wjp> it's doable, but I won't do it now
[17:47:07] <Colourless> just leave it as is. i'll get around to changing it
[17:48:32] <wjp> hey, it actually compiled
[17:56:04] <Colourless> does it work though
[17:56:19] <wjp> yup, it does now
[17:56:39] <wjp> is it a problem if it only requires single-clicking to open the inventory?
[17:57:36] <wjp> oh, wait, double click functionality is in there too...
[17:58:13] <Colourless> yes it is a problem :)
[17:59:40] <wjp> ok, I'd better fix it then :-)
[18:00:08] <wjp> oh, and I need to get rid of that default 'push' behaviour... (it now shows the 'face+helmet' shape when you push it :-) )
[18:00:38] <Colourless> hmm, i think that needs changing :)
[18:05:36] <wjp> all done!
[18:05:53] <wjp> oh, never mind :-)
[18:05:59] <Colourless> what
[18:06:01] <wjp> still need to do the keybinding
[18:09:17] * wjp moves skiplift_decrement to alt-L
[18:10:49] <Colourless> have you noticed the changes I made to the mouse hand setting code for the other key actions?
[18:11:03] * wjp looks
[18:11:30] <wjp> Mouse::mouse?
[18:11:52] <wjp> or was that already there?
[18:11:53] <Colourless> yeah that's it. before once a gump was activated, the mouse was set to the hand. now, i included a check to see if the mouse was actually over a gump
[18:12:06] <Colourless> it wasn't there before
[18:12:49] <wjp> ah, and the gwin->find_gump(mousex, mousey)
[18:13:22] <Colourless> yeah
[18:13:26] <Colourless> i added that
[18:15:01] <wjp> time to commit
[18:30:57] <wjp> alright, done
[18:32:19] <wjp> turned out to be more work than I thought :/
[19:08:00] --- wjp is now known as wjp|away
[19:08:03] <wjp|away> bbl
[19:08:08] <Colourless> ok
[20:00:32] --- wjp|away is now known as wjp
[20:46:56] <wjp> Colourless?
[20:47:29] <Colourless> yes
[20:47:47] <wjp> did you already see the new report on your 'exultsmp' binary?
[20:48:09] <wjp> (on jackchaos)
[20:48:40] <Colourless> just checking it
[20:48:49] <wjp> it seems to be working fine now
[20:48:51] <wjp> what did you change?
[20:49:05] <Colourless> new and deletes to malloc and free
[20:49:19] <wjp> hmm
[20:49:27] <Colourless> in the midi code
[20:50:14] <wjp> "What is the daily screenshot / do I need it?" :-)
[20:50:33] <Colourless> hehe
[20:51:04] <Colourless> i can't really laugh. I didn't know what was meant by daily snapshot at first either
[20:51:35] <wjp> yeah, it's kind of a common cause of confusion
[21:03:54] <wjp> time for me to go
[21:03:58] <Colourless> ok
[21:03:59] <wjp> night
[21:03:59] <Colourless> cya
[21:04:03] <-- wjp has left IRC ([x]chat)
[22:30:14] <-- Colourless has left IRC ([7:59])
[23:25:00] --- ChanServ has changed the topic to: Exult, the open source Ultima 7 and U7 part 2 engine