#nuvie@irc.freenode.net logs for 4 Sep 2006 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[01:45:25] <-- Zerothis has left IRC (Remote closed the connection)
[05:53:19] --- sbx|afk is now known as SB-X
[07:59:27] <-- wizardrydragon has left IRC (Read error: 110 (Connection timed out))
[08:49:19] <-- luteijn has left IRC (leguin.freenode.net irc.freenode.net)
[08:49:19] <-- ChanServ has left IRC (leguin.freenode.net irc.freenode.net)
[08:49:19] <-- servus has left IRC (leguin.freenode.net irc.freenode.net)
[08:49:19] <-- laxdragon has left IRC (leguin.freenode.net irc.freenode.net)
[08:49:19] <-- SB-X has left IRC (leguin.freenode.net irc.freenode.net)
[08:49:19] <-- wjp has left IRC (leguin.freenode.net irc.freenode.net)
[08:49:19] --> ChanServ has joined #nuvie
[08:49:19] --> SB-X has joined #nuvie
[08:49:19] --> servus has joined #nuvie
[08:49:19] --> laxdragon has joined #nuvie
[08:49:19] --> luteijn has joined #nuvie
[08:49:19] --> wjp has joined #nuvie
[09:25:45] <servus> t
[09:37:21] <luteijn> is that the letter of the day?
[09:40:43] <servus> YOU SAID IT FOUR TIMES! EVERYBODY SCREAM!
[10:30:09] --> Yuv422 has joined #nuvie
[10:59:48] <SB-X> hey yuv
[11:05:14] <Yuv422> hey SB-X
[11:05:17] <Yuv422> how's it going?
[11:05:41] <Yuv422> did you ever play game and watch games?
[11:05:42] <SB-X> not bad
[11:05:45] <SB-X> getting some more food
[11:05:52] <Yuv422> hehe
[11:05:53] <SB-X> what game
[11:05:58] <Yuv422> donkey kong
[11:06:03] <Yuv422> dk-52
[11:06:31] <SB-X> have I played donkey kong? yes
[11:06:36] <SB-X> i played it like last week
[11:06:51] <Yuv422> http://www.gameandwatch.com/screen/multiscreen/donkey/index.html
[11:07:28] <Yuv422> really?
[11:07:30] <SB-X> No I never played that. I never heard of G&W.
[11:07:43] <Yuv422> :-(
[11:07:52] <Yuv422> hehe I had one.
[11:07:56] <SB-X> you mean games on watches?
[11:08:01] <Yuv422> just got it out yesterday to see if it still works
[11:08:21] <SB-X> ooh, duh... yeah, we talked about them before :p
[11:08:21] <Yuv422> they were called 'game and watch' games
[11:08:25] <SB-X> i didnt know that
[11:08:41] <SB-X> i thought you were using watch as a verb as in "you can watch someone playing them"
[11:08:50] <SB-X> sorry :)
[11:08:55] <Yuv422> ah
[11:08:57] <SB-X> i shouldnt have figured out what you meant
[11:09:14] <SB-X> i played the zelda watch game
[11:09:22] <SB-X> should have*
[11:09:45] <Yuv422> speaking of food
[11:09:48] <SB-X> how can a game played on two screens on a DS emulate a G&W game?
[11:09:51] <Yuv422> I need to go buy some.
[11:10:11] <Yuv422> dk-52 was two screens
[11:10:19] <SB-X> interesting
[11:10:50] <Yuv422> I need to get batteries for my donkey kong game
[11:11:36] <SB-X> http://www.mame.net/screenshots/dkong.png
[11:11:42] <SB-X> that's the donkey kong game I played
[11:13:06] <Yuv422> ah yes
[11:13:11] <Yuv422> that's good too
[11:13:38] <-- Yuv422 has left IRC ()
[11:13:43] --> Yuv422 has joined #nuvie
[11:14:03] <Yuv422> bbl
[11:14:07] <SB-X> ok
[11:14:09] <-- SB-X has left IRC ("BRB")
[11:38:21] --> SB-X has joined #nuvie
[11:54:17] <-- Yuv422 has left IRC (Read error: 110 (Connection timed out))
[11:56:14] --> Yuv422 has joined #nuvie
[11:59:15] <luteijn> Looked a bit at the new spell scripts, is the way they are loaded now just a temporary hack? I'd think we'd want nuvie to just iterate over the (sub) directories and add all the scripts there?
[12:11:59] <Yuv422> hey luteijn
[12:12:23] <Yuv422> that's a good idea
[12:12:45] <Yuv422> It should be easy to write a loader script
[12:13:05] <Yuv422> that loads from directories
[12:17:59] <luteijn> also, is the spells.nsl list still used? becuase all the information seems duplicated in the spell scripts.
[12:19:32] <Yuv422> yes I need to shift the spell logic to use the data out of the scripts
[12:24:39] <luteijn> your template has circle 1, number 1, so the empty spell scripts would 'damage' the entry for that one. maybe 0,0 would be a better template entry.
[12:27:03] <Yuv422> hmm lua doesn't have directory functions
[12:27:56] <luteijn> so it would have to ask nuvie-proper to supply names to load?
[12:31:15] <luteijn> http://www.steve.org.uk/Software/lua-fs/docs/manual.html
[12:31:32] <luteijn> that seems to provide readdir and friends
[12:32:05] <SB-X> i mentioned the spell loading style a few days ago
[12:32:25] <SB-X> i just dont like all that extra data about the spells in the scripts
[12:33:31] <luteijn> each script is now basically a record from the spells.nsl
[12:37:02] <luteijn> which is ok, although it might create issues when things like circle and number overlap for two spells.. in the spell list format this wasn't possible since this informatino was implicit in the order of the list. Each record basically fileld a slot there.
[12:37:44] <SB-X> i didnt even think about that
[12:37:52] <SB-X> i just didnt like the form
[12:38:55] <SB-X> I suggested changing the script field of each record to a filename, and converting it to a function at runtime... but whatever you think works best.
[12:39:00] <luteijn> maybe we should still have a list with slots, like we have now, and just make the meaning of 'script:' slightly different, instead of having the script in-line, it could just have the script filename.
[12:39:12] <SB-X> haha
[12:39:21] <luteijn> ok we agree
[12:39:28] <SB-X> well in any event, I forgot to add that obviously you'd move the tables to another file :)
[12:39:40] <luteijn> now we just need to have Yuv do the hard work...
[12:40:48] <-- Yuv422 has left IRC (Read error: 110 (Connection timed out))
[12:41:12] <SB-X> I also want to be able to call the scripts a little more flexibly, in view of wanting to combine magic and usecode in the future, instead of having to go through the magic loader.
[12:42:44] --> Yuv422 has joined #nuvie
[12:42:47] <SB-X> although I plan to store monster spells as the incantation, so calling by that that works fine
[12:42:51] <SB-X> Yuv422: wb
[12:43:14] <Yuv422> ty
[12:43:16] <luteijn> probably we also want to call them by 'spell quality number'
[12:43:35] <SB-X> calling them by that*
[12:43:44] <SB-X> and what about directly? by script or function name
[12:44:12] <luteijn> the more flexibility the better..
[12:45:04] <SB-X> Yuv422: speaking of Donkey Kong...
[12:45:06] <SB-X> http://luteijn.xs4all.nl/~sbx/robotchicken118-halo_v_donkey_kong.avi
[12:45:20] * SB-X abuses luteijn's server space.
[12:45:45] * Yuv422 looks
[12:46:10] <SB-X> heh, im never sure when you're still here or disconnected :)
[12:47:03] <Yuv422> hehe neither am I most of the time
[12:47:06] <Yuv422> :(
[12:47:13] <luteijn> remember it's adsl, and rather cheap, so traffic from server to outside world is not very quick. :)
[12:47:36] * Yuv422 wgets the file
[12:47:47] <SB-X> i forgot about that...
[12:48:11] <SB-X> i have adsl and could use more upload speed
[12:48:32] <SB-X> so it's probably the same for you, luteijn
[12:49:15] <SB-X> if you are frequently serving out files anyway
[12:49:17] <luteijn> when I moved house, I got a free downgrade because it was just a little too far from the CO..
[12:49:27] <SB-X> yay... oh wait, downgrade
[12:49:32] <SB-X> ?.?.?
[12:49:43] <SB-X> that's too bad
[12:50:33] <Yuv422> an ordered spell list stops overwriting but having a spell loaded just by being in a directory is cool
[12:50:52] <luteijn> it's probably just on the edge, I could have had my old speed if I had an analog line, but not with my ISDN line. so it's probably just a case of 'we can't guarantee the full speed, so we'll just drop you down to a lower bracket instead'
[12:51:17] <luteijn> wel you're basically using the FS as your list, but the ordering is a little less obvious for a direcotry.
[12:51:55] <SB-X> we won't need to preload object usecode (just a reminder whenever we get around to adding support for scripted usecode)
[12:53:44] <Yuv422> how about an index table like spells.nsl pointing to the files
[12:53:53] <Yuv422> with each file being just a script
[12:54:29] <SB-X> sounds good
[12:55:02] <SB-X> i only just finished reading the chapter in the lua book about lua tables, so don't take my word on it
[12:56:43] <Yuv422> hehe those evil halo guys
[12:57:14] <SB-X> i thought they were supposed the good guys
[12:57:15] <SB-X> hehe
[13:05:29] <-- Yuv422 has left IRC (Read error: 110 (Connection timed out))
[13:07:15] --> Yuv422 has joined #nuvie
[13:10:20] <SB-X> Yuv422: do you mind if I add a print function to the global namespace?
[13:11:30] <Yuv422> ?
[13:11:40] <Yuv422> in Nuvie or lua?
[13:11:42] <SB-X> Nuvie
[13:12:02] <Yuv422> what would it do?
[13:12:08] <SB-X> so instead of scroll->display_string("MOO"); we can just type print("MOO")
[13:12:16] <SB-X> i guess it could be a macro
[13:12:27] <SB-X> s/print/whatever you think we should call it/
[13:12:40] <Yuv422> hmm
[13:12:54] <Yuv422> but scroll might not be know in that scope
[13:12:58] <SB-X> im not sure it should be a macro though because then you still have to include scroll in the file
[13:13:00] <SB-X> right
[13:13:17] <SB-X> i was going to make it a real function, maybe in u6misc
[13:13:32] <SB-X> and declare it in nuvieDefs.h
[13:13:35] <Yuv422> maybe we could inline it
[13:13:46] <SB-X> s/declare/define/ then :)
[13:14:01] <SB-X> why whould you inline it?
[13:14:11] <SB-X> or need to
[13:14:22] <Yuv422> Game::get_game()->get_scroll()->display_string(x)
[13:14:29] <Yuv422> might be more efficent
[13:15:22] <SB-X> i dont know how efficient it is but since it would be wrapped in the macro or function then its fine, as long as we dont have to type all that every time
[13:16:09] <SB-X> but if we ever want to extend printing to other output destinations, adding a real function might be better
[13:16:20] <SB-X> i also want to add a printf
[13:16:37] <SB-X> and move all of the u6 formatting handling to there or to msgscroll
[13:16:43] <SB-X> (there is still some in converse)
[13:32:12] <-- Yuv422 has left IRC (Read error: 110 (Connection timed out))
[13:33:35] <SB-X> bleh
[13:33:46] --> Yuv422 has joined #nuvie
[13:34:08] <SB-X> wb
[13:36:37] <Yuv422> hehe I didn't even know I was gone
[13:36:49] <SB-X> heh
[13:36:58] <SB-X> what do you think of "nuprintf()"
[13:37:00] <SB-X> ?
[13:37:24] <Yuv422> yes
[13:37:35] <Yuv422> I've wanted a varargs print for awhile
[13:37:39] <Yuv422> :-)
[13:37:47] <Yuv422> it makes life a lot easier
[13:38:08] <Yuv422> oh and a debug print
[13:38:13] <Yuv422> that we can disable
[13:38:30] <Yuv422> dprintf
[13:38:32] <Yuv422> ?
[13:38:39] <Yuv422> nprintf
[13:38:47] <Yuv422> or nuprintf
[13:38:58] <SB-X> i like nu printf
[13:38:58] <Yuv422> like you suggested :-)
[13:39:04] <SB-X> dont know about the debug one
[13:39:15] <SB-X> what about one that lets you prints to different levels
[13:39:19] <Yuv422> then we could compile all the debug message out
[13:39:55] <Yuv422> if we have a debug printf then it never gets into the code when debug is turned off
[13:40:07] <Yuv422> might be a little bit more efficent
[13:40:10] <SB-X> ah k
[13:40:13] <SB-X> then a macro would work there too
[13:40:22] <Yuv422> yes
[13:41:27] <SB-X> I've wanted to add printf to msgscroll for a while, but when I de-hardcode the strings so they can be translated, the function to print strings will probably negate and convenience from printf
[13:41:32] <SB-X> .
[13:41:40] <SB-X> any convenience*
[13:42:45] <Yuv422> hehe
[13:54:07] <Yuv422> time for bed
[13:54:08] <Yuv422> cya
[13:54:26] <-- Yuv422 has left IRC ()
[13:55:03] <SB-X> cya
[13:56:16] <SB-X> nudebug();
[13:56:40] <SB-X> nuwarn(); nuerror(); nuprintf();
[13:57:30] <SB-X> then if we wanted to we could do different things to those types of messages in the future
[13:57:39] <SB-X> with those types*
[14:54:52] <luteijn> First bit of screenshot 'improvements' is in (after I update the website). Frontpage will only show pictures marked 'Frontpage-Worthy'.
[14:58:25] <luteijn> I added a recent screenshot too.. If you think one of the other Ancient screenshots is frontpage material, just update (web)/images/shots/shots.dat with an 'F' in the second column and put a description in.
[15:07:15] <SB-X> cool
[15:07:21] <SB-X> what can go in the second column besides 'F'?
[15:14:02] <SB-X> not that I can think of anything better than Frontpage-Worthy
[15:19:55] <luteijn> anything can go in, but ATM only F is honoured.
[15:20:22] <luteijn> I'm thinking of giving some shots a better chance to appear, based on the flags though..
[15:21:07] <luteijn> e.g. 'E'xcellent shots would get more than one copy in the internal table indeh.php builds when parsing shots.dat, so more chance of being picked
[15:21:42] <luteijn> proposal is here: http://luteijn.xs4all.nl/nuvieki/ScreenshotManagement feel free to add to it, and I'll see what I can implement when I get time again..
[15:28:09] <SB-X> good idea
[16:28:41] <SB-X> im going now
[16:28:44] <SB-X> i'll be back later today
[16:28:44] <SB-X> cya
[16:28:45] <-- SB-X has left IRC ("*casts gate travel*")
[18:02:16] --> wizardrydragon has joined #nuvie
[20:14:17] <-- ChanServ has left IRC (Shutting Down)
[20:15:32] --> ChanServ has joined #nuvie