Timestamps are in GMT/BST.
| 00:40:49 | | BFLogBot Commit: 2b51d2e84dad | Author: kaen | Message: Make F9 toggle plugins pane and add it to the instructions |
| 01:01:22 | | koda has joined |
| 02:08:07 | | BFLogBot Commit: 323f9a903373 | Author: kaen | Message: update level list after running /dlmap |
| 02:08:08 | | BFLogBot Commit: f8bbf22e89da | Author: kaen | Message: use db_ prefix for maps downloaded with /dlmap |
| 05:54:30 | | YoshiSmb-Android has joined |
| 05:56:30 | | LordDVG has joined |
| 06:02:47 | kaen | morning \o/ |
| 06:03:37 | YoshiSmb-Android | good morning. |
| 06:04:03 | | YoshiSmb-Android wake up from the bed. |
| 06:34:06 | | YoshiSmb-Android Quit (Ping timeout: 245 seconds) |
| 06:38:04 | | YoshiSmb-Android has joined |
| 06:38:08 | | LordDVG Quit (Remote host closed the connection) |
| 06:38:40 | | LordDVG has joined |
| 06:42:08 | | YoshiSmb-Android Quit (Ping timeout: 245 seconds) |
| 06:50:33 | | LordDVG Quit (Remote host closed the connection) |
| 08:48:51 | | bobdaduck has joined |
| 08:49:07 | | thread_ has joined |
| 08:49:31 | thread_ | hey |
| 08:51:53 | bobdaduck | yo |
| 09:09:37 | kaen | heyo! |
| 09:09:53 | kaen | thread_, I erm.... broke your level on the db |
| 09:10:15 | kaen | I wrote a bug where admin edits changed ownership of the level and I haven't fixed it yet ... |
| 09:10:21 | thread_ | I don't really care much, since that wan't the latest version really anyway |
| 09:10:47 | thread_ | and I keep my own copies of my own levels |
| 09:12:49 | kaen | that's probably a good idea |
| 09:12:55 | kaen | the DB is getting wiped before release anyway |
| 09:16:42 | thread_ | btw, does anyone know how fast ships loose speed due to friction? I would like to make a slippery area, but am having trouble with getting it right |
| 09:17:02 | thread_ | either they slow down, or speed up :) |
| 09:24:43 | kaen | how is it different than a slipzone? |
| 09:24:55 | thread_ | I don't know. what's a slipzone? |
| 09:24:59 | kaen | ah |
| 09:25:08 | kaen | it's like a hidden item type. I'm not that familiar with it |
| 09:25:11 | kaen | bobdaduck knows though |
| 09:25:18 | kaen | it's a builtin slip zone |
| 09:25:45 | thread_ | bobdaduck: |
| 09:25:49 | bobdaduck | Every tick |
| 09:25:55 | bobdaduck | set the ships velocity to the ships velocity |
| 09:26:16 | thread_ | I want them to slow themselves down possible. just not friction |
| 09:26:44 | bobdaduck | Yeah doable |
| 09:26:49 | bobdaduck | slipzones are easiest way |
| 09:26:52 | kaen | yeah |
| 09:27:05 | thread_ | what is this slipzone thinggy?!? whats its name in the level document so I can make one? |
| 09:27:07 | kaen | like make a zone, then change Zone to SlipZone in the level code |
| 09:27:12 | thread_ | ah |
| 09:27:20 | kaen | right, bob? |
| 09:27:25 | bobdaduck | yeah pretty much |
| 09:27:29 | kaen | and there's a way to set the slip coefficient |
| 09:27:39 | kaen | I think it's the first argument |
| 09:27:42 | bobdaduck | it is |
| 09:27:46 | kaen | between 0.0 and 1.0 |
| 09:28:11 | bobdaduck | no it can be any number |
| 09:28:19 | bobdaduck | past 1.0 it starts giving your ship *extra* friction |
| 09:28:28 | bobdaduck | and below 0 it... Well... Yeah. |
| 09:28:46 | kaen | yeah ... |
| 09:28:55 | kaen | just keep it above 0.0 and nobody gets hurt |
| 09:29:24 | bobdaduck | Until 019! |
| 09:29:25 | bobdaduck | SHH |
| 09:33:39 | thread_ | negative friction... name the level "Don't move or else" |
| 09:33:51 | thread_ | it can be a soccer level |
| 09:34:53 | bobdaduck | it will crash in 018 |
| 09:35:26 | thread_ | how bout this: level gen spawns a burst whenever you move |
| 09:36:07 | bobdaduck | lol |
| 09:36:38 | bobdaduck | You make me want to make these levels and dedicate a server to them. |
| 09:37:33 | thread_ | "Thread's idiot server": play at your own risk |
| 09:37:47 | thread_ | :P |
| 09:38:27 | kaen | I'll put up a wacky levelgen server for 019 |
| 09:38:37 | kaen | "Life" needs a home |
| 09:40:02 | bobdaduck | Yeah! |
| 09:46:26 | thread_ | question: what happens when I overlap two slipzones? |
| 09:47:04 | bobdaduck | what happens when you butter your toast on both sides of the bread? |
| 09:47:34 | thread_ | you drop the toast cus you can't hold it. |
| 09:47:44 | bobdaduck | That's exactly what will happen. |
| 09:48:11 | kaen | umm |
| 09:48:21 | kaen | my guess is that they both influence the ship |
| 09:48:37 | kaen | you should let me know :) |
| 09:50:02 | thread_ | will do... SCIENCE! |
| 09:59:14 | thread_ | verdict: in overlapped area: the ship obeys the slipperier zone |
| 10:00:18 | thread_ | although it lets the ship "try" to move but sets your posistion back to where it should be as if you were only in the slipperier zone |
| 10:01:03 | kaen | very interesting |
| 10:02:01 | kaen | just reading that gave me a flashback to when I was fixing the slipzone crash |
| 10:02:08 | bobdaduck | lol |
| 10:02:15 | thread_ | so there you go. You can't break the rules as well as we would have liked |
| 10:02:17 | kaen | slipzones are implemented really, really, strangely in the engine |
| 10:02:36 | kaen | you only get one coefficient applied at a time (the max, as you pointed out) |
| 10:03:02 | kaen | and apparently the client-side prediction is inconsistent with the server's calculations |
| 10:03:16 | kaen | this is presumably why it's a hidden object |
| 10:03:37 | thread_ | kaen: I've been thinking. would there be much point in making a switch object? like it toggles between on and off when shot. |
| 10:03:51 | thread_ | then level gens have getters and setters for its on/off state |
| 10:04:13 | bobdaduck | You can already makeshift that |
| 10:04:23 | kaen | I really, really want that |
| 10:04:38 | kaen | actually I want some system of triggers/mechanisms for scripting |
| 10:05:03 | kaen | like a bunch of components that just have interesting in-game interactions and fire events |
| 10:05:17 | kaen | generic switches |
| 10:05:26 | kaen | generic destructable polygon objects |
| 10:05:46 | kaen | maybe some sort of like wiring system? |
| 10:05:57 | thread_ | The other thing I would really like to see is like teleporters, but instead of ships, you can only shoot bullets through |
| 10:06:00 | kaen | like in Starseige Tribes all of your defenses are connected to generators |
| 10:06:08 | kaen | whoa |
| 10:06:11 | kaen | that'd be cool too |
| 10:06:32 | thread_ | that would be harder to make use of though |
| 10:06:49 | bobdaduck | You could use cores |
| 10:06:55 | bobdaduck | and call getHealth() on things |
| 10:07:20 | thread_ | I guess that would work for now |
| 10:07:22 | kaen | there's got to be a better hack then that |
| 10:07:26 | kaen | than* |
| 10:07:32 | thread_ | theaean |
| 10:08:54 | kaen | I think like some sort of orchestrated resource item |
| 10:09:11 | thread_ | so kaen: you were thinking of a wiring system? that would be so cool |
| 10:09:16 | kaen | check the vel, when it's none-zero animate it to the opposite position, then set it to zero |
| 10:09:23 | kaen | it's just something I've been dreaming of |
| 10:09:35 | bobdaduck | Suns |
| 10:09:37 | thread_ | so like, make a type of wall that can be disabled and wire it to a switch |
| 10:09:48 | kaen | yep |
| 10:09:58 | bobdaduck | Like force fields? |
| 10:10:18 | thread_ | we could change engineers to wire things instead of making, then they would have a very different dynamic |
| 10:10:21 | kaen | basically, a set of a inputs, some sort of wiring mechanism, then a set of actions objects perform when the "current" is applied |
| 10:12:20 | thread_ | That would be awesome |
| 10:12:25 | kaen | it would be a powerful system even for non-scripters, and if we added an api to add custom inputs, components, and actions, the results could be very interesting indeed. |
| 10:12:31 | bobdaduck | No way. |
| 10:12:32 | bobdaduck | It works. |
| 10:12:34 | bobdaduck | IT WORKS |
| 10:12:36 | bobdaduck | BWAHAHAHA |
| 10:13:53 | thread_ | what works? |
| 10:14:13 | kaen | I essentially implemented a crappy component library for that dough levelgen |
| 10:14:36 | kaen | it has things like trigger zones and switches, you just can't see them :P |
| 10:15:16 | bobdaduck | What works? WHAT WORKS? |
| 10:15:47 | bobdaduck | Only the ships-being-gravitized to each other levelgen! |
| 10:19:35 | bobdaduck | wait |
| 10:19:46 | bobdaduck | crap still needa fix this |
| 10:20:49 | bobdaduck | Still technically works just polish |
| 10:22:50 | bobdaduck | I might need help. Anyone got time? |
| 10:27:03 | bobdaduck | I'm not sure how to do this, algorithmically |
| 10:30:15 | bobdaduck | I'm trying to get a line item to go to each player in the game, so that everyone is connected |
| 10:30:40 | bobdaduck | but I don't know how to make it so its unique. Currently it loops through and all the players end up being only connected to whoever joined most recently |
| 10:31:22 | bobdaduck | So I need to figure out some way to make it so it only connects to its person? |
| 10:46:08 | | koda Quit (Ping timeout: 268 seconds) |
| 11:06:08 | | raptor has joined |
| 11:06:08 | | ChanServ sets mode +o |
| 11:08:18 | bobdaduck | HELP I BROKE EVERYTHING |
| 11:08:50 | thread_ | I honestly find that only 14% surprising |
| 11:08:57 | bobdaduck | attempt to index field '?' (a nil value) on this line: lineItemsArray[name][otherName] = line |
| 11:09:02 | bobdaduck | What is the cause? |
| 11:09:15 | bobdaduck | also lol. |
| 11:09:37 | thread_ | either name, otherName, or line is nil. probably not line |
| 11:10:17 | thread_ | or the lineItemsArray, but I suspect its not that one |
| 11:12:21 | bobdaduck | okay then. |
| 11:12:35 | bobdaduck | Time to start randomly adding nil checks after every variable and hope it fixes something! |
| 11:14:07 | bobdaduck | Welp. That didn't work. |
| 11:15:43 | bobdaduck | SOMEONE HELP ME |
| 11:16:19 | raptor | hello |
| 11:16:23 | raptor | and good day! |
| 11:16:23 | bobdaduck | http://pastie.org/8274622#25 |
| 11:16:34 | bobdaduck | line 25 is == nil somehow |
| 11:16:54 | raptor | lineItemsArray[name] is nil |
| 11:17:05 | raptor | are you make sure to make that into an array? |
| 11:17:27 | raptor | so: lineItemsArray[name] = {} <-- only on the first time 'name' is used |
| 11:17:46 | bobdaduck | That's probably it |
| 11:18:45 | bobdaduck | Well it didn't crash so that's something |
| 11:20:02 | bobdaduck | Its creating new line items every tick though |
| 11:20:39 | raptor | I'm afraid I have to focus at work now.. |
| 11:21:04 | bobdaduck | :( |
| 11:21:09 | bobdaduck | Okay thanks |
| 11:21:14 | bobdaduck | maybe I can figure it out from here... |
| 11:27:22 | bobdaduck | Yep got it |
| 11:38:18 | bobdaduck | I feel like I'm mummifying my code whenever I put a nil check in... |
| 11:38:55 | bobdaduck | Once my code has 12 layers of toilet paper it starts to just feel excessive |
| 11:39:14 | raptor | heh |
| 11:39:19 | thread_ | if (thing == nil) logprint("I want my Mumy!"); |
| 11:39:34 | | thread_ has left #bitfighter |
| 11:40:44 | bobdaduck | I think this would make a great global script. |
| 11:41:32 | raptor | I wonder... |
| 11:41:54 | raptor | can you do error catching with Lua? |
| 11:42:23 | bobdaduck | Can I? |
| 11:42:25 | bobdaduck | probably not. |
| 11:42:39 | raptor | I think you can... by being tricksy... |
| 11:42:49 | bobdaduck | Maybe you can |
| 11:42:53 | raptor | http://www.lua.org/pil/8.4.html. |
| 11:42:55 | bobdaduck | but I don't know what you're even talking about |
| 11:43:05 | raptor | so you call a function |
| 11:43:26 | raptor | and if it errors, like with a nil check, you just run it again... |
| 11:58:11 | | bobdaduck Quit (Remote host closed the connection) |
| 12:06:15 | kaen | I use pcall in my plugins as a poor man's try/catch |
| 12:06:22 | kaen | oh |
| 12:06:24 | kaen | nice link :) |
| 12:06:40 | raptor | hi kaen |
| 12:06:49 | raptor | can we still use pcall in 019 with our sandbox? |
| 12:07:14 | kaen | yep |
| 12:07:21 | raptor | hooray! |
| 12:07:22 | kaen | I think I actually added it to the sandbox |
| 12:07:27 | raptor | ah ha! |
| 12:08:09 | raptor | then maybe we need to make a stupid try/catch method for bobdaduck to use... |
| 12:08:22 | raptor | like wrap all of onTick in one... |
| 12:09:34 | kaen | I like the way pcall looks in a script |
| 12:09:42 | kaen | ok, err = pcall(fn) |
| 12:09:49 | kaen | if ok then ... end |
| 12:10:03 | raptor | nice and simpel |
| 12:10:08 | raptor | *simple |
| 12:10:10 | kaen | heh |
| 12:11:30 | kaen | function objects are one of more difficult concepts for a beginner to wrap his mind around anyway |
| 12:34:02 | | bobdaduck has joined |
| 13:01:00 | raptor | true - i guess was not in a teaching mood... despite saying we should teach that |
| 13:09:52 | kaen | that's fair :) |
| 13:11:49 | kaen | raptor, what's a good shorthand variable to use for a lua library? |
| 13:11:58 | kaen | kind of like jQuery's $ |
| 13:12:07 | kaen | I was thinking maybe _ |
| 13:12:28 | kaen | but I use _ to discard return values or indexes when iterating |
| 13:12:38 | kaen | so then I was think S (or some other capital letter) |
| 13:12:44 | raptor | I've always liked omicron Ø |
| 13:12:46 | kaen | _.fn() sounds weird |
| 13:12:48 | kaen | hehe |
| 13:13:03 | kaen | too bad lua is so restrictive on variable names :/ |
| 13:13:16 | kaen | in go you can totally use � as a variable name |
| 13:13:21 | raptor | Z |
| 13:13:31 | raptor | zee function! |
| 13:13:39 | kaen | I've seen go programs with define psy variables ... |
| 13:13:45 | kaen | defined* |
| 13:13:50 | raptor | heh |
| 13:14:01 | kaen | I think the same goes for ruby, but I'm not sure there |
| 13:14:21 | kaen | I now it specifies that all ruby source files are UTF-8 |
| 13:14:36 | kaen | anyway, Z makes sense |
| 13:14:39 | kaen | easy to type |
| 13:14:47 | kaen | right now I'm using 'sd' |
| 13:14:52 | raptor | I keep thinking that every language should just move to UTF-8 and be done with it |
| 13:15:01 | kaen | I agree with that sentiment |
| 13:15:30 | raptor | until we meet lots of alien life that requires an extension... |
| 13:16:00 | raptor | oh wait, UTF8 can go up to 4 byte characters, right? |
| 13:16:27 | kaen | no idea |
| 13:16:30 | kaen | sounds right, though |
| 13:16:59 | kaen | 32bits is such a preposterous amount of characters |
| 13:17:12 | kaen | I'd guess enough for every language in the galaxy :) |
| 13:18:19 | raptor | looks like it was 'constrained' to U+10FFFF in 2003 |
| 13:18:31 | raptor | it used to go to 6 bytes |
| 13:19:13 | raptor | so just over a million i guess |
| 13:23:46 | | fordcars_pi has joined |
| 13:24:14 | fordcars_pi | I demand to see bitfighter running on my Pi |
| 13:24:51 | raptor | you can at least run the 019 server - I made it ARM compatible |
| 13:24:58 | raptor | but the client libs.... good luck! :) |
| 13:25:04 | fordcars_pi | :PPPP |
| 13:25:11 | fordcars_pi | I could try I guess |
| 13:25:18 | fordcars_pi | I really need a compiler |
| 13:26:10 | fordcars_pi | If I get the source code and a compiler, could I at least try to get it running? |
| 13:26:26 | fordcars_pi | The client |
| 13:26:33 | raptor | yep |
| 13:26:55 | fordcars_pi | GCC is the right compiler right? |
| 13:26:59 | raptor | sure |
| 13:27:10 | raptor | is it debian-based on your PI? |
| 13:27:18 | fordcars_pi | Yeah |
| 13:27:21 | fordcars_pi | wheezy |
| 13:27:55 | fordcars_pi | The 'official' Raspberry Pi os |
| 13:28:11 | raptor | then follow the Linux instructions here: |
| 13:28:13 | raptor | http://bitfighter.org/wiki/index.php/Building_Bitfighter#Linux |
| 13:28:25 | raptor | they tell you waht libraries you'll need |
| 13:28:50 | raptor | so if it says 'SDL' you'll need to install SDL-dev or whatever the development package name is on wheezy |
| 13:29:37 | fordcars_pi | Ok |
| 13:30:51 | fordcars_pi | Do I only need gcc? |
| 13:31:02 | raptor | no |
| 13:31:09 | raptor | read that Linux section |
| 13:31:15 | fordcars_pi | Or do I need the Maker script thing |
| 13:31:17 | raptor | it says: cmake, make, gcc, g++ |
| 13:32:01 | fordcars_pi | Haha sorry, I should of read ahead alittle |
| 13:32:21 | raptor | :) |
| 13:35:39 | fordcars_pi | Ok so SDL-dev is the developpment header? |
| 13:35:45 | raptor | not sure |
| 13:36:01 | raptor | you'll have to figure out the package name - it's different for each distro, it seems |
| 13:36:23 | fordcars_pi | yeah I have found it |
| 13:36:45 | raptor | sometimes it's like: libSDL12-devel or some other weirdness |
| 13:36:48 | fordcars_pi | libsdl1.2-dev |
| 13:36:53 | raptor | ha |
| 13:36:55 | raptor | good |
| 13:37:22 | fordcars_pi | Will that install sdl and the developpment headers? |
| 13:37:28 | raptor | yes |
| 13:37:37 | fordcars_pi | Goooooood |
| 13:37:42 | raptor | SDL and it's development headers |
| 13:37:52 | raptor | you'll have to do the same for the other dependencies |
| 13:37:55 | raptor | *its |
| 13:38:03 | fordcars_pi | Sure ok |
| 13:39:55 | fordcars_pi | Oh man |
| 13:40:16 | fordcars_pi | apt-get still needs to be updated |
| 13:40:29 | fordcars_pi | but it can' find the method driver |
| 13:41:27 | kaen | method driver? |
| 13:41:48 | kaen | never heard of such an error message |
| 13:42:28 | fordcars_pi | When I use apt-get update |
| 13:43:05 | fordcars_pi | The method driver usr/lib/apt/methods/http// could not be found. |
| 13:43:07 | kaen | can you pastie the exact error message? |
| 13:43:09 | kaen | ok |
| 13:43:13 | kaen | sudo apt-get install apt-transport-https |
| 13:43:25 | raptor | hahaha |
| 13:43:30 | fordcars_pi | What will that do? |
| 13:43:42 | raptor | bare-bones |
| 13:43:47 | kaen | install the http transport method for apt-get |
| 13:44:01 | fordcars_pi | crap |
| 13:44:10 | fordcars_pi | I have had this problem since I got my pi |
| 13:44:19 | kaen | or just pick apt-transport-https from your package manager |
| 13:44:43 | kaen | (never had this problem, but this is the package that provides that file) |
| 13:46:58 | fordcars_pi | hey why does it always try to get the pakages from raspbian.org? |
| 13:47:34 | fordcars_pi | http://mirrordirector.raspbian.org/raspbian/pool/main/c/curl/libcurl3-gnutls_7.26.0-1_armhf.deb |
| 13:47:34 | kaen | because that's the pi-specific repo |
| 13:47:40 | fordcars_pi | oh ok |
| 13:47:52 | fordcars_pi | well it still can't find the file |
| 13:47:59 | kaen | :< |
| 13:48:26 | fordcars_pi | What package manager? |
| 13:49:16 | fordcars_pi | I am nuch a n00b on Linux :/ |
| 13:50:46 | kaen | ok |
| 13:50:55 | kaen | so is that the *exact* output of the error message, fordcars_pi |
| 13:50:56 | kaen | ? |
| 13:51:09 | raptor | looking here: http://www.raspbian.org/RaspbianQuake3 |
| 13:51:10 | kaen | including the two consecutive slashes? |
| 13:51:22 | raptor | there is a weird command: sudo rpi-update 192 |
| 13:51:44 | raptor | it looks like SDL does run.. |
| 13:53:16 | fordcars_pi | http://pastie.org/8275012 |
| 13:53:27 | fordcars_pi | When I try to get apt-transport-https |
| 13:54:20 | kaen | heh |
| 13:54:28 | kaen | you need to run apt-get update |
| 13:54:35 | kaen | in order to run those commands |
| 13:54:45 | kaen | which you need to run to be able to run apt-get update |
| 13:54:48 | kaen | excellent. |
| 13:55:01 | kaen | can you try |
| 13:55:04 | kaen | sudo rpi update |
| 13:55:08 | fordcars_pi | rpi-update |
| 13:55:12 | kaen | yeah |
| 13:55:14 | fordcars_pi | yeah I just saw that |
| 13:55:21 | fordcars_pi | ok, |
| 13:55:39 | fordcars_pi | woa |
| 13:55:58 | fordcars_pi | command not found |
| 13:58:16 | raptor | https://github.com/Hexxeh/rpi-update/ |
| 13:59:21 | raptor | ah ha!: http://www.raspbian.org/RaspbianQuake3 |
| 13:59:24 | fordcars_pi | Oh it doesn't come with the os |
| 13:59:26 | raptor | oops |
| 13:59:30 | raptor | http://www.raspberrypi.org/phpBB3/viewtopic.php?f=33&t=13789 |
| 13:59:53 | fordcars_pi | Thanks |
| 14:00:07 | fordcars_pi | I totally agree |
| 14:00:29 | fordcars_pi | :P |
| 14:00:56 | raptor | disclaimer |
| 14:01:14 | raptor | there's always a risk to break the system badly with updates like this... |
| 14:01:30 | raptor | so uh... you're life is in your own hands! |
| 14:03:38 | fordcars_pi | Heh |
| 14:03:59 | fordcars_pi | It says that rpi-update is included in Raspbien, I don't have it :( |
| 14:04:02 | raptor | *your |
| 14:04:17 | raptor | that's twice i've committed apostraphe abuse! |
| 14:05:06 | fordcars_pi | :o |
| 14:05:17 | kaen | fordcars_pi, and rpi update doesn't work? |
| 14:05:20 | kaen | (no dash) |
| 14:05:42 | fordcars_pi | no |
| 14:06:08 | kaen | ok |
| 14:07:08 | fordcars_pi | should I apt-get upgrade? |
| 14:07:18 | raptor | uhhh |
| 14:12:55 | | Nothing_Much Quit (Ping timeout: 264 seconds) |
| 14:13:13 | fordcars_pi | ph, I think my Raspbian is to old to have rpi-update pre-installed |
| 14:13:44 | fordcars_pi | How do you check the version of the os? |
| 14:13:57 | | Nothing_Much has joined |
| 14:13:57 | | Nothing_Much Quit (Changing host) |
| 14:13:57 | | Nothing_Much has joined |
| 14:14:01 | raptor | the first step of that 'idiot's guide...' tells you how to get it |
| 14:14:17 | fordcars_pi | Reall? |
| 14:14:23 | raptor | here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=33&t=13789 |
| 14:14:33 | raptor | it says 'Get rip-update' and gives you the exact command |
| 14:14:35 | fordcars_pi | Sorry, my web browser doesn't completely fit in my old crt TV |
| 14:14:58 | fordcars_pi | Can't have irc and another page at the same time |
| 14:15:13 | raptor | no tabs? |
| 14:16:03 | fordcars_pi | Yes, but they push the bottom of the page downwards |
| 14:16:19 | fordcars_pi | Off the screen, with the text field for qwebirc |
| 14:16:41 | fordcars_pi | I need to get an HDMI screen one day |
| 14:19:06 | fordcars_pi | chmod: changing permissions of `/usr/bin/rpi-update': Operation not permitted |
| 14:19:10 | kaen | sudo |
| 14:19:12 | fordcars_pi | Do I have to do this? |
| 14:19:19 | fordcars_pi | I did |
| 14:19:29 | kaen | now that's nuts |
| 14:19:34 | fordcars_pi | wait |
| 14:19:42 | kaen | type /usr/bin/rpi-update and tell me what happens |
| 14:20:30 | fordcars_pi | sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && chmod +x /usr/bin/rpi-update |
| 14:20:33 | fordcars_pi | I did that |
| 14:20:39 | fordcars_pi | oh |
| 14:21:01 | fordcars_pi | I guess it should of been sudo chmod |
| 14:21:05 | kaen | yeah |
| 14:21:08 | fordcars_pi | ok |
| 14:22:04 | fordcars_pi | It didn't give me an error |
| 14:22:42 | fordcars_pi | Yay I guess it worked |
| 14:24:18 | fordcars_pi | But should I run apt-get upgrade? |
| 14:27:53 | bobdaduck | um |
| 14:27:58 | fordcars_pi | hii |
| 14:28:09 | bobdaduck | is there some kind of bug on detecting if velocities are 0 or not? |
| 14:28:36 | fordcars_pi | What's the error? |
| 14:28:38 | bobdaduck | this is the second time I've encountered it |
| 14:28:52 | bobdaduck | if(item:getVel() ~= point.zero) then |
| 14:28:59 | bobdaduck | is not triggering if the item is moving straight up |
| 14:29:02 | kaen | fordcars_pi, run apt-get update first |
| 14:29:10 | fordcars_pi | It won't |
| 14:29:12 | kaen | bobdaduck |
| 14:29:15 | kaen | if it is moving |
| 14:29:23 | kaen | oh wait |
| 14:29:32 | kaen | "not triggering" confused me |
| 14:29:38 | bobdaduck | oh sorry |
| 14:29:41 | bobdaduck | I just made the tron map |
| 14:29:53 | bobdaduck | so that if the asteroids are moving (have any vel at all) the get removed |
| 14:30:04 | kaen | Are you sure it's point.zero ? |
| 14:30:06 | bobdaduck | but like, they don't get removed if they're moving straight up |
| 14:30:09 | kaen | not point.origin |
| 14:30:10 | kaen | ? |
| 14:30:22 | kaen | point.new() works for sure |
| 14:30:50 | bobdaduck | yeah they're all the same |
| 14:31:05 | bobdaduck | actually I dunno point.origin but we can assume. |
| 14:31:40 | kaen | ok, need to see it in context |
| 14:32:36 | fordcars_pi | http://pastie.org/8275106 |
| 14:32:45 | fordcars_pi | When I try to get git-core |
| 14:33:06 | bobdaduck | I dunno |
| 14:33:09 | bobdaduck | can you join? |
| 14:33:31 | fordcars_pi | This is nuts |
| 14:33:38 | | thread_ has joined |
| 14:34:01 | | Nothing_Much Quit (Read error: Connection reset by peer) |
| 14:34:02 | fordcars_pi | Th 'Pi for idiots' article asks me to apt-get update raptor |
| 14:34:11 | kaen | fordcars_pi, did you do apt-get update? |
| 14:34:19 | kaen | that should fix the exact error you posted. |
| 14:34:24 | kaen | bobdaduck, I can |
| 14:34:42 | bobdaduck | that wasn't an "are you available" it was an "will my work firewall let you through" |
| 14:34:53 | kaen | then no |
| 14:34:59 | fordcars_pi | kaen, I can't get apt-get update to work, because it's missing the method driver |
| 14:35:07 | kaen | still? |
| 14:35:10 | kaen | gah |
| 14:35:16 | fordcars_pi | I didn't get the transport |
| 14:35:23 | kaen | @_@ |
| 14:35:32 | kaen | so, rpi update worked fine |
| 14:35:33 | fordcars_pi | is there another way than apt-get install to get the transport |
| 14:35:39 | kaen | ? |
| 14:35:48 | fordcars_pi | I didn';t do rpi-update yet |
| 14:35:51 | kaen | heh |
| 14:35:54 | kaen | do rpi-update |
| 14:35:55 | fordcars_pi | should I |
| 14:36:01 | kaen | then apt-get update |
| 14:36:02 | bobdaduck | okay, here's the levelgen. Just make a level with a zone ID'd 8 and run over it to make the asteroid. Bumping the asteroid will make it disappear, unless you bump it straight vertically: http://pastie.org/8275115 |
| 14:36:04 | kaen | the apt-get upgrade |
| 14:36:05 | fordcars_pi | okokok It should be installed |
| 14:37:19 | fordcars_pi | NOOOOOOOOOO |
| 14:37:24 | fordcars_pi | IT NEEDS GIT CORE |
| 14:37:30 | kaen | :| |
| 14:37:37 | kaen | wtf is up with these packages |
| 14:38:07 | fordcars_pi | How do I get git-core WITHOUT apt-get?? |
| 14:38:27 | kaen | really not sure... |
| 14:38:55 | fordcars_pi | can I apt-get with another mirror? |
| 14:39:24 | kaen | the problem is actually the package versions |
| 14:39:34 | kaen | you're asking for old versions which have been wiped off the mirrors |
| 14:39:40 | fordcars_pi | yeah |
| 14:39:45 | kaen | you need to apt-get update to get the right versions to ask for :/ |
| 14:39:57 | | koda has joined |
| 14:40:00 | fordcars_pi | stupid method driver |
| 14:40:09 | kaen | yeah, this is a really stupid bug to ship with |
| 14:40:41 | fordcars_pi | so can I get apt-get method driver without apt-get |
| 14:40:54 | kaen | I don't think so... |
| 14:41:05 | kaen | unless you got like a .deb for it |
| 14:41:07 | kaen | hmm... |
| 14:41:51 | raptor | The Great Google says that the method driver issue is because of a typo in your apt-get sources |
| 14:42:06 | raptor | like http// or hhtp:// instead of http:// |
| 14:42:22 | fordcars_pi | I have http// |
| 14:42:28 | fordcars_pi | oh crap |
| 14:42:35 | raptor | wait for it... |
| 14:42:44 | kaen | wait wait wait |
| 14:42:50 | raptor | typo, yes? :) |
| 14:42:51 | fordcars_pi | E: The method driver /usr/lib/apt/methods/http// could not be found. |
| 14:42:52 | kaen | it makes you type in your own sources ?!? |
| 14:43:01 | kaen | change |
| 14:43:03 | kaen | http// |
| 14:43:04 | kaen | to |
| 14:43:05 | fordcars_pi | I never typed there? |
| 14:43:06 | kaen | http:// |
| 14:43:16 | raptor | is that in the sources.list? |
| 14:43:26 | fordcars_pi | How do I change that? |
| 14:43:41 | fordcars_pi | sources.list? |
| 14:43:56 | kaen | sudo $EDITOR /etc/apt/sources.list |
| 14:44:30 | kaen | should bring up a rudimentary editor |
| 14:44:45 | kaen | nano, most likely |
| 14:44:45 | fordcars_pi | I have a desktop by the way |
| 14:45:02 | kaen | yeah, but you shouldn't launch GUI stuff with sudo |
| 14:45:16 | fordcars_pi | oh ok |
| 14:45:57 | kaen | silly question, fordcars_pi |
| 14:46:00 | kaen | have you tried rebooting? |
| 14:46:06 | fordcars_pi | ? |
| 14:46:16 | kaen | after rpi-update |
| 14:46:24 | fordcars_pi | Why, it needs git |
| 14:46:28 | kaen | oh that's right |
| 14:46:31 | kaen | I forgot that it failed |
| 14:46:35 | fordcars_pi | :P |
| 14:46:48 | kaen | did you get sources.list up? |
| 14:47:33 | fordcars_pi | nope |
| 14:47:52 | fordcars_pi | it says that the path is not a command |
| 14:47:59 | fordcars_pi | oh |
| 14:49:04 | fordcars_pi | sudo: /etc/apt/sources.list: command not found |
| 14:49:15 | kaen | sudo nano /etc/apt/source.list |
| 14:49:28 | kaen | sources.list |
| 14:49:48 | fordcars_pi | ahh |
| 14:49:50 | fordcars_pi | sorry |
| 14:49:58 | fordcars_pi | Ohhh pretty |
| 14:50:00 | kaen | that's ok |
| 14:50:11 | fordcars_pi | Ok, so |
| 14:50:35 | kaen | can you copy/paste the contents of that file? |
| 14:50:37 | kaen | (to pastie) |
| 14:50:50 | fordcars_pi | deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free $ |
| 14:50:57 | fordcars_pi | ha wait |
| 14:51:24 | fordcars_pi | (how do you read the file) |
| 14:52:12 | fordcars_pi | It looks empty |
| 14:52:15 | fordcars_pi | wait |
| 14:53:01 | fordcars_pi | deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free $ |
| 14:53:04 | fordcars_pi | that's it |
| 14:53:58 | | Nothing_Much has joined |
| 14:53:58 | | Nothing_Much Quit (Changing host) |
| 14:53:58 | | Nothing_Much has joined |
| 14:54:47 | kaen | yep |
| 14:54:50 | kaen | that looks right |
| 14:55:43 | kaen | fordcars_pi, my friend, I think you need to seek help from an expert |
| 14:56:09 | fordcars_pi | aww |
| 14:56:15 | fordcars_pi | #linux |
| 14:56:18 | fordcars_pi | #debian |
| 14:56:26 | fordcars_pi | or something |
| 14:56:39 | kaen | nah |
| 14:56:49 | kaen | #raspberrypi |
| 14:56:55 | fordcars_pi | heh ok |
| 14:56:58 | kaen | 450 idlers right now... |
| 14:57:30 | kaen | once you get to the point that apt-get install works, I can help you from there |
| 14:57:59 | fordcars_pi | it won't let me connect |
| 14:58:05 | kaen | ahh |
| 14:58:06 | fordcars_pi | I need to be registered? |
| 14:58:09 | kaen | you need to register... |
| 14:58:10 | kaen | man |
| 14:58:13 | kaen | that's a pain |
| 14:58:18 | fordcars_pi | OK, I'll use my registered account |
| 14:58:21 | kaen | but it will be worth it for you |
| 14:58:24 | kaen | oh |
| 14:58:25 | kaen | ok :) |
| 14:58:30 | fordcars_pi | :P |
| 14:58:43 | | fordcars_pi Quit (Quit: Page closed) |
| 14:59:14 | | fordcars has joined |
| 15:08:06 | | little_Apple has joined |
| 15:09:08 | bobdaduck | I think DnD.levelgen is probably my best documented code... |
| 15:09:57 | bobdaduck | And I still have no idea what I was thinking for half of it |
| 15:10:16 | | thread_ Quit (Ping timeout: 250 seconds) |
| 15:12:25 | little_Apple | you should add a super nuke weapon. |
| 15:12:35 | little_Apple | it breaks the entire bitfighter master server. |
| 15:12:38 | little_Apple | beyond repair. |
| 15:13:01 | kaen | bobdaduck, reminds of this beaut I wrote: https://github.com/kaen/wasabi/blob/master/src/bitstream.js#L67 |
| 15:13:12 | kaen | comments every other line |
| 15:13:16 | bobdaduck | Done that LA |
| 15:13:18 | kaen | have absolutely no idea how it works |
| 15:13:34 | bobdaduck | xD |
| 15:14:27 | kaen | but apparently it is far and away the most performant bit packer written in js |
| 15:14:46 | kaen | beats the most popular lib by an order of magnitude |
| 15:15:13 | bobdaduck | I dunno I sometimes run out of ideas and then I just go through my code adding ADD comments in random places |
| 15:16:08 | fordcars | Really kaen? Nice job! |
| 15:16:25 | kaen | heh thanks ^^; |
| 15:22:09 | bobdaduck | rofl |
| 15:22:14 | bobdaduck | elseif("WhipperSnapper" == className) then --Give kaen a big hand for making this work! |
| 15:22:22 | fordcars | http://pastie.org/8275248 |
| 15:22:43 | fordcars | This is supposably what the sources.list is supposed to be |
| 15:23:25 | kaen | rofl |
| 15:23:27 | kaen | big hand |
| 15:23:54 | kaen | does it work, fordcars ? |
| 15:24:33 | fordcars | Didn't try it yet |
| 15:24:44 | bobdaduck | heading home yall |
| 15:24:47 | | bobdaduck Quit (Remote host closed the connection) |
| 15:27:44 | fordcars | Hey kaen, stupid question, in nano, how do I save |
| 15:27:53 | kaen | ctrl + o |
| 15:27:56 | kaen | no |
| 15:27:58 | kaen | wait |
| 15:28:01 | kaen | ctrl + w |
| 15:28:14 | kaen | hit escape to exit the ctrl + o dialog if you hit it :P |
| 15:28:28 | fordcars | cntrl-w is where is? |
| 15:29:05 | fordcars | It says ctrl + w Where is at the bottom |
| 15:29:54 | fordcars | ctrl+w is to search the text |
| 15:31:03 | | Nothing_Much Quit (Ping timeout: 256 seconds) |
| 15:32:17 | fordcars | oh sorry kaen |
| 15:32:35 | kaen | weird |
| 15:32:51 | fordcars | dos, mac or append |
| 15:33:02 | kaen | uhhhhh |
| 15:33:07 | kaen | mac |
| 15:33:15 | kaen | wait |
| 15:33:21 | kaen | there's no unix option? |
| 15:33:34 | fordcars | no |
| 15:33:47 | fordcars | mac, dos, prepend, apend |
| 15:35:51 | kaen | append is a good guess |
| 15:35:52 | fordcars | so I guess I use mac |
| 15:35:55 | kaen | oh |
| 15:35:56 | kaen | ok |
| 15:36:02 | fordcars | append? |
| 15:36:06 | kaen | i have no clue :P |
| 15:36:13 | fordcars | haha |
| 15:50:31 | | Nothing_Much has joined |
| 15:56:53 | raptor | nano... append means save file as is with changes |
| 15:57:01 | raptor | i was a heavy nano user |
| 15:57:08 | raptor | before I humbled myself to vi |
| 16:01:35 | fordcars | raptor, at that page, I just hit enter and it saved |
| 16:02:25 | raptor | good |
| 16:05:36 | fordcars | when I go to /usr/lib/apt/methods |
| 16:05:40 | fordcars | there is not http |
| 16:06:45 | fordcars | oh yes there is |
| 16:06:46 | fordcars | nm |
| 16:07:45 | fordcars | so yes, the only problem is that http has 2 // |
| 16:07:50 | fordcars | it is a typo |
| 16:16:57 | fordcars | Man I am stuck |
| 16:17:55 | fordcars | usr/lib/apt/methods/http exists |
| 16:18:05 | fordcars | usr/lib/apt/methods/http// |
| 16:18:07 | fordcars | not that |
| 16:19:31 | fordcars | hey can I be evil and rename http to http// |
| 16:19:39 | fordcars | in methods? |
| 16:54:30 | | little_Apple Quit (Quit: Page closed) |
| 17:02:04 | | fordcars Quit (Ping timeout: 250 seconds) |
| 17:20:23 | | fordcars has joined |
| 17:23:23 | fordcars | heh |
| 17:32:01 | fordcars | ITWORKEDITWORKEDITWORKEDITWORKED |
| 17:32:07 | fordcars | AMAZING |
| 17:32:10 | raptor | hi |
| 17:32:14 | fordcars | hi |
| 17:32:17 | raptor | what worked? (and how?) |
| 17:32:21 | fordcars | IT wAS BITFIGHTER's fault |
| 17:32:26 | fordcars | hahahahahah |
| 17:32:37 | fordcars | In etc/apt/sources.list.d |
| 17:32:59 | fordcars | I had tried installing bitfighter once, and I had written somke crap with http//: |
| 17:33:23 | raptor | oh so you removed those repos? |
| 17:33:46 | fordcars | I am going to |
| 17:35:34 | | YoshiSmb has joined |
| 17:48:25 | fordcars | raptor, kaen |
| 17:48:31 | fordcars | I did apt-get update |
| 17:48:36 | fordcars | successful |
| 17:49:11 | raptor | hooray! |
| 17:50:27 | YoshiSmb | yay! |
| 17:57:20 | raptor | back alter |
| 17:57:22 | | raptor Quit () |
| 18:24:17 | | Nothing_Much Quit (Ping timeout: 240 seconds) |
| 18:28:13 | | koda Quit (Quit: koda) |
| 18:33:56 | | YoshiSmb Quit (Ping timeout: 250 seconds) |
| 18:52:58 | kaen | im here fordcars |
| 18:53:07 | kaen | you around? |
| 19:02:01 | | koda has joined |
| 19:45:52 | fordcars | yup |
| 19:47:37 | fordcars | apt-get update is looong |
| 19:48:55 | fordcars | *upgrade |
| 20:04:31 | kaen | yep |
| 20:04:51 | kaen | generally speaking though, it's great |
| 20:10:40 | | bobdaduck has joined |
| 20:18:18 | bobdaduck | GATHER THE TROOPS |
| 20:23:11 | bobdaduck | kaen fordcars around? |
| 20:26:49 | kaen | -ish |
| 20:30:11 | bobdaduck | game? |
| 20:34:28 | | koda Quit (Quit: koda) |
| 21:30:31 | | bobdaduck Quit (Remote host closed the connection) |
| 23:21:33 | | fordcars Quit (Quit: Page closed) |