[00:36:21] --> Yuv422 has joined #nuvie
[00:36:58] <Yuv422> hi
[01:38:39] --> Kirben has joined #nuvie
[02:16:58] --- Eclair is now known as anime|marathon
[03:07:23] <-- anime|marathon has left IRC (Read error: 60 (Operation timed out))
[03:20:48] --> animeloe has joined #nuvie
[03:20:52] --- animeloe is now known as Eclair
[03:28:59] --> animeloe has joined #nuvie
[03:38:44] <-- animeloe has left IRC (Remote closed the connection)
[03:39:47] <-- Eclair has left IRC (Read error: 113 (No route to host))
[03:46:37] --> animeloe has joined #nuvie
[03:46:41] --- animeloe is now known as Eclair
[05:12:29] --> sbx has joined #nuvie
[05:14:37] <sbx> hello
[05:17:06] <Yuv422> hi sbx
[05:17:40] <Yuv422> I'm just trying to figure out why text is getting chopped in talk mode
[05:17:57] <sbx> each letter or each line at the right?
[05:18:34] <Yuv422> it only seems to happen on the text input line
[05:19:53] <sbx> i dont notice is
[05:19:53] <sbx> it*
[05:20:37] <sbx> i notice if i enter a long line it crashes
[05:20:46] <sbx> a line that is divided into 3 lines
[05:20:54] <Yuv422> hmm
[05:22:32] <sbx> the crash is from Converse::check_keywords
[05:22:41] <sbx> thats an annoying function
[05:23:09] <Yuv422> I was thinking we should move the highlight check out of Text too. :)
[05:23:27] <Yuv422> let me fix this rendering issue first though.
[05:27:48] <Yuv422> ok fixed.
[05:28:25] <Yuv422> is there a space after "you say:"
[05:29:20] <sbx> yes
[05:29:23] <sbx> "you say: "
[05:29:46] <Yuv422> I don't think there is a space in the original
[05:29:47] <sbx> "\nyou say: "
[05:31:26] <sbx> your right
[05:32:20] <sbx> i thought it looked like another space at first
[05:32:23] <Yuv422> hehe if found a very bad memory leak while fixing the input buffer.
[05:33:03] <sbx> something vividos missed?
[05:33:04] <Yuv422> have a look at bool MsgScroll::input_buf_add_char(char c) and tell me what's wrong with that method. :)
[05:34:49] <Yuv422> hint, it has to do with the realloc if statement.
[05:36:09] <sbx> if realloc fails you lost the pointer to the buffer
[05:36:39] <Yuv422> that too but when I realloc I don't add 16 to input_buf_len
[05:36:54] <Yuv422> so every input it will add another 16 bytes to the buffer. ;)
[05:37:24] <sbx> ooh
[05:37:44] <Yuv422> that's what I said when I saw it.. ;)
[05:38:46] <Yuv422> I'll commit those fixes now
[05:46:29] <Yuv422> changes are in cvs now
[05:47:04] <sbx> whats it fix?
[05:47:08] <sbx> text getting cut off?
[05:47:11] <Yuv422> yes
[05:47:15] <Yuv422> and the memory leak
[05:47:30] <Yuv422> oh and I chopped the space from you say:
[05:48:33] <sbx> oops we both did that edit :)
[05:49:19] <Yuv422> hehe that won't matter
[05:50:46] <Yuv422> when I spoke to shopkeepers they returned a party list that just contined their name.
[05:50:58] <Yuv422> contained
[05:53:54] <sbx> i just returned their name instead of the proper one when i was testing it, and i didnt fix it yet
[05:54:06] <Yuv422> ah k
[05:54:06] <sbx> before that it said -!NPCName-
[05:56:42] <sbx> is the partysize and what actors are in the party being loaded correctly?
[05:56:54] <sbx> i mean, is that feature in now
[05:57:01] <Yuv422> it should be
[05:57:20] <Yuv422> I'm not 100% sure on the party size variable
[05:57:27] <Yuv422> but I think it is all right
[05:58:59] <sbx> is it the correct size for you?
[05:59:30] <sbx> my game has 4 party members
[05:59:46] <sbx> then i went and added jaana but i think thats a different game
[06:00:24] <Yuv422> yes
[06:00:36] <sbx> different game save*
[06:22:09] <-- kefka has left IRC (Connection timed out)
[06:45:42] <sbx> does Player have a pointer to Party yet?
[06:46:42] <sbx> i can add it...
[06:53:18] <Yuv422> not yet
[06:53:23] <Yuv422> you can add it in if you like
[06:53:53] <sbx> done
[07:10:48] <Yuv422> hehe I finally got around to fixing the boundary issue on cream buildings
[07:11:11] <sbx> i think i remember that
[07:11:15] <sbx> what was the problem?
[07:11:53] <Yuv422> they were always a boundary even if the door was open
[07:12:06] <Yuv422> so it would still be black inside after the door was opened
[07:12:42] <Yuv422> didn't you ever notice that when going in a cream building?!
[07:13:22] <sbx> yes
[07:13:31] <sbx> i mean why was it broken
[07:13:38] <Yuv422> ah k
[07:13:57] <Yuv422> because I was checking the wall tile before the door tile
[07:14:01] <sbx> if you were inside the door frame everything would be black
[07:14:16] <Yuv422> now I only check door tiles when doing a boundary check on objects
[07:18:21] <Yuv422> ok that change is in
[07:25:59] --> kefka has joined #nuvie
[07:26:13] <Yuv422> wb kefka
[07:31:20] <Yuv422> you know what would be good.
[07:31:32] <Yuv422> a female avatar graphics patch
[07:31:57] <sbx> with different hair colors?
[07:32:03] <Yuv422> yeah
[07:32:14] <Yuv422> and a skirt
[07:32:32] <Yuv422> but avatar like
[07:34:14] <sbx> his outfit looks like a skir
[07:34:18] <sbx> t
[07:35:49] <sbx> what about clothing on npc's that matches their real equipment?
[07:36:24] <sbx> and hair color that matches their portrait's hair color
[07:45:37] <sbx> then we'd have to give them some starting equipment
[08:06:50] <Yuv422> I think that would be quite hard when you're working in a 16x16 tile
[08:07:44] <sbx> yep
[08:19:03] <sbx> k now i get script overflow
[08:19:04] <sbx> :\
[08:19:46] <Yuv422> is that a good thing!? ;)
[08:19:58] <sbx> no :(
[08:20:30] <sbx> unless you don't like that particular npc
[08:22:00] <Yuv422> which npc is causing the overflow?
[08:23:17] <sbx> iolo
[08:23:24] <sbx> its only since some recent changes i havent commited yet
[08:23:35] <Yuv422> ah k
[08:25:44] <Yuv422> bbl
[08:25:54] <sbx> ok
[08:50:06] <sbx> there
[08:50:42] <sbx> i made a change in how the conversation script is read that returned and incorrect length, but thats fixed now
[08:51:22] <Yuv422> :)
[08:59:33] <sbx> hmm ok... Edit Party for Iolo is only showing"1. Troy"
[08:59:46] <sbx> Troy is npc 73
[08:59:52] <Yuv422> hmm
[08:59:56] <sbx> 73 gets returned by
[09:00:13] <sbx> player->get_party()->get_actor(get_val(0, 0))->get_actor_num()
[09:00:28] <sbx> get_val(0, 0) == 0
[09:00:47] <Yuv422> hmm
[09:01:26] <sbx> ill commit it
[09:01:46] <Yuv422> k
[09:04:28] <Yuv422> what does get_party_size return?
[09:04:33] <Yuv422> is it correct?
[09:08:02] <sbx> yeah, i think so
[09:08:12] <sbx> i think it was 4
[09:08:34] <sbx> i committed those changes so you can test if you want
[09:16:21] <sbx> 0 should return 1
[09:16:34] <sbx> p_id(0) == npc_id(1)
[09:37:42] <sbx> i see there's two party-size variables
[09:38:02] <sbx> one for alive party members and one for everyone dead or alive
[09:38:19] <sbx> they can be the same for now
[09:42:42] <sbx> eh
[09:42:52] <sbx> now Iolo's Edit party screen prints
[09:42:58] <sbx> 1. Troy
[09:43:01] <sbx> 2. Captain Fox
[09:43:05] <sbx> 3. Ubermon
[09:43:08] <sbx> 4. Captain Fox
[09:43:12] <sbx> 5. Avatar
[09:43:14] <sbx> Edit whom?
[09:52:55] <servus> CowboyNeal is my editor.
[09:55:01] <sbx> o_O
[09:58:54] <Yuv422> hmm
[09:59:11] <servus> no slashdotters here, i guess
[09:59:33] <Yuv422> hehe I used to /.
[09:59:39] <servus> Hemos Sucks!?
[09:59:44] <Yuv422> not now though
[10:00:03] <servus> they got rid of all cowboyneal poll options tho now, he left and now the poll options stink
[10:00:30] * Yuv422 reads www.macslash.org
[10:00:53] <sbx> i've seen slashdot a few times
[10:01:00] <sbx> the only person's name i remember was CmdrTaco
[10:01:51] <Yuv422> hmm
[10:02:10] <Yuv422> maybe I'm reading party names in incorrectly
[10:02:12] <Yuv422> let me check
[10:02:33] <sbx> i don't get names from party
[10:02:38] <servus> yeah hes still around... *programs*
[10:02:41] <sbx> the numbers seem to be incorrect
[10:04:01] <Yuv422> hehehe whoops
[10:04:04] <Yuv422> I see why. :)
[10:04:06] <Yuv422> silly me
[10:04:39] <servus> *endian problem?
[10:04:54] <Yuv422> logic problem. ;)
[10:05:03] <servus> ^^^^ spock?
[10:05:25] <servus> Spock: Captain, your feces are illogically delicious!
[10:06:37] <Yuv422> hmm now it is crashing
[10:07:16] <sbx> for some reason reminds of the episode where they went to a planet with giant flowers with strange pollen that caused spock to fall in love and beat everyone up
[10:08:36] <servus> that was PCP and those were tribbles in his pants.
[10:08:44] <Yuv422> hehe I see why
[10:08:52] <sbx> hmm i see
[10:09:01] <Yuv422> you can't get a name for actor 1
[10:09:05] <servus> my velocity and position is all -1.#IND0 now... great;-/
[10:09:07] <Yuv422> as it doesn't exist.
[10:09:34] <Yuv422> maybe you should get party names from Party?
[10:09:43] <sbx> ?
[10:09:52] <sbx> am i trying to get name for 1?
[10:09:53] <Yuv422> wait
[10:10:01] <Yuv422> that should be num == 0 or num == 1
[10:10:17] <sbx> k
[10:10:18] <sbx> i was thinking the same thing
[10:10:23] <sbx> does that fix it?
[10:10:57] <Yuv422> yes
[10:11:05] <Yuv422> but I get 5 party members
[10:11:10] <sbx> yeah
[10:11:14] <Yuv422> with the avatar in slot 5
[10:11:15] <sbx> blame logic
[10:11:23] <sbx> again
[10:11:26] <Yuv422> ah k
[10:11:27] <Yuv422> ;)
[10:11:39] <sbx> i fixed that on my copy
[10:11:49] <sbx> line 354
[10:11:55] <sbx> <= to <
[10:12:20] <Yuv422> case 0x84 ?
[10:12:25] * sbx nods.
[10:12:32] <sbx> but now i have two "<" ops so i guess the first one is <=
[10:12:48] <Yuv422> 0x83
[10:14:27] <Yuv422> insert objlist.seek(0xfe0); above the second for loop in Party::loadParty()
[10:15:01] <sbx> what does that do?
[10:15:29] <Yuv422> fixes the actor numbers
[10:15:47] <sbx> oh
[10:16:00] <sbx> oh, the || num == 1 fixed the crash
[10:16:15] <Yuv422> yes
[10:16:32] <sbx> when it was returning 5 party members what did you get for the last one?
[10:16:43] <Yuv422> the avatar
[10:17:05] <sbx> ok
[10:17:07] <sbx> that sounds right
[10:17:25] <sbx> if Party::get_actor() returns NULL then it uses player name
[10:17:40] <Yuv422> ah k
[10:18:05] <Yuv422> you know that you can get the party names from Party?
[10:19:12] <sbx> yeah
[10:19:19] <sbx> i thought thats how it would be done at first
[10:19:36] <sbx> but it takes party-id, converts it to npc-id, and uses name of npc-id
[10:19:49] <Yuv422> yeah I saw
[10:20:06] <Yuv422> that means you've got to load their script though, right?
[10:20:17] <sbx> yes
[10:33:25] <servus> why am i so impelled to try to create *perfect* collision detection and physics? im sure my very first system worked better than my current!
[10:33:32] <servus> compelled*
[10:36:23] <Yuv422> perfectionism can be dangerous ;)
[10:36:46] <Yuv422> I'm going now
[10:36:56] <Yuv422> cya
[10:37:09] <-- Yuv422 has left IRC ("BitchX: the ONLY bug-free client")
[10:39:16] <sbx> if he gets to go home, i get to go home
[10:39:19] * sbx waves.
[10:39:21] <-- sbx has left IRC ("X-Chat [1.6.4]")
[11:56:46] --- servus is now known as servus_sominus
[15:06:10] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[15:11:00] --> uysd has joined #nuvie
[15:16:52] <-- uysd has left IRC ("Leaving")
[15:24:42] --> wjp has joined #nuvie
[23:00:27] <-- wjp has left IRC ("Zzzz...")