Timestamps are in GMT/BST.
| 00:24:29 | raptor | bye again |
| 00:24:32 | | raptor Quit () |
| 03:28:44 | | raptor has joined |
| 03:28:44 | | ChanServ sets mode +o raptor |
| 04:13:37 | amginea135246 | sam im back wanna play? |
| 04:23:13 | sam686 | hi |
| 04:23:28 | raptor | hi sam686, have you tested the module playing in windows? |
| 04:24:02 | sam686 | not yet |
| 04:25:02 | raptor | ok, well if you do, please tell me if there are any problems... i think maybe the volume might be a little low for modules |
| 04:26:52 | amginea135246 | ok ready sam |
| 04:27:14 | sam686 | like, umm... this mod file? http://sam6.25u.com/upload/Bitfighter.mod |
| 04:28:17 | amginea135246 | I see no problesn with the modules current sound level |
| 04:37:12 | amginea135246 | questio nsam if i make aloadout zone neutrel does that mean everyone can use it of all teams |
| 04:37:33 | amginea135246 | or raptor |
| 04:37:54 | sam686 | on Zone Control, all goals not on your team can be scored into touchdown.. |
| 04:38:05 | sam686 | ... if you are holding flag.. |
| 04:38:49 | amginea135246 | not goal loadoutzone |
| 04:39:26 | amginea135246 | for example can red yellow and bleu teams use a neutrel loadoutzone |
| 04:39:33 | amginea135246 | ie share |
| 04:40:39 | sam686 | any team can use neutral goal zone |
| 04:41:06 | sam686 | i mean loadout zone, not goal |
| 04:41:29 | amginea135246 | ok thats what i was checking |
| 04:41:30 | sam686 | any team can use own team or neutral loadout zone |
| 04:42:17 | raptor | ok, heading to bed early - good night! |
| 04:42:31 | amginea135246 | goodnight raptor |
| 04:42:36 | | raptor Quit () |
| 04:42:39 | amginea135246 | sam lets try it now |
| 04:42:52 | sam686 | i see, single team zone control have different scoring, kill one turret scores you one point... |
| 05:32:46 | amginea135246 | ready.... |
| 05:54:37 | sam686 | will need to go to bed, bye.. |
| 05:55:04 | | sam686 Quit (Quit: bye) |
| 05:56:35 | amginea135246 | alas bye |
| 05:58:05 | amginea135246 | bye all |
| 05:58:12 | | amginea135246 Quit (Quit: Page closed) |
| 07:48:09 | | watusimoto has joined |
| 07:48:09 | | ChanServ sets mode +o watusimoto |
| 09:09:09 | | kodaws has joined |
| 11:35:26 | | kodaws Quit (Ping timeout: 245 seconds) |
| 13:16:44 | | kodaws has joined |
| 14:15:25 | | raptor has joined |
| 14:15:26 | | ChanServ sets mode +o raptor |
| 14:15:58 | raptor | good morning! |
| 14:28:23 | watusimoto | hi |
| 14:29:36 | raptor | hi |
| 14:30:27 | raptor | so i was thinking |
| 14:30:59 | raptor | we're quickly making our hg repo large in size by constantly adding music and libraries |
| 14:31:24 | raptor | what about having a separate repo for stuff like that? |
| 14:36:23 | | Watusimoto_ has joined |
| 14:40:41 | watusimoto | dos the repo size matter? |
| 14:41:03 | raptor | only when cloning for the first time... i think we're at like 180MB |
| 14:41:08 | raptor | or something like that... |
| 14:41:25 | watusimoto | well, I think everything you need to build should be in one repo |
| 14:41:29 | raptor | not a big deal really... |
| 14:41:37 | raptor | yes, so probably libraries shoudl stay |
| 14:41:43 | watusimoto | you could argue that the music could be put elsewhere, but there's really not much there |
| 14:41:56 | watusimoto | and most of that should hopefully be deleted or imported into the game |
| 14:42:08 | raptor | yes |
| 14:42:15 | watusimoto | once someone is able to make a decision :-) |
| 14:42:17 | raptor | however the changeset is still in the repo |
| 14:42:31 | watusimoto | what do you mean? |
| 14:42:41 | watusimoto | once there, always there? |
| 14:42:45 | raptor | yes |
| 14:42:56 | raptor | so right now, the music_ideas is 36MB |
| 14:43:03 | watusimoto | but that's google's problem |
| 14:43:11 | raptor | if we deleted all of it, that 36MB is still in the hg repo history |
| 14:43:23 | raptor | so when someone clones in the future, they have an extra 36MB to download |
| 14:43:28 | watusimoto | but people won't have to download it |
| 14:43:39 | watusimoto | when you clone, you don't get all history |
| 14:43:42 | raptor | yes you do |
| 14:43:46 | raptor | with DVCS |
| 14:43:48 | raptor | you do |
| 14:43:50 | watusimoto | you get every file that was ever added |
| 14:43:53 | raptor | everything |
| 14:43:59 | watusimoto | really? |
| 14:44:01 | raptor | yep |
| 14:44:02 | watusimoto | where does it go? |
| 14:44:09 | watusimoto | trully? |
| 14:44:17 | raptor | there is a hidden .hg directory at the root of the bitfighter tree |
| 14:44:20 | raptor | it's all in there |
| 14:44:23 | watusimoto | the .hg file |
| 14:44:26 | watusimoto | folder |
| 14:44:27 | watusimoto | rather |
| 14:44:36 | raptor | it allows for instant updating to any changeset ever |
| 14:44:38 | watusimoto | I didn't know that |
| 14:44:40 | raptor | all locally |
| 14:44:47 | watusimoto | good to know |
| 14:45:04 | watusimoto | we can solve the prblem by adding that 36MB of music to the game :-) |
| 14:45:37 | raptor | haha |
| 14:45:44 | watusimoto | I could see an argument for calving off the music folder, but not the libs |
| 14:45:52 | watusimoto | rather the potential music folder |
| 14:46:09 | raptor | well i already have a separate repo for 'tools' |
| 14:46:17 | watusimoto | what are tools? |
| 14:46:20 | raptor | if you go here: http://code.google.com/p/bitfighter/source/list |
| 14:46:34 | raptor | select 'tools' from the 'repository' drop down |
| 14:47:22 | watusimoto | I see |
| 14:47:38 | raptor | basically misc. things that help with the bitfighter project, but aren't the codebase |
| 14:47:45 | watusimoto | right |
| 14:48:01 | watusimoto | well, you could create a music repo, I suppose |
| 14:48:30 | watusimoto | I don't really see the problem, but you are more concerned with project hygine than I am :-) |
| 14:48:39 | raptor | hehe, yep :) |
| 14:48:39 | watusimoto | (which I consider a good thing) |
| 14:49:09 | raptor | well, i've been wanting to do some history cleaning |
| 14:49:20 | raptor | like move the music files into their own repo |
| 14:49:27 | watusimoto | would we lose our history? |
| 14:49:46 | raptor | nono - i would just splice out the revisions |
| 14:49:51 | watusimoto | not that it's critical after some stage |
| 14:49:56 | raptor | and move them to a differen repo |
| 14:50:09 | raptor | would reduce our codebase repo size considerably |
| 14:50:11 | raptor | but |
| 14:50:15 | watusimoto | so main project goes back to x, and other repo goes from 0 to x |
| 14:50:29 | raptor | you and sam would have to check out brand new clones |
| 14:50:45 | raptor | so revision in repo are like this: a->b->c |
| 14:50:55 | raptor | but b is 10MB of music files |
| 14:51:07 | raptor | so i'd change history to be a->c |
| 14:51:13 | raptor | and put b in another repo |
| 14:51:33 | watusimoto | and if b is music + code change? no matter? |
| 14:51:46 | raptor | if that's the case, i'd do changeset editing :) |
| 14:51:55 | watusimoto | you really want to do that? |
| 14:51:58 | raptor | rip out the music from the code |
| 14:52:23 | raptor | well... i sort of like housekeeping jobs like that - i think they help me destress... |
| 14:52:33 | watusimoto | :-) |
| 14:52:51 | watusimoto | you could update our file headers... they have outdated (c) info |
| 14:55:31 | kodaws | raptor, hey |
| 14:55:37 | kodaws | raptor, i got some success to report |
| 14:55:39 | raptor | hi kodaws |
| 14:55:40 | raptor | oh yeah? |
| 14:56:01 | kodaws | yes, i got xcode play button to report |
| 14:56:05 | kodaws | to work* |
| 14:56:07 | raptor | ! |
| 14:56:15 | raptor | really! |
| 14:56:21 | kodaws | there are a few catches |
| 14:56:22 | raptor | uh, xcode 3 or 4? |
| 14:56:25 | kodaws | 3 |
| 14:56:28 | raptor | i expect catches |
| 14:56:28 | kodaws | don't have 4 |
| 14:56:32 | raptor | ok |
| 14:57:21 | kodaws | the problem lies in the xcode interaction with app bundles |
| 14:57:35 | kodaws | basically xcode always tries to launch the executable that it just produced |
| 14:57:39 | raptor | was it my evil wrapper script? |
| 14:57:47 | raptor | ok |
| 14:57:56 | kodaws | but since the executable set is the .sh it will confuse the debugger |
| 14:58:06 | raptor | makes sense |
| 14:58:22 | kodaws | as it's trying to launch Bitfigther, but the app bundle knows that the main exe is bitfighter.sh |
| 14:59:00 | kodaws | also you should use exec to launch the executable |
| 14:59:19 | raptor | from the .sh you mean? |
| 14:59:20 | kodaws | like exec ./Bitfighter -args blahblah |
| 14:59:25 | raptor | ah ok |
| 14:59:30 | raptor | let me start up my vm |
| 14:59:37 | kodaws | yes, ./command starts another process |
| 14:59:50 | kodaws | exec ./command transforms the current process into the command |
| 14:59:58 | raptor | do you have a diff I could look at? |
| 15:00:00 | kodaws | the first one of course add in the confusion to gdb |
| 15:00:06 | raptor | ok |
| 15:00:15 | kodaws | i do... at home :( |
| 15:00:35 | raptor | heh - always happens! |
| 15:01:02 | kodaws | but my changes are trivial, add an ifdef in main so that the args are hardcoded and that the first time executable is called via "system" |
| 15:01:21 | raptor | ah ok, so it bypasses the script completely? |
| 15:01:26 | kodaws | yes |
| 15:01:42 | raptor | that's probably the 'official' Mac way of doing things... |
| 15:01:48 | raptor | err iOS/OSX |
| 15:01:51 | kodaws | if you wish i'll send a patch later on |
| 15:01:54 | raptor | sure! |
| 15:02:12 | watusimoto | awesome, kodaws, thanks! |
| 15:02:33 | raptor | hey, that means you get the dev badge (if you have a registered user) |
| 15:02:48 | watusimoto | not till there's some code committed! :-) |
| 15:02:56 | kodaws | for now i hardcoded full paths, need to find a way to clean that up :p |
| 15:02:59 | raptor | yes |
| 15:03:15 | kodaws | i have it but it's very old and forgot the username >_< |
| 15:03:17 | raptor | evil absolute paths... |
| 15:03:22 | kodaws | unless it's koda or smth |
| 15:03:37 | kodaws | but anyway |
| 15:04:18 | raptor | well cool - you're in italy, right? |
| 15:04:32 | kodaws | yes |
| 15:04:45 | raptor | so i'll still b e at work when you're home... probably |
| 15:16:18 | raptor | hey... SDL development has really picked up again! |
| 15:16:26 | raptor | they even fixed one of my bugs! |
| 15:52:24 | | Watusimoto_ Quit (Ping timeout: 260 seconds) |
| 15:52:27 | watusimoto | whch one? |
| 15:52:44 | raptor | the right-mouse click missing one |
| 16:17:05 | | sam686 has joined |
| 16:17:05 | | ChanServ sets mode +v sam686 |
| 16:58:40 | | watusimoto Quit (Ping timeout: 260 seconds) |
| 17:10:04 | | Little_Apple has joined |
| 17:10:06 | Little_Apple | helloo |
| 17:11:12 | raptor | hi |
| 17:11:52 | Little_Apple | raptor: have you seen raspberry pi? |
| 17:12:18 | | kodaws Quit (Read error: Connection reset by peer) |
| 17:12:46 | raptor | i've heard of it, yes |
| 17:14:27 | Little_Apple | what do you think about it? |
| 17:15:04 | raptor | i don't know, i haven't seen one used |
| 17:15:39 | Little_Apple | think one could be used to host a game server? |
| 17:16:35 | raptor | probably - i already code the codebase to compile on ARM architecture |
| 17:17:09 | Little_Apple | interestinnnnngggg |
| 17:17:27 | raptor | i had to do that for my android test |
| 17:18:10 | Little_Apple | hm |
| 17:40:41 | raptor | so Little_Apple, after dabbling in the bitfighter code, are you learning c++ yet? |
| 17:58:46 | | sam686 Quit (Ping timeout: 245 seconds) |
| 18:13:06 | | Watusimoto has joined |
| 18:30:17 | Little_Apple | raptor: i dont know much about starting a program but i can change one... |
| 18:34:25 | | Little_Apple Quit (Quit: Page closed) |
| 18:44:59 | Watusimoto | looking for an elegant solution: |
| 18:45:33 | Watusimoto | find the number of numbers between 1 and 2^n where their binary representations sum to exactly 3 |
| 18:45:56 | Watusimoto | I thought there would be a good solution, but haven;t found any |
| 18:50:07 | | sam686 has joined |
| 18:50:07 | | ChanServ sets mode +v sam686 |
| 18:54:14 | Watusimoto | got it |
| 18:54:45 | Watusimoto | 2^n, and you want the sum to be m (in the example above, m = 3) |
| 18:55:07 | Watusimoto | n!/((n-m)! * n!) |
| 18:55:16 | Watusimoto | save this... you never know when you might need it! |
| 19:14:08 | | LordDVG has joined |
| 19:14:13 | raptor | wait what? |
| 19:14:56 | raptor | isn't that just 1/(n-m)! ? |
| 19:15:51 | | sam686 Quit (Ping timeout: 245 seconds) |
| 19:17:10 | | sam686 has joined |
| 19:17:10 | | ChanServ sets mode +v sam686 |
| 19:29:05 | | LordDVG Quit (Remote host closed the connection) |
| 19:37:56 | | sam686 Quit (Ping timeout: 245 seconds) |
| 20:00:23 | | sam686 has joined |
| 20:00:26 | | ChanServ sets mode +v sam686 |
| 20:08:21 | | sam686 Quit (Ping timeout: 245 seconds) |
| 20:09:39 | | sam686 has joined |
| 20:09:39 | | ChanServ sets mode +v sam686 |
| 20:22:35 | Watusimoto | hi sam686 |
| 20:23:13 | Watusimoto | n!/((n-m)! * m!) |
| 20:23:16 | Watusimoto | I mistyped |
| 20:23:35 | Watusimoto | I have an s_bot question |
| 20:23:44 | raptor | sorry, i have algebra on the head constantly now... |
| 20:23:55 | Watusimoto | from the function onTick(), we have the following lines: |
| 20:24:02 | Watusimoto | -- attackNearbyEnemies returns true if there is an enemy to fight, false if the bot can do something else |
| 20:24:03 | Watusimoto | if not attackNearbyEnemies(1 - agression) then |
| 20:24:03 | Watusimoto | doObjective() |
| 20:24:03 | Watusimoto | end |
| 20:24:03 | Watusimoto | doObjective() |
| 20:24:03 | Watusimoto | goInDirection() |
| 20:24:23 | Watusimoto | my question is is it intentional that doObjective is there twice? |
| 20:30:54 | raptor | i have no idea |
| 20:31:08 | raptor | but probably you're asking sam686 |
| 20:33:41 | Watusimoto | indeed |
| 20:34:12 | Watusimoto | I think the bots are a fair bit more efficient now |
| 20:34:25 | Watusimoto | though i have no data to support that |
| 20:35:02 | raptor | great! |
| 20:35:37 | raptor | that's twice performance has improved for bots (the first time being the Lua instance instanciation changes) |
| 20:35:51 | raptor | deparment of redundancy department |
| 20:36:34 | | BFLogBot - Commit 446da76198fa | Author: watusim...@bitfighter.org | Log: Formatting and remove duplicate calls to getClosestEnemy() |
| 20:36:38 | | BFLogBot - Commit 9c350af52fc8 | Author: watusim...@bitfighter.org | Log: Sigh... too much C++ coding... |
| 20:46:35 | sam686 | Not sure about double "doObjective", its been a while since I look at it.. Can take off the first "doObjetive" |
| 20:47:17 | Watusimoto | so just |
| 20:47:23 | Watusimoto | attackEnemies() |
| 20:47:25 | Watusimoto | doObjective() |
| 20:47:29 | Watusimoto | ... |
| 20:47:44 | Watusimoto | ? |
| 20:48:15 | sam686 | yes, maybe just attachNearbyEnemies(1-aggression) |
| 20:48:20 | sam686 | then doObjective() |
| 20:48:53 | Watusimoto | ok, great |
| 20:49:17 | Watusimoto | I'm trying to modernize and cleanup the structure of s_bot |
| 20:49:29 | Watusimoto | unfortunately, I ahve not found as many things I can push to C++ as I had hoped |
| 20:49:40 | Watusimoto | but that's just its nature |
| 20:56:41 | | BFLogBot - Commit 18838fb1b95e | Author: watusim...@bitfighter.org | Log: Remove duplicate call to doObjective |
| 21:46:48 | | BFLogBot - Commit c787b84242cb | Author: watusim...@bitfighter.org | Log: Comments |
| 21:54:02 | | koda has joined |
| 22:31:09 | raptor | hi |
| 22:31:23 | raptor | so, what is left for release? :) |
| 22:35:39 | koda | so this is the crude diff https://dl.dropbox.com/u/24468/bitfighter.diff |
| 22:35:45 | koda | but i'll start working on a patch now |
| 22:36:08 | raptor | hi koda |
| 22:36:16 | koda | hi raptor :) |
| 22:39:23 | raptor | was that it? just add the args to main()? |
| 22:39:37 | koda | raptor i told you it was crude :p |
| 22:39:53 | koda | how is the first launch performed on other platforms? |
| 22:40:02 | raptor | uh |
| 22:40:18 | raptor | there isn't really a first-launch directive |
| 22:40:35 | raptor | it does a couple checks though if it's an updated version or if the INI doesn't exist... |
| 22:41:22 | raptor | did you have to point the project to the binary instead of the wrapper script somewhere? |
| 22:41:28 | raptor | (i don't see that in the diff) |
| 22:41:42 | koda | yes had to modify my info.plist |
| 22:42:45 | koda | i'm trying on a clean clone |
| 22:42:51 | koda | so it'll be easier to understand |
| 22:42:55 | raptor | ok :) |
| 22:43:04 | raptor | also, i fixed libmodplug in the interim... |
| 22:43:08 | raptor | the headers, i mean |
| 22:43:20 | koda | ah neat :) |
| 22:45:36 | sam686 | One of an editor complaint I hear from Amgine is, can't delete teleporter in editor (probably when you select a vertex and not the whole thing making pressing backspace not delete when it will when the whole thing selected. |
| 22:46:00 | raptor | please add it to the buglist if you've duplicated it |
| 22:46:45 | koda | ok refresh the patch to see the full diff |
| 22:47:02 | raptor | koda: do you know about 'hg serve'? |
| 22:47:36 | koda | yes but it'll be easier to push to my clone :p |
| 22:47:50 | raptor | did you add the .sh? |
| 22:48:40 | koda | yes hold on |
| 22:56:34 | koda | oooo nice there are .mm files too |
| 22:56:58 | raptor | um |
| 22:57:01 | raptor | for SDL? |
| 22:57:20 | raptor | i've never gotten the hang of Obj-c/c++ yet... |
| 22:58:01 | koda | Directory.mm does that |
| 22:58:09 | koda | oh but it's not a full class |
| 22:58:11 | koda | oh well |
| 22:59:40 | raptor | oh yeah... forgot about that class.. |
| 22:59:54 | raptor | called from main() |
| 23:15:00 | koda | raptor: https://code.google.com/r/vittoriogiovara-bitfighter |
| 23:15:26 | raptor | setting up a pull alias... |
| 23:16:00 | koda | still thinking about a clean way of setting up the right way of sending arguments to the executables... |
| 23:16:23 | koda | how about some default values if -rootdatadir is not passed in? |
| 23:16:42 | raptor | I think that seems fine, especially for Mac |
| 23:16:54 | raptor | can you hijack moveToAppPath() for that? |
| 23:17:18 | raptor | my poor wrapper script is gone :( |
| 23:17:21 | raptor | yay |
| 23:18:21 | raptor | LGTM |
| 23:18:36 | koda | lgtm? |
| 23:18:42 | raptor | looks good to me |
| 23:18:58 | raptor | about your commits |
| 23:19:05 | koda | \o/ |
| 23:20:15 | raptor | also... what do the two '@' mean in this (as a matter of academic interest...): stringWithFormat:@"%@/firstlaunch-osx.sh" |
| 23:22:00 | | BFLogBot - Commit 6bcabf9c3778 | Author: koda | Log: make xcode happy by not using wrapper script |
| 23:22:01 | | BFLogBot - Commit b9279dd396a8 | Author: koda | Log: restore launching the setup script |
| 23:25:27 | koda | the @"" is just a shortcut for NSString |
| 23:25:38 | raptor | ah ok |
| 23:25:47 | koda | and %@ is how to reference a nsstring inside " " blocks |
| 23:26:01 | raptor | interesting |
| 23:26:03 | raptor | ok, thanks |
| 23:33:54 | koda | ok to hijack the default values |
| 23:34:04 | koda | i can put another function in directory.mm |
| 23:34:12 | koda | but how can i pass argVector? |
| 23:34:34 | koda | i get isoc++ forbids vector declaration etc etc |
| 23:35:03 | raptor | we use a std::vector wrapper called TNL::Vector |
| 23:35:31 | raptor | could you just pass in argc |
| 23:35:32 | raptor | ? |
| 23:36:05 | koda | yes but then i'd need to reallocate argv/argc which *should* be readonly |
| 23:36:26 | raptor | is it becasue of using Vector (as opposed to vector [with little 'v'])? |
| 23:36:45 | raptor | because you can get the innerVector by doing argVector.getStlVector() |
| 23:40:11 | koda | well even after adding the right includes (tlnTypes no?) it still doesn't know what's Vector |
| 23:41:17 | raptor | grab lower case vector with .getStlVector() |
| 23:42:17 | koda | and then use void setDefaultPaths(const vector<string> &argv); as prototype? |
| 23:42:25 | raptor | yes |
| 23:42:32 | raptor | (or at leasy try...) |
| 23:42:36 | koda | same error |
| 23:42:48 | raptor | hmm |
| 23:42:56 | koda | with and without using namespace std |
| 23:43:59 | koda | i'm starting to think that this is a .mm compatibility thing |
| 23:45:48 | raptor | the internet seems to think the solution is to use std:: |
| 23:46:07 | koda | void setDefaultPaths(const std::vector<string> &argv); |
| 23:46:12 | koda | fails :( |
| 23:46:27 | raptor | #include <vector> |
| 23:46:28 | raptor | ? |
| 23:46:47 | koda | umh |
| 23:46:58 | koda | i get "string was not declared in this scope |
| 23:47:11 | koda | but lo |
| 23:47:14 | koda | std::string fixes |
| 23:47:22 | raptor | ha |
| 23:48:04 | koda | yesss it compiles, thanks |
| 23:48:26 | raptor | guess-and-check to the rescue! |
| 23:48:43 | sam686 | I hate that stupid windows-only screen saver supressor, it keeps making my alt-tab not work (hold down alt, and cometimes my TAB stops responding till ALT is release) |
| 23:49:09 | raptor | maybe add an INI option? :) |
| 23:49:29 | raptor | useStupidWindowsScreensaverSuppression=no |
| 23:57:08 | koda | using TLN::Vector works too |
| 23:57:18 | koda | but i can't use its methods for some reason |
| 23:57:31 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 23:58:33 | raptor | it's an evil c++ template |
| 23:59:39 | koda | error: passing 'const TNL::Vector<std::string>' as 'this' argument of 'bool TNL::Vector<T>::contains(const T&) [with T = std::string]' discards qualifiers |