Timestamps are in GMT/BST.
| 00:14:40 | | BFLogBot Commit: b0580957e167 | Author: sam8641 | Message: Fixed more to suspendGame, Added delayed suspend to ServerGame (was on Game but client don't know if game is about to suspend) |
| 00:30:52 | raptor | why does bread always land with the buttered side on the floor (or pants) |
| 00:34:12 | | phillreeder has joined |
| 00:35:16 | kaen | extra weight from the butter, right? |
| 00:35:42 | kaen | like flipping a loaded coin |
| 00:35:49 | raptor | maybe there's a 5th fundamental force (or are we down to 3 yet?) |
| 00:37:27 | | BFLogBot Commit: 47d2642ec435 | Author: sam8641 | Message: Fixed unsuspendIfActivePlayers, renderGrid now more accurate with (F32) |
| 00:39:28 | | Platskies has joined |
| 00:40:04 | | phillreeder Quit () |
| 00:45:20 | kaen | there has to be some utility that will scan a source tree and determine which #includes are necessary for each file |
| 00:45:47 | kaen | but I can't find one :/ |
| 00:58:22 | raptor | there's that one gcc flag that spits out the header tree for each compilation unit... |
| 00:59:14 | sam686 | windows visual C++ have something called "Show Includes" in the project properties, C++, Advanced, it prints the path and filename of every includes like most of .h |
| 00:59:23 | raptor | kaen: this: http://stackoverflow.com/a/6685693 |
| 01:08:33 | raptor | sam686: were those suspend fixes due to your new ability, or due to previous bugs? |
| 01:08:59 | sam686 | it mostly came from my original mew changes to my new suspend coding |
| 01:09:23 | sam686 | it came from my todays bugs |
| 01:31:04 | | Flynnn has joined |
| 01:53:20 | | Nothing_Much Quit (Read error: Operation timed out) |
| 01:53:36 | | Nothing_Much has joined |
| 02:01:58 | kaen | no no, I mean parse a group of files, figure out which symbols a file needs and where to get them from, and generate a minimal list of includes for each file |
| 02:07:34 | kaen | http://www.youtube.com/watch?v=QMYfkOtYYlg |
| 02:10:49 | raptor | that's... amazing |
| 02:13:19 | raptor | ok, i'm going to remove the asteroid/turret penalty in non-team rabbit and call it good for 019.. sound OK? |
| 02:13:29 | kaen | sounds good to me |
| 02:16:16 | | BFLogBot Commit: e177c213c82a | Author: buckyballreaction | Message: Remove killed-by-turret/asteroid penalty in non-team Rabbit. Suicide penalty still stands |
| 02:20:30 | raptor | kaen: I'm thinknig about tinkering with the sandbox stuff again - have you made any adjustments/improvements on that patch I gave you? |
| 02:22:41 | kaen | yes, but my system is not quite working |
| 02:22:51 | kaen | but here's my general strategy: |
| 02:23:21 | kaen | in configureNew I'm load *and* executing the helper scripts in the global space |
| 02:23:36 | kaen | that way they all store local references to blacklisted functions before the blacklisting occurs |
| 02:23:40 | kaen | then I sandbox _G |
| 02:24:12 | kaen | then in prepareEnvironment I'm doing a deep soft copy of _G |
| 02:24:49 | kaen | the point of running the helpers instead of just loading them is to fix the issue of blacklisted functions not being available after sandboxing _G |
| 02:26:49 | kaen | not sure how privy you are on the nuances of variables, values, and references, but doing "local smt = setmetatable; smt()" will keep working after sandboxing _G, but "setmetatable()" will not |
| 02:27:26 | raptor | heh |
| 02:27:28 | kaen | and local smt is not accessible unless debug.getlocal is exposed (which it really, really should not be) |
| 02:27:30 | raptor | missed that |
| 02:28:47 | raptor | so did you see the original problem with kiading helper scripts *every* time? |
| 02:29:25 | kaen | yes |
| 02:29:40 | kaen | there are many, but table.copy breaks after nil'ing setmetatable |
| 02:29:50 | raptor | i wonder if we need to rethink the flow |
| 02:30:29 | kaen | I've done a little shuffling, so I think what I've got working is pretty sane and of minimal complexity |
| 02:30:39 | kaen | 1. start with normal environment |
| 02:30:53 | kaen | 2. load bf-specific things, and run helpers in global environment |
| 02:31:05 | kaen | 3. sandbox _G |
| 02:31:22 | kaen | 4. when creating a new LSR instance, create its environment by copying _G |
| 02:31:41 | kaen | 5. perform type-specific things for plugins/levelgens/bots etc |
| 02:32:33 | raptor | ahhhh, so the major difference is doing the sandboxxing globally, first |
| 02:32:36 | kaen | yes |
| 02:32:45 | kaen | then just using it as a template for making our new environments |
| 02:33:27 | kaen | the only catch is that /scripts need to keep local refs of things we'll blacklist |
| 02:33:28 | | Nothing_Much_ has joined |
| 02:33:45 | | Nothing_Much_ Quit (Remote host closed the connection) |
| 02:33:53 | | Nothing_Much Quit (Ping timeout: 245 seconds) |
| 02:34:04 | kaen | oh, and that also makes scripts require()'d after sandboxing completely safe, too |
| 02:34:06 | | Nothing_Much has joined |
| 02:34:21 | | joeyw has joined |
| 02:34:30 | kaen | and because I reimplemented the copy as a deep soft copy, scripts can't mess with each other's environments |
| 02:34:41 | raptor | hmmm, i thought i treid that once but ran into problems - like there were unsafe calls at various places in th c++ code after sandboxxing |
| 02:35:17 | kaen | if that's the case, then I simply need to convert lua_Ldostring's into API calls |
| 02:35:33 | kaen | which is what I did for table.copy |
| 02:35:46 | raptor | ha |
| 02:36:28 | raptor | that nver even ocurred to me, but it makes so much sense |
| 02:36:42 | kaen | I love this type of stuff so much :) |
| 02:37:10 | kaen | mostly because I get to actually apply my esoteric knowledge of interpreted functional languages |
| 02:37:22 | raptor | hahaha |
| 02:38:30 | kaen | I'm adding a healthy test battery, too |
| 02:40:18 | raptor | gtest? |
| 02:40:28 | kaen | yep |
| 02:40:34 | kaen | right in your LuaEnvironment tests |
| 02:40:50 | kaen | just simple things like preventing exploits that shouldn't work |
| 02:40:52 | raptor | yay |
| 02:41:06 | kaen | stuff like pumping setmetatable from the locals of stacktracer |
| 02:41:26 | raptor | oh wow |
| 02:41:29 | raptor | cool |
| 02:49:43 | | Platskies Quit (Quit: Platskies) |
| 02:54:42 | | Platskies has joined |
| 03:05:51 | raptor | what do you think about sky_lark's suggestion to reduce kill points of carrot-holder to 3? |
| 03:10:10 | | Bob1_ has joined |
| 03:11:46 | kaen | no, it's already arguable that you actually want to carry the carrot |
| 03:12:32 | kaen | you are the sole target for a group of bloodthirsty players whose sole objective is literally to zap you. |
| 03:13:09 | kaen | whereas if you just hang back and follow the flag, you can usually zap the new rabbit within a fraction of a second of them getting the flag |
| 03:13:35 | kaen | because they are usually damaged in their attempt to obtain the flag |
| 03:14:13 | kaen | if anything rabbit kills should get a bump |
| 03:14:54 | Bob1_ | i don't know... if a good player grabs the flag early on they tend to win |
| 03:15:13 | kaen | it also depends on just how many other players there are |
| 03:15:17 | Bob1_ | i find it much easier to win by holding the flag (easier for me to aim going backwards) |
| 03:15:39 | Bob1_ | maybe it would just be better if maps had a higher win score |
| 03:16:00 | kaen | that's a good point. |
| 03:17:50 | raptor | does it make sense, then, to have a disparity between carrot-holder kill and rabbit-killer? |
| 03:18:16 | raptor | maybe carrot-holder gets 4, but rabbit killer gets 8? |
| 03:32:03 | | Platskies__ has joined |
| 03:33:28 | | Platskies Quit (Ping timeout: 264 seconds) |
| 03:37:53 | raptor | kaen: tell my about your autocompletion lua bug? |
| 03:38:01 | raptor | autocompletion in what, your IDE? |
| 03:38:26 | raptor | because my IDE autocompletes them... |
| 03:38:29 | raptor | CDT |
| 03:39:48 | kaen | oh, it works, but it just groups BF API and Lua API methods together |
| 03:39:53 | kaen | in a jumble |
| 03:40:14 | kaen | just removing the underscore will at least sort them into separate groups |
| 03:40:27 | raptor | ahhh |
| 03:40:33 | raptor | ok, yes, that's true |
| 03:40:53 | raptor | lua__ |
| 03:40:57 | raptor | bf_lua_ |
| 03:41:01 | raptor | bflua_ |
| 03:43:29 | kaen | I think the bf is excessive |
| 03:43:39 | kaen | I looked around at other projects, and they use luaFoo |
| 03:44:45 | raptor | ok, that's probably best |
| 04:09:51 | | Bob1_ Quit (Ping timeout: 250 seconds) |
| 04:44:25 | Nothing_Much | Hi everyone |
| 05:18:24 | raptor | hi |
| 05:25:33 | Nothing_Much | any news on the release? |
| 05:25:43 | raptor | our bug list is smaller! |
| 05:26:08 | raptor | kaen is working on one of the last 'difficult' bugs |
| 05:26:26 | raptor | which I so graciously dumped on him.. :) |
| 05:28:49 | Nothing_Much | haha, well good luck guys! |
| 05:41:39 | raptor | kaen: regarding the memory leak where to do a BfObject.new() in a lua script but no :addToGame() - do you think we could somehow intelligently scan for those and clean them up, on level end? |
| 06:02:49 | raptor | good night! |
| 06:02:51 | | raptor Quit () |
| 06:33:34 | | HylianSavior Quit (Quit: Leaving) |
| 06:44:45 | | joeyw Quit (Remote host closed the connection) |
| 07:47:20 | | HylianSavior has joined |
| 07:49:35 | | Watusimoto has joined |
| 07:57:12 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 07:57:39 | | Watusimoto Quit (Ping timeout: 272 seconds) |
| 07:59:58 | | Flynnn has joined |
| 08:26:02 | | koda has joined |
| 08:34:09 | | Platskies__ Quit (Read error: Connection reset by peer) |
| 08:36:31 | | Platskies has joined |
| 08:37:28 | | Kiryx has joined |
| 08:42:31 | | HylianSavior Quit (Quit: Leaving) |
| 08:46:17 | | BFLogBot Commit: ac5005486007 | Author: sam8641 | Message: This appears to solve laggy soccer ball. |
| 08:47:21 | | watusimoto has joined |
| 08:47:21 | | ChanServ sets mode +o |
| 08:53:19 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 09:16:22 | | Skybax has joined |
| 09:24:22 | | Flynnn has joined |
| 09:51:58 | | Invisible has joined |
| 10:02:06 | | Skybax Quit (Ping timeout: 246 seconds) |
| 10:08:15 | | Flynnn Quit (Quit: Leaving) |
| 10:40:08 | | Invisible Quit (Ping timeout: 245 seconds) |
| 10:51:52 | | Platskies Quit (Quit: Platskies) |
| 10:53:51 | | Platskies has joined |
| 11:29:04 | | Platskies Quit (Read error: Connection reset by peer) |
| 11:32:17 | | Platskies has joined |
| 11:55:57 | | Watusimoto_ has joined |
| 11:59:50 | | Invisible has joined |
| 12:12:54 | | watusimoto Quit (Ping timeout: 248 seconds) |
| 12:35:19 | | Platskies__ has joined |
| 12:35:49 | | Platskies Quit (Ping timeout: 248 seconds) |
| 12:50:31 | | Invisible Quit (Ping timeout: 272 seconds) |
| 12:51:49 | | Watusimoto_ Quit (Ping timeout: 248 seconds) |
| 12:54:21 | | Invisible has joined |
| 13:06:06 | | phil__ has joined |
| 13:06:41 | | Platskies__ Quit (Ping timeout: 241 seconds) |
| 13:06:43 | | Darrel has joined |
| 13:10:13 | | phil__ Quit (Read error: Connection reset by peer) |
| 13:12:22 | | Platskies has joined |
| 13:16:53 | | Platskies Quit (Ping timeout: 248 seconds) |
| 13:25:17 | | Platskies has joined |
| 13:25:29 | | Platskies Quit (Client Quit) |
| 13:38:16 | | Invisible Quit (Ping timeout: 246 seconds) |
| 14:28:14 | | alex_velea has joined |
| 15:03:31 | | YoshiSmb has joined |
| 15:07:29 | YoshiSmb | did i miss something? |
| 15:22:25 | | Canseco has joined |
| 15:22:33 | | GEOFBOT has joined |
| 15:22:39 | GEOFBOT | hi |
| 15:22:58 | GEOFBOT | is the scrollbar widget task relatively simple? |
| 15:23:06 | GEOFBOT | I don't know much of c++ or opengl but i can learn |
| 15:24:00 | | GEOFBOT has left #bitfighter |
| 15:24:03 | | GEOFBOT has joined |
| 15:25:50 | | GEOFBOT Quit (Remote host closed the connection) |
| 15:26:08 | | GEOFBOT has joined |
| 15:31:59 | GEOFBOT | I |
| 15:32:15 | GEOFBOT | I'm gonna try it and see what happens ;-) |
| 15:37:07 | | YoshiSmb Quit (Ping timeout: 250 seconds) |
| 15:40:22 | | HylianSavior has joined |
| 15:48:32 | | LordDVG has joined |
| 15:52:12 | | HylianSavior Quit (Quit: Leaving) |
| 15:52:44 | kaen | GEOFBOT, that one sounds pretty tricky to me, especially if you don't know much c++ |
| 15:52:54 | kaen | I'm happy to answer any questions you have, though |
| 15:55:29 | | Bob1 has joined |
| 15:57:11 | kaen | and good morning, all |
| 15:57:39 | Bob1 | good morning kaen! |
| 15:57:47 | kaen | or perhaps ${TIMEZONE_APPROPRIATE_GREETING} all |
| 15:58:05 | Bob1 | hehehe :D |
| 15:58:28 | kaen | how's it going, Bob1? |
| 15:58:54 | Bob1 | pretty good! Working on my coffee, trying to wakeup |
| 15:59:07 | kaen | same here :) |
| 15:59:08 | Bob1 | I've got the day off from work so things are extra good! |
| 15:59:12 | kaen | awesome! |
| 15:59:14 | kaen | me too |
| 15:59:17 | Bob1 | i can work on personal projects! |
| 15:59:57 | kaen | I'm working on making bitfighter safe to run on your computer \o/ |
| 16:00:09 | kaen | (fixing some ancient lua exploits) |
| 16:00:18 | Bob1 | oh good |
| 16:00:36 | Bob1 | I think i'm going to work on my garden datalogger |
| 16:00:49 | kaen | whoa that sounds awesome |
| 16:01:04 | Bob1 | I've finally gotten the microcontroller talking to the SD card |
| 16:01:12 | Bob1 | just need to clean things up a bit |
| 16:01:29 | kaen | man, I have a sleeve of three atmel uC's I haven't even opened |
| 16:01:44 | Bob1 | you should get on that! uC's are a blast |
| 16:01:52 | kaen | I ordered a USB programmer and they sent me a parallel port one xD |
| 16:02:03 | Bob1 | doh! |
| 16:02:28 | | watusimoto has joined |
| 16:02:28 | | ChanServ sets mode +o |
| 16:02:42 | Bob1 | I've been really enjoying the propeller |
| 16:02:43 | Bob1 | http://parallax.com/microcontrollers/propeller |
| 16:02:49 | kaen | I'm really excited, I've been wanting to merge my hardware and software tinkering for a long time |
| 16:03:32 | Bob1 | it's a blast |
| 16:03:41 | | watusimoto Quit (Client Quit) |
| 16:03:42 | Bob1 | what kind of ideas do you have for what you'd like to do? |
| 16:03:49 | kaen | wow that's an awesome chip |
| 16:04:39 | kaen | I don't really have anything particular in mind yet, but just getting an LED on my breadboard to illuminate programatically would be fun to me :) |
| 16:04:54 | Bob1 | oh totally! it's the hardware Hello World! |
| 16:06:00 | kaen | I like oscillators and synthesizers, I was thinking it'd be cool to have a uC hooked up to some analog synth circuits and make it procedurally generate music based on ambient conditions |
| 16:06:09 | kaen | lightness, temperature, etc. |
| 16:06:18 | Bob1 | oooh thats a fun idea |
| 16:07:01 | Bob1 | i once made a little circuit that controlled the frequency of a sine oscillator based on a photoresistor |
| 16:07:15 | kaen | cool! |
| 16:07:21 | Bob1 | it was like a little light sensitive thermin |
| 16:08:26 | Bob1 | but yeah you may want to check out the propeller for your experiments. |
| 16:09:03 | kaen | I can't find a price on that page, how much does it cost? |
| 16:09:06 | Bob1 | you can get in there and start coding rather than spending hours configuring the makfile and trying to get a atmel chip talking to the programmer |
| 16:09:16 | | HylianSavior has joined |
| 16:09:19 | Bob1 | the chips are ~$7 |
| 16:09:26 | Bob1 | a usb programmer is like 15-20 |
| 16:09:42 | kaen | oh wow, that's not much more than these atmels |
| 16:09:49 | Bob1 | there are great little proto and dev boards for any budget |
| 16:10:03 | Bob1 | it's created by a small company too |
| 16:10:04 | kaen | I'll definitely check it out |
| 16:10:32 | Bob1 | well I'm off for a while! have a nice morning! |
| 16:10:49 | kaen | ok, you too |
| 16:11:01 | | Bob1 Quit (Quit: Page closed) |
| 16:32:11 | | raptor has joined |
| 16:32:11 | | ChanServ sets mode +o |
| 16:32:51 | raptor | good morning! |
| 16:32:58 | GEOFBOT | hai |
| 16:34:18 | kaen | morning! |
| 16:34:22 | kaen | sandbox is working |
| 16:34:30 | raptor | !!! |
| 16:34:36 | raptor | really!?!?! |
| 16:34:51 | kaen | plugins, bots, console, and levelgen all work in game, but luaRobotNew is failing |
| 16:34:51 | raptor | that's great! |
| 16:35:02 | kaen | yep, feels pretty bullet proof, too |
| 16:35:34 | raptor | does that indicate a problem with the sandbox or the luaRobotNew? |
| 16:36:03 | raptor | also, i'm quite thankful you did my unpalatable work for me... :) |
| 16:36:08 | kaen | I think it might be the test's fault, not sure though |
| 16:36:23 | kaen | mLuaGridDatabase is NULL when it tries to findAllObjects() |
| 16:36:28 | | grypoB has joined |
| 16:36:39 | raptor | sounds like the tests fault... |
| 16:36:56 | raptor | because the griddb should be set up in any game |
| 16:37:42 | kaen | yes, and it all works in-game afaict |
| 16:39:27 | kaen | oh, and I had to nix the deep copy because there are circular references and some wonkiness with metatables |
| 16:39:51 | raptor | fun! |
| 16:40:13 | kaen | so we probably have to freeze all of our exposed tables to keep scripts from messing with each other |
| 16:40:15 | raptor | how does keeping it a soft copy affect us negatively/positively? |
| 16:40:42 | raptor | ah |
| 16:41:24 | kaen | freezing is easy enough |
| 16:41:25 | raptor | maybe use that 'protect_module' function, or something like it, in the original sandbox? |
| 16:41:31 | kaen | yes, exactly |
| 16:42:03 | kaen | but it probably needs to recursively freeze, right now it just freezes _G |
| 16:42:19 | kaen | I can memoize to make that safe against the cyclical refs in lua |
| 16:42:39 | kaen | it will add a fair chunk of time to the sandboxing though, I think |
| 16:43:42 | raptor | i founda nother sandbox that does it a bit differently - not sure if it'll help: https://www.videolan.org/developers/vlc/share/lua/modules/sandbox.lua |
| 16:49:11 | grypoB | Hi, i just posted the last version of my code to associate music to a level |
| 16:49:42 | kaen | I like how it has an override mechanism, but I think its approach is unnecessarily complex for our use case |
| 16:50:18 | kaen | the one you gave me in the patch is nice and simple -- nuke it from orbit |
| 16:50:52 | kaen | I'm just going to add the recursive memoizer logic at the end. |
| 16:51:08 | grypoB | But i think there will be conflict with the student working on the Editor side, as he's using a variable in GameType to store the music, which i already did. So if there are no conflict there is at least 1 useless variable |
| 16:51:40 | kaen | grypoB, there will be a conflict, but we will do the merging on our side |
| 16:51:57 | kaen | good eye, though |
| 16:52:02 | grypoB | ok thanks |
| 16:52:41 | kaen | raptor, is it safe to say that we want every table we expose in configureNewLuaInstance to be immutable? |
| 16:52:43 | grypoB | the variable i'm using to do so is mMusicNameLinked no you know what you're looking for |
| 16:52:58 | kaen | alright, thanks grypoB :) |
| 16:53:01 | grypoB | *so (not "no" |
| 16:53:40 | raptor | kaen: I think so, yes |
| 16:53:54 | | Invisible has joined |
| 16:54:24 | raptor | nuke it from orbit - that'w why i chose that one, too... |
| 16:58:21 | | Johnaudi has joined |
| 16:58:32 | Johnaudi | Hey guys bad news |
| 16:59:35 | kaen | what's up? |
| 16:59:49 | Johnaudi | I won't be having Internet for the next 3 days |
| 17:00:15 | Johnaudi | Is there some sort of "PAUSE" task or something like that? |
| 17:02:13 | | Invisible Quit (Ping timeout: 245 seconds) |
| 17:03:23 | kaen | sure thing Johnaudi, I'll extend it by 96 hours (four days) |
| 17:03:42 | kaen | get in touch when you have internet access again |
| 17:03:55 | kaen | and thanks for letting us know :) |
| 17:04:39 | | Johnaudi Quit (Ping timeout: 250 seconds) |
| 17:06:41 | | Johnaudi has joined |
| 17:07:14 | Johnaudi | Oops sorry dc'ed, did you guys receive my last Messge? |
| 17:08:02 | Johnaudi | Okay looks like it, sorry for asking for this but I can't help it :/ |
| 17:08:25 | Johnaudi | I'm on 3G right now |
| 17:10:51 | kaen | <kaen> sure thing Johnaudi, I'll extend it by 96 hours (four days) |
| 17:10:52 | kaen | <kaen> get in touch when you have internet access again |
| 17:10:52 | kaen | <kaen> and thanks for letting us know :) |
| 17:12:53 | | Johnaudi Quit (Ping timeout: 250 seconds) |
| 17:16:47 | | grypoB Quit (Ping timeout: 250 seconds) |
| 17:39:43 | | koda Quit (Ping timeout: 245 seconds) |
| 17:46:24 | | Watusimoto has joined |
| 17:58:13 | GEOFBOT | I am determined to learn more c++ and opengl! |
| 17:58:18 | GEOFBOT | how should i start with this task |
| 17:58:28 | GEOFBOT | http://www.google-melange.com/gci/task/view/google/gci2013/5580044596412416 |
| 18:00:57 | | fordcars has joined |
| 18:01:25 | sam686 | theres UIQueryServers.cpp, ::Render is always run on every frame (about 100 times a second) |
| 18:01:28 | raptor | When beetles battle beetles in a puddle paddle baddle and the beetle battle puddle is a puddle in a bottle... they call this a tweetle beetle bottle puddle paddle battle muddle |
| 18:01:44 | sam686 | theres ::onKeyDown that always run whenever you press a button |
| 18:02:00 | fordcars | Haha |
| 18:05:41 | GEOFBOT | ok |
| 18:07:51 | sam686 | QueryServersUserInterface::onActivate() there is some dummy data that is #if 0 to ignore by compiler, you may change to #if 1 to enable that piece of code for testing |
| 18:08:11 | sam686 | as in dummy server list to test scrolling |
| 18:15:42 | fordcars | Later guys :P |
| 18:15:44 | | fordcars Quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
| 18:32:03 | | Bob1 has joined |
| 18:42:18 | | Skybax has joined |
| 18:42:31 | Skybax | Goodmorning |
| 18:43:01 | raptor | hi |
| 18:43:07 | raptor | where's your evil twin? |
| 18:43:36 | | kaen is now known as Skybax_ |
| 18:43:43 | Skybax_ | }:) |
| 18:43:50 | Skybax | Hahaha |
| 18:43:59 | | Skybax_ is now known as kaen |
| 18:44:05 | raptor | hahaha |
| 18:44:12 | Skybax | My computer has this weird habit of logging me on twice |
| 18:44:42 | sam686 | maybe its not the computer, its your IRC client (I use KVirc) |
| 18:45:37 | Skybax | Maybe |
| 18:45:50 | kaen | I don't think so, quassel is pretty good |
| 18:47:10 | sam686 | If the program connects immediately when starting the program, you could have double clicked twice (2 copies of same program) and it connects twice |
| 18:48:30 | Skybax | But I never close it lol it's just always open and it reconnects when I turn my computer on |
| 18:49:36 | sam686 | sometimes disconnect/reconnect causes you to see your clone.. for 2 minutes until your old disconnect finally ping times out |
| 18:49:49 | Skybax | Yeah |
| 18:50:24 | Bob1 | hi skybax! i just sent you my house for bittown |
| 18:50:45 | Skybax | Yay! |
| 18:52:00 | Bob1 | i'm looking forward to seeing how well it can withstand an invasion |
| 18:52:22 | Skybax | Bob1: Next time you send level code, put it in the [code=levelcode][/code] tags x) |
| 18:52:27 | Skybax | It makes it much easier to copy |
| 18:52:30 | Bob1 | oh for sure sorry |
| 18:52:42 | Skybax | No worries, just a heads up for future messages lol |
| 18:52:48 | Bob1 | word |
| 18:52:55 | raptor | Skybax: you may have to start merging teams - like bobdaquartz |
| 18:53:03 | raptor | and ford_lark |
| 18:53:09 | Skybax | Haha |
| 18:53:16 | Skybax | Why, not enough room? |
| 18:53:20 | Bob1 | bobdabob |
| 18:53:23 | raptor | actually, I like skycars better |
| 18:53:40 | raptor | FoOtbax |
| 18:53:49 | Skybax | You guys are silly |
| 18:54:40 | sam686 | and me? I have done nothing on bit town |
| 18:57:26 | | Darrel Quit (Read error: Connection reset by peer) |
| 18:57:44 | Skybax | Nobody has joined any teams yet... maybe I should make a roster so people understand it better |
| 19:01:13 | | LordDVG Quit (Remote host closed the connection) |
| 19:05:13 | | Canseco Quit (Remote host closed the connection) |
| 19:08:27 | | Skybax Quit (Ping timeout: 246 seconds) |
| 19:08:48 | | Skybax has joined |
| 19:12:31 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 19:19:03 | | alex_velea_ has joined |
| 19:19:25 | | Bob1 Quit (Ping timeout: 250 seconds) |
| 19:20:40 | kaen | YES! |
| 19:20:43 | | alex_velea Quit (Ping timeout: 250 seconds) |
| 19:20:58 | kaen | sandbox works and passes |
| 19:21:10 | raptor | horray!! |
| 19:21:14 | raptor | hurrah! |
| 19:21:14 | kaen | it was the most incredibly subtle ridiculous bug I think I've ever encountered |
| 19:21:16 | raptor | hooray! |
| 19:21:55 | kaen | my tableCopy implementation used lua_pop(-2) instead of lua_remove(-2), leaving the *original* global on the top of the stack and using that as the environment for all the scripts |
| 19:22:16 | kaen | then setSelf("bf", this) was clobbering itself every time it was run |
| 19:22:33 | kaen | so for a single levelgen, bot, or plugin running at once, everything worked fine |
| 19:22:46 | alex_velea_ | Hi there :) |
| 19:22:52 | alex_velea_ | Can someone help me? |
| 19:22:54 | kaen | hello :) |
| 19:22:57 | kaen | absolutely |
| 19:23:07 | raptor | heh |
| 19:23:09 | raptor | hi |
| 19:23:10 | alex_velea_ | I'm using OSX .. can i make the zap file? |
| 19:23:20 | alex_velea_ | I mean .. i know that you have only a xcode 3 project |
| 19:23:28 | alex_velea_ | But i could make the tnl folder. |
| 19:23:43 | raptor | alex_velea_: you can attempt to do the bitfighter executable: make bitfighter |
| 19:23:45 | raptor | but |
| 19:24:07 | raptor | it probably won't work because it'll be looking for dependencies in the wrong places |
| 19:24:20 | alex_velea_ | I need to do that in the clone project? |
| 19:24:31 | raptor | OSX is not a good platform to develop on |
| 19:24:43 | alex_velea_ | :9 |
| 19:24:44 | alex_velea_ | :( |
| 19:24:56 | alex_velea_ | I kinda like the vim and the stability |
| 19:25:06 | raptor | yeah - we even have an upcoming GCI task to make an Xcode 5 project... |
| 19:25:06 | alex_velea_ | i will install windows now .. if it's ok |
| 19:25:33 | kaen | alex_velea_, you used the cmake build system right? can you rm CMakeCache.txt, rerun cmake, and paste the output? |
| 19:25:59 | kaen | I would be interested in knowing just how and where it failed to find deps. |
| 19:26:41 | alex_velea_ | http://pastebin.com/Njf42aLF |
| 19:26:43 | kaen | remember, raptor, that I got it to build mac binaries via cmake (granted I was cross compiling) |
| 19:27:24 | kaen | oh, alex_velea_ |
| 19:27:31 | kaen | to make the project, do this: |
| 19:27:34 | kaen | cd bitfighter/build |
| 19:27:36 | kaen | cmake .. |
| 19:27:39 | kaen | make |
| 19:27:44 | alex_velea_ | Same |
| 19:27:45 | alex_velea_ | I think |
| 19:27:47 | alex_velea_ | I will try it |
| 19:28:00 | kaen | should at least give a different error :) |
| 19:29:39 | raptor | huh, ok, it still builds |
| 19:29:50 | raptor | but can't find @executable_path for the libs |
| 19:31:05 | GEOFBOT | The OS dilemma |
| 19:31:15 | GEOFBOT | Windows is so commonplace and easy to use and everything supports it |
| 19:31:36 | GEOFBOT | but Linux is so epic and I know I should use it more |
| 19:31:46 | GEOFBOT | but Windows is so much easier |
| 19:32:02 | alex_velea_ | That's why i bouht a mac :) |
| 19:32:22 | sam686 | none of our main active developers use max OSX as a primary OS that I know of.. |
| 19:32:30 | GEOFBOT | macs are cool, but not as much stuff supports it |
| 19:32:32 | kaen | I would if I could afford it :P |
| 19:32:38 | sam686 | I will be back in about 2-3 hours, later |
| 19:32:46 | GEOFBOT | and apple puts a lot of restrictions on their hardware unfortunately |
| 19:32:54 | kaen | linux: off-brand OSX |
| 19:33:10 | raptor | with better terminals.. |
| 19:33:29 | alex_velea_ | Personally, you don't real care about the hardware. You don't change a lot on a laptop anyway |
| 19:33:37 | kaen | a better default terminal, I'll say |
| 19:33:51 | kaen | but I don't use stock terminals in any OS |
| 19:35:01 | alex_velea_ | Should i run "cmake -DCMAKE_BUILD_TYPE=Debug" in the /build folder first? |
| 19:35:22 | kaen | don't forget the .. |
| 19:35:28 | kaen | but yes |
| 19:36:25 | kaen | raptor, we want strict.lua operational, right? |
| 19:36:43 | kaen | it's all commented out in your patch |
| 19:37:36 | raptor | kaen: if possible, but i don't think it was operational in 018a |
| 19:38:05 | raptor | it basically forces you do do 'local' everywhere but in main() i think |
| 19:39:19 | kaen | yeah, personally I'm not a big fan but I can definitely get it to work |
| 19:39:37 | kaen | I can see how it could save new scripters from stubbing their toes. |
| 19:39:47 | raptor | i'd say don't do it with sandbox commit |
| 19:40:06 | raptor | then let's talk with watusimoto about it.. |
| 19:43:22 | kaen | ok |
| 19:44:25 | kaen | bah, can't push yet but I have to go run errands |
| 19:46:03 | alex_velea_ | What linux should i install? |
| 19:46:19 | kaen | ubuntu is my recommendation |
| 19:46:34 | kaen | it's the one that usually "just works" |
| 19:49:14 | kaen | alex_velea_, you couldn't get cmake to work? |
| 19:49:21 | kaen | on OSX? |
| 20:05:17 | | Bob1 has joined |
| 20:23:06 | | Skybax Quit (Read error: Connection reset by peer) |
| 20:24:14 | | Invisible has joined |
| 20:29:14 | alex_velea_ | No .. i don't remember how. |
| 20:29:18 | alex_velea_ | I did it once. |
| 20:29:25 | alex_velea_ | I think raptor helped me in that matter |
| 20:41:09 | | Skybax has joined |
| 20:51:58 | | Invisible Quit (Ping timeout: 272 seconds) |
| 21:02:59 | kaen | back! |
| 21:03:34 | raptor | hi! |
| 21:03:37 | sam686 | back! |
| 21:03:37 | kaen | alex_velea_, when you get up and running, I wrote a gist to make it easy to build bitfighter on debian/ubuntu |
| 21:03:46 | kaen | you can do: sudo apt-get update |
| 21:03:47 | kaen | then |
| 21:03:53 | raptor | sam686: does that soccer fix essentially remove client-side prediction? |
| 21:03:58 | kaen | wget -O- https://gist.github.com/kaen/6393623/raw | sh |
| 21:04:21 | kaen | it'll prompt for your root pass to install dependencies, then pull, build, and run bitfighter from mercurial |
| 21:04:37 | sam686 | no, the problem was setting the renderVel messing with prediction interpolation that also use renderVel |
| 21:05:01 | raptor | oh interesting |
| 21:05:06 | raptor | ok, just checking. thanks |
| 21:05:16 | sam686 | other objects like ResourceItem TestItem was already fine because its not setting renderVel at all, only in interpolation. |
| 21:05:32 | raptor | kaen: i've been thinking that that script should be adapted to take a URL as an argument, in case people want to use it against a server-side clone... |
| 21:05:35 | | phillreeder has joined |
| 21:05:56 | phillreeder | hey guys |
| 21:06:08 | raptor | actually i wonder if that's possible with the wget command... |
| 21:06:12 | raptor | hi |
| 21:08:11 | | Bob1 Quit (Ping timeout: 250 seconds) |
| 21:13:26 | kaen | maybe we should just commit it under a util directory, raptor? |
| 21:13:43 | raptor | sure, to the tools repo |
| 21:14:02 | kaen | then we can still do the wget-to-sh trick, just using google code |
| 21:14:12 | raptor | want me to? |
| 21:14:24 | kaen | sure |
| 21:14:32 | kaen | can you add a sudo apt-get update to it, before you do? |
| 21:14:40 | raptor | sure |
| 21:14:40 | kaen | and I think it needs a hashbang |
| 21:15:15 | kaen | and to be committed +x |
| 21:15:41 | raptor | sure you want the update? |
| 21:15:55 | raptor | that seems like it should not be done automatically, to me... |
| 21:16:12 | raptor | because I work with enterprise linux, and some people hate automatic updates |
| 21:16:25 | raptor | but then again it is debian/ubuntu... |
| 21:16:43 | kaen | it doesn't install updates, it fetches the package lists |
| 21:16:58 | raptor | oH/? |
| 21:17:08 | raptor | what's the install updated command again, then? |
| 21:17:17 | kaen | upgrade |
| 21:17:42 | raptor | is there also a dist-upgrade? |
| 21:17:46 | kaen | and then dist-upgrade |
| 21:17:46 | kaen | yes |
| 21:17:51 | raptor | ah ok, thanks |
| 21:17:54 | sam686 | apt-get update then apt-get upgrade (ubuntu/debian) |
| 21:18:09 | sam686 | might even do dist-upgrade |
| 21:22:18 | | BFLogBot Commit: dbb4f4b2fa0f | Author: buckyballreaction | Message: Add in kaen's script to get all set up and build from source, on debian and its derivatives |
| 21:23:23 | raptor | it's not complete... fixing it up now |
| 21:23:28 | | Invisible has joined |
| 21:28:05 | raptor | i wonder how to pass arguments to the |sh |
| 21:31:54 | kaen | | sh -s arg1 arg2 |
| 21:32:06 | raptor | ah ha! just found that, too... |
| 21:32:29 | | Bob1 has joined |
| 21:36:50 | raptor | oh yuk |
| 21:36:56 | | BFLogBot Commit: 3e8e2342e894 | Author: buckyballreaction | Message: Add some bells and whistles to kaen's build script |
| 21:37:05 | raptor | google's URL is horrible AND it uses a self-signed cert |
| 21:37:25 | raptor | so the command is like this: |
| 21:37:26 | raptor | wget --no-check-certificate -O- https://tools.bitfighter.googlecode.com/hg/scripts/build_bitfighter_debian.sh | sh |
| 21:37:49 | kaen | hehe |
| 21:38:02 | kaen | if we had a security guy, he'd be having an aneurysm right now |
| 21:38:08 | raptor | i'm really feeling that github shows people more love than google code... |
| 21:38:26 | kaen | "ok, so download this executable, ignore any SSL errors, pipe it to your shell and enter your root password" |
| 21:38:34 | raptor | hahaha |
| 21:38:40 | raptor | oh man, put like that, it's horrible |
| 21:39:16 | sam686 | what if SSL errors stops it from connecting? or is it a warning you can ignore? |
| 21:39:39 | kaen | that's what --no-check-certificate |
| 21:39:41 | kaen | is for |
| 21:40:37 | sam686 | or just do http://tools.bitfighter.googlecode.com/hg/scripts/build_bitfighter_debian.sh (not HTTPS) |
| 21:40:58 | sam686 | no ssl crap on http |
| 21:41:05 | raptor | oh h ey that works... |
| 21:41:07 | | alex_velea_ Quit (Ping timeout: 250 seconds) |
| 21:41:09 | kaen | \o/ |
| 21:41:14 | raptor | for some reason that failed for me the first time... |
| 21:41:22 | kaen | ok, download this unsigned executable ... |
| 21:41:59 | kaen | I'm trying to think of someway to tell people to do this without setting ourselves up for a social engineering attack |
| 21:42:12 | kaen | we should lock the wiki page that we put these instructions on |
| 21:42:19 | kaen | so no one can change the URL |
| 21:44:28 | raptor | i don't know... |
| 21:45:06 | raptor | in reality, it's probably bad practice to ever suggest piping an online resouce over to sh |
| 21:46:39 | sam686 | not only that, what if page not found and it instead downloads a crap load of http formatting of page not found and attempts to run as sh? |
| 21:47:30 | sam686 | it mostly spams command not found, but could find something to execute maybe and mess up something... |
| 21:49:05 | phillreeder | hey kaen or raptor can you check my task soon, I think I got all the cosmetic stuff and I'm excited to start workin on some other stuff. |
| 21:50:20 | | thread_ has joined |
| 21:50:27 | thread_ | I'm alive!!!!!!!!!!! |
| 21:50:45 | kaen | \o/ |
| 21:51:20 | thread_ | http://www.youtube.com/watch?v=M7nzml-zZ9M |
| 21:51:54 | sam686 | If already have build_bitfighter_debian.sh, why not run directly as this: bash ./build_bitfighter_debian.sh |
| 21:53:38 | kaen | it includes code to clone the repo, so it's useful to run it from wget |
| 21:54:00 | kaen | the idea is you can install ubuntu, run a single command, and have a working development version of bitfighter |
| 22:13:11 | | phillreeder Quit (Ping timeout: 250 seconds) |
| 22:30:05 | | Bob1 Quit (Ping timeout: 250 seconds) |
| 22:31:24 | | watusimoto has joined |
| 22:31:25 | | ChanServ sets mode +o |
| 22:40:44 | raptor | quick question - if I sort the innards of a vector, will the vector iterators be messed up? |
| 22:41:01 | raptor | so like sort(&myVec[0]) |
| 22:45:19 | | Invisible Quit (Ping timeout: 272 seconds) |
| 22:48:35 | raptor | watusimoto: I think we shoudl release this week |
| 22:49:03 | raptor | kaen is mighty close to finishing the sandbox, and i don't mind skipping that weird frame lingering bug |
| 22:53:30 | thread_ | I support the idea of release! |
| 22:55:43 | raptor | looks like innards-sorting works OK... |
| 23:02:42 | | Bob1 has joined |
| 23:07:53 | watusimoto | hihi |
| 23:07:54 | watusimoto | hi |
| 23:08:32 | Bob1 | hi |
| 23:08:47 | thread_ | hi |
| 23:08:57 | raptor | hi thread_ |
| 23:09:00 | watusimoto | raptor: I would like to release this week too... I still have only one task |
| 23:09:01 | thread_ | hi |
| 23:09:02 | raptor | seen bobdaduck lately? |
| 23:09:07 | watusimoto | how's the sandbox? |
| 23:09:18 | thread_ | ummm... no. is he missing? |
| 23:09:22 | raptor | kaen says he got it working, but is just doing clean-up etc... |
| 23:09:48 | raptor | thread_: I'm not sure, seems like he hasn't been around for a while |
| 23:09:59 | thread_ | ah yea... I know a little about that |
| 23:11:04 | sam686 | |_| | |
| 23:11:07 | sam686 | | | | |
| 23:11:21 | | thread_ stands in awe |
| 23:11:31 | watusimoto | hi tall sam686 |
| 23:21:39 | | Bob1 Quit (Ping timeout: 250 seconds) |
| 23:46:56 | sam686 | Problem on 019 that isn't a problem on 018: Spawn or teleport on top of speedZone |
| 23:48:26 | sam686 | on 019 you stay right on the speedzone, on 018a you immediately go forward wherever speedzone points to |
| 23:53:17 | sam686 | Third problem is if speedzone moved (by levelgen) to on top of a ship, on 019 it won't make the non-moving ship go forward, on 018a it did. |
| 23:54:05 | watusimoto | can you make bug cases for those? |
| 23:54:20 | watusimoto | https://code.google.com/p/bitfighter/issues/entry |
| 23:55:25 | sam686 | ok |
| 23:56:22 | | kaen Quit (Ping timeout: 246 seconds) |
| 23:56:49 | | kaen has joined |
| 23:56:49 | | kaen Quit (Changing host) |
| 23:56:49 | | kaen has joined |
| 23:57:01 | | Skybax Quit (Ping timeout: 252 seconds) |
| 23:58:21 | raptor | unless he fixes them first... |