#nuvie@irc.freenode.net logs for 5 Jul 2012 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage

[01:05:51] --> Darrenor64 has joined #nuvie
[01:16:09] <SugarCube> Hm, is conversation totally broken/crashy in the current build, or is it just me?
[01:16:54] <Malignant_Manor> It shouldn't be. I can check real quick.
[01:18:27] <SugarCube> I'd have your lighting patch all done if I'd just used gcc to start :) I need to ask Eric if there's interest in getting all the MSVC fixes checked in. Looks like the Visual Studio project hasn't worked in a looong time.
[01:18:55] <Malignant_Manor> He's on Mac
[01:19:20] <Malignant_Manor> There's currently no developer besides you using VS
[01:19:38] <Malignant_Manor> But he would take a fix for it
[01:19:43] <SugarCube> Yeah. I figure that the official Windows build is mingw.
[01:19:49] <Malignant_Manor> I'm pretty sure
[01:20:06] <SugarCube> Upon conversation, it prints garbage after announcing the NPC's name. Bet it's an uninitialized pointer.
[01:20:08] <Malignant_Manor> I didn't crash when talking to Iolo.
[01:20:15] <SugarCube> There was another array overflow error.
[01:22:45] <Malignant_Manor> Which npc has the issue or is it all of them?
[01:23:30] <SugarCube> All NPCs.
[01:23:41] <SugarCube> I'm debugging it, was just curious if it was a known issue.
[01:27:36] <Malignant_Manor> Could one of your changes have done it?
[01:27:52] <Malignant_Manor> (probably not)
[01:28:45] <SugarCube> Unlikely. I'm guessing it's an issue with a gcc-specific assumption. Still looks like an uninitialized pointer somewhere. Tracking it down.
[01:29:06] <Malignant_Manor> I'm currently trying to setup Eclipse with Clang/LLVM because there was jack for documentation on how to get it to work with make files.
[01:29:38] <Malignant_Manor> There's likely tons of uninitialized data in Nuvie.
[01:31:23] <SugarCube> It would probably help to enable more strict settings while compiling :)
[01:31:48] <Malignant_Manor> That is one reason for Clang
[01:32:06] <Malignant_Manor> GCC can be horrible
[01:32:50] <Malignant_Manor> Like I said earlier, I know Clang wouldn't compile. (even though I haven;t tested this)
[01:34:40] <SugarCube> To give an example of one of the many things that VC barfed on for legitimate reasons: unsigned char save_desc[MAX_SAVE_DESC_LENGTH+1]; /* ... */ save_desc[MAX_SAVE_DESC_LENGTH+1] = '\0';
[01:35:02] <Malignant_Manor> That is fixed on Eric's working copy
[01:35:27] <Malignant_Manor> https://sourceforge.net/tracker/?func=detail&aid=3540270&group_id=76419&atid=547063
[01:35:29] <SugarCube> Well, maybe I'll check my bug fixes in and he can get a merge :)
[01:37:19] <Malignant_Manor> I think I am going to need to reboot to set PATH to clang
[01:37:37] <-- Malignant_Manor has left IRC (Quit: ChatZilla [Firefox 13.0.1/20120614114901])
[01:54:30] --> Malignant_Manor has joined #nuvie
[01:58:50] <SugarCube> It was a fun STL scoping error. Fixed.
[02:00:32] <SugarCube> Seems reasonably crash-free now :)
[02:03:02] <Malignant_Manor> The engine doesn't reset variable on new game load
[02:09:20] <Malignant_Manor> I know for sure targeting still targets old targets
[03:13:46] <SugarCube> Interesting behavior on death :)
[03:14:33] <Malignant_Manor> What happens with VS build during death?
[03:16:41] <SugarCube> You kinda get resurrected back into British's throne room, but the gameplay window is superimposed on the start menu. I doubt it's a build-specific issue.
[03:22:04] <Malignant_Manor> I've never had that problem
[03:24:02] <SugarCube> Interesting. Time for a movie, now. :)
[03:46:52] <-- Kirben has left IRC (Ping timeout: 246 seconds)
[03:49:55] --> Kirben has joined #nuvie
[03:54:12] <-- Kirben has left IRC (Ping timeout: 246 seconds)
[03:54:20] --> Kirben has joined #nuvie
[03:58:50] <-- Malignant_Manor has left IRC (Quit: ChatZilla [Firefox 13.0.1/20120614114901])
[05:12:01] <-- Darrenor64 has left IRC (Ping timeout: 252 seconds)
[05:12:22] --> Dominus has joined #nuvie
[05:13:29] --> Darrenor64 has joined #nuvie
[05:17:51] <-- Darrenor64 has left IRC (Ping timeout: 246 seconds)
[06:28:01] <SugarCube> Lots-o-fixes, to general VC build stability/functionality and to lighting. I'll probably check 'em in tomorrow. Night!
[11:27:41] --> Yuv422 has joined #nuvie
[11:50:40] --> TheCycoONE has joined #nuvie
[12:03:40] <CIA-68> nuvie: 03efry * r1383 10/nuvie/trunk/ (10 files in 6 dirs):
[12:03:40] <CIA-68> nuvie: * Fixed bugs outlined in "errors shown by Cppcheck tool" [3540270]
[12:03:40] <CIA-68> nuvie: I haven't done anything about the realloc issues.
[12:28:33] <Yuv422> just installing cppcheck
[12:28:52] <Yuv422> and the eclipse plugin
[13:03:47] <CIA-68> nuvie: 03efry * r1384 10/nuvie/trunk/ (14 files in 8 dirs): * Added nuvie_realloc() wrapper around realloc. This should make cppcheck happy.
[13:04:57] <TheCycoONE> heh?
[13:05:48] <Yuv422> cppcheck doesn't like standard realloc if it returns a null pointer
[13:06:09] <Yuv422> it says you should then free the input buffer too
[13:09:42] <TheCycoONE> hmm, what if you want to keep it when you can't get more space?
[13:13:09] <Yuv422> yeah
[13:13:29] <Yuv422> it's pretty much game over though if you can't realloc the amounts we need in nuvie. ;-)
[13:17:15] <Yuv422> I'm off to bed now
[13:17:17] <Yuv422> cya
[13:17:19] <-- Yuv422 has left IRC (Quit: Yuv422)
[13:57:30] <-- Kirben has left IRC ()
[21:15:41] --> Yuv422 has joined #nuvie
[21:26:38] <-- TheCycoONE has left IRC (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/)
[22:50:41] --> Malignant_Manor has joined #nuvie
[22:58:51] <Yuv422> hi Malignant_Manor
[22:58:56] <Malignant_Manor> hi
[23:07:32] <-- Yuv422 has left IRC (Quit: Yuv422)
[23:19:43] <CIA-68> nuvie: 03malignantmanor * r1385 10/nuvie/trunk/ (7 files in 3 dirs): * Fix in r1381 that messed up actor vehicles. Fix some control cheat issues.
[23:47:42] <CIA-68> nuvie: 03malignantmanor * r1386 10/ (8 files in 3 dirs): web updates
[23:51:41] <Malignant_Manor> Hopefully this actually updates the site. It's not showing any update yet though.