Timestamps are in GMT/BST.
| 00:00:38 | kaen | yep |
| 00:00:44 | raptor | ok one more.. |
| 00:00:47 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:00:51 | kaen | again |
| 00:00:54 | | bobdaduck Quit (Remote host closed the connection) |
| 00:00:59 | raptor | excellent - did you get the header that time? |
| 00:01:07 | raptor | because i sent a fake one |
| 00:01:57 | kaen | says I didn't |
| 00:02:02 | kaen | Failure: exceptions.KeyError: 'Google-Code-Project-Hosting-Hook-Hmac' |
| 00:02:02 | raptor | ok |
| 00:02:08 | raptor | yeah ok |
| 00:02:36 | raptor | now we need a real commit |
| 00:04:23 | raptor | i'm ready to do a commit, are you ready? |
| 00:04:49 | kaen | as ready as I will be :P |
| 00:05:11 | raptor | here goes |
| 00:05:17 | | BFLogBot Commit: 31fb3030186f | Author: buckyballreaction | Message: Remove paragraph from README |
| 00:05:51 | kaen | nothing |
| 00:06:15 | kaen | okay, safe bet that it's a configuration error on my part :x |
| 00:06:30 | raptor | but did you get an error? |
| 00:07:03 | kaen | yes |
| 00:07:08 | raptor | ok |
| 00:07:11 | raptor | i think i know what happened |
| 00:07:20 | raptor | I sent the post data but not the headers intact |
| 00:07:37 | kaen | ah, yes |
| 00:07:45 | kaen | that would make sense |
| 00:13:23 | raptor | doing a test.. |
| 00:13:30 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:15:38 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:17:24 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:17:56 | kaen | if I'm reading these errors rights |
| 00:18:01 | kaen | it's choking on your headers |
| 00:18:05 | raptor | yeah... |
| 00:18:15 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:18:33 | raptor | Division by zero in /var/www/html/stats/player.php on line 345 |
| 00:18:44 | kaen | I'm so sorry... |
| 00:19:37 | raptor | argh! |
| 00:19:46 | raptor | i have the headers as an array, now how to send them to you.. |
| 00:20:43 | kaen | paste your script? |
| 00:21:10 | raptor | i'm doing this: http://pastie.org/7946596 |
| 00:21:25 | raptor | but i may have just hit a wall with it being late |
| 00:21:40 | raptor | $raw is the raw POST data |
| 00:22:12 | raptor | maybe I only need to pass the one header? |
| 00:22:36 | kaen | worth a try |
| 00:23:15 | kaen | okay |
| 00:23:22 | kaen | docs say it's a numerical array |
| 00:23:30 | kaen | of strings like "Header: Value" |
| 00:23:48 | kaen | or just a single string of a single header |
| 00:23:56 | raptor | what |
| 00:24:02 | raptor | what array |
| 00:24:09 | kaen | header => |
| 00:24:20 | kaen | $headers |
| 00:24:27 | kaen | oh, I see you get it from $_SERVER |
| 00:25:13 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:26:14 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:27:39 | kaen | I think you want to be using getallheaders() instead |
| 00:27:53 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:28:20 | raptor | sorry for the spam... |
| 00:28:34 | kaen | and just grabbing Google-Code-Project-Hosting-Hook-Hmac from the result of that? |
| 00:28:46 | kaen | alternatively, hardcode the key in :P |
| 00:28:53 | kaen | also don't sweat the spam |
| 00:29:36 | raptor | ok, did you get something that time? |
| 00:30:09 | kaen | just an error |
| 00:30:27 | kaen | choking on the headers again |
| 00:30:48 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:31:01 | kaen | no key header |
| 00:31:04 | raptor | ha! ok got my headers sorted... |
| 00:31:13 | raptor | wait none? i thought i sent a fake one.. |
| 00:31:36 | kaen | none |
| 00:31:50 | kaen | are you getting a dump of your request? |
| 00:31:54 | kaen | and can I see it? |
| 00:32:53 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:33:00 | | BFBuildBot Quit (Quit: buildmaster reconfigured: bot disconnecting) |
| 00:33:06 | | BFBuildBot has joined |
| 00:33:23 | kaen | uh |
| 00:33:25 | kaen | try again... |
| 00:33:33 | raptor | same thing? |
| 00:33:35 | kaen | yeah |
| 00:33:40 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:33:53 | kaen | hm nope |
| 00:34:48 | | BFBuildBot Quit (Client Quit) |
| 00:34:49 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:34:55 | | BFBuildBot has joined |
| 00:37:32 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:37:33 | | BFBuildBot Quit (Client Quit) |
| 00:37:40 | | BFBuildBot has joined |
| 00:37:43 | raptor | ah ha! got the header that time |
| 00:37:46 | raptor | did you get it? |
| 00:38:40 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:38:53 | | BFBuildBot Quit (Client Quit) |
| 00:39:00 | | BFBuildBot has joined |
| 00:39:14 | raptor | kaen: I got the header working, are you getting it? |
| 00:39:20 | raptor | this last time I got: failed to open stream: HTTP request failed! |
| 00:39:32 | kaen | still says it isn't getting it |
| 00:39:37 | kaen | just the first part |
| 00:39:56 | kaen | do another? |
| 00:40:03 | kaen | I was reconfiguring it while you were testing |
| 00:40:03 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:40:31 | kaen | x-x86_64.egg/twisted/web/http.py", line 1636, in headerReceived |
| 00:40:31 | kaen | header, data = line.split(b':', 1) |
| 00:40:31 | kaen | exceptions.ValueError: need more than 1 value to unpack |
| 00:40:56 | raptor | excellent! |
| 00:41:04 | raptor | so you got the header... |
| 00:41:14 | kaen | but only the first half I think |
| 00:41:23 | raptor | yeah... i sent bad stuff |
| 00:41:25 | kaen | or maybe it's not getting the : ? |
| 00:41:28 | kaen | ok |
| 00:41:30 | raptor | ok now for a real commit? |
| 00:41:44 | kaen | ok |
| 00:42:56 | | BFLogBot Commit: dabe4e515b0f | Author: buckyballreaction | Message: Test commit |
| 00:43:08 | kaen | still an error |
| 00:43:13 | raptor | argh! |
| 00:43:31 | raptor | ok, sending all the headers this time.. |
| 00:43:56 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:44:15 | raptor | oops not that one |
| 00:44:22 | kaen | heh |
| 00:45:18 | raptor | ok here goes |
| 00:45:18 | | BFLogBot Commit: 0b18828fdb24 | Author: buckyballreaction | Message: Another *real* test |
| 00:45:47 | kaen | error |
| 00:45:48 | raptor | whoa |
| 00:46:01 | raptor | got something different: [error] [client 192.74.228.97] File does not exist: /var/www/forums/refeed, referer: http://bitfighter.org/refeed/out/ |
| 00:46:24 | raptor | oh wait, that's unrelated |
| 00:46:37 | raptor | but, i got no error response from your server that time |
| 00:48:17 | kaen | looks like I got an error |
| 00:48:53 | kaen | hi sam686 ... |
| 00:49:18 | sam686 | checked apache error logs raptor? |
| 00:49:22 | raptor | hi sam686 |
| 00:49:26 | raptor | doh! |
| 00:49:32 | raptor | my headers are only sending the values!! |
| 00:49:42 | kaen | that's what I've been trying to tell you! |
| 00:49:43 | kaen | :) |
| 00:50:12 | raptor | haha sam686 |
| 00:50:28 | raptor | ok ready.. |
| 00:50:37 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:50:48 | sam686 | I can fake the User-Agent in php. http://sam6.25u.com/bf.php.txt (using curl, you can enable curl in php.ini plugin or something) |
| 00:51:09 | raptor | argh! |
| 00:51:17 | raptor | this method jsut sent the values, too!! |
| 00:51:20 | raptor | stink |
| 00:51:31 | raptor | ok kaen, i'll build them up manually... |
| 00:51:57 | sam686 | thats kindof why I don't like file_get_contents(...), how to properly send headers? if is even possible to send headers with file_get_contents? |
| 00:53:21 | | BFLogBot Commit: deadbeefdead | Author: kaen_or_raptor_you_chose | Message: test commit message! |
| 00:54:12 | raptor | how about that one kaen! |
| 00:54:24 | kaen | no key |
| 00:54:42 | raptor | woo! |
| 00:54:45 | raptor | ok for a real one... |
| 00:55:55 | raptor | here it comes |
| 00:55:57 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 00:56:23 | kaen | still no key |
| 00:56:36 | kaen | pastie? |
| 00:57:02 | raptor | here are the headers I sent: http://pastie.org/7946645 |
| 00:57:12 | raptor | i mean captured from that last commit |
| 00:57:42 | raptor | maybe now it's on your end? :) |
| 00:58:21 | kaen | did I just put in the wrong key? |
| 00:59:32 | kaen | okay, the key in those headers is not the key in my config... |
| 00:59:40 | raptor | correct |
| 00:59:44 | raptor | it doesn't send the key |
| 00:59:55 | kaen | oh |
| 00:59:58 | raptor | but the hmac encrypted hash of the post data + key |
| 00:59:59 | kaen | it's a hex digest |
| 01:04:19 | raptor | i just hashed the POST data and got that header value |
| 01:04:54 | raptor | so maybe I'm mangling the POST data now? |
| 01:05:32 | raptor | FYI in bash: echo -n "value" | openssl dgst -md5 -hmac "key" |
| 01:05:54 | raptor | can you capture the raw POST data somehow? |
| 01:06:12 | kaen | ummmm |
| 01:06:14 | kaen | lemme see |
| 01:06:22 | kaen | btw, this is the line crashing on my side: |
| 01:06:30 | kaen | self._auth_code = headers['Google-Code-Project-Hosting-Hook-Hmac'] |
| 01:06:49 | kaen | failing because that literal is not defined in headers |
| 01:06:54 | raptor | ok that is being set on my side... |
| 01:06:57 | kaen | which is passed in by twisted.... |
| 01:07:06 | raptor | what... it's gotta be there now |
| 01:08:25 | | BFBuildBot Quit (Quit: buildmaster reconfigured: bot disconnecting) |
| 01:08:31 | | BFBuildBot has joined |
| 01:08:37 | kaen | try another fake? |
| 01:08:52 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:10:03 | | BFBuildBot Quit (Client Quit) |
| 01:10:07 | kaen | one more? |
| 01:10:10 | kaen | trying to coax it to log |
| 01:10:10 | | BFBuildBot has joined |
| 01:10:14 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:11:13 | kaen | ugh nope |
| 01:11:19 | kaen | okay, raptor |
| 01:11:28 | kaen | I think I'll just poll the atom feed |
| 01:12:16 | raptor | booo |
| 01:13:04 | raptor | no way to capture? |
| 01:13:15 | raptor | or do you have a capture and it doesn't have the headers? |
| 01:14:01 | | BFBuildBot Quit (Client Quit) |
| 01:14:08 | | BFBuildBot has joined |
| 01:14:29 | kaen | I can't find a way to capture the raw request |
| 01:16:56 | raptor | is there a commandline wireshark? |
| 01:17:22 | raptor | ok, I'm going to post directly now.. |
| 01:17:28 | Flynnn | might this be of interest? http://www.wireshark.org/docs/wsug_html_chunked/ChCustCommandLine.html |
| 01:17:34 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-linux started |
| 01:17:34 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross started |
| 01:17:34 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-linux is complete: Failure [failed] Build details are at http://198.23.227.119:8010/builders/bitfighter-linux/builds/7 blamelist: buckyballreaction@gmail.com |
| 01:17:34 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross is complete: Failure [failed] Build details are at http://198.23.227.119:8010/builders/bitfighter-w32-cross/builds/6 blamelist: buckyballreaction@gmail.com |
| 01:17:40 | raptor | WHAT |
| 01:17:54 | raptor | then it's my fault.. |
| 01:18:22 | raptor | hah Flynn, thanks |
| 01:18:50 | Flynnn | lol no problem |
| 01:19:01 | Flynnn | don't you love it how I silently stalk the irc :D |
| 01:19:09 | raptor | yes :) |
| 01:19:29 | sam686 | Try sending your header to here http://sam6.25u.com/zzz.php to see if your header sending works.. |
| 01:19:38 | raptor | ok sam686 |
| 01:19:42 | sam686 | and print whatever returns.. |
| 01:21:05 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-linux started |
| 01:21:06 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross started |
| 01:21:06 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-linux is complete: Failure [failed] Build details are at http://198.23.227.119:8010/builders/bitfighter-linux/builds/8 blamelist: buckyballreaction@gmail.com |
| 01:21:06 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross is complete: Failure [failed] Build details are at http://198.23.227.119:8010/builders/bitfighter-w32-cross/builds/7 blamelist: buckyballreaction@gmail.com |
| 01:21:29 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:22:00 | raptor | sam686: it's hard for me to trace because i'm routing through another php |
| 01:22:09 | raptor | i just submitted, did you capture it? |
| 01:22:33 | sam686 | umm no, but let me add a code that save it to file.. |
| 01:22:37 | raptor | wait! |
| 01:22:44 | raptor | ok, i got it |
| 01:22:49 | raptor | the headers *are* wrong |
| 01:23:30 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:25:57 | kaen | those webhooks are working it seems |
| 01:26:04 | kaen | ! |
| 01:26:05 | kaen | :) |
| 01:26:49 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:27:33 | | BFBuildBot Quit (Quit: buildmaster reconfigured: bot disconnecting) |
| 01:27:40 | | BFBuildBot has joined |
| 01:27:56 | kaen | one more? |
| 01:28:07 | raptor | well kaen, that's because I posted directly to the buildbot with my test |
| 01:28:12 | raptor | not through my PHP :( |
| 01:28:16 | kaen | oh :< |
| 01:31:00 | sam686 | http://sam6.25u.com/zzz.php now saves headers to http://sam6.25u.com/upload/header1305/ |
| 01:31:08 | raptor | ok, thanks |
| 01:31:22 | raptor | testing.. |
| 01:31:24 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:31:32 | raptor | what does that look like sam686? |
| 01:31:39 | sam686 | http://sam6.25u.com/upload/header1305/130523_02-05-22.txt |
| 01:31:43 | sam686 | looks like a BOOOOO |
| 01:31:46 | raptor | BOOOOO |
| 01:32:09 | sam686 | my chrome web browser is a lot more info: http://sam6.25u.com/upload/header1305/130523_02-05-06.txt |
| 01:32:32 | raptor | ok, trying something different... |
| 01:33:04 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:33:07 | sam686 | anytime you test on my php for headers, a new file appears http://sam6.25u.com/upload/header1305 (just hit F5 button to see any changes) |
| 01:33:53 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:35:19 | kaen | raptor I symlinked the log for the builbot here: http://198.23.227.119:8010/twistd.log |
| 01:35:38 | raptor | ok thanks |
| 01:35:42 | sam686 | underscores instead of dashes? Content-type CONTENT_TYPE http://sam6.25u.com/upload/header1305/130523_02-05-50.txt |
| 01:35:51 | kaen | raptor, use this instead: http://198.23.227.119:8010/twistdlog.txt |
| 01:36:26 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:36:39 | sam686 | http://sam6.25u.com/zzz2.php.txt, that may help on how I got the headers.. |
| 01:37:32 | raptor | ah ha! |
| 01:38:08 | raptor | here goes.. |
| 01:38:10 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:39:08 | kaen | it's looking for that key with that exact capitlization/hyphenation/etc. |
| 01:39:15 | raptor | oh crud |
| 01:39:16 | raptor | yeah |
| 01:40:07 | kaen | if you're walking $_SERVER you'll probably want ucwords() |
| 01:40:19 | kaen | and of course stripping the HTTP_ prefix and replacing _ with - |
| 01:40:55 | | BFLogBot Commit: b31f5c6644eb | Author: buckyballreaction | Message: Test! |
| 01:40:55 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-linux started |
| 01:40:55 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross started |
| 01:40:56 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-linux is complete: Failure [failed] Build details are at http://198.23.227.119:8010/builders/bitfighter-linux/builds/9 blamelist: buckyballreaction@gmail.com |
| 01:40:56 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross is complete: Failure [failed] Build details are at http://198.23.227.119:8010/builders/bitfighter-w32-cross/builds/8 blamelist: buckyballreaction@gmail.com |
| 01:41:03 | raptor | IT WORKED MUAHAHAHAHAAHA |
| 01:42:08 | sam686 | How long did it take just to get that dumb headers to properly read and forward/send correctly? |
| 01:42:18 | raptor | like 3 hours! |
| 01:42:51 | raptor | ok kaen you can disable polling |
| 01:45:02 | kaen | omg! |
| 01:45:04 | kaen | awesome dude |
| 01:45:30 | raptor | thanks sam686 for helping with that diagnostic page |
| 01:46:27 | raptor | and now i'm off to bed! |
| 01:46:29 | raptor | good night all! |
| 01:46:32 | sam686 | ok, need to get to sleep... |
| 01:46:50 | | raptor Quit () |
| 01:47:07 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross started |
| 01:47:08 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross is complete: Failure [failed] Build details are at http://198.23.227.119:8010/builders/bitfighter-w32-cross/builds/9 blamelist: buckyballreaction@gmail.com |
| 01:48:21 | | sam686 Quit (Quit: Good night night, now sleeping sleeping sleeping sleeping sleeping.................) |
| 01:51:05 | | BFBuildBot Quit (Quit: buildmaster reconfigured: bot disconnecting) |
| 01:51:12 | | BFBuildBot has joined |
| 01:51:20 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross started |
| 01:51:20 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross is complete: Failure [failed] Build details are at http://198.23.227.119:8010/builders/bitfighter-w32-cross/builds/10 blamelist: buckyballreaction@gmail.com |
| 01:54:13 | | BFBuildBot Quit (Client Quit) |
| 01:54:20 | | BFBuildBot has joined |
| 01:54:20 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross started |
| 01:54:21 | BFBuildBot | build containing revision(s) [b31f5c6] on bitfighter-w32-cross is complete: Failure [failed] Build details are at http://198.23.227.119:8010/builders/bitfighter-w32-cross/builds/11 blamelist: buckyballreaction@gmail.com |
| 01:55:26 | BFBuildBot | build containing revision(s) [] on bitfighter-linux started |
| 01:55:28 | | koda has joined |
| 01:55:32 | BFBuildBot | build containing revision(s) [] on bitfighter-linux is complete: Success [build successful] Build details are at http://198.23.227.119:8010/builders/bitfighter-linux/builds/10 |
| 01:55:38 | | BFBuildBot Quit (Client Quit) |
| 01:55:45 | | BFBuildBot has joined |
| 01:55:54 | BFBuildBot | build containing revision(s) [] on bitfighter-w32-cross is complete: Success [build successful] Build details are at http://198.23.227.119:8010/builders/bitfighter-w32-cross/builds/12 |
| 01:56:20 | | BFBuildBot Quit (Client Quit) |
| 01:56:25 | kaen | buildbot is fully operation |
| 01:56:27 | | BFBuildBot has joined |
| 01:56:31 | kaen | and good night |
| 02:09:23 | | watusimoto has joined |
| 02:09:23 | | ChanServ sets mode +o watusimoto |
| 02:21:34 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 07:03:01 | | heyub Quit (Ping timeout: 250 seconds) |
| 08:55:36 | | raptor has joined |
| 08:55:36 | | ChanServ sets mode +o raptor |
| 08:55:49 | raptor | good morning! |
| 08:59:43 | raptor | watusimoto: we have a build bot! |
| 09:15:12 | watusimoto | hey there |
| 09:15:18 | watusimoto | not sure what that means, but it sounds awesome! |
| 09:15:26 | raptor | http://198.23.227.119:8010/grid |
| 09:15:26 | watusimoto | do we get automatic daily builds now? |
| 09:15:49 | watusimoto | uh oh... we can all see who broke the build |
| 09:15:49 | raptor | kaen got buildbot set up (it's on his server) |
| 09:15:50 | watusimoto | blech |
| 09:16:12 | watusimoto | wow... look at all that data! |
| 09:16:12 | | koda Quit (Read error: Connection reset by peer) |
| 09:16:16 | raptor | and we spend most of last night getting google code to trigger a build on a post-commit hook |
| 09:16:27 | watusimoto | so it builds after every commit? |
| 09:16:36 | raptor | so when you do a push, it triggers a build! |
| 09:16:40 | watusimoto | wow |
| 09:16:42 | watusimoto | ok |
| 09:17:11 | watusimoto | I hope kaen used some library code and didn't write all this from scratch! |
| 09:17:20 | raptor | he used 'buildbot' |
| 09:17:45 | raptor | like what SDL uses: http://buildbot.libsdl.org/grid |
| 09:17:55 | raptor | but he did have to configure the builders |
| 09:18:02 | raptor | the hardest being the win32 cross compile |
| 09:21:31 | | heyub has joined |
| 09:22:00 | watusimoto | well, great |
| 09:22:10 | watusimoto | I wrote my first custom aggregation function for postgres today! |
| 09:22:43 | raptor | i don't think i've worked with postgres before.. |
| 09:22:49 | watusimoto | it's great |
| 09:23:12 | raptor | is it replacing mysql in the open source community? |
| 09:23:15 | | koda has joined |
| 09:23:19 | watusimoto | well, as great as something that uses sql can be |
| 09:23:30 | watusimoto | I think that role is more mariadb |
| 09:23:37 | raptor | ah, the fork |
| 09:23:47 | watusimoto | postgres is a little heavier duty, I think |
| 09:24:02 | watusimoto | it's a serious database |
| 09:24:11 | raptor | so scales better, but a bit harder to set up? |
| 09:24:11 | watusimoto | for serious people |
| 09:24:26 | watusimoto | I think it's relateively straightforward |
| 09:24:37 | watusimoto | I've never set it up though |
| 09:25:16 | watusimoto | it has a great gis module, so you can select all the cities that intersect a road, for example |
| 09:25:36 | watusimoto | we used it at my last job, and it performed really well, even on very complex queries |
| 09:25:43 | raptor | oh neat |
| 09:26:42 | watusimoto | but today I wrote the equivalent of sum() for mulitplying |
| 09:28:20 | raptor | yay... extending SQL... a dream job |
| 09:29:41 | raptor | that was sarcastic... |
| 09:29:51 | raptor | sorry |
| 09:31:01 | watusimoto | well, I really hate sql; however I cannot come up with any ideas on how to fundamentally improve it (lots of little things could be fixed, though!) |
| 09:31:16 | raptor | yeah |
| 09:31:55 | watusimoto | I do have to give it credit for trying to do a complex job using only a text interface |
| 09:40:49 | raptor | yes, i agree |
| 09:47:39 | | bobdaduck has joined |
| 10:12:02 | bobdaduck | raptor |
| 10:12:08 | raptor | hello |
| 10:12:10 | bobdaduck | could I write to a file |
| 10:12:14 | bobdaduck | for player stats in dnd |
| 10:12:19 | bobdaduck | and save them that way? |
| 10:12:31 | bobdaduck | or is that being removed 019 |
| 10:12:35 | raptor | yes, but that functionality will probably be removed |
| 10:12:46 | raptor | because it's extremely dangerous |
| 10:14:00 | raptor | like really dangerous |
| 10:18:01 | | heyub Quit (Ping timeout: 250 seconds) |
| 10:24:25 | bobdaduck | yeah |
| 10:24:36 | bobdaduck | It would be cool to preserve people's stats that way though. |
| 10:24:38 | bobdaduck | *shrug* |
| 10:24:53 | bobdaduck | What if there was a text file we shipped with bitfighter |
| 10:25:00 | bobdaduck | and allowed lua to edit just that text file? |
| 10:25:37 | raptor | the server can write player stats to a local database (the same stats on master) |
| 10:26:10 | raptor | also, we do have plans to perhaps lock down lua to a specific directory for writing and still enable a little piece of the files saving bit |
| 10:57:00 | | watusimoto Quit (Quit: Leaving.) |
| 11:02:42 | bobdaduck | Can I just add |
| 11:02:52 | bobdaduck | if(anything ~= nil) then |
| 11:03:01 | bobdaduck | at the beginning of my script? |
| 11:04:39 | raptor | heh |
| 11:06:40 | | thread_ has joined |
| 11:07:22 | thread_ | I need a set of good levels for a WAN party that may happen in a week :) |
| 11:07:44 | raptor | oooo |
| 11:08:04 | raptor | kaen's Gold levels server is pretty good |
| 11:08:37 | thread_ | It would kinda be a private thing though, so I was planning on hosting my own server |
| 11:09:10 | raptor | ok, you can go through the levels section on the forums |
| 11:09:16 | thread_ | ah ok |
| 11:09:17 | raptor | i recommend Quartz' level pack |
| 11:09:22 | raptor | which is on the gold server |
| 11:09:29 | raptor | but there are loads of others |
| 11:09:49 | raptor | also, I'm not necessarily a good judge since I don't actually play much.. |
| 11:10:06 | raptor | you could also do the 'kaen test dance' |
| 11:10:29 | raptor | do /random on the server 'kaen test' and when you see a level you like do /getmap |
| 11:20:49 | | sam686 has joined |
| 11:20:49 | | ChanServ sets mode +v sam686 |
| 11:22:45 | bobdaduck | lol |
| 11:22:56 | bobdaduck | I'll send you some of my better levels as well |
| 11:24:57 | thread_ | CALCULUS JOKE: what do you get when you integrate one over a cabin? |
| 11:25:31 | raptor | 1 over a cabin? |
| 11:26:19 | thread_ | You get a log cabin! |
| 11:26:27 | raptor | har har har |
| 11:26:42 | raptor | i like that one! |
| 11:27:21 | thread_ | actually, its a house boat because its a log cabin plus "C" |
| 11:28:08 | raptor | haha |
| 11:28:15 | bobdaduck | xD |
| 11:31:54 | | koda Quit (Ping timeout: 276 seconds) |
| 11:41:45 | | raptor Quit () |
| 12:47:59 | | thread_ has left |
| 13:42:14 | | Watusimoto has joined |
| 13:43:10 | Watusimoto | hello |
| 13:43:18 | Watusimoto | so, the question of the evening is... |
| 13:43:26 | Watusimoto | github, bitbucket, assembla, or other? |
| 13:43:28 | Watusimoto | http://developers.slashdot.org/story/13/05/23/1752201/google-code-deprecates-download-service-for-project-hosting |
| 13:44:00 | Watusimoto | should have linked to this: http://google-opensource.blogspot.com/2013/05/a-change-to-google-code-download-service.html |
| 13:44:36 | bobdaduck | I'm not qualified to have an opinion on this. |
| 13:44:44 | bobdaduck | Assembla is spelled the friendliest. |
| 13:47:06 | bobdaduck | What does game:getPlayers() return? An array of players right? |
| 14:00:01 | Watusimoto | ah, what are we talking about here, c++? |
| 14:03:59 | bobdaduck | lua |
| 14:04:00 | bobdaduck | levelgens |
| 14:04:06 | bobdaduck | I don't work in the c++ code |
| 14:05:07 | bobdaduck | yet, anyway. |
| 14:12:41 | | Flynnn has joined |
| 14:21:48 | Watusimoto | yeah, I didn't think so... |
| 14:22:23 | Watusimoto | the comments say: |
| 14:22:24 | Watusimoto | / Return table of all players/bots in game |
| 14:22:38 | bobdaduck | okay cool |
| 14:22:38 | bobdaduck | thanks |
| 14:22:49 | bobdaduck | hm where's raptor I need him to teach me trig |
| 14:23:10 | Watusimoto | looks like it returns a table of PlayerInfos |
| 14:23:48 | Watusimoto | there is a dump table method in the code somewhere (do you know about this?) that lets you see the contents of a table |
| 14:27:18 | bobdaduck | No I don't know about that |
| 14:28:06 | bobdaduck | That would be... Rather handy. |
| 14:32:13 | bobdaduck | ...can I do timer(break, 1000)? |
| 14:40:30 | | koda has joined |
| 14:54:13 | bobdaduck | okay so someone help me with trig and radians and tau and stuff |
| 14:54:33 | Flynnn | what is the problem? |
| 14:54:44 | bobdaduck | I'm trying to test if an angle is within a bracket right |
| 14:54:57 | Flynnn | what do you mean by bracket right? |
| 14:55:12 | bobdaduck | > 30 and < 60 |
| 14:55:15 | bobdaduck | Anyway |
| 14:55:19 | Flynnn | gotcha |
| 14:55:20 | bobdaduck | sort of thing. |
| 14:55:24 | Flynnn | what angle are you tryign to test? |
| 14:55:37 | bobdaduck | about 130 |
| 14:55:47 | bobdaduck | I have no idea how to do that using tau and radians xD |
| 14:55:59 | Flynnn | So you have the angle |
| 14:56:04 | Flynnn | and you want to test if it's between two values? |
| 14:56:28 | bobdaduck | But I have to use radians |
| 14:56:33 | Flynnn | oh |
| 14:56:34 | bobdaduck | because thats what the game uses |
| 14:56:35 | Flynnn | I see now |
| 14:56:35 | bobdaduck | xD |
| 14:56:39 | Flynnn | ooohh gotcha, well |
| 14:56:42 | Flynnn | radians are like this: |
| 14:56:49 | Flynnn | 2*PI = 360 |
| 14:56:52 | bobdaduck | right |
| 14:57:11 | Flynnn | Well, you can do it mathematically |
| 14:57:17 | Flynnn | or you can just use the math functions |
| 14:57:17 | bobdaduck | That's gross though. |
| 14:57:18 | Flynnn | one sec |
| 14:57:59 | Flynnn | oh well it looks like c++ doesn't have a deg2rad anyways |
| 14:58:06 | Flynnn | okay, well, the simple solution is this: |
| 14:58:18 | bobdaduck | I'm using lua not C++ :P |
| 14:58:24 | Flynnn | oh! |
| 14:58:29 | Flynnn | well then you DO have a deg2rad |
| 14:58:30 | Flynnn | one sec |
| 14:58:55 | bobdaduck | See that's not the problem really |
| 14:59:06 | bobdaduck | the problem is I need a math lesson in understanding what exactly radians are. |
| 14:59:21 | | Flynnn Quit (Remote host closed the connection) |
| 14:59:23 | bobdaduck | because its been 4 years now since I've had a class in them |
| 15:00:31 | | Flynnn has joined |
| 15:00:31 | | Flynnn Quit (Client Quit) |
| 15:00:35 | | FlynnnNT has joined |
| 15:00:37 | FlynnnNT | sorry about that |
| 15:00:43 | FlynnnNT | my irc had a temper tantrum |
| 15:00:52 | FlynnnNT | after I tried to paste you code it didn't like xD |
| 15:00:57 | FlynnnNT | to answer your question, |
| 15:01:02 | FlynnnNT | radians are exactly the same as degrees |
| 15:01:07 | FlynnnNT | they are just a different size |
| 15:02:13 | FlynnnNT | Are you still there? xD |
| 15:02:33 | bobdaduck | yeah |
| 15:02:47 | bobdaduck | I just don't understand conceptually how they work |
| 15:02:54 | FlynnnNT | they are literally degrees |
| 15:02:58 | bobdaduck | like they're based on pi and parts of a circle and stuff |
| 15:02:59 | FlynnnNT | except instead of 360 of them in a circle |
| 15:03:17 | bobdaduck | And I understand that tau/2 is half a circle |
| 15:03:19 | FlynnnNT | there are, somewhere around 6 of them in a circle |
| 15:03:28 | FlynnnNT | Yeah tau is just PI*2 |
| 15:03:34 | bobdaduck | Yeah I got that |
| 15:03:36 | FlynnnNT | Basically, what happened was this: |
| 15:03:45 | bobdaduck | but what if I want the TOP half of a circle instead of the bottom half? |
| 15:03:45 | bobdaduck | xD |
| 15:03:46 | FlynnnNT | Mathemetitians were trying to invent what we know as Math.Sin() |
| 15:03:52 | FlynnnNT | oh, well |
| 15:03:56 | FlynnnNT | here |
| 15:04:02 | FlynnnNT | for zero degrees, you pass in 0 |
| 15:04:13 | FlynnnNT | well here |
| 15:04:16 | FlynnnNT | what is 90 degrees? |
| 15:04:22 | FlynnnNT | 90 degrees is 360/4 |
| 15:04:29 | FlynnnNT | so to get 90 degrees in radians |
| 15:04:30 | FlynnnNT | you do |
| 15:04:34 | bobdaduck | tau/4 |
| 15:04:36 | FlynnnNT | (2*PI)/4 |
| 15:04:39 | FlynnnNT | or tau/4 |
| 15:04:40 | FlynnnNT | yes |
| 15:04:44 | FlynnnNT | because tau=2*pi |
| 15:04:53 | FlynnnNT | the reason we use radians |
| 15:04:54 | bobdaduck | so what is 270 |
| 15:05:03 | FlynnnNT | is because mathemetitions noticed that they were multiplying by pi all over the place |
| 15:05:22 | FlynnnNT | so just multiplying hte acutal rotation by PI at the BEGINNING lets them remove all of that stuff later down the line |
| 15:05:29 | FlynnnNT | also, PI is related to circles, 360 is just a number we came up with |
| 15:05:44 | FlynnnNT | so they use PI to represent circles, because PI literally represents circles |
| 15:06:07 | FlynnnNT | PI is literally the circumferance of a circle with radius of one |
| 15:06:23 | FlynnnNT | a circle with radius of one, has a circle of diameter 2 |
| 15:06:32 | FlynnnNT | diameter 2 means size 2 |
| 15:06:36 | FlynnnNT | we pretend we have a circle of size 1 |
| 15:06:46 | FlynnnNT | wait a minute |
| 15:06:48 | FlynnnNT | I might be confused |
| 15:07:04 | bobdaduck | lol |
| 15:07:23 | FlynnnNT | oooh |
| 15:07:24 | FlynnnNT | sorry |
| 15:07:34 | FlynnnNT | pi is the relationship between DIAMETER and circumference |
| 15:07:49 | bobdaduck | Anyway how do I get specific angles in the circle using radians conceptually (instead of like, degreeThatIWant * tau or whatever the forumla is) |
| 15:07:56 | FlynnnNT | like this: |
| 15:08:12 | FlynnnNT | (DEGREES/360)*tau |
| 15:08:22 | bobdaduck | right, instead of doing that |
| 15:08:31 | FlynnnNT | instead of doing what? |
| 15:08:36 | bobdaduck | Ignoring degrees altogether |
| 15:08:44 | FlynnnNT | You can't ignore degrees |
| 15:08:48 | bobdaduck | I'm trying to understand the concept of radians xD |
| 15:08:58 | FlynnnNT | DEGREES/360 converts a degrees rotation into rotations |
| 15:09:06 | FlynnnNT | and then * tau converts rotations into radians |
| 15:09:31 | FlynnnNT | but to get any rotation, what you do is this: |
| 15:09:44 | FlynnnNT | pick an angle you want to write directly as "radians" please |
| 15:09:53 | FlynnnNT | any angle, but preferrably something simple |
| 15:10:00 | FlynnnNT | as anythign complex will make the example useless |
| 15:10:14 | FlynnnNT | angles like 30 or 60 are good |
| 15:10:22 | bobdaduck | the angles after tau/2 |
| 15:10:27 | bobdaduck | which is a half circle |
| 15:10:46 | bobdaduck | but then what if I want like, more than 180 degrees. |
| 15:10:54 | FlynnnNT | okay |
| 15:10:55 | bobdaduck | (picking 270 here) |
| 15:11:00 | FlynnnNT | okay, 720 |
| 15:11:12 | FlynnnNT | oops |
| 15:11:14 | FlynnnNT | I mean 270 |
| 15:11:28 | FlynnnNT | okay so 270 degrees is three quarters of a rotation, right? |
| 15:11:38 | bobdaduck | yeah |
| 15:11:47 | FlynnnNT | and we know that tau is one rotation in radians, right |
| 15:11:48 | bobdaduck | tau/4... * 3? |
| 15:11:48 | FlynnnNT | ? |
| 15:11:57 | FlynnnNT | yes, or (3/4)*tau will also work |
| 15:12:12 | FlynnnNT | or, |
| 15:12:20 | FlynnnNT | if you wanted to get it by adding a quarter turn to a half tur |
| 15:12:23 | FlynnnNT | you would od it like this: |
| 15:12:33 | FlynnnNT | PI + (1/4)*tau |
| 15:12:35 | FlynnnNT | or |
| 15:12:39 | FlynnnNT | pi + (1/2)*pi |
| 15:12:48 | FlynnnNT | pi = 180 degrees |
| 15:12:54 | FlynnnNT | 1/4 * tau = 90 degrees |
| 15:12:55 | bobdaduck | hmm. |
| 15:13:01 | FlynnnNT | 180 + 90 = 270 |
| 15:13:13 | FlynnnNT | honestly, though, just use math.rad(180) |
| 15:13:19 | FlynnnNT | it's easier for a programmer to read and understand |
| 15:13:32 | FlynnnNT | you won't confuse yourself, or anyoen else for that matter |
| 15:13:36 | bobdaduck | xD |
| 15:13:50 | FlynnnNT | It's good to understand :D Not practical to use xD |
| 15:13:56 | bobdaduck | the game returns angles in radians though |
| 15:14:06 | FlynnnNT | math.deg(math.pi / 2) |
| 15:14:07 | bobdaduck | so I'd have to convert them to degrees to work with them |
| 15:14:11 | bobdaduck | and then convert them back to radians |
| 15:14:16 | FlynnnNT | Yessir |
| 15:14:22 | bobdaduck | and all that converting is... ew. |
| 15:14:27 | FlynnnNT | It really isn't |
| 15:14:34 | FlynnnNT | honestly, |
| 15:14:42 | FlynnnNT | wherever you would insert |
| 15:14:46 | FlynnnNT | TAU/WHATEVER |
| 15:14:48 | FlynnnNT | just insert |
| 15:14:58 | FlynnnNT | math.rad(360/WHATEVER); |
| 15:15:14 | FlynnnNT | you can be always working in radians |
| 15:15:22 | FlynnnNT | but you enter your radians, from the programming point, in degrees |
| 15:15:34 | FlynnnNT | you don't have to convert your program's output to degrees and back |
| 15:15:43 | FlynnnNT | just program your variables in degrees, and have the computer treat them as radians |
| 15:16:31 | FlynnnNT | besides, converting them is a simple multiplication for your computer |
| 15:16:35 | FlynnnNT | your computer doesn't even divide |
| 15:16:54 | FlynnnNT | it just multiplies by some crazy number that was precomputed for it when your program compiled (or even when LUA its self was compiled) |
| 15:17:01 | FlynnnNT | so it's not like it's going to slow you down at all |
| 15:17:37 | FlynnnNT | you're goign ot end up hurting yourself trying to use 100% radians always xD |
| 15:17:48 | FlynnnNT | they can get rather confusing, as you have to think in fractions of circles |
| 15:17:49 | FlynnnNT | not degrees |
| 15:18:35 | bobdaduck | I'm gonna need to know it when I get back into college anyway though' |
| 15:18:58 | bobdaduck | I think for now I'm gonna continue to use them as practice |
| 15:19:21 | FlynnnNT | alright, if you say so lol |
| 15:19:32 | FlynnnNT | any other questions? |
| 15:20:30 | bobdaduck | I think I get it for now |
| 15:20:36 | bobdaduck | enough, at least, to do what I'm doing. |
| 15:20:42 | FlynnnNT | okey dokey |
| 15:20:47 | FlynnnNT | have fun |
| 15:21:21 | bobdaduck | thanks! |
| 15:27:00 | bobdaduck | drat whatever I'm doing is crashing the game |
| 15:29:20 | FlynnnNT | feel free to pastebin the code |
| 15:30:09 | | raptor has joined |
| 15:30:10 | | ChanServ sets mode +o raptor |
| 15:30:58 | FlynnnNT | Hey, there, raptor :) |
| 15:31:29 | raptor | hi |
| 15:31:47 | FlynnnNT | Did you guys get the build bot figured out? |
| 15:34:49 | raptor | Watusimoto: downloads are going away?? |
| 15:34:52 | raptor | what |
| 15:35:18 | FlynnnNT | Weren't you and kaen working on BFBuildBot? |
| 15:35:28 | raptor | FlynnnNT: yes we got it sorted |
| 15:35:50 | FlynnnNT | Great! :) |
| 15:35:52 | FlynnnNT | glad to hear it |
| 15:39:37 | bobdaduck | Okay this code is crashing me: http://pastie.org/7950176 |
| 15:39:46 | bobdaduck | entire game, not just script |
| 15:41:37 | FlynnnNT | does it crash it midway, or immediately? |
| 15:42:10 | bobdaduck | midway |
| 15:42:14 | FlynnnNT | I see |
| 15:42:14 | bobdaduck | only upon the ship hitting the angle |
| 15:42:39 | FlynnnNT | try commenting out lines 31 and 32 |
| 15:42:43 | FlynnnNT | and see if that stops the crash |
| 15:43:00 | FlynnnNT | (the code won't work, of course, but I want to see if that prevents crash) |
| 15:44:03 | bobdaduck | still crashes |
| 15:44:07 | bobdaduck | wait |
| 15:44:34 | bobdaduck | it just freezes for a while |
| 15:44:47 | bobdaduck | and then the script crashes |
| 15:44:51 | FlynnnNT | I see |
| 15:45:03 | FlynnnNT | now, I have a question |
| 15:45:09 | sam686 | whats the bitfighter RAM usage when it is about to crash? |
| 15:45:11 | bobdaduck | that points to... infinite loop? |
| 15:45:29 | bobdaduck | yep stack overflow |
| 15:45:30 | FlynnnNT | I notice "function testRunes()" is never called |
| 15:45:41 | FlynnnNT | where in your code does that get called? |
| 15:45:45 | bobdaduck | its called ontick |
| 15:45:51 | FlynnnNT | oh duh |
| 15:46:19 | FlynnnNT | try commenting out line 62 and see if crashes are averted |
| 15:46:32 | FlynnnNT | we must find which function is creating the crash |
| 15:46:32 | bobdaduck | well... yeah. |
| 15:46:43 | FlynnnNT | so when you comment out line 62, crashes stop? |
| 15:46:44 | bobdaduck | crashes averted |
| 15:46:47 | FlynnnNT | alright |
| 15:47:14 | FlynnnNT | try commenting out |
| 15:47:29 | FlynnnNT | 46, 48, and 50 |
| 15:47:38 | FlynnnNT | and letting 62 back in |
| 15:47:46 | bobdaduck | crash averted |
| 15:47:59 | FlynnnNT | I see |
| 15:48:04 | bobdaduck | and script runs properly |
| 15:48:17 | FlynnnNT | you seem to have two variables named value |
| 15:48:18 | FlynnnNT | for index, value in pairs(playersArray) |
| 15:48:21 | FlynnnNT | try renaming that to |
| 15:48:23 | FlynnnNT | for index, val in pairs(playersArray) |
| 15:48:29 | FlynnnNT | and change your variables accordingly |
| 15:48:39 | FlynnnNT | oh wait |
| 15:48:41 | FlynnnNT | scratch that |
| 15:48:44 | FlynnnNT | that won't fix it at all |
| 15:48:49 | bobdaduck | xD |
| 15:48:49 | bobdaduck | nope |
| 15:48:57 | FlynnnNT | alright, well your problem is |
| 15:48:59 | bobdaduck | problem is a logic error obviously |
| 15:49:02 | FlynnnNT | you are modifying your array |
| 15:49:03 | bobdaduck | infinite loop somewhere |
| 15:49:08 | FlynnnNT | while looping through your array |
| 15:49:53 | FlynnnNT | wait no |
| 15:49:56 | FlynnnNT | that is not it either |
| 15:49:59 | bobdaduck | nope |
| 15:50:02 | FlynnnNT | it's a multidimensional array |
| 15:50:44 | bobdaduck | perhaps I should try splitting the timer out from the player data array |
| 15:50:49 | FlynnnNT | try just commenting out line 46 |
| 15:51:07 | sam686 | umm, http://pastie.org/7950176 line 34 a function that calls itself and eventually stack overflow... |
| 15:51:10 | raptor | no timers in onTick() ! |
| 15:51:20 | bobdaduck | lol raptor |
| 15:51:33 | bobdaduck | yeah line 34 probably |
| 15:51:45 | bobdaduck | commenting out line 46... just script crash? |
| 15:51:59 | FlynnnNT | so when you comment out 46, it still crashes? |
| 15:52:06 | bobdaduck | no wait |
| 15:52:32 | FlynnnNT | sam is right |
| 15:52:41 | FlynnnNT | nothign ever sets value["fireballOne"] = false |
| 15:53:00 | bobdaduck | yeah but I don't even use that yet anyway |
| 15:53:09 | FlynnnNT | commento ut line 34 |
| 15:53:13 | FlynnnNT | ** comment out line 34 |
| 15:53:15 | FlynnnNT | for now |
| 15:53:28 | bobdaduck | yeah it works |
| 15:54:01 | bobdaduck | hm, forgot to make it not recursively call itself if the timer is up |
| 15:54:02 | bobdaduck | sec |
| 15:54:39 | FlynnnNT | Why are you using recursion out of curiosity? |
| 15:54:46 | bobdaduck | uh because |
| 15:54:47 | bobdaduck | uhhh |
| 15:54:55 | FlynnnNT | as far as I can tell, that will just keep saying globalMsg("the second angle has been hit!!!!!!!!!!!!!") |
| 15:54:56 | FlynnnNT | over and over |
| 15:55:06 | bobdaduck | yeah yeah yeah |
| 15:55:17 | bobdaduck | that's on purpose for now |
| 15:55:25 | bobdaduck | I'm trying to make a rune-drawing spellcasting system for bitfighter |
| 15:55:28 | bobdaduck | based off timers |
| 15:55:30 | FlynnnNT | I see |
| 15:55:40 | bobdaduck | so you hit angle 1 and then hit angle 2 within a second of hitting angle 1 etc |
| 15:55:47 | bobdaduck | and then if you hit all the angles a spell effect happens. |
| 15:56:00 | FlynnnNT | gotcha |
| 15:56:10 | bobdaduck | So recursion because... Uh I couldn't think of a better way to do it? |
| 15:56:15 | FlynnnNT | well |
| 15:56:29 | FlynnnNT | I have an idea for you, if you would like, I can program that idea and see if it works |
| 15:56:48 | bobdaduck | go for it |
| 15:56:51 | FlynnnNT | alright |
| 15:56:56 | FlynnnNT | what version of bitfighter are you using? |
| 15:57:00 | bobdaduck | 018 |
| 15:57:09 | FlynnnNT | alright |
| 15:57:13 | bobdaduck | this isn't my main project at the moment I was just trying to throw together a skeleton xD |
| 15:57:27 | FlynnnNT | xD |
| 15:57:42 | FlynnnNT | I haven't programmed in bitfigher for a while -- where exactly is this script attatched? |
| 15:58:36 | bobdaduck | just make a level (it can be blank) and in F2 (or is it F3?) put down "runes" as the levelgen script. Which should be located in your levels folder. |
| 15:58:49 | FlynnnNT | gotcha |
| 15:58:50 | FlynnnNT | thanks |
| 15:58:57 | | BFLogBot Commit: 75687cc70c06 | Author: watusimoto | Message: fix build |
| 15:59:16 | Watusimoto | raptor: I'm going to bed -- we can discuss google code tomorrow perhaps |
| 15:59:35 | Watusimoto | I'm all wore out after my mighty commit |
| 15:59:55 | FlynnnNT | I have like bitfighter 016 on this computer lol |
| 15:59:58 | Watusimoto | also, I'll be offline saturday - wedensdayish |
| 15:59:59 | FlynnnNT | need to install the latest |
| 16:00:08 | raptor | ok |
| 16:00:12 | raptor | good night Watusimoto |
| 16:00:18 | FlynnnNT | NIght, Watusimoto |
| 16:00:24 | Watusimoto | good night all! |
| 16:00:36 | bobdaduck | Night, watusimoto |
| 16:00:39 | raptor | haha, nice commit.. |
| 16:00:56 | Watusimoto | it was all I could bear |
| 16:01:00 | FlynnnNT | xD |
| 16:04:50 | FlynnnNT | Does the file just need to be called "runes"? |
| 16:04:55 | FlynnnNT | or "runes.levelgen"? |
| 16:04:59 | FlynnnNT | or some other extension/ |
| 16:05:36 | | Watusimoto Quit (Ping timeout: 252 seconds) |
| 16:10:59 | bobdaduck | file runes.levelgen |
| 16:11:07 | bobdaduck | although you could technically name it anything |
| 16:11:51 | bobdaduck | the rune I was attempting there was just "draw a box clockwise" with four points. |
| 16:11:59 | FlynnnNT | I see |
| 16:16:59 | FlynnnNT | I cannot for the life of me get this thing working |
| 16:17:22 | FlynnnNT | are you OSX or windows? |
| 16:20:22 | bobdaduck | windows |
| 16:20:33 | FlynnnNT | hmm I see |
| 16:20:45 | FlynnnNT | okay, |
| 16:20:48 | FlynnnNT | in the levels folder |
| 16:20:57 | bobdaduck | runes.level, runes.levelgen |
| 16:21:10 | FlynnnNT | oh this is strange |
| 16:21:13 | FlynnnNT | grrr |
| 16:21:19 | FlynnnNT | bitfighter is using a different levels folder |
| 16:22:09 | bobdaduck | %appdata% |
| 16:22:13 | FlynnnNT | I am mac |
| 16:22:16 | FlynnnNT | there is no appdata |
| 16:22:18 | bobdaduck | Oh |
| 16:22:21 | bobdaduck | you're doomed |
| 16:26:02 | FlynnnNT | blech |
| 16:26:09 | FlynnnNT | I'll just run a file watcher |
| 16:26:11 | FlynnnNT | and save a new file |
| 16:26:13 | FlynnnNT | and see where it gos |
| 16:26:24 | FlynnnNT | ** goes |
| 16:26:25 | bobdaduck | F7 |
| 16:26:28 | bobdaduck | ingame |
| 16:26:38 | FlynnnNT | oh lol |
| 16:27:15 | bobdaduck | I'ma head home |
| 16:27:18 | bobdaduck | back later peepz |
| 16:27:20 | FlynnnNT | See you, bob |
| 16:28:01 | | bobdaduck Quit (Remote host closed the connection) |
| 16:54:46 | kaen | github! |
| 16:54:56 | kaen | my profile will look awesome with all my commits :) |
| 16:56:30 | kaen | now, let's see how the buildbot has faired |
| 16:56:34 | kaen | fared |
| 16:57:25 | kaen | BFBuildBot latest |
| 16:57:40 | kaen | hmm... not very responsive today I see |
| 16:58:28 | kaen | BFBuildBot: status |
| 16:58:28 | BFBuildBot | bitfighter-linux: idle, last build 58m52s ago: build successful |
| 16:58:28 | BFBuildBot | bitfighter-w32-cross: idle, last build 58m46s ago: build successful |
| 16:58:31 | kaen | there we go |
| 17:02:52 | kaen | BFBuildBot, dance |
| 17:02:53 | BFBuildBot | <(^.^<) |
| 17:02:54 | BFBuildBot | <(^.^)> |
| 17:02:55 | BFBuildBot | (>^.^)> |
| 17:02:55 | BFBuildBot | (7^.^)7 |
| 17:02:57 | BFBuildBot | (>^.^<) |
| 17:03:05 | FlynnnNT | ha! |
| 17:03:17 | kaen | awww |
| 17:03:21 | kaen | kinda cute |
| 17:03:23 | FlynnnNT | Nice :) |
| 17:39:26 | | fordcars has joined |
| 17:41:10 | | FlynnnNT Quit (Quit: This computer has gone to sleep) |
| 17:52:56 | | Flynnn has joined |
| 18:14:59 | kaen | ah, time to download the 900MB xcode package... |
| 18:24:55 | kaen | hahaha |
| 18:24:58 | kaen | 900MB |
| 18:25:01 | kaen | try 1.61 GB |
| 18:25:23 | kaen | I just need the 40MB sdk inside of it... :< |
| 18:29:16 | raptor | hi |
| 18:29:29 | kaen | hello |
| 18:29:48 | raptor | so.. github is your vote? |
| 18:29:56 | kaen | indeed |
| 18:30:02 | raptor | I like github... but I like mercurial... |
| 18:30:14 | kaen | know that mine is the vote of a fanboy |
| 18:31:04 | raptor | I am saddened by the Google Code chioce... and I am saddend that I will have to be typing twice as many commands if we move to git |
| 18:31:15 | raptor | but github is really, really cool |
| 18:32:46 | kaen | it allows multiple webhook urls \o/ |
| 18:34:36 | raptor | yeah... github is the obvious choice - it allows for so many extra-repository features |
| 18:36:03 | kaen | well |
| 18:36:07 | kaen | there is this one hitch |
| 18:36:27 | kaen | it doesn't exactly have a "downloads" feature |
| 18:36:29 | raptor | yes? |
| 18:36:33 | raptor | ah yes |
| 18:36:36 | raptor | ha |
| 18:36:42 | kaen | so... |
| 18:36:45 | raptor | i forgot.. the whole reason we'd be migrating.. |
| 18:36:49 | raptor | oh |
| 18:36:54 | raptor | what about sourceforge? |
| 18:37:04 | kaen | that's what I was going to say |
| 18:39:27 | raptor | https://en.wikipedia.org/wiki/Comparison_of_open_source_software_hosting_facilities#Available_version_control_systems |
| 18:39:52 | raptor | sourceforge supports git/mercurial/bazaar.. svn ... and CVS |
| 18:40:35 | raptor | i mean.. CVS! who can say no to that! |
| 18:41:12 | Flynnn | Let's just use Microsoft TFS. It's compatible with everything. |
| 18:41:20 | Flynnn | except for CodePlex |
| 18:42:04 | Flynnn | (useless suggestion right there, I'm just hating on microsoft) |
| 18:42:13 | raptor | now that would be suicide |
| 18:42:18 | Flynnn | haha |
| 18:42:23 | kaen | okay, so I have this crazy idea |
| 18:42:29 | kaen | what if we hosted the code on github |
| 18:42:34 | kaen | and put the binaries on sourceforge? |
| 18:42:56 | kaen | github just fosters such a better workflow... |
| 18:43:02 | kaen | I'm thinking specifically of pull requests |
| 18:43:04 | Flynnn | ... oh wait |
| 18:43:07 | raptor | until someone edits history |
| 18:43:10 | Flynnn | I have been reading this chart wrong |
| 18:43:23 | Flynnn | Microsoft TFS is a protocol... whoopsies |
| 18:43:43 | kaen | someone pushing edited history to a repo is bad news in any case |
| 18:44:37 | raptor | interesting - that's what naev does: github + sourceforge binaries |
| 18:45:12 | kaen | huh. maybe I'm not *that* crazy |
| 18:45:20 | kaen | that's disappointing... |
| 18:47:10 | kaen | oh wait, just remembered I'm trying to cross compile mac osx binaries on linux |
| 18:47:21 | kaen | I definitely am *that* crazy |
| 18:47:22 | raptor | can that even be done? |
| 18:47:26 | kaen | barely |
| 18:47:43 | raptor | uhh... the cmake project doesnt' support OSX.. |
| 18:47:48 | kaen | I have extract xcode's SDK and build a (nother) toolchain |
| 18:48:08 | kaen | well, it's technically going to be gcc ... |
| 18:48:11 | kaen | maybe that helps? |
| 18:48:32 | raptor | it might, but bunding might be a pain... |
| 18:49:02 | kaen | doubly so because I have literally never compiled even a singly byte of code for osx before |
| 18:49:11 | raptor | oh no |
| 18:49:23 | kaen | sounds like another fun learning experience |
| 18:49:29 | raptor | I uh... do not recommend the forthcoming pain |
| 18:49:53 | kaen | well, I'll be ready to give up easily |
| 18:50:01 | kaen | everything is working so far.. |
| 18:50:10 | raptor | i wonder |
| 18:50:14 | kaen | I'm following the footsteps of MythTV's build bot |
| 18:50:26 | raptor | oh? they have sources for their slaves? |
| 18:51:19 | kaen | they have this script to build a osx cross environment |
| 18:51:30 | kaen | akin to the one I used for the win32 cross build (MXE) |
| 18:52:05 | kaen | btw, we have no actual slaves, just a logical one on the same VPS :) |
| 18:52:17 | raptor | ah |
| 18:52:20 | kaen | if I had a slave osx machine, this would all be useless |
| 18:52:25 | kaen | needless, rather |
| 18:52:34 | raptor | actually... how good is your download connection? :) |
| 18:52:35 | kaen | I guess it's kind of needless now |
| 18:52:54 | kaen | mine or my sever's? |
| 18:53:10 | raptor | well... I have an OSX 10.6 VM |
| 18:53:16 | kaen | ohh, I see |
| 18:53:24 | raptor | it's VMware though.. |
| 18:53:26 | raptor | hmm |
| 18:53:30 | kaen | hmm |
| 18:53:47 | raptor | maybe it wouldn't work, it requires an OSX-enable-hacked VMware server |
| 18:53:57 | kaen | my goodness |
| 18:54:21 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 18:54:29 | raptor | yeah - one isn't supposed to be able to run OSX in a VM unless the host is OSX |
| 18:55:28 | raptor | but i wonder... is the darwin project still alive? |
| 18:56:19 | kaen | alive enough |
| 18:56:29 | kaen | this builds a gcc wrapper around darwin apparently |
| 18:56:50 | kaen | dark, arcane, magicks from the void |
| 18:56:58 | raptor | darwin is basically the open source part of the underlying unix-like OS that OSX uses |
| 18:57:10 | raptor | and there have been some projects to actually make a bootable system from it |
| 18:57:15 | kaen | oh |
| 18:57:32 | raptor | so i'm curious |
| 18:57:41 | raptor | what version of xcode sdk did you get? |
| 18:57:47 | kaen | I meant the "open darwin cc tools" |
| 18:57:50 | kaen | uhh |
| 18:58:02 | kaen | xcode 4.6.1 |
| 18:58:16 | raptor | i figure the easiest build would be an x86_64 build for OSX 10.6 |
| 18:58:25 | raptor | wow, that's... recent |
| 18:59:08 | kaen | this script supports up to 10.6 |
| 18:59:26 | kaen | man, if this works |
| 18:59:49 | kaen | well, I'll just be grateful for these giants' shoulders |
| 19:07:59 | raptor | we could use GNA!: http://www.opensource.apple.com/static/iso/darwinx86-801.iso.gz |
| 19:08:01 | raptor | oops |
| 19:08:05 | raptor | http://gna.org/ |
| 19:08:34 | kaen | yeah... |
| 19:08:42 | raptor | if we were... truly faithful and devote to the OSS cause |
| 19:08:49 | kaen | Latest News |
| 19:08:49 | kaen | Gna! hardware failure |
| 19:08:53 | raptor | hahaha |
| 19:16:52 | raptor | koda: in your opinion, would it be worth it to support our OSX builds with CMake? (we have CMake running for Linux/Windows now) |
| 19:17:12 | raptor | but I still maintain the separate Xcode 3 project... |
| 19:17:36 | raptor | does hedgewars build the DMG with CMake? |
| 19:20:53 | | Flynnn has joined |
| 19:22:50 | raptor | hey we our Christian server host online agian.. |
| 19:22:55 | raptor | *we have |
| 19:23:35 | kaen | bitfighter seems a fruitless place to evangelize |
| 19:23:52 | Flynnn | lol |
| 19:23:54 | raptor | haha, yep - but it adds some amount of character.. |
| 19:24:09 | kaen | agreed. |
| 19:24:21 | raptor | how i have to look up another scripture.. |
| 19:24:28 | kaen | ahha |
| 19:24:33 | Flynnn | lol |
| 19:24:55 | raptor | ah, it's the same one as before |
| 19:25:01 | kaen | indeed |
| 19:25:31 | raptor | it's a good scripture - I don't dispute it |
| 19:26:06 | raptor | on another note... i've never heard of assembla before, but it boasts more users than bitbucket |
| 19:26:15 | raptor | (but maybe that's not hard?) |
| 19:26:51 | kaen | heh |
| 19:26:53 | kaen | me either |
| 19:28:10 | Flynnn | awe |
| 19:28:14 | Flynnn | jesus server went down |
| 19:28:22 | Flynnn | oh |
| 19:28:24 | Flynnn | it got ressurected |
| 19:29:50 | kaen | at least it didn't take three days... |
| 19:30:05 | Flynnn | haha |
| 19:30:06 | raptor | ha |
| 19:30:11 | Flynnn | that's true |
| 19:30:16 | raptor | technically, it was 'on the 3rd day' |
| 19:30:18 | Flynnn | raptor, that was the shortest game I've ever had |
| 19:30:23 | raptor | and i scored! |
| 19:30:26 | Flynnn | lol |
| 19:39:47 | raptor | although kaen, we could just leave at google code and put binaries on sourceforge... we even already have a 'zap' repository there |
| 19:40:11 | raptor | but the whole forking and getting contributors thing isn't so great at GC.. |
| 19:48:47 | kaen | honestly it seemed like a really big hurdle compared to other contributions I've made |
| 19:48:50 | kaen | you have to clone |
| 19:48:52 | kaen | make a server clone |
| 19:48:57 | kaen | and then push |
| 19:49:17 | kaen | actually that's exactly the same process as github now that I think about it... |
| 19:49:22 | Flynnn | lol |
| 19:49:53 | kaen | but for some reason doing it on google code was confusing for me |
| 19:50:17 | raptor | it's because GC doesn't have the octocat |
| 19:50:24 | kaen | ah, that's right |
| 19:50:43 | kaen | that cat is a big feature |
| 19:50:50 | Flynnn | ha! |
| 19:50:51 | Flynnn | octocat |
| 19:50:54 | Flynnn | octopuss |
| 19:50:58 | Flynnn | I never noticed that |
| 19:51:01 | kaen | hah |
| 19:51:03 | kaen | me either |
| 19:51:20 | raptor | you're joking |
| 19:51:25 | raptor | is that the pun? |
| 19:51:29 | raptor | what |
| 19:51:34 | kaen | it has to be |
| 19:51:38 | kaen | omg that's great |
| 19:51:42 | Flynnn | hahaha |
| 19:52:08 | kaen | big feature two: puns |
| 19:52:30 | Flynnn | lol |
| 19:52:32 | Flynnn | definitely |
| 19:52:45 | Flynnn | that makes me what the blowfish on bit.ly is all about |
| 19:53:55 | Flynnn | http://makerbot-blog.s3.amazonaws.com/wp-content/uploads/2011/07/Octocat-.jpg this is just wrong |
| 19:55:37 | fordcars | haha |
| 20:05:22 | raptor | oh my - hedgewars uses GNA |
| 20:05:27 | raptor | for downloads |
| 20:05:32 | raptor | but has GC as the code repo |
| 20:27:29 | | BFLogBot Commit: 5826f95144e9 | Author: buckyballreaction | Message: Better fix for dedicated compile |
| 20:30:44 | raptor | github recently disabled downloads, too: https://github.com/blog/1302-goodbye-uploads |
| 20:31:41 | raptor | they suggest to use amazon S3/cloudfront or sourceforge |
| 20:31:54 | raptor | ha, neat sourceforge page: https://sourceforge.net/publish/?source=github |
| 20:44:28 | raptor | yay build bot! |
| 21:00:28 | kaen | I'm trying a w32 dedicated build |
| 21:00:31 | kaen | for giggles. |
| 21:00:43 | kaen | btw I downloaded the wrong xcode package |
| 21:00:45 | kaen | needed 2.2 |
| 21:01:01 | raptor | ugh |
| 21:01:04 | raptor | wait |
| 21:01:08 | raptor | w32 dedicated? |
| 21:01:10 | raptor | cool |
| 21:01:20 | kaen | works fine |
| 21:02:21 | kaen | I'm not going to add builds for dedicated though |
| 21:02:30 | kaen | I imagine there will be a lot of failure spam |
| 21:03:59 | raptor | yeah |
| 21:17:39 | raptor | i don't understand why a FF has NULL geometry.. |
| 21:29:58 | raptor | kaen: in your opinion, is a Forcefield supposed to have a geometry? (I'm ont talking about a ForceFieldProjector) |
| 21:30:00 | raptor | *not |
| 21:30:20 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 21:30:40 | kaen | that is really weird... |
| 21:30:55 | raptor | this crash amgine found was in 018, too.. |
| 21:32:15 | raptor | oh wow... ok |
| 21:32:32 | raptor | FFP/ Turrets were never calling their parent (Item) constructor |
| 21:32:51 | raptor | which sets the geometry |
| 21:33:48 | kaen | wow |
| 21:39:52 | raptor | kaen: how can cycle backwards in the editor level list? |
| 21:40:02 | kaen | up/down |
| 21:40:36 | kaen | there were at least three bindings for that, so I removed the one used in line editing |
| 21:44:40 | | raptor Quit (Ping timeout: 252 seconds) |
| 21:52:47 | | Flynnn has joined |
| 21:55:33 | | raptor has joined |
| 21:55:34 | | ChanServ sets mode +o raptor |
| 21:55:46 | raptor | thanks! |
| 21:56:03 | raptor | let's see how buildbot does with 3 commts at once.. |
| 21:56:07 | | BFLogBot Commit: 5bb53bd26d18 | Author: buckyballreaction | Message: Remove annoying assert |
| 21:56:08 | | BFLogBot Commit: f96464455a80 | Author: buckyballreaction | Message: Fix EngineeredItem not actually calling its parent constructor |
| 21:56:10 | | BFLogBot Commit: f564af37aec9 | Author: buckyballreaction | Message: Fix crash with /showids and ForceFields |
| 22:02:24 | kaen | BFBuildBot, status |
| 22:02:24 | BFBuildBot | bitfighter-linux: idle, last build 5m46s ago: build successful |
| 22:02:24 | BFBuildBot | bitfighter-w32-cross: idle, last build 5m52s ago: build successful |
| 22:02:54 | kaen | weird. only built 5bb and f564 |
| 22:03:04 | raptor | yeah, for w32.. |
| 22:03:41 | kaen | that's really weird. |
| 22:04:16 | raptor | i've noticed the same behavior on SDL for mingw platforms: http://buildbot.libsdl.org/grid |
| 22:05:35 | kaen | it totally skipped over f96464455a80 |
| 22:05:37 | kaen | for both builds |
| 22:05:43 | raptor | for both?? |
| 22:05:47 | kaen | yeah |
| 22:06:08 | raptor | oh yeah, you're right.. |
| 22:06:43 | raptor | do you know why there is red here?: http://198.23.227.119:8010/console |
| 22:07:06 | kaen | good find... |
| 22:08:54 | kaen | cant' find openal |
| 22:09:06 | kaen | then how was it ever building... |
| 22:09:39 | raptor | build/build |
| 22:10:05 | raptor | dir: /home/bitfighter/slave/bitfighter-linux/build/build |
| 22:10:12 | raptor | is that right? |
| 22:11:00 | kaen | yeah |
| 22:11:19 | kaen | the bot makes a checkout into a dir called 'build' |
| 22:11:24 | kaen | so build/build is the proper location |
| 22:11:29 | raptor | ah ok |
| 22:11:38 | kaen | I just left my dev packages in a weird state on that machine... |
| 22:13:10 | | Nothing_Much has joined |
| 22:13:42 | kaen | wait wait wait |
| 22:13:47 | kaen | if you hover those red boxes |
| 22:13:54 | kaen | it says build #0 at the bottom of the popup |
| 22:14:14 | kaen | which did fail for the exact reasons listed |
| 22:14:33 | raptor | what |
| 22:14:34 | raptor | that's weird |
| 22:14:53 | raptor | why does it care about build 0 |
| 22:15:02 | kaen | smells likes a bug |
| 22:15:10 | raptor | acts like a bug.. |
| 22:15:57 | kaen | the ones on the right are all build #0 for w32 as well |
| 22:16:54 | kaen | well, all of the magically missing builds pass fine. |
| 22:17:01 | kaen | I just forced them all |
| 22:17:34 | kaen | I don't understand why they weren't built though... |
| 22:20:35 | raptor | i'm heading to bed early |
| 22:20:40 | raptor | good night! |
| 22:20:43 | kaen | night! |
| 22:20:47 | | raptor Quit () |
| 22:20:50 | | BFBuildBot Quit (Quit: buildmaster reconfigured: bot disconnecting) |
| 22:20:56 | | BFBuildBot has joined |
| 22:43:47 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 22:45:11 | | Flynnn has joined |
| 22:53:04 | | BFLogBot Commit: d3e128d1faf8 | Author: sam8641 | Message: Disable deprecated warnings in project settings and fix my compiler error. |
| 22:53:31 | fordcars | argh I am totally sleep-working right now |
| 23:11:45 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 23:16:08 | | Flynnn has joined |