Timestamps are in GMT/BST.
| 00:02:15 | Watusimoto | and I can't compike at all, though it is not related to your issue! |
| 00:04:18 | raptor | so sam686, does that mean i see you only if you're inside one of your spybugs? |
| 00:04:58 | sam686 | right now, it looks like I can see any enemy when any enemy is near any spybug (not only my team spybug) |
| 00:05:20 | raptor | but i can't see you unless you're near one of yours... |
| 00:09:40 | raptor | ok recompiled |
| 00:10:22 | sam686 | on isVisibleToPlayer, need to change mIsOwnedByLocalPlayer with something that was in SpyBug::packUpdate |
| 00:12:46 | raptor | is that server-side? |
| 00:13:05 | sam686 | yes, i think.. Will check if server side only |
| 00:13:29 | raptor | oops |
| 00:13:52 | sam686 | clientGame::renderCommander calls isVisibleToPlayer client side |
| 00:14:19 | sam686 | but, gameType::performScopeQuery calls that too, server side |
| 00:14:47 | sam686 | Probably need to have different arguments for server side, an argument for clientInfo |
| 00:14:53 | raptor | ok, i initialized mIsOwnedByLocalPlayer in the constructor |
| 00:15:27 | sam686 | It will still be wrong, unless you check of getOwner() == clientInfo server side |
| 00:15:54 | raptor | ok, i think i'm not getting this... |
| 00:16:06 | raptor | (i'm also being distracted by family stuff) |
| 00:16:19 | raptor | if you know the fix already, feel free to do it... |
| 00:16:27 | sam686 | I can try fixing myself.. |
| 00:51:27 | | Watusimoto Quit (Ping timeout: 240 seconds) |
| 00:53:41 | | BFLogBot - Commit 25e278a1c693 | Author: sam8641 | Log: Fixed Spybug Scope problems. |
| 01:04:21 | | BlackBird_ has joined |
| 01:04:26 | BlackBird_ | hi |
| 01:04:35 | BlackBird_ | i think i might have a problem.. |
| 01:05:35 | BlackBird_ | the master server apparently is rejecting my username because i sent a duplicate player id |
| 01:05:39 | BlackBird_ | help? |
| 01:05:50 | raptor | hi |
| 01:06:26 | BlackBird_ | hi |
| 01:06:33 | sam686 | hi |
| 01:06:33 | BlackBird_ | do you know whats wrong? |
| 01:06:36 | raptor | master restarted |
| 01:06:40 | raptor | and no, i know nothing |
| 01:06:59 | BlackBird_ | is is in the process of restarting? or it just finished restarting? |
| 01:07:07 | BlackBird_ | it* |
| 01:07:09 | raptor | wait 30 sec |
| 01:08:02 | sam686 | restart your client if you get duplicated ID problem.. |
| 01:08:31 | raptor | i'm not really here |
| 01:09:03 | BlackBird_ | its been at least 30 seconds, right? |
| 01:09:19 | BlackBird_ | im getting the error again |
| 01:09:28 | BlackBird_ | whaattss ggooiinngg oonn |
| 01:09:36 | BlackBird_ | did someone steal my password or something?? |
| 01:09:59 | BlackBird_ | aaaand its crashing for the 3rd time |
| 01:10:12 | BlackBird_ | *crashes* |
| 01:11:04 | BlackBird_ | ok whats going oonnnnn |
| 01:11:26 | sam686 | what happens when starting bitfighter? |
| 01:11:46 | sam686 | is your bitfighter game running 017a or 017b ? (forgot which version is it) |
| 01:12:23 | BlackBird_ | it should be the latest.. |
| 01:12:27 | BlackBird_ | imma reinstall |
| 01:15:51 | sam686 | duplicate ID should be nothing to do with password / username (probably not, i think) |
| 01:28:06 | | raptor Quit (Ping timeout: 246 seconds) |
| 01:52:41 | | BlackBird_ Quit (Quit: Page closed) |
| 02:04:23 | | raptor has joined |
| 02:04:24 | | ChanServ sets mode +o raptor |
| 02:42:31 | | raptor Quit () |
| 02:51:08 | | raptor has joined |
| 02:51:08 | | ChanServ sets mode +o raptor |
| 04:31:12 | | sam686 has left |
| 04:39:52 | | sam686 has joined |
| 04:39:52 | | ChanServ sets mode +v sam686 |
| 05:18:10 | | raptor Quit () |
| 06:27:31 | | sam686 Quit (Ping timeout: 245 seconds) |
| 09:40:46 | | LordDVG has joined |
| 10:31:23 | | Watusimoto has joined |
| 12:04:47 | | Watusimoto Quit (Ping timeout: 264 seconds) |
| 13:14:38 | | Watusimoto has joined |
| 14:10:43 | | LordDVG Quit (Remote host closed the connection) |
| 15:00:05 | | LordDVG has joined |
| 15:01:08 | | Watusimoto Quit (Ping timeout: 268 seconds) |
| 15:08:27 | | Watusimoto has joined |
| 15:48:24 | | sam686 has joined |
| 15:48:24 | | ChanServ sets mode +v sam686 |
| 16:00:30 | Watusimoto | hi sam686 |
| 16:00:44 | Watusimoto | do you know anything about Vector<bool>? |
| 16:06:44 | sam686 | the std::vector<bool> is different from std::vector<char> or any other types.. |
| 16:07:15 | sam686 | since Vector changed to std::vector, it might have some problems specific to Vector<bool> |
| 16:11:50 | Watusimoto | Vector<bool> xxx |
| 16:11:57 | Watusimoto | xxx[0] = true; |
| 16:12:01 | Watusimoto | doesn't work |
| 16:12:45 | Watusimoto | but xxx.getStlVector[0] = true does |
| 16:13:08 | Watusimoto | and passing Vector<bool> via s2cxxxx doesn't work |
| 16:13:15 | Watusimoto | sadly |
| 16:28:15 | Watusimoto | back in a bit |
| 16:32:51 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 16:45:11 | | raptor has joined |
| 16:45:11 | | ChanServ sets mode +o raptor |
| 16:47:36 | raptor | DONT USE VECTOR<BOOL> |
| 16:47:43 | raptor | oh wait |
| 16:47:52 | raptor | i think TNL::Vector is OK |
| 16:48:20 | sam686 | TNL::Vector aren't really ok sincer the change to std::vector |
| 17:02:40 | raptor | hi |
| 17:02:42 | raptor | ok |
| 17:06:08 | | Watusimoto has joined |
| 17:06:43 | raptor | sam686: i thought you fixed Vector<bool> in 1897:78011beaf8ef and 1898:0bb5b32e7bf6 |
| 17:06:47 | raptor | (long time ago) |
| 17:07:31 | sam686 | partly, except can't get address of bool[] |
| 17:08:44 | sam686 | I think i am coming up with a different hack to fixing it, by doing struct struct1{T v;}; and std::vector<struct1> innerVector; |
| 17:09:05 | raptor | maybe we can define BOOL int |
| 17:09:20 | raptor | and TRUE = 1; FALSE = 1 |
| 17:09:23 | raptor | err 0 |
| 17:10:14 | raptor | what were the c++ guys smoking when they decided to implement vector<bool> the way they did.. |
| 17:11:45 | sam686 | by doing struct struct1{T v;};, i think I can static cast (struct1*) to (T*).. even if (T == bool) |
| 17:12:37 | raptor | would Vector<bool> still be backed by std::vector? |
| 17:13:04 | sam686 | yes, std::vector<struct1> innerVector; |
| 17:13:31 | sam686 | because we are inserting our struct1 containing only T std::vector won't see a bool |
| 17:14:07 | raptor | ahhh |
| 17:14:19 | raptor | would that slow down Vector much? |
| 17:15:19 | sam686 | I don't know, I think no since it is still only one.. |
| 17:15:29 | raptor | was vector<bool> fixed for c++11? |
| 17:16:29 | sam686 | not sure.. |
| 17:20:11 | raptor | maybe jsut use std::deque? |
| 17:20:41 | raptor | or can you somehow get the bit it represents on the fly, and return it as a bool? |
| 17:21:30 | raptor | can you wrap just Vector<bool> in the struct? I think I'd rather leave all other types alone, without the extra wrapper |
| 17:23:03 | sam686 | http://sam6.25u.com/upload/tnlVector.h there.. but not limited to just bool, but it appears to work.. |
| 17:23:36 | raptor | can it be limited to just bool? |
| 17:24:15 | sam686 | It could, but I would have to copy the entire struct, i think... |
| 17:25:47 | sam686 | more like, I would have to copy everything on tnlVector just for bool... |
| 17:26:31 | raptor | even if you used the previous signatures for Vector<bool>? |
| 17:26:55 | sam686 | can you check if there is performance problem with my changes, compared without my changes? |
| 17:27:26 | sam686 | the problem is, there is about 15 functions I had to change to make it work with my "Struct1" |
| 17:28:30 | raptor | i can't find my old Vector performance testing program... :( |
| 17:30:22 | raptor | well, there is an extra method call for every function since it has to access the inner member |
| 17:32:41 | sam686 | if the compiler optimizer is smart, it can inline, taking away an extra call to inner member (since tnlVector.h is visible to compiler) |
| 17:33:00 | raptor | i just found you can define STD_VECTOR_BOOL_NOT_SPECIAL |
| 17:33:11 | raptor | to make it act normally |
| 17:33:59 | raptor | but i bet that that isn't in the mac gcc for old ppc builds |
| 17:34:55 | sam686 | problem with that define, it isn't on visual C++ 2008, and probably not on visual C++ 2010 |
| 17:35:01 | raptor | rats |
| 17:35:58 | raptor | here's another solution: http://stackoverflow.com/questions/8399417/why-vectorboolreference-doesnt-return-reference-to-bool |
| 17:36:42 | sam686 | looks like my debug build skips struct1 constructor, and goes straight to "T" constructor when T == string.. |
| 17:37:16 | sam686 | and since struct1.v tells the compiler it is just a offset of 0, it gets optimized out.. |
| 17:38:18 | sam686 | problem, is sizeof(char) == sizeof(bool)? |
| 17:38:25 | Watusimoto | is it worth the hassle? we could just use the crackhead STL version, no? |
| 17:38:32 | Watusimoto | and take the memory hit |
| 17:38:47 | raptor | you can't get a reference to the bool with the stl version |
| 17:38:55 | raptor | oh, and hi Watusimoto |
| 17:39:08 | sam686 | std::vector<bool> have a speed hit beacuse of packing 8 bit into one byte.. |
| 17:39:17 | Watusimoto | only here for a minute... thanking the gods we don't use 3-d models in bitfighter |
| 17:39:37 | Watusimoto | ah, thought it was representing one bit as a byte |
| 17:39:51 | raptor | no, that's what we want |
| 17:40:05 | raptor | because bool is 1 byte everywhere but in std::vector |
| 17:40:06 | sam686 | i don't think all compilers have sizeof(bool) == sizeof(char) |
| 17:49:59 | Watusimoto | back in a few minutes |
| 17:50:05 | sam686 | Another possibility is to maybe hack std vector.h and add in #ifndef STD_VECTOR_BOOL_NOT_SPECIAL |
| 17:51:30 | sam686 | but then there will be many complaining it won't compile because of missing #ifndef... |
| 17:54:51 | raptor | i'm re-writing my testing class... |
| 17:55:58 | raptor | oh wait! i found it! |
| 17:56:41 | raptor | let me get your class set into it.. |
| 17:58:10 | sam686 | can you send your test source code? that will make sure I have it if you, in a future, lost it again... |
| 17:58:15 | raptor | ok |
| 17:58:24 | raptor | one moment, i have to clean it up a but |
| 17:58:26 | raptor | *bit |
| 18:00:42 | sam686 | will be back in about 10 minutes.. |
| 18:10:56 | raptor | whoa, you're domain is gone |
| 18:11:26 | sam686 | I had zoomber "CNAME" that to http://sam6.25u.com/ |
| 18:11:41 | sam686 | but zoomber seem to not be coming back anytime soon to see that problem |
| 18:12:04 | raptor | here is my eclipse project for testing: http://sam6.25u.com//upload/testing.tar.gz |
| 18:12:09 | raptor | http://sam6.25u.com/upload/testing.tar.gz |
| 18:13:20 | raptor | i put your new code in namespace of SAM:: |
| 18:14:11 | sam686 | My 7-zip can see username and group names inside a ".tar", i see it as dbuck : users |
| 18:15:42 | raptor | yep, tar preserves permissions |
| 18:23:18 | raptor | looks like my timing code might be broken |
| 18:30:58 | sam686 | there is one problem, you are measuring the time of cout or outputtint to console.. |
| 18:31:35 | raptor | ah yes |
| 18:31:37 | raptor | good point |
| 18:32:27 | raptor | i wrote this along time ago... |
| 18:35:19 | raptor | i shoudl rewrite... |
| 18:43:36 | raptor | yuk, lots of bad code - i'm rewriting anyways |
| 18:57:47 | sam686 | 'type' : symbol cannot be used in a using-declaration when trying "struct struct1{using type = T;};" when you say to try http://stackoverflow.com/questions/8399417/why-vectorboolreference-doesnt-return-reference-to-bool |
| 19:09:00 | Watusimoto | hi again |
| 19:10:27 | raptor | hi |
| 19:14:23 | Watusimoto | so what should I do about my vector<bool? |
| 19:14:38 | raptor | well... |
| 19:14:46 | Watusimoto | I have things kind of working internally, by using the stlcontainer directly |
| 19:14:48 | raptor | use deque? |
| 19:14:51 | Watusimoto | which is not really what you want |
| 19:15:14 | Watusimoto | but I want to pass a vector<bool> through a s2c function call |
| 19:15:15 | raptor | if we want it to work with TNL::Vector, sam wrote a solution to wrap any T in a struct first |
| 19:15:45 | Watusimoto | I'm thinking I need to write a custom packer to pass the bits |
| 19:15:47 | raptor | but it seems to me we should specialize Vector<bool> and wrap it just in the specialization |
| 19:16:03 | Watusimoto | or perhaps pass a number then a number of flags |
| 19:16:06 | Watusimoto | or something |
| 19:16:11 | sam686 | it appears to be a little slower... |
| 19:16:20 | raptor | yeah, slightly slower |
| 19:17:00 | sam686 | but I might be coming up with maybe another solution to that problem which hopefully won't be so slow, i hope.. |
| 19:17:43 | raptor | sam686: can we keep your previous template<> Vector<bool> specialization and somehow wrap just wrap the bool for that case? |
| 19:17:59 | sam686 | I think so.. |
| 19:23:44 | raptor | Watusimoto: maybe just typedef BOOL int? :) |
| 19:24:10 | Watusimoto | why not just use the inefficient stl implemenation? |
| 19:24:14 | Watusimoto | is it really that bad |
| 19:24:16 | Watusimoto | ? |
| 19:24:43 | raptor | you cannot get back a bool by doing bool something = vec[0]; |
| 19:25:53 | Watusimoto | As an STL container, there are really only two things wrong with vector< bool >. First, it's not an STL container. Second, it doesn't hold bools. Other than that, there's not much to object to. |
| 19:26:02 | raptor | haha |
| 19:26:05 | raptor | so true |
| 19:26:19 | Watusimoto | you can't?? |
| 19:26:30 | raptor | nope |
| 19:28:07 | Watusimoto | can we specialize Vector<bool> to use deque (transparently) instead? |
| 19:28:22 | raptor | sam686 is working on the specialization right now |
| 19:28:35 | raptor | not sure what he has in mind... |
| 19:31:14 | raptor | i wonder if it can be hijacked as a char somehow |
| 19:32:59 | Watusimoto | http://stackoverflow.com/questions/670308/alternative-to-vectorbool |
| 19:34:04 | sam686 | can you get a array of pointers from a deque? (i think no) |
| 19:34:09 | raptor | no |
| 19:35:14 | Watusimoto | A vector< char > or similar will use less space, though it also has the potential to take a (very small) speed hit in some circumstances, because characters are less than the machine word size. This is, I believe, the main reason that bools are implemented using ints instead of chars |
| 19:36:01 | Watusimoto | another solution: |
| 19:36:01 | Watusimoto | If you really want clean semantics, I also like the suggestion of making your own boolean class -- looks like a bool, acts like a bool, but fools the template specialization. |
| 19:36:21 | Watusimoto | similar to your previous suggestion? |
| 19:39:24 | raptor | yes |
| 19:41:44 | Watusimoto | that's what I'm doing for the moment, actually |
| 19:42:28 | sam686 | i have an idea: std::vector<char[sizeof(bool)]> innerVector; or similar... |
| 19:43:34 | raptor | maybe we should just remove the bool specialization and use a typedef |
| 19:44:27 | Watusimoto | I'm porting my code over to use S32s instead of bools; since we can;t pass a vector of bools through a s2c, that takes away a lot of my desire to use Vector<bool> |
| 19:44:51 | Watusimoto | luckily, in my case, it works pretty well to pack all my data into a U16 |
| 19:45:04 | raptor | you mean using it as a mask? |
| 19:45:08 | Watusimoto | yup |
| 19:45:15 | raptor | sounds good to me |
| 19:45:30 | Watusimoto | 99% of the time, I could get away with a U8, but it's one bit per team |
| 19:46:26 | Watusimoto | but a U16 is not bad -- if passing a vec<bool>, we'd need to use 8 bits for the count, and then probably 2-4 more for the data (depending on team count), and so U16 isn't much worse |
| 19:46:43 | Watusimoto | and in the worst case (10 teams), it;s better |
| 19:46:48 | Watusimoto | but that case is very rare |
| 19:47:35 | raptor | better be safe than sorry, as the saying goes |
| 19:56:44 | Watusimoto | yes. so I'd say forget about vector<bool> and do something else. |
| 19:57:11 | raptor | i wonder if we could still compile by ripping out that specialization.. |
| 19:59:19 | raptor | sam686: thanks for fixing that spybug problem.. |
| 20:00:24 | Watusimoto | maybe we should TNLAssert it to remind us not to use it |
| 20:00:42 | raptor | and the answer is YES! |
| 20:00:45 | Watusimoto | because I lost a lot of time to forgetting about that issue |
| 20:01:04 | raptor | good idea |
| 20:01:19 | Watusimoto | and assert saying ("Don;t do this, C++ vector<bool> is broke; see xxx for why") would be helpful |
| 20:01:34 | raptor | where should that go? in each of the 4 constructors? |
| 20:01:41 | Watusimoto | not sure where it would go... |
| 20:01:46 | Watusimoto | ah, yes! |
| 20:02:07 | raptor | ok, i'll do it - sam686, it looks like we're choosing to never use Vector<bool> |
| 20:02:55 | Watusimoto | ok, that would be wonderful |
| 20:03:01 | Watusimoto | sam686: do you concur? |
| 20:04:58 | sam686 | well, i sort of goit it on the right direction, but maybe missing operators.. |
| 20:05:38 | sam686 | http://sam6.25u.com/upload/text1209/120923_15-09-51.txt is what I have so far |
| 20:06:02 | sam686 | doesn't quite compile yet though.. |
| 20:06:33 | sam686 | oh, and you might need to change namespace SAM back to TNL.. |
| 20:15:22 | | BFLogBot - Commit 2d4ed5f57560 | Author: watusim...@bitfighter.org | Log: Comment |
| 20:15:23 | | BFLogBot - Commit 54f2a3eb534f | Author: watusim...@bitfighter.org | Log: Whole lotta nothing |
| 20:15:25 | | BFLogBot - Commit 70c86a004775 | Author: watusim...@bitfighter.org | Log: Comment |
| 20:15:26 | | BFLogBot - Commit 99023a617a6a | Author: watusim...@bitfighter.org | Log: In ZoneControl games, can always see which team has the flag, regardless of whether carrier is in or out of scope. This was a ridiculuous amount of work, and probably is more complex than it needs to be. |
| 20:15:28 | | BFLogBot - Commit c9977a6f6d5a | Author: watusim...@bitfighter.org | Log: Merge |
| 20:22:17 | | Little_Apple has joined |
| 20:22:23 | Little_Apple | helloo |
| 20:31:59 | raptor | Watusimoto: where did you get your quote about vector<bool>? |
| 20:32:08 | raptor | i'm looking for a good link to provide the assert with |
| 20:32:16 | raptor | hi Little_Apple |
| 20:32:40 | Watusimoto | unless sam fixed it? |
| 20:33:02 | raptor | i thought i was gutting the bool stuff and throwing in asserts... |
| 20:34:25 | Watusimoto | link to this |
| 20:34:26 | Watusimoto | http://www.youtube.com/watch?v=ibEdgQJEdTA&feature=related |
| 20:35:04 | | koda has joined |
| 20:35:35 | raptor | what |
| 20:37:07 | raptor | i like the canteloupe |
| 20:38:59 | Watusimoto | if sam has made Vector<bool> work, we don;t need to assert. If not, we can link to this http://stackoverflow.com/questions/670308/alternative-to-vectorbool |
| 20:42:41 | raptor | you stopped, right sam686? |
| 20:44:52 | Little_Apple | raptor: |
| 20:45:02 | Little_Apple | would you know if/when _k would be back? |
| 20:45:04 | sam686 | almost have it done.. |
| 20:46:27 | raptor | well sam686 if you don't want to finish, i can just put this in there: http://pastie.org/4787399 |
| 20:46:51 | raptor | Little_Apple: I don't think any of us know anything about _k |
| 20:47:19 | Little_Apple | oh ok. |
| 20:49:01 | sam686 | this appears to compile, http://sam6.25u.com/upload/text1209/120923_15-09-28.txt but will run it and see... |
| 20:50:00 | Little_Apple | im going to look for some things that need to be edited on the wiki. hopefully i wont mess things up too badly |
| 20:50:58 | raptor | Little_Apple: you guys waiting patiently for 018? |
| 20:52:57 | Little_Apple | yup d: |
| 20:52:57 | Little_Apple | raptor: what was that game you were talking about that was similar to bitfighter that you had to compile yourself? |
| 20:53:26 | raptor | xpilot |
| 20:53:42 | Little_Apple | oh ok. i knew it had an x in it... |
| 20:53:44 | Little_Apple | thanks |
| 21:13:48 | Little_Apple | raaaaaptor |
| 21:14:02 | Little_Apple | i need to bug you some |
| 21:14:06 | raptor | hi |
| 21:14:42 | Little_Apple | could you help me with compiling? |
| 21:14:58 | raptor | not today, sorry |
| 21:15:10 | Little_Apple | aw |
| 21:16:25 | raptor | my brain is a bit fried.. |
| 21:17:03 | Little_Apple | okokok one quick question |
| 21:17:09 | raptor | ok |
| 21:17:20 | Little_Apple | i got mercurial and got the source using the command on the wiki |
| 21:17:27 | Little_Apple | but where the heck is it? |
| 21:17:29 | raptor | great! |
| 21:17:36 | Watusimoto | wow |
| 21:17:39 | Little_Apple | i cant seem to find it .___. |
| 21:17:53 | raptor | it's in the directory in which you ran the command |
| 21:17:59 | Watusimoto | what he said |
| 21:18:02 | Little_Apple | ok... |
| 21:18:34 | Little_Apple | lol fail |
| 21:18:47 | Little_Apple | i had it set for a minecraft server... |
| 21:18:54 | Little_Apple | but i found it. thanks. |
| 21:19:26 | raptor | sure :) |
| 21:19:51 | Little_Apple | i need to change that on terminal.. |
| 21:20:11 | Little_Apple | aaaaand its giving me this. |
| 21:20:12 | Little_Apple | The scheme 'Bitfighter' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode. |
| 21:20:29 | raptor | so that means |
| 21:20:36 | raptor | you're using a newer Xcode? |
| 21:20:53 | Little_Apple | yep. the older version wont work on mountain lion |
| 21:21:00 | Little_Apple | mountain lion messed up a ton of stuff |
| 21:21:19 | raptor | hmmm |
| 21:21:21 | | LordDVG Quit (Remote host closed the connection) |
| 21:21:59 | raptor | well, there are two solutions: 1. go back to snow leapard 2. wait for someone to create an xcode4 project |
| 21:22:09 | raptor | #1 probably isn't going to happen |
| 21:22:13 | Little_Apple | yea... |
| 21:22:26 | Little_Apple | espescially since i share this computer… which i hate |
| 21:22:48 | Little_Apple | if it was mine i would go back to lion in a heartbeat |
| 21:23:27 | raptor | #2 I am not eager to do because I am not so fond of Mac and I already have a snow leopard solution that works :) |
| 21:24:45 | Little_Apple | lolz |
| 21:24:57 | Little_Apple | i could try going back to lion... |
| 21:25:07 | Little_Apple | things worked with that... |
| 21:25:23 | raptor | i don't think i would |
| 21:25:35 | Little_Apple | hmm |
| 21:25:49 | raptor | is there no way to 'import' an old project? |
| 21:26:00 | Little_Apple | i dont think so |
| 21:26:05 | raptor | or, you can try to creat your own :) |
| 21:26:15 | Little_Apple | how? |
| 21:26:40 | Little_Apple | id just like to get it working |
| 21:26:57 | raptor | uhh, i don't know.. . 'create new project'? etc... |
| 21:27:23 | Little_Apple | and another reason i hate sharing a computer, i am being kicked off. be back later. thanks for the help |
| 21:27:34 | | Little_Apple Quit (Quit: Page closed) |
| 21:34:31 | raptor | well, i'v edone nothing bitfighter-y all day... |
| 21:44:38 | | raptor Quit () |
| 22:35:46 | | BFLogBot - Commit 3853d5271131 | Author: sam8641 | Log: Changed Vector to no longer pack 8 bool into one byte, enable getting array address of it, and is faster. |
| 22:37:11 | sam686 | hi Watusimoto, I just got Vector<bool> working much better (internally does std::vector<char>), and look at the faster (lower is faster) speed: http://sam6.25u.com/upload/text1209/120923_17-09-06.txt |
| 22:43:07 | Watusimoto | great! |
| 22:45:54 | | raptor has joined |
| 22:45:54 | | ChanServ sets mode +o raptor |
| 22:46:04 | raptor | oooo sam, you got it to work? |
| 22:47:10 | raptor | sam686: i'm getting error: |
| 22:47:30 | raptor | tnlVector.h:133:4: error: ‘innerVector’ was not declared in this scope |
| 22:50:50 | | BFLogBot - Commit 21c865636e31 | Author: watusim...@bitfighter.org | Log: Update CTF and Rabbit to use new team flag tracking system |
| 22:50:51 | | BFLogBot - Commit 3c5c33b77552 | Author: watusim...@bitfighter.org | Log: Merge |
| 22:50:59 | Watusimoto | sleeeeeeeepy |
| 22:51:07 | raptor | sleeeeeeeepy |
| 22:51:09 | Watusimoto | good night |
| 22:51:11 | raptor | night |
| 23:09:12 | raptor | sam686: still around? |
| 23:09:17 | sam686 | hi |
| 23:09:28 | raptor | i thin i've solved the error: http://stackoverflow.com/questions/7076169/not-declared-in-this-scope-error-with-templates-and-inheritance |
| 23:09:43 | raptor | basicall make all internal references of innerVector be this->innerVector |
| 23:10:06 | raptor | but i'm curious - how come you added (T*) to a lot of the returns? |
| 23:10:34 | sam686 | its the type casting from bool to char.. |
| 23:10:42 | raptor | ah ok |
| 23:10:46 | sam686 | can you just do #define innnerVector this->innerVector |
| 23:10:46 | raptor | so i'll leave it alone |
| 23:10:58 | raptor | that's a good idea, le tme try.. |
| 23:11:30 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 23:15:07 | raptor | almost works... fails with the p.innerVector |
| 23:15:45 | sam686 | so define does p.this->innerVector? wrong |
| 23:15:57 | raptor | yep |
| 23:16:31 | raptor | was there a reason why you commented out getStlVector()? |
| 23:16:43 | sam686 | it won't work on bool.. |
| 23:17:40 | raptor | ah ok, well it's not used anyways.. |
| 23:18:45 | raptor | i'll just add 'this' everywhere.. |
| 23:22:05 | raptor | well, it compiles... |
| 23:22:11 | raptor | let's see if it runs... |
| 23:30:44 | raptor | i got Assert: index out of range in ../tnl/tnlVector.h line 366 |
| 23:30:57 | sam686 | got upload_.level file now? (should be zone control) |
| 23:31:36 | raptor | http://pastie.org/4788202 |
| 23:31:45 | raptor | can't change to it... |
| 23:32:08 | sam686 | I am getting the same problem too |
| 23:32:18 | raptor | ok, so not a Vector problem.. |
| 23:33:32 | sam686 | teamIndex = -1? |
| 23:33:41 | raptor | i guess? |
| 23:34:01 | sam686 | neutral zones have team -1 |
| 23:35:58 | | BFLogBot - Commit 93be5db4f03f | Author: buckyballreaction | Log: Fix compiling in Linux with new Vector code |
| 23:38:55 | raptor | i have to go in 5 min.. |
| 23:39:04 | raptor | be back after 3 hours or so.. |
| 23:39:15 | sam686 | ok.. |
| 23:39:47 | sam686 | I will eventually have a zone control renderInterfaceOverlay fix |
| 23:43:08 | raptor | ok |
| 23:43:11 | raptor | bye |
| 23:43:13 | | raptor Quit () |
| 23:58:58 | | koda Quit (Quit: you can't say 'hello' without saying 'hell') |