#nuvie@irc.freenode.net logs for 14 Aug 2006 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[04:59:43] --> servus_ has joined #nuvie
[05:01:30] <-- servus has left IRC (Read error: 110 (Connection timed out))
[05:55:22] --> servus__ has joined #nuvie
[05:57:13] <-- servus_ has left IRC (Read error: 110 (Connection timed out))
[07:30:50] --> servus_ has joined #nuvie
[07:32:31] <-- servus__ has left IRC (Read error: 110 (Connection timed out))
[09:56:28] --> servus__ has joined #nuvie
[09:58:05] <-- servus_ has left IRC (Read error: 110 (Connection timed out))
[10:59:34] --> Yuv422 has joined #nuvie
[11:38:41] <luteijn> nuvie was handling stacked objects' weights wrong.
[11:40:51] <luteijn> so I got off to another tangent instead of making containers work properly..
[11:57:32] <-- Yuv422 has left IRC (Read error: 110 (Connection timed out))
[11:58:04] --> Yuv422 has joined #nuvie
[12:59:21] <luteijn> argh. I hate variant spellings like gray/grey defense/defence (defense=...->defence etc.)
[13:00:21] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[13:02:35] <luteijn> Nuvie is using both spellings atm. As defence means remove from a fence to me and there is no word *defencive, but defensive does exist. I'm going to stick with defense...
[13:04:20] <Yuv422> colour color
[13:05:46] <luteijn> well you(?) use defence in one function, and SB-X(?) used defense in another. now I'm using both, so get things like defenSe=...->defenCe. and damage=..->attack.
[13:06:17] <luteijn> maybe I'll just define unions for defense and defence and attack and damage (if I can remember how they work ;)..)
[13:07:05] <Yuv422> hmm unions are a little evil
[13:07:13] <SB-X> how so?
[13:07:15] <luteijn> then everyone can use what they want..
[13:07:41] <luteijn> used already in nuvie (map coordinates: x, sx ) anyway.
[13:07:45] <Yuv422> maybe we should just agree on a spelling
[13:08:00] <SB-X> i used one in map coordinates because i didnt know they were evil ;)
[13:08:18] <Yuv422> very evil! ;-)
[13:09:11] <luteijn> well, mine isn't as evil as sbx's and even his isn't that evil as it's only one value, no hackish overlaying
[13:09:31] <SB-X> that's what I was going to say :)
[13:09:35] <SB-X> what about a macro?
[13:10:03] <luteijn> feel free to change it again after I commit ;)
[13:10:18] <SB-X> i agree that we should just agree on a spelling
[13:10:42] <SB-X> whichever one you guys decide to use is fine
[13:11:22] <luteijn> the problem is the decision. English' variants all have something going for them for a non-native speaker..
[13:11:44] <luteijn> somethings don't make sense in american, others not in australian, or british..
[13:12:24] <luteijn> normally I'd say go for British spelling as it is 'the original' but U6 is an american game (honor not honour) etc. so things would be confusing.
[13:12:49] <luteijn> and of course u6 has ye-olde-english-spelling in places. But not consistant.
[13:13:24] <SB-X> they shouldve translated it to british english for the british market
[13:15:34] <Yuv422> gettext
[13:15:55] <luteijn> hmm almost there.. Look-Thou dost see a sword. It weighs 1.4 stones and can do 15 point\s of damage.
[13:16:27] <luteijn> that \s probably was meant as a placeholder?
[13:17:54] <luteijn> or did you expect printf to understand u6 escape codes ;)
[13:19:03] <luteijn> hmm have to check if the defen[cs]e value of the main gauche is incorrect or my code buggy..
[13:23:03] <Yuv422> defence 5 matches
[13:23:36] <Yuv422> defense 3 matches
[13:23:43] <luteijn> but I think defense predates it (look code has it, but didn't use it because the table wasn't there yet)
[13:26:50] <luteijn> I slightly prefer defense because it doesn't conflict with the hypothetical verb 'to defence -- to remove someone from a fence, usually by force'
[13:28:23] <Yuv422> hehe
[13:28:25] <luteijn> main gauche is not defined to have a defensive rating, but afaik it should defend.
[13:32:51] <-- Yuv422 has left IRC (Read error: 110 (Connection timed out))
[13:34:35] --> Yuv422 has joined #nuvie
[13:39:12] * Yuv422 longs for a decent IRC connection!
[13:39:45] <Yuv422> I don't mind if you change it to defense
[13:40:41] <Yuv422> well I'd prefer the queen's english but I can live with it. :-)
[13:41:14] <luteijn> Isn't the queen German?
[13:43:08] <Yuv422> I guess so. ;-)
[13:44:46] <Yuv422> how do you say defence in dutch?
[13:45:17] <luteijn> maybe we could just call it 'armor' instead.. hmm no armo(u)r,, bleh. protect(ion), absorb(tion) (the look string uses can 'absorb'). in dutch it would be 'verdediging'.
[13:45:47] <luteijn> of 'defensie' (with an S ;) )
[13:46:19] <luteijn> it's based on latin so we should go back to that..
[13:51:26] <luteijn> hmm latin goes for the 's' in the participium. so does esperanto, french: defense (stripped accents), british engish seems the odd one out
[13:52:09] <SB-X> luteijn: i didnt know it was in a printf, but the \s is a placeholder, im going to edit msgscroll output to handle the escape codes
[13:53:44] <Yuv422> I'm off to bed
[13:53:45] <Yuv422> cya
[13:53:46] <luteijn> ok, for now I've fixed the printf to be %s .. ,value?"":"s". it's actually a snprintf so \s would have worked when evetually msgscroll handles it.
[13:54:06] <Yuv422> feel free to change defence to defense
[13:54:18] <-- Yuv422 has left IRC ()
[13:54:33] <SB-X> oops, cya :)
[13:55:27] <luteijn> going to commit this stuff.. too bad I didn't get to really work on containers as I got sidetracked into this..
[13:55:34] <SB-X> :\
[13:56:31] <luteijn> Well, wanted to have the container weight summari[sz]ation fixed before messing with containers ;)
[13:58:18] <luteijn> has_plural is not a required condition of is_stackable, only a sufficient..
[13:58:46] <luteijn> Zu Ylem and silver snake venom should also stack. And maybe more things.. :(
[14:02:04] <SB-X> has_plural is how we determine is_stackable?
[14:02:20] <SB-X> well we are missing about 3 tileflags, maybe it's one of those
[14:02:26] <luteijn> eventually comes down to that yes.
[14:02:36] <luteijn> I checked the tile flags, no cigar.
[14:02:44] <luteijn> It will all be in the changelog ;)
[14:03:05] <SB-X> what did you mean by container weight summarization?
[14:03:10] <SB-X> oh all right
[14:03:10] <luteijn> almost had something but the black pearl didn't fit the conjecture.
[14:03:26] <luteijn> stuff in bags was coming out with the wrong weights.
[14:03:34] <SB-X> ah k
[14:03:51] <SB-X> was it due to floating point rounding?
[14:04:36] <luteijn> among other things. worst thing was that a function call was redefined at some point and the recursive call wasn't adjusted properly. because of C++'s nice default arguments, this wasn't flagged as a compile time error.
[14:05:17] <luteijn> another cause was that all stackable items' weight was devided by 10. but that's wrong too.
[14:05:34] <SB-X> wouldn't it have failed to compile due to ambiguous function names?
[14:06:34] <luteijn> definition was (obj,containers_too=whatever,scale=true)
[14:06:57] <luteijn> called with (obj,false), instead of (obj,,false).
[14:07:46] <luteijn> so it acted as (obj,false,true) instead of what was meant (obj,whatever,false).
[14:08:03] <SB-X> oh ok, i can see why thats dangerous
[14:09:57] <luteijn> actually we probably shouldn't be using default arguments, to avoid this kind of things. But they can be handy sometimes...
[14:10:53] <SB-X> we only use them everywhere :)
[14:16:09] <luteijn> I'll commit so you can see the changelog entry, just checking if I covered everything I did.
[14:23:55] <luteijn> comitted.
[14:35:01] <SB-X> k
[14:35:05] <SB-X> cant check my mail atm
[17:26:37] <SB-X> sleep
[17:26:37] <SB-X> cya
[17:26:46] --- SB-X is now known as sbx|afk
[22:10:28] <-- luteijn has left IRC (orwell.freenode.net irc.freenode.net)
[22:10:28] <-- ChanServ has left IRC (orwell.freenode.net irc.freenode.net)
[22:10:28] <-- servus__ has left IRC (orwell.freenode.net irc.freenode.net)
[22:10:28] <-- sbx|afk has left IRC (orwell.freenode.net irc.freenode.net)
[22:10:28] <-- laxdragon has left IRC (orwell.freenode.net irc.freenode.net)
[22:10:28] <-- wjp has left IRC (orwell.freenode.net irc.freenode.net)
[22:11:42] --> ChanServ has joined #nuvie
[22:11:42] --> servus__ has joined #nuvie
[22:11:42] --> sbx|afk has joined #nuvie
[22:11:42] --> laxdragon has joined #nuvie
[22:11:42] --> luteijn has joined #nuvie
[22:11:42] --> wjp has joined #nuvie
[22:47:09] --> Kirben has joined #nuvie