Timestamps are in GMT/BST.
| 00:03:55 | Watusimoto | hello |
| 00:04:03 | Watusimoto | really? |
| 00:04:18 | kaen | indeed |
| 00:04:27 | Watusimoto | one place, or all over? |
| 00:04:38 | kaen | only in files within zap |
| 00:04:43 | kaen | there's maybe six errors |
| 00:04:45 | Watusimoto | weird! |
| 00:04:46 | kaen | I'll post a log, hold on |
| 00:04:50 | kaen | yeah |
| 00:04:58 | kaen | I even tried using g++ instead of gcc as the CC |
| 00:05:08 | kaen | which errors when compiling one of the c files |
| 00:05:14 | kaen | so then I tried using g++ only for linking |
| 00:05:16 | Watusimoto | Vector.h should pull in std::vector |
| 00:05:20 | kaen | and still get the undefined reference |
| 00:05:22 | kaen | it's when linking |
| 00:05:26 | kaen | not compiling |
| 00:05:56 | Watusimoto | so when you compile with gcc, you get compile errors or link errors? |
| 00:06:21 | kaen | link errors |
| 00:07:51 | Watusimoto | could it be that your vps is somehow missing stl libs? |
| 00:08:01 | kaen | that would be so crazy ridiculous |
| 00:08:07 | Watusimoto | would it? |
| 00:08:14 | kaen | I'll objdump the libstdc++ so |
| 00:08:32 | Watusimoto | maybe it's part of one of the standard things people install like glibc |
| 00:08:54 | Watusimoto | anyway, you could write a short 1 line c++ prog that does something with a vector and see if it compiles |
| 00:09:05 | Watusimoto | I think this is an environment issue |
| 00:09:09 | kaen | definitely |
| 00:10:59 | kaen | http://pastie.org/6313151 |
| 00:12:25 | Watusimoto | crazy |
| 00:12:33 | Watusimoto | try a short little prog and see what happens |
| 00:12:40 | bobdaduck | Where'd raptor go? |
| 00:17:37 | kaen | builds fine |
| 00:17:51 | kaen | using g++ only, though |
| 00:18:11 | kaen | oh wait, gcc with -lstdc++ works fine too |
| 00:18:41 | kaen | okay, so my environment is theoretically able to to overcome this. |
| 00:18:51 | kaen | but why is it being so stupid? |
| 00:20:43 | Watusimoto | now this is the big question |
| 00:21:42 | kaen | I'm cloning from mercurial and seeing if it can build 018a with cmake |
| 00:21:59 | kaen | maybe I can retro fit it onto 018 for a one-off build. |
| 00:22:07 | | SolumnMushroom Quit (Read error: Connection reset by peer) |
| 00:28:11 | kaen | I feel so stupid for paying amazon $30 a month for the last two years when I can get a 2GB vps with 1.5TB of bandwidth for $30 a *year* |
| 00:28:36 | kaen | more bandwidth, more ram, more cpu, less amazon bullshit, 1/12th the price |
| 00:28:42 | kaen | I'm so dumb some times. |
| 00:29:06 | kaen | and cmake happily builds 018a |
| 00:29:18 | kaen | so maybe I don't even care about building 018. |
| 00:29:46 | bobdaduck | http://www.youtube.com/watch?v=KwbFWq2YLb4 |
| 00:29:51 | bobdaduck | irrelevant |
| 00:33:10 | Watusimoto | cheap vpses are now really... cheap |
| 00:33:14 | Watusimoto | it |
| 00:33:19 | Watusimoto | it's pretty amazing |
| 00:34:16 | | Platskies has joined |
| 00:46:54 | kaen | how do I allow map uploads? |
| 00:47:03 | kaen | I can't find the option :/ |
| 00:48:23 | bobdaduck | Its always on |
| 00:48:27 | bobdaduck | for people who have levelchange. |
| 00:51:32 | bobdaduck | First repeat customer! |
| 00:51:42 | bobdaduck | Ingloriousalpha was online last night as well. |
| 00:53:45 | Platskies | watusimoto: was raptor on recently? |
| 00:53:56 | Watusimoto | yes, and he'll be back in a bit |
| 00:56:57 | Watusimoto | ok gentlemen... since it's 2AM here, I'll wish you all a good night |
| 00:57:22 | bobdaduck | NOOOOOOO |
| 00:57:23 | bobdaduck | Okay |
| 00:58:24 | bobdaduck | Night |
| 01:00:38 | Platskies | OK, bye! |
| 01:02:23 | | Watusimoto Quit (Ping timeout: 260 seconds) |
| 01:08:17 | kaen | bobdaduck, check out my server when you get a chance. |
| 01:08:36 | kaen | lvlchange and kaenadmin are the passwords, please put some good maps on it if you feel like. |
| 01:09:42 | bobdaduck | uh. |
| 01:10:01 | bobdaduck | I'm at work currently and I'm not sure... Well sec. |
| 01:13:23 | bobdaduck | Okay kaen |
| 01:13:29 | bobdaduck | uploaded four or five of my best |
| 01:38:55 | kaen | thanks! |
| 01:39:27 | | raptor has joined |
| 01:39:27 | | ChanServ sets mode +o raptor |
| 01:39:38 | bobdaduck | RAPTOH |
| 01:41:17 | raptor | y6o |
| 01:41:19 | raptor | yo |
| 01:41:23 | raptor | i'm back |
| 01:41:36 | raptor | after getting 9 cans of chicken soup |
| 01:43:22 | raptor | ok did i miss anything? |
| 01:43:22 | bobdaduck | nice |
| 01:47:59 | Platskies | raptor: did you get the question I asked watusimoto? |
| 01:48:13 | raptor | uh, sort of (can you ask again?) :) |
| 01:50:12 | raptor | something about frameworks and paths |
| 01:53:09 | bobdaduck | Raptor: http://www.bitfighter.org/forums/viewtopic.php?f=6&t=1815&p=18455#p18455 |
| 01:54:05 | raptor | ah ok |
| 01:54:12 | raptor | then that's a legitimate problem.. |
| 01:54:30 | raptor | (i thought it was the phantom forcefield bug) |
| 01:56:16 | bobdaduck | I've told you guys about it |
| 01:56:18 | bobdaduck | like four times now |
| 01:56:39 | raptor | well you know... a strainer can only hold so much water... |
| 01:57:13 | bobdaduck | lol |
| 01:57:30 | Platskies | raptor: Basically each library's headers are in folders one down from the root directory (e.g. <bf root>/lib/libmodplug.framework's headers are also found in <bf root>/libmodplug) |
| 01:57:49 | Platskies | I didn't notice that for Sparkle though |
| 01:58:40 | Platskies | Right now, when the Bitfighter target searches Sparkle's headers, it looks in "../../../lib/Sparkle.framework/Headers" |
| 01:58:56 | raptor | ok |
| 01:58:58 | raptor | that's right |
| 01:59:01 | raptor | basically |
| 01:59:02 | Platskies | Is there some sort of convention you guys have regarding that? |
| 01:59:06 | raptor | well yes |
| 01:59:31 | Platskies | ideally something like "../../../sparkle" would make sense based on what's already there |
| 01:59:34 | raptor | since we are a cross-platform game we like to keep all the headers in one-down-from-root |
| 01:59:37 | raptor | but |
| 01:59:56 | Platskies | frameworks have their own headers |
| 01:59:58 | raptor | for platform-specific stuff (like Sparkle) i've just left it with the framework |
| 02:00:00 | raptor | yes |
| 02:00:19 | raptor | platform specific stuff i've not really kept a convention |
| 02:00:26 | raptor | it comes from anywhere |
| 02:00:35 | Platskies | Hmm, okay, btw - |
| 02:00:44 | raptor | windows uses some specific stuff, too, that is spread around the build/ directory |
| 02:00:56 | Platskies | maybe all of the headers' folders should go in an include/ dir? |
| 02:01:03 | raptor | actually |
| 02:01:08 | raptor | that's a *very* good idea |
| 02:01:12 | Platskies | that's usually what people do |
| 02:01:17 | Platskies | (afaik) |
| 02:01:21 | raptor | it is, yes |
| 02:01:41 | Platskies | I was a bit confused seeing the existing layout at first, imo |
| 02:01:51 | raptor | i've actually been wanting to do that, but i've held off because of how version control works.. |
| 02:02:00 | kaen | question: what options am I looking for to allow normal users to upload maps? |
| 02:02:16 | raptor | kaen: look in the INI for something like 'data connections' |
| 02:02:21 | kaen | got that one |
| 02:02:38 | raptor | are you looking for something specific? |
| 02:02:56 | kaen | nope, that's it. |
| 02:02:59 | raptor | AllowMapUpload |
| 02:03:07 | raptor | AllowAdminMapUpload |
| 02:03:08 | kaen | I was told it only let admins do it |
| 02:03:15 | kaen | ah |
| 02:03:20 | kaen | interesting. |
| 02:03:34 | kaen | well, lamp is clearly not a reliable source for server configuration questions. |
| 02:03:36 | bobdaduck | I was guessing sorry |
| 02:03:39 | raptor | haha |
| 02:03:41 | bobdaduck | rofl |
| 02:03:54 | raptor | i've actually not worked with the data connection code much |
| 02:04:03 | kaen | I'm not playing with code |
| 02:04:07 | kaen | I'm trying to set up my new server |
| 02:04:08 | bobdaduck | If it was not mean I would put that in my thread. |
| 02:04:17 | bobdaduck | I gave you some maps! |
| 02:04:25 | kaen | thanks :) |
| 02:04:28 | bobdaduck | Three of them are missing levelcredits because they were for contests but whatever xD |
| 02:05:18 | raptor | add credits |
| 02:05:53 | kaen | maybe there should be server modes. |
| 02:06:00 | kaen | like contest mode to strip credits from levels |
| 02:06:08 | kaen | and match mode to lock a server for clan match stuff |
| 02:06:16 | kaen | and BBB mode for whatever that was all about. |
| 02:06:26 | kaen | etc. |
| 02:06:37 | kaen | wait |
| 02:06:49 | kaen | those would be better as just standalone options I think. |
| 02:07:26 | kaen | I'm thinking to myself via irc. sorry. |
| 02:10:08 | bobdaduck | I think in the hostgame menu |
| 02:10:14 | bobdaduck | We should just add a bunch of options like that. |
| 02:10:21 | bobdaduck | Voicechatenabled should be there |
| 02:10:44 | bobdaduck | server type contest | tournament | match | regular |
| 02:10:58 | bobdaduck | Dedicated |
| 02:11:09 | bobdaduck | etc |
| 02:11:40 | kaen | counter argument: anyone who would do those things knows enough to use the command line/ini file for it |
| 02:12:09 | kaen | not that I disagree, but that's what I would say if I did. |
| 02:13:06 | bobdaduck | I'm not sure that's reason to not make things easier for the end user |
| 02:13:21 | bobdaduck | I mean, just because someone *can* get around something, does that mean we don't need to fix it? |
| 02:13:34 | kaen | can you definitely say it's broken though? |
| 02:13:50 | kaen | there is a defined manner in which to do the things you described (once they are implemented) |
| 02:14:08 | kaen | and "end user" is a misnomer here |
| 02:14:10 | bobdaduck | Its not broken, its just difficult |
| 02:14:35 | bobdaduck | Where it could be a lot easier. |
| 02:14:48 | kaen | the people hosting contest/match/tournament servers aren't really troubled by such things. |
| 02:15:32 | bobdaduck | Contest/match/tournament modes don't even exist yet |
| 02:15:38 | kaen | sure |
| 02:15:45 | kaen | s/aren't/wouldn't |
| 02:15:53 | bobdaduck | If we're going to implement that then it makes sense to make that easier by putting it in the host game menu |
| 02:15:57 | raptor | i have grandiose plans of implementing a web admin interface to a dedicated server (like Unreal Tournament) |
| 02:16:10 | bobdaduck | Yeah! |
| 02:16:15 | kaen | haha raptor I'll just step out the way then. |
| 02:16:17 | bobdaduck | Have it done by the time I get back. |
| 02:16:48 | raptor | it may take a few years... |
| 02:17:10 | raptor | and pixie dust and unicorn horn powder |
| 02:17:14 | bobdaduck | You have 2. |
| 02:17:21 | bobdaduck | Good luck. |
| 02:17:23 | raptor | ha |
| 02:18:02 | raptor | kaen: do you know much about reflection in c/c++? |
| 02:18:12 | kaen | I don't even know what that means... |
| 02:18:26 | kaen | oh |
| 02:18:27 | raptor | it's like in-code access to class metadata |
| 02:18:31 | kaen | introspection? |
| 02:18:34 | kaen | okay yes. |
| 02:18:39 | raptor | so get a class, grab it's methods |
| 02:18:45 | raptor | automatically |
| 02:19:10 | raptor | it's easy-ish to implement in java, but i don't know about c/c++ |
| 02:19:26 | kaen | I've never seen a workable scheme |
| 02:19:58 | raptor | ok, that's what i thought |
| 02:20:02 | kaen | I once saw some crazy looking code where everything was a template instantiation, but I don't see it as worth the effort. |
| 02:20:30 | raptor | because even RTTI is slow in c++ |
| 02:21:01 | raptor | my guess is that newer languages usually have it implemented compared to c++ |
| 02:21:04 | | kaen googles |
| 02:21:23 | kaen | heh. Never saw typeid() before |
| 02:22:08 | kaen | aww. it looked like it had lots of promise :< |
| 02:23:20 | kaen | what problem are you trying to solve? |
| 02:24:38 | raptor | dynamically create a list of all config options on the fly |
| 02:24:45 | kaen | oooh cool |
| 02:25:11 | kaen | easy as pie in an interpreted language :/ |
| 02:25:12 | raptor | i'm not sure that's going to happen with c++... |
| 02:25:31 | kaen | xmacros \o/ |
| 02:25:38 | | raptor refuses to join the dark side |
| 02:25:42 | kaen | heh |
| 02:26:04 | kaen | so you're poking around with RTTI instead? ^^ |
| 02:27:07 | bobdaduck | NEW MAP UNVEILING PARTY IN 20 MINUTES GUYS |
| 02:27:13 | bobdaduck | Be there be square |
| 02:27:15 | | bobdaduck Quit (Quit: Page closed) |
| 02:27:18 | kaen | do it on my server bob |
| 02:27:20 | kaen | damn. |
| 02:27:56 | raptor | 20 min, huh? |
| 02:28:20 | raptor | I was poking around in RTTI because it's the closest thing... |
| 02:28:31 | kaen | yeah. |
| 02:29:01 | raptor | i recently ran a google sponsored c++ LINT program against our code |
| 02:29:10 | raptor | and found that RTTI "is not supported by Google" |
| 02:29:24 | kaen | haha wow |
| 02:30:19 | kaen | wait, does bitfighter use RTTI already? |
| 02:30:33 | raptor | dynamic_cast is considered part of RTTI |
| 02:30:40 | kaen | oooooh |
| 02:30:41 | raptor | so that's where i got all the warnings |
| 02:30:43 | kaen | okay. |
| 02:32:17 | kaen | I wonder what they do instead |
| 02:32:31 | kaen | just tons of virtual methods? |
| 02:32:49 | raptor | i think, yes |
| 02:32:54 | raptor | and a class id system |
| 02:32:59 | raptor | of sorts |
| 02:33:14 | kaen | even that has some dark magic run-time machinery though |
| 02:33:17 | kaen | virtual functions I mean |
| 02:33:17 | raptor | kind of like how we give each BfObject an objectTypeNumber |
| 02:33:29 | kaen | RTTI seems like an arbitrary place to draw the line |
| 02:33:55 | raptor | java does it all at compile time |
| 02:34:02 | kaen | in that situation the best they could do is effectively reimplement dynamic_cast |
| 02:34:08 | kaen | dumb. |
| 02:34:16 | kaen | that java part is cool though |
| 02:34:22 | raptor | each class has an ID and some sort of lookup table with methods/classes that let's you access everything |
| 02:34:42 | raptor | so you can do class checks like if(Class1 instanceof Class2) |
| 02:35:01 | raptor | at compile time |
| 02:37:40 | raptor | knowing google they probably *do* reimplement dynamic_cast |
| 02:37:46 | kaen | I'm not a big fan of google's views about c++ |
| 02:37:57 | raptor | i don't know much about them |
| 02:38:01 | kaen | just reading their style guide made me decide to ignore most of what they have to say |
| 02:38:07 | raptor | haha really? |
| 02:38:10 | kaen | yeah. |
| 02:38:21 | kaen | huge swathes of c++ stuff are categorically forbidden |
| 02:38:34 | kaen | plus a thousand oddities regarding formatting, naming, etc. |
| 02:38:48 | kaen | also they insist your code look boost code. |
| 02:39:02 | raptor | oh yuk |
| 02:39:05 | kaen | (indirectly) |
| 02:39:21 | kaen | require underscores in function names |
| 02:39:23 | kaen | etc. |
| 02:42:02 | kaen | there are nuggets of wisdom in there, though |
| 02:42:12 | kaen | e.g. name functions with verbs and variables with nouns |
| 02:43:13 | kaen | but that's not even c++ specific... |
| 02:50:01 | | bobdaduck has joined |
| 03:08:40 | raptor | sorry i found an exploit |
| 03:09:12 | Nothing_Much | :o |
| 03:13:06 | raptor | Nothing_Much: loads of people playing now.. |
| 03:14:43 | Nothing_Much | is that a good thing? o.o, I also saw the main page on desura, it's got over 2000 hits |
| 03:18:12 | Nothing_Much | well |
| 03:18:17 | Nothing_Much | the game's page got over 2000 hits |
| 03:18:20 | Nothing_Much | over 400 today |
| 03:18:47 | raptor | hooray! |
| 03:19:29 | Nothing_Much | it's a good thing? |
| 03:19:34 | Nothing_Much | oh |
| 03:19:40 | Nothing_Much | blargh my head |
| 03:19:46 | Nothing_Much | of course it's a good thing |
| 03:20:07 | | koda has joined |
| 03:48:16 | raptor | real map time kaen |
| 04:09:26 | | raptor Quit (Ping timeout: 255 seconds) |
| 04:10:07 | | raptor has joined |
| 04:10:07 | | ChanServ sets mode +o raptor |
| 04:53:30 | bobdaduck | kaen |
| 04:53:33 | kaen | yep |
| 04:53:55 | kaen | dude I love bash completion and ssh keybased auth |
| 04:54:08 | kaen | I type 'ssh p<tab><enter>' |
| 04:54:12 | kaen | and I'm logged into the vps |
| 04:54:31 | bobdaduck | kaen you will need this levelgen |
| 04:54:32 | bobdaduck | http://pastie.org/6314483#2-3 |
| 04:54:38 | bobdaduck | name it "spawners.levelgen |
| 04:54:40 | bobdaduck | " |
| 04:55:29 | kaen | done |
| 04:55:38 | bobdaduck | http://pastie.org/6314492 |
| 04:55:39 | bobdaduck | level |
| 04:55:44 | bobdaduck | Oh |
| 04:55:46 | kaen | derp |
| 04:55:47 | bobdaduck | Spawners.levelgen |
| 04:55:48 | bobdaduck | capital |
| 04:55:50 | kaen | okay |
| 04:55:54 | bobdaduck | I can't upload or send files |
| 04:56:00 | bobdaduck | because .zip format destroys line endings |
| 04:56:03 | bobdaduck | which breaks levelgens |
| 04:56:24 | kaen | strange |
| 04:56:26 | kaen | anyway |
| 04:56:49 | kaen | I'll have to restart the server if you don't upload the level I think |
| 04:57:02 | kaen | filename? |
| 04:57:31 | bobdaduck | hold on |
| 04:58:03 | kaen | restarted. |
| 04:58:12 | bobdaduck | There's one more map |
| 04:58:16 | bobdaduck | Its too big for pastie |
| 04:58:49 | bobdaduck | Sending via forum PM |
| 04:59:01 | raptor | bob, if you use 7z |
| 04:59:04 | raptor | that'll work |
| 04:59:15 | bobdaduck | Sent |
| 04:59:27 | bobdaduck | It uses the same script so |
| 05:27:58 | raptor | sorry have homework :( |
| 05:31:10 | | kodaws has joined |
| 05:42:35 | | Nothing_Much Quit (Ping timeout: 272 seconds) |
| 05:43:53 | raptor | kaen: did that levelgen script crash on your server the first time? and was it the latest revision?? (You can answer later when you're done playing) |
| 05:44:04 | kaen | raptor just pastied it in fact |
| 05:44:06 | kaen | http://pastie.org/6314629 |
| 05:44:14 | kaen | literally submitted as you sent that. |
| 05:44:23 | kaen | and yes, it's latest. |
| 05:44:32 | raptor | oh crud |
| 05:44:36 | kaen | yeah. |
| 05:45:23 | raptor | so once again we just find a solution that reduces likelihood.. |
| 05:45:31 | raptor | but not eliminates it |
| 05:45:38 | raptor | now i'm going to weep |
| 05:45:47 | kaen | yes. |
| 05:45:55 | kaen | pity I found this right as I was going to sleep |
| 05:46:05 | kaen | was otherwise a great day. |
| 05:46:08 | raptor | restless sleep ahead... |
| 05:46:11 | raptor | yeah fun games! |
| 05:46:16 | kaen | indeed :) |
| 05:46:24 | Platskies | If only my ping |
| 05:46:33 | kaen | platskies, cough up the $5 a month |
| 05:46:39 | raptor | i'm glad you joined us! |
| 05:46:48 | kaen | get a VPS in your area |
| 05:46:55 | kaen | I'll play there with you :) |
| 05:47:16 | kaen | anyway, good night all |
| 05:47:21 | raptor | night! |
| 05:48:05 | | koda Quit (Quit: koda) |
| 05:57:23 | | Platskies Quit (Remote host closed the connection) |
| 06:01:44 | | Platskies has joined |
| 06:02:08 | Platskies | kaen: Haha |
| 06:05:35 | Platskies | Oh kaen, I'm pretty sure LittleMonkey's hosted where I am |
| 06:54:38 | | raptor Quit () |
| 07:02:40 | | bobdaduck Quit (Quit: Page closed) |
| 08:22:00 | | Disconnected. |
| 08:22:01 | | -adams.freenode.net- *** Looking up your hostname... |
| 08:22:01 | | -adams.freenode.net- *** Checking Ident |
| 08:22:01 | | -adams.freenode.net- *** No Ident response |
| 08:22:01 | | -adams.freenode.net- *** Couldn't look up your hostname |
| 08:22:08 | | BFLogBot has joined |
| 20:08:22 | | -hitchcock.freenode.net- *** Looking up your hostname... |
| 20:08:22 | | -hitchcock.freenode.net- *** Checking Ident |
| 20:08:22 | | -hitchcock.freenode.net- *** No Ident response |
| 20:08:22 | | -hitchcock.freenode.net- *** Couldn't look up your hostname |
| 20:08:28 | | BFLogBot has joined |
| 20:08:28 | | Topic is 'Bitfighter 018 released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/' |
| 20:08:28 | | Set by raptor!~raptor@unaffiliated/greenmachine on Fri Jan 18 20:33:17 GMT 2013 |
| 20:08:29 | | -ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response. |
| 20:08:44 | bobdaduck | HE'S BACK |
| 20:08:45 | bobdaduck | !bot |
| 20:08:45 | BFLogBot | I'm a real boy! |
| 20:08:51 | raptor | finally |
| 20:08:56 | raptor | had to crash the website to do it.. |
| 20:11:02 | kaen | what's the 25 flags badge regarding? |
| 20:11:13 | kaen | ctf? |
| 20:11:13 | raptor | return 25 flags to the nexus at once |
| 20:11:16 | kaen | oh ok |
| 20:11:18 | raptor | but |
| 20:11:32 | raptor | constraints: official game, no level flag spawns |
| 20:22:36 | raptor | and hello kaen :) |
| 20:22:45 | kaen | hello :) |
| 20:24:13 | bobdaduck | Hi! |
| 20:26:54 | | LordDVG Quit (Remote host closed the connection) |
| 20:27:36 | raptor | bobdaduck: check the front page |
| 20:27:52 | raptor | no guarantees that it stays! |
| 20:28:26 | | Little_Apple has joined |
| 20:28:39 | Little_Apple | hello |
| 20:28:44 | raptor | hi |
| 20:29:46 | Little_Apple | raptor: does this look like a bouncer to you? http://i.imgur.com/ywVIPy1.gif |
| 20:30:18 | raptor | yeah, that's pretty close |
| 20:30:28 | Little_Apple | hooray! |
| 20:31:17 | raptor | the inner yellow star might need to rotate about twice as fast.. |
| 20:31:30 | raptor | but that's really good! |
| 20:31:33 | bobdaduck | Awesome raptor, thanks |
| 20:32:08 | kaen | scp'ing to bitfighter.org is so slow I sometimes worry it will fail |
| 20:32:20 | kaen | but it hasn't yet, except when logbot was out |
| 20:32:50 | kaen | cool! |
| 20:32:54 | kaen | I broke the stats... |
| 20:33:20 | raptor | hooray! |
| 20:33:42 | kaen | works fine on my dev machine :/ |
| 20:33:53 | kaen | let's see if I have read perms to the apache log... |
| 20:34:17 | kaen | nope. |
| 20:34:36 | | raptor accidently just kaen sudo rights |
| 20:34:41 | | raptor can't grammar |
| 20:34:45 | raptor | *gave |
| 20:34:51 | bobdaduck | lol |
| 20:35:33 | raptor | kaen: you'll have to re-log in |
| 20:35:46 | raptor | i think to have the sudo stuff stick |
| 20:35:48 | raptor | maybe |
| 20:35:50 | raptor | not sure |
| 20:36:37 | kaen | nope |
| 20:37:05 | kaen | oh. bug in my deploy script |
| 20:37:10 | kaen | forgot to copy the lib file |
| 20:38:52 | Little_Apple | heres a faster yellow speed... http://i.imgur.com/eenOKO3.gif |
| 20:39:34 | raptor | yeah, that's even better! |
| 20:39:42 | raptor | close enough to not know the difference, i think |
| 20:40:01 | Little_Apple | awesome |
| 20:40:16 | bobdaduck | That's prefect LA |
| 20:40:58 | | Little_Apple feels flattered |
| 20:41:42 | raptor | Little_Apple: you're like Bitfighter's art-guy on call... |
| 20:41:50 | Little_Apple | lol |
| 20:41:51 | bobdaduck | lol |
| 20:41:54 | bobdaduck | For gifs, yeah |
| 20:42:17 | bobdaduck | I do the best paper drawings though |
| 20:43:11 | Little_Apple | indeed |
| 20:43:28 | bobdaduck | The best paper drawings with faces on them. |
| 20:43:35 | bobdaduck | So raptor |
| 20:43:36 | bobdaduck | I was thinking |
| 20:43:54 | bobdaduck | We should try to use bitfighter |
| 20:43:58 | bobdaduck | To replace facebook. |
| 20:44:11 | bobdaduck | And turn bitfighter into the worlds first social networking game. |
| 20:44:29 | raptor | vetoed! |
| 20:44:35 | kaen | bobdaduck |
| 20:44:35 | kaen | http://bitfighter.org/stats/player.php?player=bobdaduck |
| 20:44:51 | bobdaduck | Vetoed! |
| 20:44:52 | bobdaduck | why! |
| 20:44:56 | raptor | !! |
| 20:45:01 | raptor | there's badges there! |
| 20:45:04 | Little_Apple | Kills: 1327 Deaths: 1701 |
| 20:45:04 | bobdaduck | Bitfighter is loads better than facebook! |
| 20:45:28 | kaen | "worlds first social networking game" |
| 20:45:35 | kaen | you should google social networking game. |
| 20:45:48 | bobdaduck | lol |
| 20:46:08 | bobdaduck | Okay, its coming up with "farmville" |
| 20:46:13 | bobdaduck | That ain't fly. |
| 20:46:31 | kaen | bobdaduck did you see the badges? |
| 20:46:37 | kaen | I DEMAND YOUR PRAISE |
| 20:46:41 | bobdaduck | How about we just buy out facebook and replace the entire website with a link to bitfighter.org? |
| 20:46:41 | raptor | kaen: that's... GREAT!@ |
| 20:46:46 | kaen | thanks |
| 20:46:47 | bobdaduck | YES GOOD JOB KAEN |
| 20:46:58 | kaen | it was non-trivial to get images of them all |
| 20:47:16 | Little_Apple | yay for stats! |
| 20:47:37 | kaen | one step closer to not sucking. |
| 20:48:06 | kaen | should probably fix the landing page while I'm at it. |
| 20:48:15 | bobdaduck | probably |
| 20:48:25 | bobdaduck | And we need a link to the stats from the website somewhere |
| 20:48:39 | kaen | I don't think we need to do that yet |
| 20:49:05 | raptor | stats are for people who can find them! |
| 20:49:19 | kaen | they're on the forums |
| 20:49:29 | kaen | people apparently find things on there. |
| 20:49:37 | kaen | plus I update it when I make big changes. |
| 20:49:37 | raptor | yes, but we know how well people find thin.... uh sure |
| 20:49:48 | kaen | lmao raptor |
| 20:50:20 | kaen | now that I think about it... |
| 21:00:15 | kaen | !bot |
| 21:00:15 | BFLogBot | I'm a real boy! |
| 21:00:20 | | Watusimoto has joined |
| 21:00:33 | kaen | then serve me a web page, urchin! |
| 21:00:58 | kaen | oh god the website is down. |
| 21:01:02 | bobdaduck | lol |
| 21:01:04 | kaen | I didn't do anything, I promise. |
| 21:01:10 | kaen | oh |
| 21:01:10 | raptor | it's back! |
| 21:01:11 | kaen | back up |
| 21:01:15 | bobdaduck | lol |
| 21:01:21 | | kaen wipes the sweat from his brow |
| 21:01:29 | Watusimoto | hi |
| 21:01:38 | kaen | hi |
| 21:01:40 | raptor | hi Watusimoto |
| 21:03:03 | bobdaduck | hi |
| 21:03:03 | raptor | Watusimoto: we have bad news |
| 21:03:11 | raptor | kaen has really, really bad news... |
| 21:03:27 | kaen | :< |
| 21:03:40 | raptor | http://pastie.org/6314629 |
| 21:03:42 | raptor | ^^ bad news |
| 21:03:52 | kaen | that's from the server I compiled from latest |
| 21:04:20 | kaen | also, that worm bug is crashing my servers when levels get loaded which include them... |
| 21:04:30 | kaen | I set it to run to in a while true loop for now though. |
| 21:04:31 | raptor | kill the Worm! |
| 21:04:34 | raptor | haha |
| 21:04:43 | raptor | why do levels have the Worm?? |
| 21:04:49 | kaen | pretty ingenious hack for a 3 minute job before work this morning |
| 21:04:49 | raptor | that doesn't exist yet |
| 21:04:56 | raptor | ha |
| 21:05:12 | kaen | mostly levels named zzzz97.level and similar |
| 21:05:19 | kaen | whatever that means. |
| 21:05:27 | Watusimoto | that might not be the same problem |
| 21:05:29 | raptor | ahhh... the zzzzz levles were sam's test levels |
| 21:05:44 | raptor | especially from trying to release 016 |
| 21:05:55 | Watusimoto | in fact, I think that is a run-of-the-mill lua error |
| 21:05:58 | kaen | bobdaduck gave me the levelgen for it, let me find it |
| 21:06:27 | Watusimoto | raptor: I assume that you assume that is our killer lua error |
| 21:06:29 | Little_Apple | oh dear.. |
| 21:06:36 | kaen | http://pastie.org/6314483#2-3 |
| 21:06:42 | kaen | that is the general assumption |
| 21:06:59 | bobdaduck | That levelgen works, doesn'tit? |
| 21:07:02 | Watusimoto | I see no sign that it is |
| 21:07:09 | kaen | ignore the highlighted lines. |
| 21:07:20 | kaen | mostly |
| 21:07:28 | kaen | except that it crashed randomly a few times |
| 21:07:33 | kaen | remember? |
| 21:07:45 | raptor | yep, random again |
| 21:07:46 | bobdaduck | Ah yes, I remember that |
| 21:07:52 | bobdaduck | It only crashed randomly once I thought |
| 21:08:02 | kaen | I found a second error as I went to bed |
| 21:08:06 | Watusimoto | kaen: what happens at line 18 if there is no object with id=5? |
| 21:08:10 | kaen | identical to the first |
| 21:08:18 | Watusimoto | (i.e. what do you expect?) |
| 21:08:40 | Watusimoto | specifically, what would you expect to happen at line 19? |
| 21:08:57 | bobdaduck | From experience: Nothing. It might return an error (I don't usually check console) but the script continues to run. |
| 21:09:23 | kaen | what is object id=5? |
| 21:09:30 | kaen | err |
| 21:09:33 | Watusimoto | what he should expect is an error that looks like this: attempt to index global 'object' (a nil value) |
| 21:09:34 | kaen | what type of object is it |
| 21:09:40 | kaen | excuse my mushbrain |
| 21:09:49 | bobdaduck | In the level its a testitem |
| 21:10:05 | Watusimoto | I predict there is in fact no object with id = 5 |
| 21:10:17 | bobdaduck | (remember, that blocks off invaders until 13 minutes in) |
| 21:10:19 | kaen | ah well I remember now |
| 21:10:28 | kaen | if that method is called twice the script will crash. |
| 21:10:31 | Watusimoto | or something else is happening that prevents it from being found |
| 21:10:46 | Watusimoto | so the find returns nil |
| 21:10:59 | bobdaduck | If that's the case |
| 21:11:04 | Watusimoto | and nil has no removeFromgame method |
| 21:11:05 | bobdaduck | then the script should crash every time |
| 21:11:19 | bobdaduck | Because invaders spawn on the zone that calls it |
| 21:11:27 | bobdaduck | Which would trigger the script. |
| 21:11:47 | kaen | hmm. indeed. |
| 21:11:55 | Watusimoto | well, I can tell you it's not our errorus horriblus |
| 21:11:57 | bobdaduck | ooooh |
| 21:11:59 | bobdaduck | Okay |
| 21:12:01 | bobdaduck | I know what the problem is |
| 21:12:02 | raptor | Watusimoto: you sure? |
| 21:12:21 | bobdaduck | Someone in the invaders died before the testitem disappeared |
| 21:12:26 | bobdaduck | respawned and retriggered the script |
| 21:12:46 | bobdaduck | And since the testitem was still there you have two pending Delete testitems |
| 21:12:52 | Watusimoto | not positive, but I am confident that there are other ways that error could be generated (like the scenario I outlined), and it bears none of the signs of our bad error... so I'd bet a couple of beers on it |
| 21:12:55 | bobdaduck | Linked to one testitem |
| 21:13:04 | kaen | well, look at that. |
| 21:13:06 | Watusimoto | and I'm not one to gamble with beer frivously |
| 21:13:14 | Watusimoto | frivolously |
| 21:13:21 | Watusimoto | (is that right?) |
| 21:13:27 | kaen | okay, you persuaded me. |
| 21:13:40 | bobdaduck | If the testitem disappears then the script will abort the method |
| 21:13:52 | Watusimoto | the easy fix is do a nil check there |
| 21:13:57 | bobdaduck | when the invaders spawn |
| 21:13:58 | kaen | yep |
| 21:14:12 | Watusimoto | or earlier on and just abort the script if the key item is not in game for some reason |
| 21:14:12 | bobdaduck | Does people understand what I'm outlining? |
| 21:14:22 | kaen | wee user error \o/ |
| 21:14:45 | raptor | USER ERROR! WOOOT!@ |
| 21:15:00 | Watusimoto | you should add this to main: |
| 21:15:01 | bobdaduck | lol |
| 21:15:12 | raptor | I love bugs that are not my fault |
| 21:15:26 | bobdaduck | lol |
| 21:15:26 | Watusimoto | assert(levelgen:findObjectById(5), "this script requires an object with id = 5") |
| 21:16:00 | bobdaduck | Uh? |
| 21:16:15 | bobdaduck | I dunno what assert does but I'm not sure that's right |
| 21:16:41 | bobdaduck | The problem is people triggering the delete script twice before it deletes the object |
| 21:18:53 | bobdaduck | So what I'm thinking is move the findobjectbyID into the onship entered zone part |
| 21:19:13 | bobdaduck | So the script only triggers if the object exists |
| 21:19:52 | kaen | if object === nil |
| 21:19:55 | kaen | return |
| 21:19:57 | kaen | end |
| 21:20:04 | kaen | or something like that. |
| 21:20:33 | kaen | put that after the findObject line |
| 21:24:01 | Watusimoto | just == |
| 21:24:07 | Watusimoto | === is only javascript |
| 21:24:16 | bobdaduck | ==== |
| 21:24:22 | Watusimoto | and it's only needed there because javascript is so horribly broken |
| 21:24:27 | raptor | === is php! |
| 21:24:28 | Watusimoto | maybe it's in php too |
| 21:24:32 | Watusimoto | for the same reason |
| 21:24:32 | raptor | type safety! |
| 21:24:39 | bobdaduck | ===== |
| 21:24:49 | Watusimoto | 2 != "2" |
| 21:25:07 | bobdaduck | 2 ============================= 2 |
| 21:25:20 | Watusimoto | I've been watching the series of videos "Crockford on Javascript" |
| 21:25:41 | Watusimoto | crockford is a guy at yahoo who knows just about everything about js |
| 21:25:50 | Watusimoto | he's convinced js is awesome |
| 21:26:01 | bobdaduck | lol |
| 21:26:07 | Watusimoto | he's really good at explaining some nice things about the language |
| 21:26:10 | raptor | i couldn't tell if his writings were being snarky... |
| 21:26:13 | raptor | or cheeky |
| 21:26:20 | raptor | or he was geniunely serious |
| 21:26:25 | Watusimoto | but I just keep thinking 'noooo.... it just sucks!" |
| 21:26:29 | Watusimoto | he's serious |
| 21:26:35 | Watusimoto | he understands where it fails |
| 21:26:44 | Watusimoto | but he says just don't use the sucky bits |
| 21:26:57 | bobdaduck | Like engineer |
| 21:27:42 | Watusimoto | but I've been thinking about how I would make a scripting language that I actually liked |
| 21:28:16 | Watusimoto | i have some good ideas, but luckily I'm smart enough not to bother doing it |
| 21:28:28 | raptor | haha |
| 21:28:30 | Watusimoto | because the world needs another scripting language, right? |
| 21:28:34 | raptor | Google Go! |
| 21:28:40 | raptor | wait, is that scripting? |
| 21:28:48 | Watusimoto | mine would be typed |
| 21:28:59 | raptor | python knows your mind |
| 21:29:14 | bobdaduck | I'ma make one based off of colors |
| 21:29:20 | bobdaduck | And you have to paint the script |
| 21:29:20 | Watusimoto | been done |
| 21:29:32 | bobdaduck | And if you don't use the right shade of red you die |
| 21:29:36 | bobdaduck | Wait what? |
| 21:30:02 | Watusimoto | http://www.dangermouse.net/esoteric/piet.html |
| 21:30:16 | raptor | oh lovely |
| 21:30:44 | bobdaduck | Rofl |
| 21:30:45 | Watusimoto | meet the new bf scripting language |
| 21:31:21 | bobdaduck | heck yes |
| 21:31:34 | raptor | i thought we were going to gamemonkey first? |
| 21:31:34 | Watusimoto | sample programs here: |
| 21:31:35 | Watusimoto | http://www.dangermouse.net/esoteric/piet/samples.html |
| 21:31:36 | bobdaduck | I bet Piet doesn't crash when it tries to cache! |
| 21:32:09 | bobdaduck | This bot is very red. |
| 21:32:25 | bobdaduck | Crap, forgot some green. My levelgen crashed. |
| 21:34:59 | bobdaduck | ...I'm in love. |
| 21:38:20 | kaen | go is optionally typed |
| 21:39:52 | kaen | also, === is in most dynamically typed languages |
| 21:40:00 | kaen | lua not having it means that lua is broken... |
| 21:40:15 | raptor | Lua has a special place amongst languages |
| 21:40:18 | kaen | unless lua doesn't cast nil to 0 and stuff like that. |
| 21:40:19 | raptor | have 1-indices |
| 21:40:46 | kaen | I'm not familiar enough with it to judge I suppose. |
| 21:41:01 | kaen | also, please don't think I'm defending javascript by any means. |
| 21:43:00 | bobdaduck | Guys, piet. |
| 21:43:12 | raptor | my virgin ears! |
| 21:43:17 | bobdaduck | I want to learn this language even though it will never be used anywhere just because its awesome. |
| 21:46:40 | raptor | bobdaduck: start here: http://www.roesler-ac.de/wolfram/hello.htm |
| 21:47:09 | raptor | Piet is even in there.. |
| 21:48:51 | bobdaduck | lol |
| 21:48:52 | bobdaduck | yeah |
| 21:49:02 | bobdaduck | that example is among those wat linked to though |
| 21:50:24 | bobdaduck | Hah |
| 21:50:29 | bobdaduck | This reminds me of C |
| 21:50:46 | bobdaduck | ...I don't know C. |
| 21:51:14 | raptor | I just found out why c# chose the '#', so it could be first alphabetically! |
| 21:51:28 | raptor | (not really sure that's the reason..) |
| 21:52:41 | bobdaduck | Okay someone teach me C real quick |
| 21:53:20 | raptor | you're best learning source: http://www.ioccc.org/ |
| 21:53:43 | raptor | ok, replace 'best' with 'worst' and that's about right... |
| 21:55:20 | raptor | we need to find a way to cap mysql on bf.org at 100MB of RAM or so... |
| 21:55:47 | bobdaduck | What is it? |
| 21:55:56 | raptor | the database |
| 21:56:26 | bobdaduck | sorry nevermind |
| 22:01:47 | raptor | SDL2 is now non-GPL! yay |
| 22:02:00 | raptor | GPL 2 -> BSD! |
| 22:02:17 | raptor | err |
| 22:02:25 | raptor | GPL2 -> zlib! |
| 22:04:21 | raptor | and it might release soon! (again... and again... again again) |
| 22:05:52 | kaen | raptor, query_cache_limit? |
| 22:06:07 | kaen | I don't think there's a monolithic one, but that's a good place to start |
| 22:08:54 | raptor | hmmm... brb |
| 22:09:53 | | Darrel Quit (Quit: Closed IRC client) |
| 22:12:01 | | Darrel has joined |
| 22:12:42 | | Darrel Quit (Client Quit) |
| 22:12:59 | | raptor Quit (Read error: Operation timed out) |
| 22:17:21 | | Little_Apple Quit (Ping timeout: 245 seconds) |
| 22:43:27 | | Little_Apple has joined |
| 22:54:39 | | bobdaduck Quit (Quit: Page closed) |
| 23:08:46 | Watusimoto | hey kaen: do you know the url of the graphs of our stats? |
| 23:09:04 | kaen | bitfighter.org/stats/gamereports.php |
| 23:09:13 | Watusimoto | thanks! |
| 23:09:14 | kaen | nice |
| 23:09:20 | kaen | it's throwing a 500 error |
| 23:09:23 | kaen | one moment. |
| 23:10:13 | Watusimoto | yes, I see... |
| 23:11:41 | kaen | hmm I made an oversight when I refactored some functions into a library |
| 23:13:58 | kaen | and I gave you the wrong url |
| 23:13:59 | kaen | http://www.bitfighter.org/stats/graphs/index.php |
| 23:14:04 | kaen | it's working now |
| 23:14:05 | kaen | afaik |
| 23:14:40 | kaen | hmm. that's a pretty interesting read :) |
| 23:15:31 | Watusimoto | whoa! |
| 23:15:34 | Watusimoto | thank you desura! |
| 23:15:53 | kaen | I'm pretty amazed at how dramatic it's been |
| 23:16:14 | kaen | there have been people on pretty much straight through since yesterday mid-day |
| 23:16:52 | Watusimoto | my usage goal has been to have enough players that there is always a game being played |
| 23:17:21 | kaen | we are well on our way |
| 23:17:23 | Watusimoto | I think my notifier widget is broken, as I don;t see these people coming/going |
| 23:17:24 | kaen | if not there already. |
| 23:17:31 | kaen | hmm |
| 23:17:35 | Watusimoto | yes, but will it last |
| 23:18:39 | kaen | not that I quote Nietzsche often |
| 23:18:43 | kaen | but, "long obedience in the same direction" |
| 23:19:19 | Watusimoto | indeed |
| 23:19:53 | Watusimoto | direction is good... now all we need is long |
| 23:19:58 | Watusimoto | there we go. |
| 23:20:02 | Watusimoto | 1.dummy joined |
| 23:20:48 | kaen | do you happen to have a link to the python notifier? |
| 23:21:43 | Watusimoto | no, I have the compilied exe version if you want it |
| 23:21:54 | Watusimoto | it should be in our repo somewhere, but I think it is not (yet) |
| 23:22:05 | Watusimoto | I'd like to include it with the next release |
| 23:24:52 | kaen | hah! |
| 23:24:55 | kaen | I found it on google |
| 23:25:12 | | raptor has joined |
| 23:25:13 | | ChanServ sets mode +o raptor |
| 23:25:37 | kaen | http://pastie.org/pastes/5701521 |
| 23:25:52 | kaen | by typing in "bitfighter notifier pastie" |
| 23:25:59 | raptor | ?? |
| 23:26:01 | raptor | hi |
| 23:26:03 | kaen | hi |
| 23:26:09 | kaen | I found the python notifier on google |
| 23:26:13 | kaen | after having lost my copy |
| 23:26:16 | raptor | uh |
| 23:26:19 | raptor | we have a repo |
| 23:26:22 | raptor | with that |
| 23:26:23 | kaen | @_@ |
| 23:26:32 | kaen | I couldn't find it with google |
| 23:26:44 | raptor | https://code.google.com/p/bitfighter/source/list?repo=tools |
| 23:27:07 | kaen | well then... |
| 23:27:48 | raptor | as for the stats graphs... |
| 23:27:55 | raptor | we need to make them client-side |
| 23:28:02 | raptor | i.e. send the JSON not the png |
| 23:28:16 | raptor | save server memory.. |
| 23:28:24 | raptor | that was my bad choice because it was quick.. |
| 23:30:05 | Watusimoto | stats are looking good, thoguh |
| 23:30:21 | Watusimoto | I stopped by to play briefly, and all I got was drama |
| 23:30:45 | Watusimoto | sigh |
| 23:30:57 | raptor | high ping? |
| 23:31:28 | Watusimoto | yes, but two people trying to get a badge kicked a third who didn;t know why |
| 23:31:36 | Watusimoto | no real game going on |
| 23:31:51 | raptor | oh wonderful |
| 23:31:59 | raptor | i knew i should have made that ettiquiet post... |
| 23:32:27 | Little_Apple | i made a zappy emote.. |
| 23:32:45 | Watusimoto | like that would have helped |
| 23:33:26 | raptor | :) |
| 23:38:40 | | Little_Apple Quit (Quit: Page closed) |
| 23:38:48 | Nothing_Much | What'd I miss? |
| 23:39:30 | raptor | so the bitfighter notifier... |
| 23:39:38 | raptor | needs polishing, especially in Windows |
| 23:40:17 | Nothing_Much | for a new version? |
| 23:40:17 | Watusimoto | yes |
| 23:40:29 | Nothing_Much | ah, nice |
| 23:40:34 | Watusimoto | but its polishable |
| 23:41:55 | raptor | oh good I added the python spec to build the exe (and notes at the top) |