#tfl@irc.freenode.net logs for 22 Feb 2009 (GMT)

Archive Today Yesterday Tomorrow
tfl homepage


[00:37:05] --- Marzo_away is now known as Marzo
[00:37:12] <Marzo> AND, I am done
[00:44:58] * Marzo pokes wizardrydragon with the Death Scythe in an attempt to get a response
[00:46:52] <wizardrydragon> Ohi
[00:47:19] <Marzo> How art thou, avatar?
[00:55:24] <wizardrydragon> Tired.
[00:55:27] <wizardrydragon> And yourself?
[00:55:31] <Marzo> Same
[00:59:54] <wizardrydragon> Im wondering if it can really work out all that well if I tried to work on some code of if I should just sleep. Heh.
[01:11:30] --- Marzo is now known as Marzo_away
[01:15:04] --- Marzo_away is now known as Marzo
[01:30:57] --- Marzo is now known as Marzo_away
[01:41:47] --- Marzo_away is now known as Marzo
[01:51:48] --- Marzo is now known as Marzo_away
[01:58:53] --- Marzo_away is now known as Marzo
[02:08:54] --- Marzo is now known as Marzo_away
[03:40:20] --- Marzo_away is now known as Marzo
[03:40:22] <Marzo> Argh
[03:40:45] <Marzo> I am fixing up the karma references in Iolo's, Shamino's and Perth's usecode
[03:40:53] <Marzo> And Jaana
[03:41:03] <Marzo> I had fixed those, but you went and invalidated my fixes
[03:51:07] --- Marzo is now known as Marzo_away
[04:06:14] --- Marzo_away is now known as Marzo
[04:16:17] --- Marzo is now known as Marzo_away
[04:22:53] --- Marzo_away is now known as Marzo
[04:23:07] <Marzo> Huge commit in the way
[04:23:42] <Marzo> (although most of it is regexp replacements, adding 'void' for functions without returns to get rid of warnings in upcoming UCC)
[04:26:18] <Marzo> There, this done
[04:26:39] <Marzo> Recommend checking out before editing anything else
[04:51:41] <wizardrydragon> Ohi, I'm awake and totally didnt pass out at the computer
[04:51:51] <Marzo> :-p
[04:52:01] <Marzo> Read up
[04:52:46] <wizardrydragon> You went and got all productive without me *sniffle*
[04:53:44] <Marzo> One thing I am thinking of doing in UCC:
[04:54:02] <Marzo> Normally, a converse case block has the following general form:
[04:54:19] <Marzo> converse (options) { case list }
[04:54:48] <Marzo> I am thinking of allowing some non-case statements before and after the case list
[04:55:11] <wizardrydragon> Such as?
[04:55:24] <Marzo> Maybe something like: converse (options) { statements case-list } (statements)
[04:55:40] <Marzo> Oh, just general code
[04:55:58] <Marzo> Internally, the converse-blocks are a special type of loop
[04:56:14] <Marzo> A loop-switch, if you will
[04:56:44] <Marzo> There could be use for code before and after the case lists
[04:56:55] <Marzo> But I can't think of any examples
[04:56:58] <Marzo> :-)
[04:57:58] <Marzo> Ah! Got it: think of the way in SI that you can ask questions about the teleport storm items to NPCs
[04:58:13] <wizardrydragon> Here's something I suggested way back when they first made UCC - make it so that there is an option to have it automagically do one of the different level conversation trees
[04:58:17] <Marzo> After you ask a certain number of questions, they have to work
[04:58:38] <wizardrydragon> (ie, one of the branches with optionA, optionB, change subject)
[04:58:39] <Marzo> You can nest converse blocks
[04:59:18] <wizardrydragon> I prefer keeping them seperate - if you did that with nesting, there are some parts in Si for example where you'd be nesting 5-6 deep which is kinda icky
[04:59:26] <Marzo> If you nest them in the same function, UCC generates the code to push the current answers and pop after the inner converse is done
[04:59:56] <Marzo> (actually, it was already done that way before I started mucking with UCC)
[05:00:15] <Marzo> Oh, nevermind, I misread your last post
[05:00:42] <Marzo> Yeah, without nesting you have to push/pop the answers yourself
[05:01:09] <wizardrydragon> Basically what I am saying
[05:01:46] <wizardrydragon> is it would be nice if there was a way to tag a converse block in a seperate function in some way to make UCC process that block in the same way it would a nested one
[05:03:44] <wizardrydragon> Its not hard to do that by hand, I suppose but why do so when the compiler could do that for you? :P
[05:03:48] <Marzo> HM. How about something like "converse : nested (options) { case-list }"
[05:04:02] <wizardrydragon> That would work :)
[05:04:33] <wizardrydragon> Or: Alternatively, if "change subject" is in the options, it could do that.
[05:04:37] <Marzo> If you have another idea, shoot and I may get it in before I finish working on this one
[05:05:15] <Marzo> The "change subject" idea would fail for non-english dialog, though
[05:05:35] <Marzo> (and would be much more painful to implement)
[05:05:46] <wizardrydragon> Actually ... come to think of it
[05:06:04] <Marzo> Oh: and #include now works like PHP's #include_once
[05:07:01] <wizardrydragon> converse : nested would work ... you could make it include "change subject" .... and then just maybe have a way to like #define change_subject="change subject in your language here"
[05:07:40] <wizardrydragon> (Might be overkill, but I like the idea of the converse: nested or whatnot)
[05:11:59] <wizardrydragon> Though the flavour of the day is definetely overkill
[05:12:41] <wizardrydragon> I have a MUD I program for (yes, they still exist) that I just got finished writing a function to log all the player actions for.
[05:13:04] <Marzo> There, it is done
[05:13:26] <wizardrydragon> Neat :)
[05:14:37] <Marzo> (the ": nested" bit, anyway; the "chage subject" will remain for a letter day)
[05:14:46] <Marzo> s/letter/later
[05:15:01] <wizardrydragon> I was just going to say, got something against numbers?
[05:15:03] <wizardrydragon> hehe
[05:15:12] <Marzo> :-p
[05:15:32] <Marzo> One thing I was thinking
[05:16:22] <Marzo> I don't know if you remember, but a long time ago, I was asking for suggestions on ideas on a magic item which could come as an additional reward in the Keyring quest
[05:16:45] <wizardrydragon> I vaguely remember.
[05:16:51] <Marzo> I recently thought of an item, which may or may not be too powerful
[05:17:53] <Marzo> The item in question would be a staff that allows the casting of some spells
[05:18:25] <Marzo> Some spells would be cast when hitting the foe, others would be cast as if you had used the spellbook -- but without using reagents of mana
[05:18:56] <Marzo> The staff would have its own mana pool, independent from the character using it, to prevent it from being too powerful
[05:19:32] <Marzo> (and of course, that mana pool would regenerate over time)
[05:20:16] <Marzo> I was thinking of making the staff "themed" -- I am thorn between weather and lightning spells or fire spells
[05:20:41] <wizardrydragon> Hrm well the no reagents thing is right out of SS, too :P
[05:20:46] <wizardrydragon> That ring.
[05:21:01] <Marzo> Oh, but only the staff's own spells would not use reagents
[05:21:17] <Marzo> Any other spells would use the full reagents
[05:21:27] <Marzo> (which reminds me that I have to de-hard-code that ring)
[05:21:38] <wizardrydragon> Hehe
[05:22:07] <Marzo> (and the SI rings, and the swamp boots)
[05:23:18] <wizardrydragon> The way I figure it
[05:23:26] <wizardrydragon> By the time TFL gets done
[05:23:37] <wizardrydragon> You'll probably have rewritten all of SI anyways
[05:23:39] <wizardrydragon> :P
[05:23:49] <Marzo> :-p
[05:24:35] <Marzo> 'nested' option is committed
[05:31:26] <Marzo> Anyways, I am off to bed
[05:32:17] <Marzo> Good night
[05:32:21] <-- Marzo has left IRC ("Marzo vanishes suddenly.")
[09:14:54] <servus> How's the TFL map going? :)
[09:24:08] <wizardrydragon> Ello.
[09:24:12] <wizardrydragon> Its going fairly well.
[09:24:40] <wizardrydragon> Mapping when it comes to the item side and not the chunk side is a lot more time consuming than I really thought it would be.
[11:14:03] <-- wizardrydragon has left IRC (Read error: 104 (Connection reset by peer))
[17:59:12] --> Marzo has joined #tfl
[17:59:12] --- ChanServ gives voice to Marzo
[18:09:16] --- Marzo is now known as Marzo_away
[19:49:02] --- Marzo_away is now known as Marzo
[19:59:09] --- Marzo is now known as Marzo_away
[20:40:37] --- Marzo_away is now known as Marzo
[20:54:28] --- Marzo is now known as Marzo_away
[21:22:55] <-- ChanServ has left IRC (shutting down)
[21:29:55] --> ChanServ has joined #tfl
[21:30:31] <-- Marzo_away has left IRC ("Marzo vanishes suddenly.")
[23:50:39] --> Marzo has joined #tfl
[23:50:39] --- ChanServ gives voice to Marzo