Timestamps are in GMT/BST.
| 00:04:37 | raptor | i got a memory leak from Lua + valgrind! |
| 00:04:52 | raptor | kaen: if you're still around: http://pastie.org/6113188 |
| 00:13:55 | bobdaduck | raptor come |
| 00:13:57 | bobdaduck | I'm unveiling it! |
| 00:15:44 | SolumnMushroom | My sister thinks Squirtle evolves into Machamp... |
| 00:16:24 | bobdaduck | rofl |
| 00:16:34 | bobdaduck | sounds legit |
| 00:16:37 | bobdaduck | you should join my serv |
| 00:16:42 | bobdaduck | new stupid map! |
| 00:37:37 | | bobdaduck Quit (Quit: Page closed) |
| 01:28:15 | | Quartz has joined |
| 01:28:21 | Quartz | yeah, that just happened. |
| 01:28:23 | Quartz | http://bitfighter.org/forums/viewtopic.php?f=13&t=1772 |
| 01:28:44 | raptor | ha! |
| 01:28:49 | Quartz | ;D |
| 01:29:12 | Quartz | Yes I did steal your formatting. Sorry. Figured it would be something people were used to. |
| 01:29:39 | raptor | sounds good to me! |
| 01:29:42 | raptor | steal away |
| 01:29:50 | raptor | also, i can host the server on master, when its time |
| 01:30:18 | Quartz | Awesome. Thanks. |
| 01:30:28 | Quartz | dunno about prize though |
| 01:31:03 | raptor | i can give the contest design badge |
| 01:32:04 | Quartz | Up to you. That would be neat in my eyes |
| 01:32:09 | Quartz | I think most people would like that too |
| 01:32:10 | raptor | back later - dinner tiem! |
| 01:32:14 | Quartz | cool |
| 01:35:33 | | Platskies has joined |
| 02:04:39 | SolumnMushroom | My sister's toy girrafe is staring at me... |
| 02:07:23 | SolumnMushroom | BFLogBot: Can you say something? |
| 02:08:59 | | Platskies Quit (Remote host closed the connection) |
| 02:11:28 | SolumnMushroom | My server's up |
| 02:11:34 | SolumnMushroom | Just FYI |
| 02:14:23 | | Platskies has joined |
| 02:29:01 | SolumnMushroom | raptor: Are you back yet? |
| 02:30:08 | SolumnMushroom | *awkward scilence* |
| 03:14:30 | Quartz | Awkward silence indeed |
| 03:28:33 | kaen | okay raptor I think you've got a good lead here since those leaks are in luaw's "new" function |
| 03:28:58 | kaen | there's also a build and initialize which I would be interested in testing the leakiness of. |
| 03:44:27 | SolumnMushroom | I'm going to play some Sonic Adventure |
| 03:44:31 | raptor | i'm doing very, very tedious stuff right now |
| 03:44:33 | raptor | and hello |
| 03:46:22 | raptor | kaen: i've looked at where the object is supposed to be cleaned up, it's at LuaWrapper.h:661 |
| 03:46:50 | raptor | but i still wonder if it just failed to clean-up because it already crashed before hand... |
| 03:48:57 | SolumnMushroom | AUGH. It crashed |
| 03:49:06 | raptor | i'm fixing bugs caused by this: http://stackoverflow.com/a/121163 |
| 03:51:28 | kaen | aha! |
| 03:51:51 | raptor | found something? |
| 03:52:01 | kaen | no, but that's a hell of a thing to be fixing |
| 03:52:21 | raptor | yeah... I start doing housekeeping like this when i can't solve something.... |
| 03:52:29 | kaen | so we're implicitly calling constructors of things? |
| 03:52:43 | kaen | (certain things with one-argument constructors?) |
| 03:52:47 | raptor | found a few places where yes - but it's mostly with colors |
| 03:52:50 | kaen | oh |
| 03:53:03 | raptor | it's just to make sure there are fewer bugs all around |
| 03:53:20 | kaen | definitely |
| 03:54:04 | kaen | question: in the last valgrind, how does new(unsigned long) lose 568 bytes in a single call? |
| 03:54:13 | raptor | good question |
| 03:54:24 | kaen | heh |
| 03:54:35 | raptor | maybe it's the TextItem(luaState*) |
| 03:54:47 | raptor | the u_long is the pointer? |
| 03:55:06 | raptor | so the TextItem class has a footprint of that many bytes |
| 03:55:15 | raptor | (or maybe it was the ResourceItem..) |
| 03:55:39 | kaen | maybe u_long is a pointer to the lua udata? |
| 03:55:48 | raptor | or the stack |
| 03:56:02 | raptor | so just creating a new TextItem with that constructor |
| 03:57:31 | SolumnMushroom | SADX keeps crashing |
| 03:59:16 | SolumnMushroom | "Sonic Adventur DX.exe has encounter a 'inconvience' and needs to close." |
| 03:59:25 | SolumnMushroom | *Adventure |
| 04:04:56 | kaen | raptor, I think luaw is double-holding userdata in the cached version |
| 04:05:07 | raptor | really? |
| 04:05:11 | kaen | notice there's a hold after luaw_new and luaw_push |
| 04:05:14 | kaen | and that new calls push |
| 04:05:30 | raptor | wait wait |
| 04:05:47 | SolumnMushroom | "And by 'inconvience' we mean that we don't like you and want you to go away." Thanks MicroSEGA, thanks. |
| 04:05:54 | raptor | ok, the solution would be to comment out the hold in the luaw_push? |
| 04:05:59 | kaen | right |
| 04:06:09 | raptor | i've done that and it still crashes :( |
| 04:06:19 | raptor | actually wait |
| 04:06:30 | raptor | maybe i haven't (trying to remember what i did where...) |
| 04:06:38 | kaen | yes you tried that iirc |
| 04:06:44 | raptor | i'm not sure, just pretend i didn't speak |
| 04:07:00 | kaen | hmm, now I can't remember if t was on the cached version or not... |
| 04:07:23 | raptor | haha |
| 04:07:23 | kaen | but anyway, clobbering the entries in the hold table would (sporadically and silently) kill references to the udata |
| 04:07:27 | kaen | promoting early gc |
| 04:07:44 | raptor | when would that happen? calling extra holds? |
| 04:07:44 | SolumnMushroom | To Audiosurf, or not to Audiosurf? That is my question. |
| 04:07:47 | kaen | yes |
| 04:07:48 | kaen | oh |
| 04:08:05 | kaen | but only if the held objects have the same memaddress and different udata... |
| 04:08:09 | raptor | so that was the solution in the non-cache version (remove the hold in 'push') |
| 04:08:11 | kaen | it may be okay in the cached version |
| 04:08:43 | kaen | but it's still definitely not semantically correct to do it twice. |
| 04:09:13 | kaen | (the __holds tabls maps memaddress->lua udata) |
| 04:10:23 | raptor | ok |
| 04:10:30 | raptor | i thought the hold methods was 'safe'... |
| 04:10:51 | raptor | like if it was already held, then it wouldn't do it again |
| 04:11:49 | kaen | damn. it looks like you're right. |
| 04:11:57 | kaen | I didn't see that boolean check before. |
| 04:14:16 | raptor | i'm loving cmake bytheway |
| 04:14:27 | kaen | me too |
| 04:14:30 | kaen | :) |
| 04:14:41 | kaen | but I've almost completely misunderstood the hold table :< |
| 04:14:49 | kaen | it's not anything like the cache table |
| 04:19:23 | raptor | no... actually |
| 04:20:33 | raptor | i found a SO response by the author about what hold does: http://stackoverflow.com/a/7287506 |
| 04:31:04 | | Quartz Quit (Quit: Page closed) |
| 04:31:47 | raptor | the author of LuaW, i mean.. |
| 04:35:41 | raptor | ok pushing a tedious, tedious revision... |
| 04:37:49 | | BFLogBot Commit: 009852208c59 | Author: buckyballreaction | Message: Use best practice of putting 'explicit' before single-argument constructors. Also fix corresponding (possible) bugs as a result of doing this |
| 04:46:14 | raptor | kaen: i'm starting to read: http://lua-users.org/wiki/GarbageCollectionTutorial |
| 04:51:49 | raptor | watusimoto said once that maybe weak tables are involved in Lua somehow |
| 04:52:26 | raptor | a weak table is a table with references to objects that do not prevent the Lua garbage collector from eating up the objects |
| 04:52:27 | kaen | which bookmark have you been working with? |
| 04:52:34 | raptor | main |
| 04:52:36 | kaen | k |
| 04:52:54 | raptor | lua52 has tons of other API problems so i haven't been using that |
| 04:52:57 | kaen | I have been looking at lua52 again ._, |
| 04:53:04 | raptor | ok |
| 04:53:09 | kaen | not on purpose |
| 04:53:16 | raptor | your first problem will be... oh ok |
| 04:53:39 | raptor | so you don't mean to start coding in that route? |
| 04:54:04 | kaen | not really |
| 04:54:21 | raptor | ok good - because... that may be a lot of work |
| 04:54:27 | kaen | I'm not convinced it's a lua problem so it -- yes |
| 04:54:39 | | SolumnMushroom Quit (Read error: Connection reset by peer) |
| 04:56:08 | raptor | i'm going to take a minor break and code a feature! |
| 04:57:41 | kaen | cool :) |
| 05:19:15 | | Platskies Quit (Remote host closed the connection) |
| 05:39:31 | | Platskies has joined |
| 05:43:11 | | bobdaduck has joined |
| 05:44:27 | bobdaduck | raptor need a tester? xD |
| 05:44:35 | raptor | hi |
| 05:44:42 | raptor | not yet... trying to got in the no team switching |
| 05:44:46 | raptor | (code |
| 05:44:49 | raptor | *code |
| 05:44:51 | bobdaduck | Whoo! |
| 05:44:56 | raptor | it's a bit finicky... |
| 05:49:02 | bobdaduck | I demand that my !bobdaduck state that I'm a level 3 programmer with all my skill points in charisma. |
| 05:55:13 | kaen | raptor, do you know if BfObjects have their destructor called when they explode? |
| 05:55:29 | kaen | or are they just set to a dead-for-now state until they respawn |
| 05:55:34 | kaen | I mean Robots in particular |
| 05:55:59 | raptor | hmmm |
| 05:56:14 | raptor | i think spawnShip() creates a new Robot class each time |
| 05:56:32 | kaen | okay |
| 05:56:33 | raptor | wait |
| 05:56:35 | raptor | no |
| 05:57:27 | raptor | gametype->spawnShip creates a new Ship object each time for a player |
| 05:57:31 | raptor | but for a robot... |
| 05:57:53 | kaen | okay, here's my hypothesis: |
| 05:57:59 | raptor | i can't tell for a robot |
| 05:59:03 | raptor | it looks like for robots, a Robot* object is held for each bot and just reinitialized |
| 05:59:06 | kaen | findobjects uses an optional global table. if it stores a ref to a lua object across frames (e.g. a player when finding enemies) and that object gets destructed, its lua userdata is no longer valid (the proxy's getproxiedobject points to garbage) |
| 05:59:35 | kaen | but it is held because luaw increments the refcount when the script pushes a ref to the object |
| 05:59:57 | kaen | s_bot uses that global table thing |
| 06:01:18 | bobdaduck | Today's xkcd |
| 06:01:18 | bobdaduck | http://www.xkcd.com/ |
| 06:01:27 | kaen | hmmm... but that would only be a problem if s_bot then tried to somehow use those stale references while they were invalid. |
| 06:02:29 | raptor | kaen: what about with the cache table? if caching is used the LuaProxy objects don't have refcounts |
| 06:08:10 | kaen | there could be dangling refs within the objects themselves too |
| 06:08:24 | kaen | within the storage tables I mean. |
| 06:09:28 | kaen | which would actually prevent the garbage udata from being __gc'd in that case |
| 06:09:58 | kaen | and I believe thwart it's cleaning up, but I'm not positive |
| 06:10:54 | kaen | "dangling refs" was bad wording, I mean "references to userdata which point to c++ garbage" |
| 06:11:36 | raptor | in case you need it, here's a patch to restore the caching: http://sam6.25u.com/upload/luaw_caching.diff |
| 06:17:46 | raptor | bobdaduck: that's like bitfighter's community! |
| 06:18:14 | bobdaduck | And the developers! |
| 06:18:19 | bobdaduck | Except the devs comply! |
| 06:19:19 | kaen | I would not reimplement spacebar-overheating, even for you bob |
| 06:20:00 | kaen | but I'll give you the patch to make the mod :P |
| 06:20:29 | bobdaduck | rofl |
| 06:20:40 | bobdaduck | I'm going to go ahead and cite engineer |
| 06:20:45 | bobdaduck | as the perfect example every time |
| 06:20:52 | bobdaduck | for everything bad that's ever happened to bitfighter. |
| 06:21:53 | kaen | I like engineer. you're just afraid of change. |
| 06:21:59 | kaen | :) |
| 06:22:20 | bobdaduck | When "change" involves something like engineer |
| 06:22:29 | bobdaduck | Not liking seeker is being afraid of change |
| 06:22:35 | bobdaduck | Disliking engineer |
| 06:22:44 | kaen | http://xkcd.com/187/ |
| 06:23:48 | bobdaduck | You've never played bitfighter competitively |
| 06:23:55 | bobdaduck | And you never tried Zap! |
| 06:24:10 | bobdaduck | Rick's "Gibbed" server had engineer enabled on some levels. |
| 06:24:30 | bobdaduck | Fortress building competitions |
| 06:24:42 | bobdaduck | Every time you wanted to play an actual game |
| 06:24:49 | bobdaduck | It was a fortress building competition. |
| 06:25:14 | bobdaduck | And in bitfighter I watch as every map either has 100 resources where the team with the most engineers on it wins |
| 06:25:22 | bobdaduck | Or there's two resources and engineer isn't worth using at all. |
| 06:26:12 | raptor | rant rant |
| 06:26:16 | bobdaduck | Yep! |
| 06:26:35 | bobdaduck | I will always rant against engineer |
| 06:26:36 | bobdaduck | Always. |
| 06:27:09 | kaen | 1. You can turn it off |
| 06:27:09 | kaen | 2. It has a limiting factor (resource items) |
| 06:27:09 | kaen | 3. It has a cost (a module and the time to use it) |
| 06:27:09 | kaen | 4. It has a functional limitation (it's not that powerful) |
| 06:27:09 | kaen | 5. It enables dynamic challenges by level designer |
| 06:27:10 | kaen | 6. It adds another game mechanic |
| 06:27:12 | kaen | 7. It can be applied creatively for emergent play |
| 06:27:31 | kaen | off the top of my head that's what I came up with. |
| 06:27:38 | bobdaduck | If I ever see it well done then okay, great. There is a .001% chance of your level being "good" with engineer |
| 06:28:07 | bobdaduck | Adding another game mechanic is a bad thing! |
| 06:28:09 | kaen | according to your Goodometer? |
| 06:28:19 | kaen | your highly tuned scientific instrument |
| 06:28:27 | kaen | that determines the quality of creative output? |
| 06:28:58 | bobdaduck | my 6+ years of playing the game and lifetime of playing video games |
| 06:29:07 | raptor | i think Goodometer is my new word for the day |
| 06:29:07 | bobdaduck | Yes, I have confidence in my ability to spot something "good". |
| 06:29:31 | kaen | you can tell if *you* like it. not everyone has the same tastes, nor has been playing as long as you |
| 06:30:05 | bobdaduck | Yeah I noticed. |
| 06:30:11 | kaen | which means they value different things |
| 06:30:11 | raptor | ok ok |
| 06:30:18 | kaen | sorry I don't mean to argue. |
| 06:30:21 | bobdaduck | Its fine. |
| 06:30:26 | raptor | kaen: TNL RPC question |
| 06:30:31 | bobdaduck | I've yet to see a fun engineer map |
| 06:30:59 | raptor | when a player enters a server, i'm trying to send an RPC with RPCGuaranteedOrdered |
| 06:31:01 | bobdaduck | But your point number 5 is a good one: Its been useful in dungeons. |
| 06:31:04 | raptor | but it never arrives |
| 06:31:04 | bobdaduck | Which I'm also against. |
| 06:31:31 | raptor | maybe i should put in a random sleep function |
| 06:31:45 | kaen | can I see your rpc definition? |
| 06:31:56 | raptor | TNL_IMPLEMENT_NETOBJECT_RPC(GameType, s2cCanSwitchTeams |
| 06:31:59 | raptor | an exisiting one |
| 06:32:03 | kaen | oh |
| 06:32:45 | bobdaduck | I HAVE DEEP SEATED EMOTIONAL ISSUES TOWARDS ENGINEER. |
| 06:32:58 | kaen | where are you calling it in? |
| 06:33:02 | raptor | i'm calling that in GameType::serverAddClient |
| 06:33:02 | kaen | I'd try in void GameConnection::onConnectionEstablished_server() |
| 06:33:13 | raptor | ahh... good find |
| 06:33:15 | raptor | ok |
| 06:34:18 | raptor | we have a connection speed setting!? |
| 06:34:25 | raptor | GameConnection::setConnectionSpeed |
| 06:35:14 | kaen | wow. |
| 06:35:32 | kaen | oh okay |
| 06:35:40 | raptor | hey look... a bug! |
| 06:35:43 | kaen | \o/ |
| 06:35:51 | raptor | iniSettings->connectionSpeed = ini->GetValueI(section, "Version", iniSettings->connectionSpeed); |
| 06:36:03 | kaen | .... |
| 06:36:08 | kaen | nice. |
| 06:37:37 | raptor | oh wow |
| 06:37:50 | raptor | it's using the defaults... i bet fixing this will help a *lot* of players |
| 06:38:09 | raptor | the defaults are maxSendBandwidth = 65535 |
| 06:38:30 | raptor | MaxFixedSendPeriod = 2047 |
| 06:49:04 | | BFLogBot Commit: a279e92d06be | Author: buckyballreaction | Message: Fix connection speed bug |
| 07:04:14 | bobdaduck | Raptor your multi-select works great but deleting multiple points at once leads to slightly weird behavior |
| 07:04:26 | raptor | how so? |
| 07:05:48 | bobdaduck | Like it deletes all but one point |
| 07:07:22 | raptor | heh |
| 07:07:39 | raptor | you mean, it deletes all vertices minus one of the ones you've selected? |
| 07:08:48 | raptor | haha |
| 07:08:55 | raptor | that bug was in 015a, too |
| 07:09:17 | bobdaduck | Welp |
| 07:09:19 | bobdaduck | Minor |
| 07:09:22 | bobdaduck | Not really priority. |
| 07:09:28 | bobdaduck | Just noting it to someone while its in my mind. |
| 07:09:56 | raptor | i'll honeslty forget |
| 07:10:01 | raptor | because i'm working on something else.. |
| 07:12:56 | | bobdaduck Quit (Quit: Page closed) |
| 07:23:11 | | Darrel has joined |
| 07:28:13 | | Flynnn has joined |
| 07:43:42 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 07:53:04 | | BFLogBot Commit: 06aa481979f7 | Author: buckyballreaction | Message: Add in server option for no team changing. It's a bit hacky and needs polish - we should rewrite when we break server compatibility |
| 07:53:19 | raptor | and with that i'm saying good night! |
| 07:54:40 | | Flynnn has joined |
| 07:56:31 | | raptor Quit () |
| 08:18:24 | | kodaws has joined |
| 08:27:13 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 08:28:07 | | Flynnn has joined |
| 08:28:18 | | Flynnn Quit (Client Quit) |
| 08:45:29 | | Darrel Quit (Ping timeout: 246 seconds) |
| 08:52:26 | | Darrel has joined |
| 10:53:35 | | Platskies Quit (Remote host closed the connection) |
| 10:54:48 | | Platskies has joined |
| 11:37:00 | | Platskies Quit (Remote host closed the connection) |
| 12:24:12 | | Darrel Quit (Read error: Connection reset by peer) |
| 12:24:30 | | Darrel has joined |
| 14:18:31 | | SolumnMushroom has joined |
| 14:56:29 | SolumnMushroom | kaen: How do I compile the source build in Ubuntu? |
| 14:56:37 | kaen | morning :) |
| 14:56:45 | kaen | do you have the tarball? |
| 14:56:52 | kaen | I'm on ubuntu so this will be easy |
| 14:56:55 | SolumnMushroom | It's downloading |
| 14:56:57 | kaen | okay |
| 14:57:05 | kaen | while it is |
| 14:57:29 | kaen | sudo apt-get build-dep bitfighter |
| 14:57:40 | kaen | (installs stuff you need to build it) |
| 14:57:44 | kaen | then |
| 14:57:49 | kaen | sudo apt-get install cmake |
| 14:58:09 | kaen | (installs a tool that will make it a lot easier to do so) |
| 14:58:32 | kaen | when the commands and that tarball is done, extract it and highlight me |
| 14:58:44 | kaen | *are done |
| 14:59:17 | kaen | tar -xf filename.tar.gz |
| 15:00:21 | kaen | oh, do you know what version you downloaded? |
| 15:00:28 | kaen | 018a or the mercurial one? |
| 15:00:45 | SolumnMushroom | The one from the main page |
| 15:01:03 | kaen | okay |
| 15:01:07 | kaen | you don't need cmake then |
| 15:01:34 | kaen | so once it's all extracted you should just be able to cd into the new directory |
| 15:01:39 | kaen | and type |
| 15:01:40 | kaen | make -j2 |
| 15:01:49 | kaen | and wait for a while |
| 15:02:13 | kaen | when it's done bitfighter will be in the exe/ directory |
| 15:02:17 | SolumnMushroom | It's giving me an error: Unable to find a source package for bitfighter |
| 15:02:25 | kaen | oh alright |
| 15:02:30 | kaen | one second while I look something up |
| 15:02:49 | SolumnMushroom | If it helps, I'm on 12.10 |
| 15:05:22 | kaen | sudo apt-get install libsdl1.2-dev zlib1g-dev libpng12-dev libopenal-dev ncurses-base libspeex-dev libmodplug-dev |
| 15:05:28 | kaen | should be a good start |
| 15:05:53 | kaen | then cd to the source dir and try `make -j2` |
| 15:06:02 | kaen | (without ticks) |
| 15:06:55 | | Nothing_Much Quit (Ping timeout: 276 seconds) |
| 15:07:44 | | Nothing_Much has joined |
| 15:08:04 | SolumnMushroom | Unable to locate package zliblg-dev |
| 15:08:36 | kaen | okay just remove that one |
| 15:08:48 | kaen | I was being extra cautious. |
| 15:09:27 | SolumnMushroom | It's running |
| 15:09:41 | kaen | could take a while |
| 15:09:44 | kaen | sdl is rather large.... |
| 15:10:58 | SolumnMushroom | No one in the computing world will take you seriously unless you use Linux. And it's done |
| 15:11:25 | kaen | okay so make -j2 in the source dir |
| 15:11:36 | kaen | if you get errors, paste them to pastie.org |
| 15:17:45 | SolumnMushroom | #6117312 |
| 15:19:55 | SolumnMushroom | pastie.org/6117312 |
| 15:23:42 | SolumnMushroom | kaen: |
| 15:26:33 | SolumnMushroom | kaen: Any advise? |
| 15:28:41 | kaen | sorry was afk |
| 15:28:43 | kaen | looking now |
| 15:28:53 | kaen | oh |
| 15:29:02 | kaen | sudo apt-get install build-essential |
| 15:29:06 | kaen | SolumnMushroom ^ |
| 15:29:14 | kaen | then try again |
| 15:30:21 | SolumnMushroom | Seems to be working |
| 15:30:55 | kaen | don't trust it... |
| 15:30:56 | kaen | :) |
| 15:31:09 | SolumnMushroom | So, have you heard the name of Ubuntu 13.04? |
| 15:31:19 | kaen | starts with R I imagine. |
| 15:31:25 | kaen | but no. |
| 15:31:36 | kaen | oh |
| 15:31:41 | kaen | "raring ringtail" |
| 15:32:08 | SolumnMushroom | Raring Ringtail |
| 15:32:11 | kaen | seriously better than "oneiric ocelot" |
| 15:32:24 | kaen | I still can't even pronounce that |
| 15:32:30 | SolumnMushroom | That's 13.10 |
| 15:32:40 | kaen | oh |
| 15:32:50 | SolumnMushroom | Probably XD |
| 15:32:57 | kaen | no |
| 15:33:02 | kaen | it's an older version |
| 15:33:09 | kaen | ubuntu version go alphabetically |
| 15:33:17 | kaen | the earliest was dapper drake |
| 15:33:19 | kaen | then edgy eft |
| 15:33:20 | kaen | etc. |
| 15:33:36 | kaen | oneiric ocelot was 11.10 |
| 15:33:49 | kaen | I've used ubuntu since edgy... |
| 15:33:53 | kaen | I just realized I'm getting old |
| 15:35:00 | SolumnMushroom | The first iteration of Ubuntu was 4.10 Warty Warthog... |
| 15:35:57 | SolumnMushroom | en.wikipedia.org/wiki/List_of_Ubuntu_releases |
| 15:36:05 | kaen | hah! |
| 15:36:08 | kaen | well anyway |
| 15:36:27 | kaen | the first to don't follow but after breezy they do. |
| 15:36:32 | kaen | first two* |
| 15:39:57 | SolumnMushroom | pastie.org/6117546 |
| 15:41:18 | kaen | sudo apt-get install libreadline-dev |
| 15:41:21 | kaen | make -j2 |
| 15:41:31 | kaen | (it'll start from where it left off) |
| 15:44:00 | SolumnMushroom | http://pastie.org/6117584 |
| 15:44:09 | SolumnMushroom | Debugging FTW! |
| 15:45:07 | kaen | this isn't debugging :) |
| 15:45:18 | kaen | these are just normal ol' build errors |
| 15:45:47 | SolumnMushroom | In my computer programming class, (because that's what I take) I know more than the teacher |
| 15:45:52 | kaen | sudo apt-get install ncurses-bin |
| 15:46:04 | kaen | I'm super jealous |
| 15:46:15 | kaen | I've never had the chance to take a programming class :< |
| 15:46:28 | kaen | (try again after that) |
| 15:46:59 | SolumnMushroom | It says that it's already the latest version. |
| 15:47:06 | kaen | hmm |
| 15:47:26 | kaen | sudo apt-get install libncurses5-dev |
| 15:47:59 | kaen | ncurses is such a hassle. I don't even know what we use it for. |
| 15:48:49 | SolumnMushroom | It's not erroring on me yet |
| 15:50:00 | kaen | that's a good sign |
| 15:50:11 | SolumnMushroom | And you would get bored in that class. I get bored in that class and you know more than me about programming |
| 15:50:49 | kaen | maybe. I'd like to take like a software design course or something now. |
| 15:51:00 | kaen | I *love* watching the MIT lectures |
| 15:51:17 | kaen | they have really good software design/architecture stuff |
| 15:52:32 | SolumnMushroom | Still working |
| 15:55:25 | SolumnMushroom | The fatal flaw of the school MacBooks: They have full command line access. |
| 15:57:23 | SolumnMushroom | No problems yet |
| 15:57:54 | kaen | dude |
| 15:58:06 | kaen | I got the root hash from a mac in my old A/V lab |
| 15:58:11 | kaen | and put it through some rainbow tables |
| 15:58:16 | SolumnMushroom | Haxx, haxx everywhere |
| 15:58:24 | kaen | and had the admin password for every computer in the school. |
| 15:58:35 | kaen | it was just sitting in /etc/shadow |
| 15:58:38 | kaen | totally readable |
| 15:58:43 | SolumnMushroom | Morons |
| 15:58:48 | kaen | it was crazy! |
| 15:59:33 | SolumnMushroom | The Windows XP lab is more secure than the Windows 7 lab |
| 15:59:49 | SolumnMushroom | The Win7 lab has an unlocked BIOS! |
| 15:59:57 | kaen | rofl |
| 16:00:04 | SolumnMushroom | AND full command line access! |
| 16:00:13 | kaen | that's ridiculous |
| 16:00:27 | kaen | they at least disable the command prompt at my school |
| 16:00:31 | kaen | disabled* |
| 16:01:09 | kaen | I remember plugging my laptop into the wall and watching all the SMBFS logins though |
| 16:01:09 | SolumnMushroom | We use the command prompt but come on! At least block SOME commands... |
| 16:01:16 | kaen | yeah... |
| 16:01:55 | SolumnMushroom | BTW, cannot find -lvorbis |
| 16:02:01 | kaen | gah |
| 16:02:07 | kaen | that's not even in the readme... |
| 16:02:22 | kaen | sudo apt-get install libvorbis-dev |
| 16:02:39 | kaen | so after we're done I' guess I'm writing a wiki page for this.... |
| 16:02:54 | kaen | you have a pretty clean install of ubuntu it would seem |
| 16:03:00 | kaen | or at least you've not built anything on it before |
| 16:03:19 | SolumnMushroom | What? How to install Bitfighter: The hard way? |
| 16:03:25 | kaen | building on ubuntu |
| 16:03:35 | kaen | it's good to lower barriers for potential developers |
| 16:03:50 | kaen | what if I'm not around next time someone wants to build from source on ubuntu? |
| 16:04:03 | SolumnMushroom | Good point |
| 16:04:43 | SolumnMushroom | FINALLY!!! |
| 16:04:46 | kaen | \o/ |
| 16:05:16 | kaen | is it running? |
| 16:05:55 | SolumnMushroom | Without sound... |
| 16:06:16 | SolumnMushroom | *facepalm* |
| 16:06:50 | kaen | :x |
| 16:07:09 | kaen | ldd exe/bitfighter |
| 16:07:16 | kaen | and pastie the output if you would |
| 16:09:04 | SolumnMushroom | http://pastie.org/6117716 |
| 16:09:58 | kaen | okay... I'm baffled |
| 16:10:20 | SolumnMushroom | It could be my headphones |
| 16:10:23 | kaen | you've built it right, so either we have an error in source or you have a configuration error |
| 16:10:31 | kaen | it could be pulseaudio and openal |
| 16:10:36 | kaen | I don't know how well they mix |
| 16:10:53 | kaen | I have effectively zero experience debugging sound problems |
| 16:11:39 | kaen | does sound work with bitfighter from the ubuntu repo? |
| 16:12:26 | SolumnMushroom | Bitfighter is in the repo... |
| 16:12:41 | SolumnMushroom | *EPIC FACEPALM* |
| 16:12:57 | kaen | it might be an old version |
| 16:14:15 | kaen | yes, it is an old version from what I can tell |
| 16:14:16 | kaen | 017b |
| 16:14:59 | SolumnMushroom | I can't see it |
| 16:16:25 | SolumnMushroom | Oh well. There's always my iBook G4 |
| 16:16:43 | kaen | could you do me a favor |
| 16:16:52 | kaen | start bitfighter from the terminal and post the log? |
| 16:17:05 | kaen | you don't have to waste any more time on it, I just would like to read the log |
| 16:20:08 | kaen | oh! |
| 16:20:37 | kaen | cp -r resource exe/ |
| 16:20:56 | kaen | you have to copy the music and stuff to directory |
| 16:21:14 | SolumnMushroom | I have no idea what I just did |
| 16:21:23 | SolumnMushroom | ex bitfighter |
| 16:21:53 | kaen | type :q <enter> |
| 16:21:57 | kaen | colon |
| 16:21:57 | kaen | q |
| 16:21:58 | kaen | enter |
| 16:22:41 | kaen | you opened an ancient text editor on accident. |
| 16:22:52 | kaen | (vim's "ex" mode) |
| 16:24:13 | | bobdaduck has joined |
| 16:24:42 | bobdaduck | Gentlementlemen |
| 16:24:54 | SolumnMushroom | Umm... What? |
| 16:25:11 | bobdaduck | gentlementlemen |
| 16:25:18 | SolumnMushroom | Ok then |
| 16:26:41 | SolumnMushroom | I have an app on my iPod that shows all the commands and says what they do |
| 16:27:01 | SolumnMushroom | It's called "Linux!" |
| 16:32:24 | kaen | nemeltneg |
| 17:06:32 | | SolumnMushroom Quit (Quit: Leaving) |
| 17:07:05 | | SolumnMushroom has joined |
| 17:07:57 | SolumnMushroom | I haz a crash log: https://dl.dropbox.com/u/40874924/Bitfighter_2013-02-11-090248_Base-Serenity.txt |
| 17:08:32 | SolumnMushroom | From my mac |
| 17:11:05 | kaen | I don't see a single bitfighter API call in there |
| 17:11:40 | kaen | I really need a stracktrace to do anything useful |
| 17:13:29 | kaen | NSURLConnectionReallyInternal |
| 17:13:44 | kaen | ^ just another reason I wouldn't work for apple... |
| 17:29:27 | SolumnMushroom | Wonder when raptor will come on if at all |
| 17:30:21 | bobdaduck | He'll be in an hour or so. I think he has class right now. |
| 17:31:12 | SolumnMushroom | Mentlegen |
| 17:37:37 | kaen | he was browsing the forum earlier |
| 17:37:58 | kaen | he has school, work, and family so we're luck to get as much of his time as we do. |
| 17:38:04 | kaen | lucky* |
| 17:39:05 | bobdaduck | yep |
| 17:59:53 | | kodaws Quit (Ping timeout: 246 seconds) |
| 18:13:33 | | raptor has joined |
| 18:13:34 | | ChanServ sets mode +o raptor |
| 18:13:46 | raptor | good day! |
| 18:15:12 | bobdaduck | Goodmorning, gentlementleman. |
| 18:15:26 | raptor | mentle... yes |
| 18:15:42 | bobdaduck | http://i132.photobucket.com/albums/q21/EmarandZeb/miscellaneous/GentlemenMeme/3-Gentlementlemen.jpg |
| 18:21:02 | bobdaduck | So |
| 18:21:07 | bobdaduck | How's 019 coming! |
| 18:21:23 | raptor | unstarted |
| 18:21:54 | bobdaduck | how's 018a coming! |
| 18:25:47 | raptor | good! |
| 18:26:00 | bobdaduck | How good! |
| 18:26:31 | raptor | we still have another Lua bug with levelgens.. even thought the bot bug has been postponed |
| 18:26:55 | bobdaduck | Did you take a look at sands of time being broken? |
| 18:27:09 | bobdaduck | I can't seem to get the levelgen script to work despite other scripts working... |
| 18:27:12 | raptor | i'd need you to send it to me again... |
| 18:27:33 | bobdaduck | Its still saved to your forum PMs... Isn't it? |
| 18:27:51 | raptor | i delete those.. |
| 18:27:57 | raptor | and i expected you to make changes |
| 18:28:10 | bobdaduck | Ah |
| 18:28:11 | raptor | sorry |
| 18:28:13 | bobdaduck | Welp |
| 18:28:18 | bobdaduck | I'll just have to figure it out myself then. |
| 18:29:08 | bobdaduck | So raptor, if I put addLevelLine inside an OnShipEnterZone if statement, could I theoretically create walls inside the level on the fly? |
| 18:30:35 | raptor | theoretically, yes - practically no; walls are a special case and can only be edited on level load for now |
| 18:31:40 | bobdaduck | Yeah yeah walls are a special case. If I coded it, right now, would it work using the same function that draws walls at the start of a level? |
| 18:31:41 | raptor | you could zip up the level and levelgen and send it me again |
| 18:32:20 | bobdaduck | I don't think I have it on my thumbdrive (at work) |
| 18:32:48 | raptor | you cannot add/remove walls with a level already started (even in 018a) |
| 18:33:12 | bobdaduck | Right right |
| 18:33:24 | bobdaduck | What I'm proposing would be a glitch, not a feature. |
| 18:33:38 | raptor | i am misunderstanding you, then |
| 18:34:55 | raptor | i have no idea what you want... |
| 18:35:17 | bobdaduck | There's obviously no functionality for adding walls once the level has started, but there is functionality for drawing walls when the level starts (addLevelLine I think). If I put this inside an OnShipEnteredZone event, what would happen? |
| 18:36:42 | raptor | i think it might make a wall appear server side |
| 18:36:46 | raptor | but nothing client side |
| 18:36:51 | raptor | (if it doesn't crash) |
| 18:37:00 | raptor | so that means either crash or invisible walls |
| 18:37:15 | bobdaduck | Cool. |
| 18:37:21 | bobdaduck | Too lazy to try it |
| 18:37:33 | bobdaduck | And not useful in an actual level anyway so whatever |
| 18:38:25 | SolumnMushroom | raptor: Earlier kaen and I were having a compiling adventure |
| 18:40:04 | raptor | hi SolumnMushroom, sounds like fun! |
| 18:40:58 | SolumnMushroom | raptor: We got it to work, but there's no sound. On my Ubuntu partition by the way. |
| 18:41:14 | bobdaduck | Did you copy the sound files to the exe folder? |
| 18:41:29 | raptor | SolumnMushroom: you need to copy all resource folders into the exe folder |
| 18:41:29 | bobdaduck | Oh wait would Ubuntu even have an exe folder |
| 18:41:34 | raptor | y |
| 18:41:41 | raptor | when compiling from source at least |
| 18:42:11 | raptor | SolumnMushroom: so in the exe/ folder you also need: levels/ sfx/ music/ robots/ scripts/ editor_plugins/ etc. |
| 18:42:26 | SolumnMushroom | I did. Still nothing. It doesn't really matter too much |
| 18:43:20 | raptor | what ubuntu version? |
| 18:43:33 | raptor | and what architecture? i may have a DEB lying around.. |
| 18:44:16 | SolumnMushroom | 12.10 and i386 |
| 18:45:16 | raptor | looking for 018? |
| 18:45:46 | SolumnMushroom | Yes |
| 18:46:17 | raptor | try this: ftp://ftp.novell.com/outgoing/bitfighter_018_i386.deb |
| 18:46:26 | raptor | it'll only be up for about a day |
| 18:48:55 | raptor | ok, taking off for a bit.. |
| 18:49:07 | bobdaduck | NOOOOOOOOOOO |
| 18:49:18 | bobdaduck | OOOOOOOOOOOOOOOOOOOOOK |
| 18:49:19 | raptor | have some school i'll be back within an hour or so |
| 18:49:26 | | raptor Quit () |
| 18:52:21 | SolumnMushroom | kaen: And so it begins again. libmodplug0c2(>=1:0.7-4.1) |
| 18:53:15 | SolumnMushroom | Any thoughts? |
| 18:54:09 | bobdaduck | What's that? |
| 18:55:04 | SolumnMushroom | Some plugin or another that the game can't run without |
| 18:55:09 | | Nothing_Much Quit (Ping timeout: 240 seconds) |
| 18:56:05 | SolumnMushroom | Something with audio |
| 18:57:05 | bobdaduck | Hm |
| 18:57:15 | bobdaduck | And you're getting that error when you try to compile? |
| 19:05:12 | SolumnMushroom | No, when trying to install the .deb file that raptor sent me |
| 19:08:28 | | Nothing_Much has joined |
| 19:11:10 | kaen | I wouldn't fight with it. you have modplug installed, just not a version that the .deb want |
| 19:12:11 | kaen | it would be less work just to figure out why the compiled version doesn't play sound |
| 19:12:33 | kaen | another thing to try is running the executable like so: |
| 19:12:41 | kaen | exe/bitfighter -rootdatadir ../resource |
| 19:21:24 | | kodapad has joined |
| 19:40:09 | | raptor has joined |
| 19:40:09 | | ChanServ sets mode +o raptor |
| 19:43:11 | | bobdaduck Quit (Ping timeout: 245 seconds) |
| 19:44:51 | raptor | SolumnMushroom: if you wait shortly, a Debian 6 build is almost ready |
| 19:44:57 | raptor | that you can try |
| 19:45:06 | SolumnMushroom | Ok |
| 19:45:32 | | bobdaduck has joined |
| 19:46:41 | bobdaduck | So can we make it so holding shield doesn't kill turrets? |
| 19:47:01 | raptor | you mean so turrets don't take 'friendly' fire? |
| 19:47:11 | raptor | maybe... for 019 |
| 19:47:47 | bobdaduck | My map is so easy to beat |
| 19:47:55 | bobdaduck | You don't even have to shoot for 90% of it |
| 19:48:04 | bobdaduck | Just shield and suddenly every single turret is dead. |
| 19:48:19 | raptor | hasn't that always been the case? |
| 19:48:50 | bobdaduck | uh |
| 19:49:05 | kodapad | Gsoc announced \0/ |
| 19:49:12 | raptor | uh oh |
| 19:49:22 | raptor | hedgewars will be at it i suppose? |
| 19:49:29 | bobdaduck | since about 015 when someone enabled friendly fire for turrets and enabled the ability to shoot your own turrets and the ability for turrets to kill themselves. |
| 19:49:47 | kodapad | Dunno yet, no mentor has confirmed right now :p |
| 19:50:10 | raptor | bobdaduck: you could *always* shoot your own turrets i thought (since 013, when i joined)? |
| 19:50:27 | bobdaduck | *shrug* in Zap! you definitely couldn't |
| 19:50:55 | bobdaduck | I've been complaining about it for too long to remember >.< |
| 19:51:12 | bobdaduck | My biggest problem with it |
| 19:51:20 | bobdaduck | Is that I disable more of my turrets than the enemy does |
| 19:51:27 | bobdaduck | By dogfighting near them. |
| 19:52:44 | bobdaduck | But I'm not going to go into that |
| 19:52:54 | kaen | ugh I can't even apply until april |
| 19:53:01 | bobdaduck | because I already ranted on engineer last night so my weekly quota of ranting is filled. |
| 20:02:31 | raptor | yes, you used your quota up early, too... :) |
| 20:10:20 | | bobdaduck Quit (Quit: Page closed) |
| 20:11:56 | raptor | SolumnMushroom: try the debian 6.0 package: http://download.opensuse.org/repositories/games/Debian_6.0/i386/bitfighter_018_i386.deb |
| 20:26:57 | SolumnMushroom | The only thing that doesn't work is the music, and that's ok. I usually play with the music very low if not off. |
| 20:27:32 | raptor | hmm... |
| 20:27:52 | raptor | if you start it up in a command prompt does it spit out music errors? |
| 20:28:03 | SolumnMushroom | The lack of music gives it a sort of Zap!-ish feel |
| 20:28:44 | SolumnMushroom | Error loading script /home/max/.bitfighter/scripts/lua_helper_functions.lua: cannot open /home/max/.bitfighter/scripts/lua_helper_functions.lua: No such file or directory. |
| 20:28:44 | SolumnMushroom | STARTUP Could not configure Lua interpreter. I cannot run any scripts until the problem is resolved. |
| 20:28:44 | SolumnMushroom | No music files found in folder "/home/max/.bitfighter/music". Game will proceed without music |
| 20:28:44 | SolumnMushroom | Console Lua interpreter doesn't exist. Aborting environment setup. |
| 20:29:00 | raptor | ah ha! |
| 20:29:24 | raptor | have you used the install make any levels yet or do anything you might want tot save? |
| 20:29:27 | SolumnMushroom | Found it? |
| 20:29:34 | SolumnMushroom | No |
| 20:29:41 | raptor | ok, then do the following |
| 20:29:56 | raptor | rm -r /home/max/.bitfighter/ |
| 20:30:12 | raptor | get rid of the preference directory completely (shut down the game first) |
| 20:30:33 | raptor | then restart it in the command line |
| 20:30:40 | raptor | and see if you get those same errors |
| 20:30:50 | SolumnMushroom | Works! |
| 20:30:54 | raptor | great! |
| 20:30:57 | | LordDVG has joined |
| 20:31:12 | raptor | i think your previous compile set up conflicting preferences |
| 20:34:23 | SolumnMushroom | I've found that the ideal music/sfx config is music = 3 and sfx = 10 |
| 20:34:33 | SolumnMushroom | At least for me |
| 20:39:40 | | bobdaduck has joined |
| 20:40:21 | bobdaduck | I |
| 20:40:23 | bobdaduck | am |
| 20:40:25 | bobdaduck | Back! |
| 20:40:31 | bobdaduck | 'dja miss me? |
| 20:41:03 | kodapad | Honest reply or harsh truth? |
| 20:41:32 | bobdaduck | *flips coin* |
| 20:41:33 | bobdaduck | heads. |
| 20:41:56 | Darrel | Heads is? |
| 20:42:12 | Darrel | harsh truth? Oh please, let it be harsh truth, let it be harsh truth! |
| 20:42:23 | bobdaduck | Harsh truth! |
| 20:42:49 | Darrel | We missed you so much that we almost forgot you! :P |
| 20:43:07 | | raptor was enjoying the quiet |
| 20:43:22 | raptor | :) |
| 20:43:28 | bobdaduck | lol |
| 20:43:43 | raptor | that's why i like IRC... for the most part it's a ghost town |
| 20:44:19 | bobdaduck | I prefer more banging and yelling type environments. |
| 20:44:44 | Darrel | heh, no such thing for me.. the channels I'm in are quite a bit, and there is too much spam there.. And I hate it when they start mass pinging me.. |
| 20:45:31 | raptor | oh wow! |
| 20:45:35 | bobdaduck | I just have #bitfighter |
| 20:45:37 | raptor | the pope is stepping down!? |
| 20:45:43 | raptor | (sorry, side topic) |
| 20:45:44 | bobdaduck | You just heard? |
| 20:45:57 | Darrel | Ah, I already forgot about it :P |
| 20:46:01 | kodapad | raptor: No comparison with e small Skype room of the start eh raptor ? |
| 20:46:29 | raptor | heh, irc is waaay better... |
| 20:47:27 | Darrel | The irony is that I was busy trying to kill/capture the pope in Medieval 2 Total War when I heard the news about his stepping down.. |
| 20:47:38 | bobdaduck | How did you almost forget me? I'm usually pretty dang vocal. |
| 20:48:25 | Darrel | Oh yes, when you are around I never try to read the logs :P |
| 20:49:01 | bobdaduck | I am pretending to be insulted! |
| 20:49:12 | Darrel | :) |
| 20:50:49 | bobdaduck | So... Why is the pope stepping down a big thing? |
| 20:57:26 | | Nothing_Much Quit (Ping timeout: 256 seconds) |
| 20:58:02 | | Nothing_Much has joined |
| 21:08:32 | Darrel | because it hasn't happened in like 6 centuries |
| 21:09:58 | bobdaduck | That seems like.... A not very good reason to overreact. |
| 21:10:19 | Darrel | you know medias |
| 21:10:20 | Darrel | they are nuts. |
| 21:11:46 | bobdaduck | Yeah but... |
| 21:11:47 | raptor | and that's why i try and stay away from medias |
| 21:11:49 | bobdaduck | *sigh* yeah. |
| 21:12:26 | raptor | my dad always told me: "believe nothing you hear and only half of what you read" |
| 21:13:16 | bobdaduck | Smart dad. |
| 21:13:44 | raptor | level design contest! |
| 21:13:51 | raptor | (and i don't have to do the work!) |
| 21:15:04 | bobdaduck | Hm? |
| 21:37:16 | raptor | Quartz is running a contest |
| 21:37:23 | raptor | Quartz == not me |
| 21:40:07 | bobdaduck | lol |
| 21:40:18 | bobdaduck | I drew him a promotional picture. |
| 21:40:26 | bobdaduck | I think it will really draw in more submissions. |
| 21:42:03 | | LordDVG Quit (Remote host closed the connection) |
| 21:42:25 | | kodapad Quit (Remote host closed the connection) |
| 21:43:02 | | kodapad has joined |
| 21:49:09 | | Nothing_Much Quit (Ping timeout: 248 seconds) |
| 21:58:12 | | Nothing_Much has joined |
| 22:00:28 | | Darrel Quit (Quit: Closed IRC client) |
| 22:16:38 | raptor | an artist in our midst! |
| 22:18:16 | bobdaduck | who? |
| 22:18:28 | raptor | the scrap paper artist for the contest |
| 22:18:35 | bobdaduck | lol |
| 22:18:57 | bobdaduck | Did you not read my thread in the metaforum? xD |
| 22:19:37 | bobdaduck | I mean I pretty much created it for the sole purpose of posting crappy drawings |
| 22:20:42 | raptor | the emoticon thread? |
| 22:21:17 | bobdaduck | Yeah. |
| 22:22:17 | bobdaduck | Did you think I actually wanted bitfighter themed emoticons? xD |
| 22:23:46 | bobdaduck | I mean it would be cool if someone came up with something good (little_apple did, with the zapdance one) but like I said in the first post. Only like 63% serious. |
| 22:31:43 | | kodapad Quit (Quit: K Thx Bai) |
| 22:42:12 | | raptor Quit () |
| 22:42:55 | | bobdaduck Quit (Quit: Page closed) |
| 23:11:17 | | koda has joined |
| 23:27:26 | | bobdaduck has joined |
| 23:29:20 | | amgine1234567890 has joined |
| 23:29:27 | amgine1234567890 | hi |
| 23:29:31 | amgine1234567890 | is sam here? |
| 23:31:10 | bobdaduck | What do you need? |
| 23:32:40 | amgine1234567890 | just some help with my bots adjustments. |
| 23:38:10 | | Platskies has joined |
| 23:38:45 | amgine1234567890 | hi |
| 23:38:56 | Platskies | Hey |