#nuvie@irc.freenode.net logs for 28 Sep 2004 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage

[09:10:38] --- sbx|afk is now known as sbx
[09:10:38] <-- sbx has left IRC ("People say the universe is a Star Ocean...")
[09:10:39] <-- wjp has left IRC (Ping timeout: 14400 seconds)
[11:23:53] --> exultbot has joined #nuvie
[11:23:53] --- Topic for #nuvie is: Nuvie - New Ultima VI Engine (http://nuvie.sf.net)
[11:23:53] --- Topic for #nuvie set by ChanServ at Sun Feb 15 05:09:00 2004
[11:24:06] <Yuv422> exultbot: wb
[11:24:45] <exultbot> thanks :-)
[11:33:12] <Yuv422> Yikes
[11:33:19] * Yuv422 gets a segfault
[11:38:16] * Yuv422 wonders? Fix segfault or write up website news item?
[11:40:27] <sbx> Fix segfault :)
[11:40:34] <sbx> if you want to
[11:42:10] * Yuv422 fires up the debugger
[11:47:30] <Yuv422> sbx: can you try readying a torch created by spam?
[11:55:49] <Yuv422> I think we're going to have to change the readying object code
[11:56:04] <Yuv422> It's not going to work well with torches
[11:59:06] <sbx> why not?
[11:59:22] <Yuv422> because torches are held in the inventory
[11:59:31] <Yuv422> with a qty greater than 1
[11:59:43] <Yuv422> but we need an individual torch obj in the inventory
[11:59:52] <Yuv422> readied object list
[11:59:54] <Yuv422> I mean
[12:00:26] <Yuv422> so we probably need a seperate list for readied objects
[12:00:42] <Yuv422> so we can split the torch object correctly
[12:00:47] <sbx> I still don't understand why
[12:00:47] <Yuv422> or we could fundge it
[12:00:52] <Yuv422> fudge
[12:01:11] <Yuv422> because when an item is readied it is still in the inventory list
[12:01:22] <sbx> is that a problem?
[12:01:35] <Yuv422> it is if we want to use a torch
[12:01:41] <Yuv422> while readied
[12:01:47] <sbx> it is still in inventory after all
[12:01:51] <sbx> why?
[12:01:57] <sbx> i forgot the code :)
[12:02:21] <sbx> you should be able to check its is_readied() and handle appropriately, no?
[12:02:23] <Yuv422> to help with saving and calculating weights etc
[12:02:53] <Yuv422> I think it would probably be cleaner if we had seperate lists
[12:03:05] <Yuv422> otherwise we'll need to objects in the inventory
[12:03:08] <Yuv422> 1 lit torch
[12:03:17] <Yuv422> and a bundle of unlit torches
[12:03:46] <sbx> why can't you have that?
[12:03:58] <Yuv422> well I guess we could do that
[12:04:14] <Yuv422> but it is probably cleaner to have a seperate list
[12:04:32] <Yuv422> then we can have one rule for all objects in the general inventory
[12:05:11] <sbx> readied objects are in your inventory
[12:05:22] <sbx> hmm, is this related to the weight display?
[12:05:39] <sbx> somethign you have to do to calculate ready weight?
[12:05:50] <Yuv422> yes
[12:05:55] <Yuv422> and to help saving
[12:06:18] <sbx> is there something special about torches?
[12:06:23] <sbx> you can have two swords
[12:06:43] <Yuv422> the probalem with torches is that they are stackable
[12:06:44] <sbx> and rings with different charges, they dont even stack
[12:07:00] <sbx> right
[12:07:11] <sbx> right now we just dont stack if they have different quality, I think
[12:07:20] <Yuv422> nope
[12:07:23] <Yuv422> I took that out
[12:07:39] <sbx> hehe ok
[12:08:00] <sbx> was it wrong?
[12:08:06] <sbx> I guess so
[12:08:15] <Yuv422> for stackable stuff yes
[12:08:29] <Yuv422> because the qual field is the upper part of the qty
[12:09:00] <sbx> oh! ok
[12:09:07] <sbx> so..
[12:09:16] <Yuv422> hmm
[12:09:18] <Yuv422> interesting
[12:09:19] <sbx> stackable things dont ever use quality?
[12:09:22] <sbx> except for qty
[12:09:39] <Yuv422> maybe for torch duration
[12:09:49] <Yuv422> I'm testing this now
[12:09:53] <sbx> ok
[12:10:01] <sbx> nice to know if it's true, I forget this stuff :)
[12:10:32] <Yuv422> hmm
[12:10:36] <Yuv422> the lit torche
[12:10:39] <sbx> but if torches were an exception you have to figure out how it figures that
[12:10:39] <Yuv422> torch
[12:10:47] <Yuv422> now has a qty of 200
[12:10:52] <Yuv422> when readied
[12:11:01] <sbx> oh, lit torch... i forgot about that too...
[12:11:08] <sbx> hey we also use frame to determine stack
[12:11:28] <sbx> i mean only things with the same frame is stacked
[12:11:35] <sbx> so a lit torch isnt with unlit torches
[12:11:55] <Yuv422> yes
[12:12:02] <Yuv422> that's part of the problem
[12:12:22] <Yuv422> the remaining torch duration is kept in qty
[12:12:31] <Yuv422> when the torch is readied
[12:13:11] <sbx> Is there a flag that tells you to ignore qty when calculating weight?
[12:13:20] <sbx> or a tileflag even
[12:13:26] <Yuv422> interesting thought
[12:13:34] * Yuv422 looks at lit and readied torch
[12:14:19] <Yuv422> interesting
[12:14:21] <sbx> oh I know that torch lighting is still b0rken I'm meaning to fix that :)
[12:14:30] <Yuv422> when you attempt to drop a lit torch it burns out
[12:14:42] <sbx> yeah in u6 it disappears
[12:14:45] <sbx> but that was crashing
[12:14:53] <sbx> so I commented the delete code out
[12:15:42] <sbx> But I don't know why they don't let you drop a lit torch, that could be helpful.
[12:15:58] <sbx> It probably just uses the "unready" code to do it
[12:16:15] <Yuv422> if they determine duration by qty
[12:16:27] <Yuv422> that wouldn't work when dropped out of the readied list
[12:16:48] <Yuv422> you see 200 torches
[12:16:48] <sbx> but it would be out of inventory then too
[12:17:13] <Yuv422> bbl
[12:17:16] <sbx> it is usually tileflags that determines that kind of stuff isnt it?
[12:17:18] <sbx> k
[12:45:06] --> Fl00der has joined #nuvie
[12:56:03] <Yuv422> yes
[12:56:14] <Yuv422> but a torch is stackable
[12:56:29] <Yuv422> so it will look like 200 torches
[12:57:08] <Yuv422> interesting
[12:57:22] <Yuv422> you can light a torch that is on the ground
[12:58:43] <Yuv422> interesting
[12:58:56] <Yuv422> the qty is still 200
[12:59:29] * Yuv422 gets 200 lit torches in nuvie
[13:00:38] <Yuv422> "Get"ing a lit torch in the original readies the torch automatically
[13:02:24] <-- Kirben has left IRC ("System Meltdown")
[13:02:53] <Yuv422> Avatar:
[13:03:00] <Yuv422> >Get-a lit torch
[13:03:04] <Yuv422> No free hand
[13:03:13] <Yuv422> if both hands are full
[13:03:41] <sbx> it should do that in nuvie too
[13:03:44] <sbx> wb
[13:03:56] <sbx> (unless I forgot to add that)
[13:04:03] * Yuv422 tries
[13:04:34] <Yuv422> yes it does
[13:04:52] <Yuv422> but we need to sort out the inventory list stuff
[13:05:10] <Yuv422> at the moment I see a lit torch in the inventory with 200 printed underneath
[13:05:45] <sbx> did you figure out how U6 hid that?
[13:05:56] <sbx> or "knew how to hide it" I mean
[13:06:13] <Yuv422> well in the original the torch would go into the readied items only
[13:06:39] <sbx> so you think that readied items dont show qty?
[13:06:48] <sbx> or so you know
[13:06:53] <sbx> im tired
[13:07:02] <Yuv422> well you can make it in the original
[13:07:14] <Yuv422> put an unlit torch in your hand
[13:07:24] <Yuv422> then try to use it
[13:08:02] <sbx> what does that do?
[13:09:11] <Yuv422> it prints 1 underneath the torch in your hand
[13:10:08] <Yuv422> ready unlit torch
[13:10:11] <sbx> what happens if you spam a lit torch
[13:10:14] <Yuv422> with sword in other hand
[13:10:31] <Yuv422> then try to use torch
[13:10:42] <Yuv422> it says No free hand to hold the torch.
[13:10:52] <Yuv422> then puts the 1 underneath
[13:11:00] <sbx> wierd
[13:12:57] <Yuv422> if I unready the sword I can use the torch properly
[13:15:08] <sbx> is this U6?
[13:15:30] <Yuv422> yes
[13:24:26] <Yuv422> time for bed
[13:24:28] <Yuv422> cya
[13:24:33] <wjp> night
[13:24:40] <-- Yuv422 has left IRC ("Yuv422 has no reason")
[13:28:39] <sbx> oops
[13:28:40] <sbx> cya
[13:31:15] <sbx> brb for a bit
[13:31:18] <-- sbx has left IRC ("brb")
[13:36:12] --> sbx has joined #nuvie
[13:42:31] <sbx> <sbx> I made a mockup of the saveload dialog with a U6-style scrollbar.
[13:42:31] <sbx> <sbx> http://members.cox.net/~sbx/nuvie-loadsavedialogproto.png
[13:42:31] <sbx> <sbx> Ignore the funky-colored buttons. I'm playing with different colors to see what matches U6.
[13:45:44] --- sbx is now known as sbx|afk
[15:52:37] --> laxdragon has joined #nuvie
[18:23:13] <-- laxdragon has left IRC (Remote closed the connection)
[18:28:01] --> laxdragon has joined #nuvie
[18:55:42] <-- Fl00der has left IRC ()
[22:24:01] --> Kirben has joined #nuvie
[22:53:59] <-- Kirben has left IRC ("System Meltdown")
[23:48:24] --> Kirben has joined #nuvie