[00:30:36] --> Yuv422 has joined #nuvie
[01:31:41] --> Kirben has joined #nuvie
[01:32:00] <Yuv422> hi Kirben
[01:32:07] <Kirben> Hi
[01:32:56] <Yuv422> I was thinking we might do a release after we get conversations working
[01:33:06] <Yuv422> and maybe start some snapshots :)
[01:34:10] <Kirben> ok, sounds good.
[01:35:43] <Kirben> Could you add cvs mailing list ? so it i easier to keep track of changes.
[01:35:57] <Yuv422> yes I'll do that
[01:36:27] <Yuv422> is it easy to setup a developer only mailing list on SF?
[01:36:39] <Kirben> yes
[01:40:28] <Yuv422> is there a way to get cvs commit messages straight onto the mailling list?
[01:42:54] <Yuv422> ah found the doc
[01:43:12] <Yuv422> https://sourceforge.net/docman/display_doc.php?docid=772&group_id=1#mlcreate
[01:43:19] <Kirben> ok, was just looking for right link.
[01:51:34] <Yuv422> ok nuvie-cvs list registered
[01:51:46] <Yuv422> just need to wait for it to be processed.
[02:06:52] <Yuv422> ok nuvie-cvs has been created. :)
[02:07:24] <Yuv422> that was a bit quicker than the advertised 6-24 hours. ;)
[02:56:15] --> sbx has joined #nuvie
[02:56:29] <Yuv422> Hi sbx
[02:57:00] <sbx> hello
[02:57:13] <sbx> im still trying to read the variable number of values for each conversation command
[02:57:30] <sbx> after i get that working im going to merge the changes into cvs
[02:57:47] <Yuv422> maybe you could have a command code table?
[02:58:00] <Yuv422> which lists the command and it's number of args?
[02:58:06] <Yuv422> its
[02:58:21] <sbx> an arg can have multiple variables
[02:58:28] <sbx> i mean values
[02:58:36] <Yuv422> ah, I see
[02:58:42] <sbx> the number of values is variable for some commands i think
[02:59:12] <sbx> its only got a terminator to the values if that command allows more than one value
[02:59:19] <sbx> and has 1 arg
[02:59:59] <Yuv422> are you parsing the byte code before the run
[02:59:59] <Yuv422> ?
[03:00:17] <sbx> no
[03:00:24] <Yuv422> right
[03:00:34] <sbx> its still fast
[03:00:41] <sbx> bbl
[03:00:43] --- sbx is now known as sbx|afk
[03:00:45] <Yuv422> righto
[03:28:29] --- sbx|afk is now known as SB-X
[03:29:21] <Yuv422> I've commited a doc on the objlist file
[03:30:59] <SB-X> with newly discovered information?
[03:31:08] <Yuv422> a little
[04:50:40] --> EsBee-Eks has joined #nuvie
[04:51:01] <-- SB-X has left IRC (Killed (NickServ (Ghost: EsBee-Eksfirstname.lastname@example.org)))
[04:51:05] --- EsBee-Eks is now known as SB-X
[04:51:11] <Yuv422> wb
[04:51:21] <SB-X> i didnt even notice i was gone
[04:51:27] <SB-X> until now
[04:51:33] <Yuv422> ;)
[04:51:47] <Yuv422> neither did I
[04:52:24] <SB-X> im changing the way i interpret the data... so that the args are read seperate from the command
[04:52:41] <SB-X> and then do command when it gets enough args
[04:53:07] <Yuv422> maybe you need a recursive decent parser. ;)
[04:53:48] <SB-X> what would that do?
[04:54:16] <SB-X> i am parsing it in a do...while
[04:54:25] <Yuv422> hmm no that wouldn't work any way
[04:54:50] <Yuv422> ah k
[04:55:20] <Yuv422> don't forget to use the typedef'd data types. :)
[04:55:27] <Yuv422> uint.. etc
[04:57:00] <SB-X> for most of them im using Uint32
[04:57:16] <SB-X> except for the arg_count table
[04:58:08] <Yuv422> how are you defining that?
[04:58:51] <SB-X> Uint8
[04:59:11] <Yuv422> I've been using uint8..32
[04:59:11] <Yuv422> etc
[04:59:30] <Yuv422> maybe I should change to 'U'
[04:59:48] <Yuv422> I think that is the SDL convention
[05:00:28] <SB-X> where does uint8 come from?
[05:00:36] <Yuv422> U6def.h
[05:01:01] <Yuv422> don't bother changing now
[05:01:05] <Yuv422> we'll fix that later.
[05:53:24] * Yuv422 wonders if SB-X has been disconnected again? Or if he's just busy coding. ;)
[05:55:22] <SB-X> if you see this message, it is the latter
[05:55:29] <Yuv422> :)
[05:57:05] <SB-X> msgscroll seems to corrupt the display
[05:57:09] <SB-X> i dont know if its something im doing
[05:57:21] <SB-X> but its noticed after printing lots of text at once
[05:57:35] <SB-X> can you try to display some paragraphs?
[05:57:36] <Yuv422> chars comming up on the lefthand side?
[05:57:39] <SB-X> yeah
[05:57:43] <SB-X> and segfault
[05:57:48] <Yuv422> yeah I've got to fix that
[05:58:04] <Yuv422> probably overflowing the buffer
[05:58:16] <SB-X> is the scroll box drawn on its own buffer?
[05:58:29] <Yuv422> string buffer
[05:59:06] <SB-X> what about the sdl surface
[05:59:10] <SB-X> does it use its own for that?
[05:59:35] <Yuv422> nope it is rendering staight to the unscaled screen surface
[05:59:54] <Yuv422> well it actually constructs each char in a mini buffer first
[06:00:15] <Yuv422> I might change that as it is a bit of work for each char printed
[06:03:46] <Yuv422> I'll wait for you to commit your changes before I fix the msgscroll
[06:03:56] <Yuv422> as you've changed it around a bit
[06:03:59] <Yuv422> I'd guess
[06:06:21] --> EsBee-Eks has joined #nuvie
[06:06:34] <-- SB-X has left IRC (Killed (NickServ (Ghost: EsBee-Eksemail@example.com)))
[06:06:35] <Yuv422> hehe wb again!
[06:06:36] --- EsBee-Eks is now known as sb-x
[06:07:00] <sb-x> :S
[06:07:04] <sb-x> telephone line problems
[06:07:09] <Yuv422> Ouch
[06:07:26] * Yuv422 is thankfully now on ADSL.
[06:07:51] <Yuv422> but I was on modem for a loooong time
[06:10:16] <sb-x> my line is also split into 2 lines and i have slow speed
[06:10:29] <Yuv422> ah pair gain. :(
[07:04:37] <Yuv422> is the cnverse class printing to MsgScroll then?
[07:07:00] <sb-x> yes
[07:07:05] <sb-x> its messed up though
[07:07:07] <sb-x> im hating this code
[07:07:22] <sb-x> i want to change the algorithms completely
[07:07:41] <sb-x> but ill upload what unfinished work i have so far so you can help test it
[07:07:58] <Yuv422> cool
[07:08:37] <sb-x> by hating this code specifically i meant the way i parse the script
[07:08:41] <sb-x> it doesnt look good
[07:08:53] <sb-x> and will break on anything a little unexpected
[07:09:22] <sb-x> and, only does 2 commands so far :)
[07:09:37] <Yuv422> which commands?
[07:09:41] <sb-x> bye
[07:09:42] <sb-x> wait
[07:10:01] <Yuv422> wait?
[07:10:05] <sb-x> page break
[07:10:09] <Yuv422> ah k
[07:10:29] <Yuv422> should converse handle page breaks?
[07:10:38] <sb-x> just with wait
[07:10:46] <sb-x> it will leave * in scripts alone
[07:10:58] <Yuv422> ah k
[07:11:01] <sb-x> and scroller can convert them to page break
[07:11:29] <sb-x> it doesnt actually do the page break, it just sets wait mode
[07:11:42] <Yuv422> why are there wait commands and page break chars?
[07:11:43] <sb-x> msgscroll or game detects that wait is set and does the page break
[07:11:55] <sb-x> flexibility?
[07:12:37] <Yuv422> are the page breaks mid-string?
[07:12:37] <sb-x> they mightve put the wait command in first
[07:12:45] <sb-x> but wanted an easier way to pause
[07:12:51] <sb-x> yes
[07:13:10] <sb-x> cb might do something else but i havnt seen it yet
[07:13:13] <Yuv422> couldn't you just convert the wait to * then let MsgScroll handle it?
[07:14:46] <sb-x> i could
[07:14:55] <sb-x> but i didnt think converse should modify the script
[07:15:07] <sb-x> msgscroll is still handling page breaks
[07:15:27] <Yuv422> is your parser monolithic or do you handle wach command in a different function?
[07:15:37] <Yuv422> wach/each
[07:16:14] <sb-x> there is just one function do_cmd
[07:16:23] <sb-x> but it is called from another one
[07:16:50] <sb-x> ill try to upload it now
[07:16:50] <Yuv422> hmm maybe you should consider breaking the parser down into more manageable blocks
[07:17:01] <sb-x> yeah
[07:17:06] <Yuv422> and have a common program counter
[07:17:08] <sb-x> i was thinking for the more complex commands i could
[07:17:41] <Yuv422> you were working on a :ext: checked out version right?
[07:17:49] <Yuv422> not an anonyous checkout :)
[07:18:07] <sb-x> yes
[07:18:10] <sb-x> it was timing out
[07:18:20] <Yuv422> hehe just checking. *g*
[07:18:53] <sb-x> what Converse::step looks like now isnt how its supposed to be
[07:18:56] <sb-x> im going to change that asap
[07:19:01] <Yuv422> hopefully your commit text will be sent to the new nuvie-cvs list. :)
[07:19:12] <Yuv422> sure np
[07:30:15] <sb-x> there is a nuvie ml?
[07:35:58] <Yuv422> just for cvs checkins
[07:36:08] <sb-x> can i subscribe?
[07:36:15] <Yuv422> yes.
[07:36:28] <Yuv422> let me find out the address
[07:36:28] <sb-x> how ? :)
[07:36:33] <sb-x> ok
[07:37:11] <Yuv422> http://lists.sourceforge.net/lists/listinfo/nuvie-cvs
[07:37:41] <sb-x> thanks
[07:38:12] <Yuv422> hopefully I've set it up correctly.
[07:41:37] <sb-x> uh oh
[07:41:47] <sb-x> now cvs is saying
[07:41:48] <sb-x> cvs.sourceforge.net: cvs.sourceforge.net: No such file or directory
[07:41:48] <sb-x> cvs [log aborted]: end of file from server (consult above messages if any)
[07:41:55] <sb-x> no matter what i do
[07:42:29] <Yuv422> what command are you trying?
[07:42:36] <Yuv422> do you have CVS_RSH set?
[07:42:45] <sb-x> oops
[07:42:47] <sb-x> i did
[07:42:51] <sb-x> but i set it to sh instead of ssh
[07:43:03] <sb-x> that makes sense now
[07:43:23] <Yuv422> :)
[07:49:32] <sb-x> rebuilding to see if it still works
[07:49:40] <Yuv422> k
[07:49:57] <sb-x> i mean... compiles... it doesnt work :P
[07:50:10] <sb-x> but it will output enough text to help you tweak msgscroll
[07:50:22] <Yuv422> right
[07:50:34] <Yuv422> does it crash?
[07:51:24] <sb-x> it was crashing on some npcs
[07:51:33] <sb-x> after they spit out their entire script
[07:51:56] <Yuv422> right
[07:52:13] <Yuv422> is it in cvs now?
[07:52:21] <sb-x> no
[07:53:27] <sb-x> dupre is crashing now after the first command
[07:54:07] <Yuv422> have you looked to see why?
[07:55:01] <sb-x> it segfaults when pressing q after talking to either jaana or iolo
[07:55:07] <sb-x> i didnt investigate it yet
[07:55:20] <sb-x> shamino's runs through completely without a problem
[07:55:23] <sb-x> and you can even talk to him again
[07:56:20] <Yuv422> so when you say talk do you mean you can enter input?
[07:56:28] <sb-x> no not yet
[07:56:37] <sb-x> you can just select him to talk to
[07:56:44] <sb-x> and it will dump his entire script
[07:57:00] <Yuv422> with flow control?
[07:57:10] <sb-x> hehe
[07:57:20] <sb-x> it just ignores everything thats not text
[07:57:25] <sb-x> except wait and bye
[07:58:12] <sb-x> thats one of the things ive got to change :)
[08:00:40] <sb-x> i guess ill do it when i wake up
[08:00:46] <sb-x> can code in cvs be crashing?
[08:01:06] <Yuv422> sure
[08:01:06] <sb-x> i can wait to put it there
[08:01:09] <sb-x> heh
[08:01:25] <Yuv422> does it only crash in talk mode?
[08:01:39] <Yuv422> as long as it does crash at other times. :0
[08:01:43] <Yuv422> :)
[08:02:00] <Yuv422> doesn't
[08:02:04] <Yuv422> *g*
[08:02:29] <sb-x> good
[08:02:33] <sb-x> this is acceptable then
[08:02:44] <sb-x> but not neat
[08:03:02] <sb-x> im going to test it again though, if it will finish compiling
[08:03:25] <sb-x> you will see some commented lines at the bottom of Game::play
[08:03:42] <Yuv422> right
[08:03:44] <sb-x> if you comment them out you can add your own msgscroll page break there
[08:04:00] <sb-x> or do whatever you need to when the converse object is waiting
[08:04:41] <Yuv422> ok
[08:04:49] <Yuv422> I'll work on input too.
[08:05:06] <Yuv422> are there stubs in MsgScroll for an input mode?
[08:05:45] <sb-x> no theres an input handler
[08:05:51] <sb-x> handle_input i think
[08:05:54] <Yuv422> ah k
[08:05:59] <sb-x> it takes an SDLKey
[08:06:07] <Yuv422> right
[08:06:22] <sb-x> oops i didnt copy the changes over
[08:06:24] * sb-x rebuilds.
[08:06:36] <Yuv422> copy?
[08:07:18] <sb-x> from the dir i was working in to the dir i was going to commit from
[08:07:24] <sb-x> its strange
[08:07:28] <Yuv422> ah k
[08:07:39] <Yuv422> you don't commit from your working dir then?
[08:07:56] <sb-x> ive been switching them around for some reason
[08:08:13] <sb-x> i think because i was having trouble with cvs
[08:27:56] <sb-x> done
[08:28:06] <Yuv422> I'll check it out.
[08:29:18] <sb-x> tomorrow i will change the way the scripts are parsed and tidy it up
[08:29:25] <sb-x> and then add more commands
[08:29:52] <sb-x> unless you want to change it a certain way instead
[08:32:07] <sb-x> get_text() to get the output buffer... the pointer it returns will be invalidated when get_text() is called again
[08:32:42] <sb-x> start(npc) to load script for npc and allow step() to be called... then stop() when that conversation is complete
[08:32:52] <sb-x> the instance will usually stop itself
[08:33:20] <-- Yuv422 has left IRC (brunner.freenode.net irc.freenode.net)
[08:34:28] --> Yuv422 has joined #nuvie
[08:35:12] <Yuv422> you should probably define the op-codes in Converse.h
[08:36:24] <sb-x> i didnt think of them as opcodes
[08:36:28] <sb-x> CONVOP_* ?
[08:37:07] <Yuv422> yeah somthing like that would be good. :)
[08:37:26] <Yuv422> hmm I keep getting cerr undefined :(
[08:37:57] <sb-x> i thought it was in iostream
[08:38:31] <Yuv422> I don't think it is being loaded into the standard name space.
[08:38:41] <Yuv422> it works if I prefix them with std::
[08:38:54] <sb-x> ok
[08:38:59] <sb-x> can you do using std::cerr?
[08:39:38] <Yuv422> yes
[08:39:41] <Yuv422> done
[08:40:24] <sb-x> as bad as shamino's quick-scroll no-control conversation dump is, that is better than the rest of the npcs, so talk to him first :)
[08:40:48] <sb-x> he shouldnt crash at least
[08:41:07] <Yuv422> I think the crash might be in MsgScroll
[08:42:13] <Yuv422> let me run it through gdb
[08:43:07] <sb-x> i need to go to sleep
[08:43:18] <Yuv422> righto
[08:43:20] <sb-x> bye
[08:43:21] <Yuv422> talk to you later
[08:43:24] <-- sb-x has left IRC ("X-Chat [1.6.4]")
[08:43:33] <Yuv422> it crashes in readval bte
[08:43:35] <Yuv422> btw
[10:50:04] <Yuv422> U6C_OP
[10:50:36] <Yuv422> instead of CONVOP_
[10:51:02] <Yuv422> hehe whoops I'm talking to myself again. *g*
[10:57:23] --> armchair_avatar has joined #nuvie
[10:57:33] <Yuv422> hi aa
[10:58:13] <armchair_avatar> hi
[10:58:21] <armchair_avatar> may i report a few bugs?
[10:58:41] <Yuv422> excellent. ;) more bugs.
[10:58:44] <Yuv422> firewaya
[10:58:49] <Yuv422> fire away
[10:59:27] <armchair_avatar> nuvie drops back to the desktop when i try to talk to someone
[10:59:53] <Yuv422> yes sb-x has only just commited the conversation code
[11:00:01] <Yuv422> and it is very unstable ATM.
[11:00:06] <Yuv422> so that is a crash.
[11:01:09] <Yuv422> I'm working on the MsgScroll so we will have page breaks in the dialog soon. :)
[11:01:20] <armchair_avatar> bug2: i couldn't compile Converse.cpp with MinGW before making some changes
[11:01:50] <Yuv422> what were they?
[11:02:18] <armchair_avatar> first, i added std:: to all instances of cerr and endl that didn't have them
[11:02:33] <Yuv422> hehe I've just done that myself ;)
[11:03:17] <armchair_avatar> then, i removed the default parameter =0 from void Converse::step(Uint32 count = 0)
[11:03:26] <Yuv422> hehe same. :)
[11:03:36] <Yuv422> and moved the static vars out of the .h file
[11:03:41] <Yuv422> into the .cpp file
[11:03:50] <armchair_avatar> it now compiles ;-)
[11:04:17] <Yuv422> gcc on linux must be a bit slack. ;)
[11:04:49] <Yuv422> I'll commit those changes now.
[11:08:12] <Yuv422> Those changes are in CVS now
[11:08:35] <armchair_avatar> great
[11:08:54] <armchair_avatar> and there's a suggestion i wanted to make
[11:09:01] <Yuv422> sure
[11:09:24] <armchair_avatar> when you go into talk mode by pressing T, the game world should freeze, so the NPC's can't run away from your talk crosshair
[11:09:37] <Yuv422> hehehe yeah
[11:10:08] <Yuv422> I've yet to implement the game clock.
[11:10:24] <Yuv422> so when that goes in they will slow down a bit
[11:10:38] <Yuv422> they should only move if the player does. IIRC
[11:12:16] <armchair_avatar> i must go now
[11:12:31] <-- armchair_avatar has left IRC ("bbl")
[14:20:35] <-- Kirben has left IRC ("System Meltdown")
[14:36:02] <Yuv422> time for bed
[14:36:04] <Yuv422> cya
[14:36:06] <-- Yuv422 has left IRC ("BitchX: its not for the tabkey impaired!")
[15:01:49] --> armchair_avatar has joined #nuvie
[15:04:36] --> wjp has joined #nuvie
[15:25:46] <-- armchair_avatar has left IRC ("Client Exiting")
[16:14:38] --> armchair_avatar has joined #nuvie
[16:16:41] <armchair_avatar> hi
[16:23:09] <laxdragon> hello
[16:42:03] <armchair_avatar> i read in the logs that there's a nuvie-cvs mailing list
[16:42:26] <armchair_avatar> but it doesn't appear on the nuvie sf page
[16:54:38] <laxdragon> well, that can certainly be changed. :-)
[18:38:40] <-- armchair_avatar has left IRC ("Client Exiting")
[19:06:28] --> armchair_avatar has joined #nuvie
[19:10:19] <-- armchair_avatar has left IRC (Client Quit)
[19:19:02] --> sbx has joined #nuvie
[20:06:25] <-- laxdragon has left IRC ("ZZZZZzzzzzzzzzzzzzzz")
[20:17:33] --> animeloe has joined #nuvie
[20:19:15] <-- Eclair has left IRC (Connection reset by peer)
[20:21:06] --- animeloe is now known as Eclair
[20:31:04] <-- sbx has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:04] <-- Eclair has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:04] <-- wjp has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:04] <-- ChanServ has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:26] --> ChanServ has joined #nuvie
[20:31:26] --> sbx has joined #nuvie
[20:31:31] --> Eclair has joined #nuvie
[20:31:31] --> wjp has joined #nuvie
[20:37:44] <-- Eclair has left IRC (brunner.freenode.net irc.freenode.net)
[20:37:44] <-- wjp has left IRC (brunner.freenode.net irc.freenode.net)
[20:37:44] <-- sbx has left IRC (brunner.freenode.net irc.freenode.net)
[20:37:44] <-- ChanServ has left IRC (brunner.freenode.net irc.freenode.net)
[20:38:17] --> ChanServ has joined #nuvie
[20:38:17] --> sbx has joined #nuvie
[20:38:23] --> Eclair has joined #nuvie
[20:38:23] --> wjp has joined #nuvie
[20:38:56] --- Eclair is now known as animeloe
[20:39:03] --- animeloe is now known as Eclair
[21:35:28] --> armchair_avatar has joined #nuvie
[21:45:38] <-- wjp has left IRC ("Zzzz...")
[23:30:54] --> KraMer_ has joined #nuvie
[23:30:59] <-- KraMer_ has left #nuvie ("Client Exiting")