[01:46:23] Lightwave has quit: Read error: 60 (Operation timed out)
[03:37:54] Lightwave has joined #Peragro-Dev
[03:37:55] ChanServ sets mode: +v Lightwave
[05:22:17] thebolt2 has joined #peragro-dev
[12:10:42] LW|Asleep has joined #Peragro-Dev
[12:22:30] Lightwave has quit: Read error: 104 (Connection reset by peer)
[12:49:21] sueastside has joined #peragro-dev
[12:49:21] ChanServ sets mode: +o sueastside
[14:38:37] PK has joined #peragro-dev
[14:38:37] ChanServ sets mode: +o PK
[14:39:28] <sueastside> PK: got a minute?
[14:39:43] <sueastside> whats wrong with http://rafb.net/p/kTOqPP79.html ?
[14:42:18] <PK> not sure... but why ++iter and not iter++ ?
[14:43:22] <sueastside> found an example like that, doesnt make any difference though...
[14:44:42] <PK> ok, well, you know... maybe debug it?
[14:45:46] <PK> what are you trying to do in the first place?
[14:48:28] <sueastside> PK: oke, nvm im just the stupidiest person in the world, shouldnt tinker with my code at 4am i added a delete key somewhere, forgot to remove it :)
[14:48:33] <sueastside> stupid stupid!!
[14:49:52] <PK> ok
[14:50:03] <PK> btw, how's PT going?
[14:50:17] <PK> anything new to play?
[14:50:56] <sueastside> im guessing well, thebolt makes nice progress with that python stuff, im writing a configmanager, induane is modeling,....
[14:51:04] <sueastside> not yet... :)
[14:52:43] <PK> maybe we can add the art to nwn2 and make a mod for it :)
[14:55:03] <sueastside> you and your nwn2 :P
[14:55:22] <PK> heh, just kidding :)
[15:33:16] <PK> btw, sueastside, how did that... joint venture thingy with those other guys end up? you know... rpgamez?
[15:37:30] <sueastside> PK: seems their effort are stalled, those lazy bastards :P
[15:37:57] <PK> so you mean it's good we didn't join forces there :)
[15:38:18] <PK> hm, was looking at the peragro.org website... guess it could need some updates
[15:38:39] <PK> maybe even a few new screenshot?
[15:38:45] <sueastside> dunno, might aswell have been a lack of direction and clear tasks for those guys, but yeah...
[15:39:28] <sueastside> yeah, dont directly know what to take shots of though...
[15:39:58] <PK> church?
[15:41:39] <sueastside> perhaps needs a bit of work still http://hellemans.cyanox.nl/hell/screenshots/graveyard/church3.JPG
[15:41:40] <PK> what version of CS are we using? trunk? or a release?
[15:42:04] <PK> looks quite nice already
[15:42:15] <PK> has it an interiour too?
[15:42:44] <sueastside> trunk id say, but since the new branch doesnt use cs yet, i dont know :)
[15:43:28] <sueastside> no, inside is meant to be collapsed, will only be access to the catacombs etc...
[15:45:14] <PK> oh, ok :)
[15:45:39] <PK> so no evil ceremonies there
[16:13:31] <PK> now when did dragonrift release his beta? did you play it?
[16:13:42] <sueastside> PK: another prob http://rafb.net/p/YVvcNv73.html
[16:13:52] <sueastside> no idea, and no i havent
[16:13:58] <sueastside> gotta go eat...
[16:50:37] <sueastside> nack
[16:50:44] <sueastside> *back
[16:57:45] <PK> wb
[17:00:32] <sueastside> PK: any idea on the prob?
[17:01:15] <PK> AddKey("test_string", "foobar"); <-- AddKey(const char*, const char* )
[17:02:40] <PK> std::string is a class, "foobar" isn't
[17:03:42] <sueastside> whats the proper way then?
[17:05:37] <PK> I'm not sure if casting to const std::string& is even allowed... maybe ask in ##c++? I'm not really familiar with things that start with std:: :-)
[17:14:43] <PK> sueastside: had any luck with the stellarium?
[18:41:24] <thebolt> Hi everyone
[18:42:01] ChanServ sets mode: +o thebolt
[18:42:08] <sueastside> hey thebolt
[18:42:13] <sueastside> had fun? :)
[18:42:19] <thebolt> yep
[18:42:28] <thebolt> not used a computer since friday, feels good .)
[18:42:34] <sueastside> heh
[18:43:05] <thebolt> how about you?
[18:43:07] <sueastside> almost done with the cfgmgr btw, just loading/saving still, but your filesystem crashes :s
[18:43:16] <thebolt> heh okay :)
[18:44:15] <thebolt> well, it was made in 10 minutes to give me something to test against ;)
[18:45:21] <sueastside> i know, its just a very weird crash, dont know what the issue is, so cant debug it :/
[18:45:45] <thebolt> oh? what is the stacktrace and what are you doing?
[18:46:40] <sueastside> not doing anything, its the pythontest that crashes...
[18:47:11] <thebolt> hm.. okay, and what is the stack ?
[18:47:20] <sueastside> sec
[18:47:48] <sueastside> http://rafb.net/p/GfQCNL86.html
[18:48:23] <thebolt> m, seems very strange..
[18:49:38] <thebolt> let me try it on this computer where i haven't used it before (just have to update..)
[18:50:38] <thebolt> sueastside: hm, you are running within msvc?
[18:50:57] <sueastside> yes
[18:51:00] <thebolt> could you try to explicitly set the "working directory" (in debugging settings) to the root directory of the branch?
[18:52:15] thebolt has joined #peragro-dev
[18:52:30] <thebolt> hm..
[18:52:37] ChanServ sets mode: +o thebolt
[18:52:42] <thebolt> 8:50· @ thebolt - could you try to explicitly set the "working directory" (in debugging settings) to the root directory of the branch?
[18:52:55] <sueastside> oke ofcourse that has to work
[18:53:51] <sueastside> yes that works
[18:54:28] <thebolt> okay, so it is an issue with relative paths, and i think i know how it comes..
[18:55:59] <thebolt> so do this "work around" until it have been fixed ;)
[18:57:48] <sueastside> thebolt: oh didnt use variant afterall, since i wouldnt know what the read in data would be...
[18:58:42] <theboltEatingStu> sueastside: hm?
[18:59:01] <theboltEatingStu> that doesn't have anything to do with variant as far as i can tell
[18:59:14] <theboltEatingStu> but we can discuss it after dinner
[18:59:20] <sueastside> oke
[19:02:03] <sueastside> variant wasnt useful to store the values since you wouldnt know how to store them (key = true, would that be string or bool?) so i left it up to the user to decide how to read the value, with GetBool/string/int/float ...
[19:03:10] <theboltEatingStu> sueastside: GetBool/Sting/Int etc doesn't mean you cannot store it as a variant
[19:03:20] <theboltEatingStu> and a variant can tell you which type is currently stored in it
[19:04:03] <theboltEatingStu> basically variant is same as an union of a string and an int, but it is safe to store classes which needs construction (like string)
[19:26:16] theboltEatingStu changed nick to: thebolt
[19:26:25] <thebolt> so, what are you using now?
[19:27:38] <sueastside> thebolt: i know that, but you cant know what type it is if you read it out of the file...
[19:28:11] <thebolt> no, but you don't know that for any other way to store it either
[19:28:11] <sueastside> value is a string now...
[19:28:42] <thebolt> ah.. :(
[19:28:45] <thebolt> that is not good imo
[19:28:52] <thebolt> best plan is to parse "possible known" values
[19:29:14] <thebolt> so true/false yes/no parses to bool, a number to a float or integer and everything else to string
[19:31:39] <sueastside> but what if you had mystring = 1, and the loader decides to store it as a number and then you try and read it out with GetStr() ?
[19:32:54] <thebolt> error is probably best
[19:33:07] <thebolt> how would you handle now if you store a string and do a GetInt?
[19:34:36] <sueastside> lexical_cast and return a default value if that fails...
[19:35:38] <thebolt> well, use same but store it in "most probable" type to start with
[19:39:26] <sueastside> hmm that would be a switch with variant.which and a conversion method for each case and that for each get function...
[19:39:59] <thebolt> no? but an if
[19:40:14] <sueastside> thebolt: do you know how to template a function but only allow certain types(int, float, bool, string )
[19:40:17] <thebolt> if (variant.which() == thistype) return variant; else {.. cast }
[19:40:50] <thebolt> sueastside: yea, you define a default template function that gives a compiletime error, then you overload the types you want it to have to not give an error
[19:41:27] <sueastside> errr... :)
[19:44:31] <thebolt> bbiab
[20:21:17] <sueastside> hmm think i got it...
[21:18:13] <JohnTitor> SVN--> sueastside commited r572 to peragro_src with log message: sueastside added ConfigManager, load/save are work in progress. (+365, -1).
[21:18:49] ChanServ sets mode: +v Lightwave
[21:19:43] <sueastside> thebolt: is that more to your liking?
[21:19:51] <thebolt> i'll check in a little while
[22:01:36] thebolt2 has joined #peragro-dev
[22:02:09] ChanServ sets mode: +o thebolt