Timestamps are in GMT/BST.
| 00:01:27 | bobdaduck | okay <eof> expected near end |
| 00:01:36 | bobdaduck | Does that mean I'm missing an end in the script? |
| 00:02:36 | raptor | try adding a new line at the end |
| 00:02:47 | raptor | but that would be dumb.. |
| 00:02:51 | raptor | probaby something else |
| 00:03:54 | bobdaduck | same error message |
| 00:04:00 | bobdaduck | line number and all. |
| 00:05:09 | raptor | code? |
| 00:05:12 | bobdaduck | Nope |
| 00:05:15 | bobdaduck | I think I've got it |
| 00:05:28 | raptor | as in: you will not give it to me? :) |
| 00:05:33 | bobdaduck | lol |
| 00:05:47 | bobdaduck | No as in its giving me a different error when something in the script should be happening |
| 00:06:08 | bobdaduck | attempting to index a null value |
| 00:06:49 | bobdaduck | Got it |
| 00:06:51 | bobdaduck | script working |
| 00:06:52 | bobdaduck | thanks |
| 00:10:27 | raptor | moral support, that's all you needed |
| 00:10:57 | bobdaduck | ikr |
| 00:11:12 | bobdaduck | Its because I put all my points in charisma |
| 00:11:17 | bobdaduck | moral support is very important... |
| 00:11:27 | raptor | haha |
| 00:12:24 | bobdaduck | *suppresses urge to be lazy and ask questions I've already asked before* |
| 00:17:38 | bobdaduck | halp |
| 00:17:43 | bobdaduck | Luadocs: testitem |
| 00:17:59 | raptor | ok |
| 00:18:06 | raptor | looks great! and empty |
| 00:18:13 | bobdaduck | huh? |
| 00:18:18 | raptor | list of all members |
| 00:18:24 | raptor | http://bitfighter.org/luadocs/class_test_item.html |
| 00:18:31 | bobdaduck | lolwhat |
| 00:18:38 | raptor | halp |
| 00:18:50 | | raptor does not know what bobdaduck asks unless he explicitly asks |
| 00:18:59 | bobdaduck | xD |
| 00:19:06 | bobdaduck | Nah I think that's all I need |
| 00:19:08 | bobdaduck | Hopefully. |
| 00:19:16 | bobdaduck | WISH ME LUCK |
| 00:19:20 | bobdaduck | *moral support* |
| 00:20:37 | bobdaduck | Holy crap |
| 00:20:40 | bobdaduck | It actually worked |
| 00:20:59 | bobdaduck | ...kinda. |
| 00:21:24 | bobdaduck | It worked once and then broke with the excuse: "attempt to call field "new"" |
| 00:24:05 | kaen | :I |
| 00:24:08 | raptor | nooo |
| 00:24:27 | | kaen sighs |
| 00:24:34 | raptor | is that our bug? |
| 00:24:39 | kaen | I would imagine |
| 00:24:40 | raptor | that would stink.. |
| 00:24:56 | kaen | or worse yet, a different. |
| 00:25:01 | bobdaduck | lol |
| 00:25:03 | bobdaduck | Really? |
| 00:25:07 | kaen | or maybe bob is just making stuff up |
| 00:25:13 | kaen | you're just making it up, right bob? |
| 00:25:16 | bobdaduck | Usually |
| 00:25:19 | kaen | oka. |
| 00:25:21 | kaen | +y |
| 00:25:22 | bobdaduck | But not right now |
| 00:25:25 | bobdaduck | Unfortunately. |
| 00:25:26 | bobdaduck | xD |
| 00:25:29 | kaen | worth a shot. |
| 00:25:34 | kaen | can you paste the whole thing? |
| 00:25:52 | kaen | the error, at least. |
| 00:26:00 | kaen | also, how recent is your build? |
| 00:26:03 | | SolumnMushroom has joined |
| 00:26:09 | bobdaduck | This is build... |
| 00:26:10 | bobdaduck | uh... |
| 00:26:19 | kaen | hg log -l1 |
| 00:26:20 | bobdaduck | One of the ones raptor gave me to work on sands of time with. |
| 00:26:24 | kaen | oh. |
| 00:26:26 | raptor | hg sum |
| 00:26:38 | | kaen learned something today |
| 00:26:41 | SolumnMushroom | Hello |
| 00:26:44 | kaen | hello. |
| 00:26:51 | raptor | is there a random-character name in the folder name, bobdaduck? |
| 00:27:05 | bobdaduck | Error firing event ShipEnteredZone: blah.levelgen:35: attempt to call field 'new' (a nil value) |
| 00:27:10 | kaen | yes. |
| 00:27:12 | bobdaduck | random character name? |
| 00:27:16 | raptor | i usually give out builds like: bitfighter-018a-alpha-1234qbcdef |
| 00:27:19 | raptor | -q |
| 00:27:21 | bobdaduck | oh yeah |
| 00:27:35 | raptor | kaen: that seems like it's a script bug on his part.. |
| 00:27:48 | bobdaduck | 6264-133f5b6ecea8 |
| 00:27:52 | kaen | what are you new'ing? |
| 00:27:57 | bobdaduck | Spawning a testitem. |
| 00:28:07 | bobdaduck | I should point out that it spawns resourceitems perfectly |
| 00:28:14 | bobdaduck | But it spawns one test item |
| 00:28:18 | bobdaduck | and then the script breaks. |
| 00:28:20 | raptor | try changin : to . or vise-versa |
| 00:28:25 | raptor | boo |
| 00:28:28 | raptor | maybe not.. |
| 00:28:32 | kaen | are you against pasting the levelgen? |
| 00:28:36 | bobdaduck | YEAH! |
| 00:28:38 | bobdaduck | no |
| 00:28:40 | kaen | k. |
| 00:28:46 | kaen | was sure how secret it was. |
| 00:28:50 | kaen | wasn't* |
| 00:28:54 | raptor | bobdaduck: if you do /clearcache in the level, then /restart |
| 00:28:58 | raptor | do you get same problem? |
| 00:29:45 | bobdaduck | yes. |
| 00:30:01 | bobdaduck | Well I mean you won't be able to see the level from the script |
| 00:30:02 | bobdaduck | so |
| 00:30:06 | raptor | well, pastie |
| 00:30:24 | raptor | then we'll either find a bug or... weep |
| 00:30:44 | kaen | ADVENTURE TIME! |
| 00:31:03 | bobdaduck | http://pastie.org/6158743 |
| 00:31:46 | bobdaduck | You will need a level two zones, ID'd 2 and 3 |
| 00:32:10 | bobdaduck | Your task, should you choose to accept it... |
| 00:32:21 | kaen | and you're saying this works fine for resource and not for test? |
| 00:32:45 | kaen | consistently? |
| 00:32:53 | bobdaduck | Yes. |
| 00:33:00 | kaen | after a program restart and everything? |
| 00:33:06 | bobdaduck | Yes. |
| 00:33:45 | bobdaduck | Oh |
| 00:33:46 | bobdaduck | and |
| 00:33:48 | bobdaduck | after the error |
| 00:33:53 | bobdaduck | You can still spawn resourceitems. |
| 00:35:02 | kaen | you're gonna laugh... |
| 00:35:06 | kaen | how do I set the ID? |
| 00:35:07 | bobdaduck | uh oh. |
| 00:35:11 | bobdaduck | Shift |
| 00:35:13 | bobdaduck | shift 1 |
| 00:35:16 | kaen | and is it in main, raptor ? |
| 00:35:20 | kaen | oh |
| 00:35:24 | bobdaduck | in the level file. |
| 00:35:26 | bobdaduck | Level editor |
| 00:35:37 | kaen | sorry nevermind |
| 00:35:46 | bobdaduck | I thought you'd fixed my error and I forgot a semicolon xDD |
| 00:36:02 | raptor | huh, works for me! |
| 00:36:07 | bobdaduck | What? |
| 00:36:12 | raptor | kaen: yeah always in main |
| 00:36:19 | bobdaduck | You can spawn two testitems? |
| 00:36:25 | kaen | I wasn't sure if it was just like a one-off build. |
| 00:36:41 | raptor | oh nope, two cannot spawn |
| 00:36:58 | bobdaduck | Yeah |
| 00:37:02 | bobdaduck | that's the error. |
| 00:37:03 | raptor | wow! |
| 00:37:08 | raptor | one works, but not two... |
| 00:37:13 | bobdaduck | Thought I noted that |
| 00:37:14 | bobdaduck | xD |
| 00:37:17 | raptor | kaen: maybe this is our simple test case! |
| 00:37:48 | kaen | I was hoping that |
| 00:37:51 | SolumnMushroom | Just fixed my broken Hold the Flag map |
| 00:37:53 | bobdaduck | In related news: Can I outright spawn a core? |
| 00:37:54 | kaen | resource works |
| 00:37:56 | kaen | not testitem |
| 00:37:58 | kaen | omg |
| 00:37:59 | kaen | bobdaduck |
| 00:38:01 | bobdaduck | THAT'S WHAT I SAID. |
| 00:38:03 | | koda Quit (Quit: koda) |
| 00:38:05 | raptor | THIS IS GREAT! |
| 00:38:05 | kaen | you are frickin hero dude |
| 00:38:06 | bobdaduck | lol |
| 00:38:09 | bobdaduck | What? |
| 00:38:15 | raptor | test case! |
| 00:38:18 | bobdaduck | What? |
| 00:38:19 | bobdaduck | xD |
| 00:38:21 | kaen | We have been so clueless about this bug |
| 00:38:27 | raptor | feasability to track pointers! |
| 00:38:27 | kaen | looking for a simple way to test it |
| 00:38:30 | raptor | (maybe) |
| 00:38:50 | kaen | we can examine the two of them and see what differs... |
| 00:39:28 | bobdaduck | I just realized |
| 00:39:31 | bobdaduck | With this level I'm making |
| 00:39:40 | bobdaduck | I can make the most complicated script bitfighter will ever see |
| 00:39:41 | bobdaduck | ever |
| 00:39:43 | bobdaduck | .xD |
| 00:40:00 | bobdaduck | Also why is circle in the luadocs? |
| 00:40:02 | bobdaduck | Can I spawn one? |
| 00:40:05 | raptor | NO |
| 00:40:07 | bobdaduck | And will that crash people? |
| 00:40:08 | bobdaduck | xD |
| 00:40:10 | raptor | YE |
| 00:40:11 | raptor | S |
| 00:40:15 | kaen | IT WILL REND THE INTERNET ASUNDER |
| 00:40:19 | bobdaduck | rofl |
| 00:40:56 | | Platskies has joined |
| 00:40:59 | bobdaduck | So... What about my script? |
| 00:41:05 | kaen | looks fine |
| 00:41:06 | kaen | should work |
| 00:41:07 | kaen | doesn't |
| 00:41:17 | kaen | we've been trying to fix your script for like the last week. |
| 00:41:20 | kaen | or more. |
| 00:41:21 | raptor | that's... crazy! |
| 00:41:35 | bobdaduck | what is? |
| 00:41:37 | bobdaduck | I'M SO CONFUSED |
| 00:45:40 | bobdaduck | OH COME ON |
| 00:45:47 | bobdaduck | CURRENTLY CANNOT INSTANTIATE A SHIP OBJECT FROM LUA |
| 00:45:56 | kaen | huehuehue |
| 00:46:25 | bobdaduck | Also why do circles crash things? |
| 00:46:48 | kaen | raptor, so those two classes look thoroughly identical to me |
| 00:47:09 | kaen | like, copy/paste, s/Test/Resource/ |
| 00:47:32 | kaen | except for dismount |
| 00:49:13 | bobdaduck | Bah! You guys won't let me randomly spawn cores on people either! |
| 00:49:40 | raptor | one is a subclass of MountableItem |
| 00:49:50 | kaen | just looking into that. |
| 00:50:00 | kaen | maybe the difference is up the chain. |
| 00:50:52 | SolumnMushroom | Updated my fourm posts to include the updated .level file |
| 00:52:36 | bobdaduck | Can I make it so people can engineer speedzones? |
| 00:53:25 | kaen | nope. |
| 00:53:31 | bobdaduck | Using scripts. |
| 00:53:54 | bobdaduck | lol |
| 00:55:19 | kaen | I know. |
| 00:55:32 | bobdaduck | Can I make it so touching a wall deletes it? |
| 00:55:49 | kaen | I don't think there's a collision callback |
| 00:55:52 | kaen | that would be cool though |
| 00:55:58 | kaen | could wrap the wall in a zone though. |
| 01:02:46 | SolumnMushroom | What percentage does the armor reduce damage by? |
| 01:03:26 | kaen | textitem = nil |
| 01:03:26 | kaen | function spawnResource(ship) |
| 01:03:26 | kaen | local loc = ship:getLoc() |
| 01:03:26 | kaen | resourceitem = ResourceItem.new() |
| 01:03:27 | kaen | resourceitem:setLoc(loc) |
| 01:03:28 | kaen | levelgen:addItem(resourceitem) |
| 01:03:30 | kaen | end |
| 01:03:32 | kaen | function spawnTestItem(ship) |
| 01:03:34 | kaen | local loc = ship:getLoc() |
| 01:03:36 | kaen | TestItem = TestItem.new() |
| 01:03:39 | kaen | TestItem:setLoc(loc) |
| 01:03:40 | kaen | levelgen:addItem(TestItem) |
| 01:03:42 | kaen | end |
| 01:03:44 | kaen | function onShipEnteredZone(ship, zone, zoneType, zoneId) |
| 01:03:46 | kaen | if(zoneId == 2) then |
| 01:03:48 | kaen | spawnResource(ship) |
| 01:03:50 | kaen | elseif(zoneId == 3) then |
| 01:03:52 | kaen | spawnTestItem(ship) |
| 01:03:54 | kaen | end |
| 01:03:58 | kaen | end |
| 01:04:00 | kaen | function onShipLeftZone(ship, zone, zoneType, zoneId) |
| 01:04:02 | kaen | end |
| 01:04:04 | kaen | function onTick() |
| 01:04:06 | kaen | end |
| 01:04:08 | kaen | function main() |
| 01:04:10 | kaen | subscribe(Event.ShipEnteredZone) |
| 01:04:12 | kaen | subscribe(Event.ShipLeftZone) |
| 01:04:14 | kaen | end |
| 01:04:16 | kaen | whoa oops |
| 01:04:18 | kaen | omg I'm so sorry. |
| 01:04:20 | kaen | .... |
| 01:04:22 | kaen | bobdaduck |
| 01:04:24 | kaen | if(zoneId == 2) then |
| 01:04:28 | kaen | spawnResource(ship) |
| 01:04:30 | kaen | elseif(zoneId == 3) then |
| 01:04:32 | kaen | spawnTestItem(ship) |
| 01:04:34 | kaen | change 3 to 1 dude. |
| 01:04:42 | bobdaduck | what |
| 01:04:43 | bobdaduck | why |
| 01:04:55 | kaen | because your zones are 1 and 2 |
| 01:04:58 | kaen | not 2 and 3 |
| 01:05:08 | bobdaduck | Um |
| 01:05:19 | bobdaduck | I have a zone 1 that I was going to do something with later. |
| 01:05:30 | bobdaduck | xD |
| 01:05:56 | kaen | oh god |
| 01:05:57 | kaen | no |
| 01:06:00 | kaen | I just can't read |
| 01:06:01 | bobdaduck | rofl |
| 01:06:09 | bobdaduck | You can change it if you want |
| 01:06:24 | kaen | I'm going to sleep until I forget the shame of the last four minutes |
| 01:06:28 | kaen | good night. |
| 01:06:34 | SolumnMushroom | Night |
| 01:06:35 | bobdaduck | rofl |
| 01:06:41 | bobdaduck | knight |
| 01:08:17 | SolumnMushroom | *me is rolling his eyes |
| 01:08:21 | SolumnMushroom | oops |
| 01:08:51 | SolumnMushroom | me &2 is rolling his eyes |
| 01:08:56 | SolumnMushroom | oops |
| 01:09:32 | bobdaduck | lol |
| 01:09:42 | SolumnMushroom | *sarcasm I am the best at IRC *endsarcasm |
| 01:10:03 | bobdaduck | Also |
| 01:10:09 | bobdaduck | If I make two zones the same ID |
| 01:10:17 | bobdaduck | they will both work. |
| 01:10:26 | bobdaduck | As far as spawning resources and stuff. |
| 01:11:31 | kaen | that's a simple bug to fix |
| 01:11:39 | kaen | rename it "group ID" |
| 01:11:45 | kaen | good-to-go |
| 01:12:08 | kaen | but now I really am going to sleep. |
| 01:12:09 | bobdaduck | What? |
| 01:13:45 | raptor | heaading home! back later |
| 01:13:48 | | raptor Quit () |
| 01:19:15 | bobdaduck | Actually: If I have multiple zones with the same zone ID, some will spawn two resource items and some will spawn one. |
| 01:20:14 | bobdaduck | Nowait |
| 01:20:19 | bobdaduck | They all only spawn one. |
| 01:20:25 | bobdaduck | I had two zones on top of each other. |
| 01:20:26 | bobdaduck | xD |
| 01:29:53 | | Platskies Quit (Remote host closed the connection) |
| 01:39:25 | SolumnMushroom | Had to go out to get my mom a birthday present |
| 01:41:39 | | Platskies has joined |
| 02:28:46 | SolumnMushroom | Bought her a blanket and a card |
| 02:30:24 | bobdaduck | nice |
| 02:31:26 | SolumnMushroom | Her birthday is tomorrow |
| 02:35:26 | bobdaduck | Cool |
| 02:50:20 | | raptor has joined |
| 02:50:20 | | ChanServ sets mode +o raptor |
| 02:50:40 | raptor | forgive me... i'm coding something in java |
| 03:17:14 | | raptor Quit () |
| 03:17:32 | | raptor has joined |
| 03:17:33 | | ChanServ sets mode +o raptor |
| 03:20:14 | bobdaduck | Okay raptor |
| 03:20:31 | bobdaduck | Remind me why you like new maps so much? |
| 03:28:12 | | Fordcars has joined |
| 03:41:44 | Fordcars | Hey guys, are there any levelgen tutorials with triggers yet or do I have to figure it out by myself? |
| 03:46:49 | raptor | Fordcars: sadly no tutorials yet, although there is some documentation: http://bitfighter.org/luadocs/index.html |
| 03:46:54 | raptor | but |
| 03:47:00 | raptor | it doesn't actually work with 018 |
| 03:47:21 | raptor | there was a bug in the released version that prevents levelgens from working properly |
| 03:47:29 | raptor | bobdaduck: because i'm a closet explorer - i like the unknown |
| 03:49:53 | Fordcars | oh ok :P |
| 03:49:59 | Fordcars | thanks |
| 03:50:29 | Fordcars | Wilol it work in 018a? |
| 03:50:39 | Fordcars | *will :P |
| 03:50:45 | SolumnMushroom | Funny Kirby transformation video for all: https://www.youtube.com/watch?v=FX9D-3R0mjY |
| 03:54:20 | raptor | Fordcars: yes-ish |
| 03:54:33 | raptor | as in, if we can't solve this bug it will work 50% of the time :) |
| 03:54:41 | Fordcars | ok :P |
| 03:56:18 | | Quartz has joined |
| 03:56:21 | Quartz | According to bobdaduck: MAP PARTY IN LIKE 5 MINUTES! |
| 03:56:29 | raptor | what |
| 03:56:30 | Fordcars | WHAT |
| 03:56:41 | | Quartz is now known as Guest92381 |
| 03:56:45 | Guest92381 | you heard me |
| 03:56:49 | Guest92381 | umm |
| 03:56:50 | | Lamp89 has joined |
| 03:56:51 | | Lamp89 Quit (Changing host) |
| 03:56:51 | | Lamp89 has joined |
| 03:56:53 | Guest92381 | Now I'm guest but you know |
| 03:56:55 | Guest92381 | You still heard me |
| 03:56:57 | Lamp89 | hi |
| 03:56:59 | Fordcars | isn't it in like 15 days :P |
| 03:56:59 | raptor | haha, k |
| 03:57:01 | Lamp89 | wat is guest |
| 03:57:04 | Lamp89 | BOBDADUCK |
| 03:57:07 | Lamp89 | U COMING NOW? |
| 03:57:08 | Fordcars | Quartz |
| 03:57:33 | raptor | Guest92381: probably the owner of the 'Quartz' account actually logged on... |
| 03:57:45 | Guest92381 | yeah, screw that guy |
| 03:58:25 | Fordcars | lol |
| 03:59:08 | | Lamp89_ has joined |
| 04:00:19 | bobdaduck | IN A SEC |
| 04:00:21 | bobdaduck | 60 SEC |
| 04:01:35 | Guest92381 | there's these faggots acting like political figures |
| 04:01:39 | Guest92381 | They seem to think it's funny |
| 04:01:42 | Guest92381 | I think it's a boring joke. |
| 04:01:46 | bobdaduck | lolwhat |
| 04:01:46 | Lamp89_ | bob |
| 04:01:49 | | Lamp89 Quit (Ping timeout: 276 seconds) |
| 04:01:51 | bobdaduck | I'M WORKING ON IT |
| 04:01:57 | bobdaduck | xD |
| 04:01:58 | Lamp89_ | /nick Lamp89 |
| 04:02:02 | | Lamp89_ is now known as Lamp89 |
| 04:02:04 | | Lamp89 Quit (Changing host) |
| 04:02:04 | | Lamp89 has joined |
| 04:11:47 | | SolumnMushroom Quit (Quit: Leaving) |
| 04:23:18 | | Lamp89 Quit (Remote host closed the connection) |
| 04:28:38 | | Platskies Quit (Remote host closed the connection) |
| 04:29:09 | | Fordcars Quit (Quit: This computer has gone to sleep) |
| 04:36:05 | | Lamp89 has joined |
| 04:36:06 | | Lamp89 Quit (Changing host) |
| 04:36:06 | | Lamp89 has joined |
| 04:36:56 | | Lamp89 Quit (Remote host closed the connection) |
| 04:41:08 | | Platskies has joined |
| 05:01:21 | | Guest92381 Quit (Quit: Page closed) |
| 05:09:22 | bobdaduck | Best level ever amirite |
| 05:09:29 | raptor | that was amazing |
| 05:09:43 | raptor | unrestricted engineer wasn't soo bad |
| 05:10:09 | raptor | i couldn't tell if everything was impenetrable yet |
| 05:10:22 | raptor | it was hard (going against blue) but doable |
| 05:12:23 | raptor | also how does your sister like bitfighter so far? (side note, we need to fix that black hole...) |
| 05:24:12 | | amgine1234567890 has joined |
| 05:24:15 | amgine1234567890 | hi |
| 05:24:24 | amgine1234567890 | is raptro afk? |
| 05:41:16 | raptor | i'm here |
| 05:42:42 | amgine1234567890 | jsut wonder if its ready for testing yet ill be ready whne the time comes in hte mean time im trying to make the bot have so much AI it cant be beat in 1 on 1 XD |
| 05:43:05 | raptor | sorry, not much testing yet - we still want to work through a few bugs |
| 05:43:36 | amgine1234567890 | ok call me if you need some help ill let you know of any progress i make on the bots. |
| 05:44:19 | raptor | ok |
| 05:45:29 | | kodaws has joined |
| 05:48:19 | bobdaduck | My sister likes bitfighte |
| 05:48:24 | bobdaduck | There were a couple ways |
| 05:48:25 | raptor | hooray! |
| 05:48:30 | bobdaduck | That you could make it invincible |
| 05:48:39 | bobdaduck | I've found only two so far so that's good |
| 05:48:47 | raptor | i got lucky with red in that game |
| 05:48:49 | bobdaduck | So many corridors that making everyting perfect is hard |
| 05:48:51 | bobdaduck | lol |
| 05:48:56 | bobdaduck | Red was invincible that game |
| 05:48:58 | bobdaduck | that''s why |
| 05:49:00 | raptor | i got in, before they made it hard and was a virus |
| 05:49:07 | raptor | got 8 of their cores |
| 05:49:14 | bobdaduck | Nice |
| 05:49:18 | bobdaduck | I gotta go to bed |
| 05:49:19 | bobdaduck | GG everyone |
| 05:49:21 | raptor | night! |
| 05:49:33 | amgine1234567890 | what? |
| 05:49:35 | bobdaduck | <<<<Ridiculous level guy |
| 05:49:42 | amgine1234567890 | whats level? |
| 05:49:43 | raptor | that was amazing |
| 05:49:46 | raptor | good job |
| 05:49:50 | bobdaduck | Amgine missed everything lol |
| 05:49:54 | bobdaduck | NIGHT |
| 05:49:54 | raptor | and qui showed up! |
| 05:49:56 | raptor | night |
| 05:50:00 | bobdaduck | Ikr |
| 05:50:04 | bobdaduck | I just went to footloose on skype |
| 05:50:06 | bobdaduck | "FOOT |
| 05:50:11 | bobdaduck | SECRET MAP UNVEILING TEN MINUTES |
| 05:50:13 | bobdaduck | GET EVERYONE." |
| 05:50:17 | bobdaduck | she's all "k" |
| 05:50:20 | raptor | haha |
| 05:50:22 | raptor | great |
| 05:50:27 | bobdaduck | I don't even know how she got Qui |
| 05:50:30 | bobdaduck | I don't even. |
| 05:50:36 | raptor | heh |
| 05:51:25 | | bobdaduck Quit (Quit: Page closed) |
| 05:55:03 | amgine1234567890 | a shame i jsut finished editing my level to improve it.... |
| 06:28:54 | amgine1234567890 | well gtg bye |
| 06:28:57 | | amgine1234567890 Quit (Quit: Page closed) |
| 07:12:41 | | Darrel has joined |
| 07:19:51 | | raptor Quit () |
| 07:35:16 | | Lamp89 has joined |
| 07:35:16 | | Lamp89 Quit (Changing host) |
| 07:35:17 | | Lamp89 has joined |
| 07:36:13 | Lamp89 | aww raptor not here.... :( |
| 07:36:19 | Lamp89 | :C |
| 07:36:24 | Lamp89 | sam686? |
| 07:37:36 | Lamp89 | I got Bitfighter 13e and I'm trying to hook it up to the master server. |
| 07:37:43 | Lamp89 | I changed the IP in Bitfighter.ini but it still can't connect. |
| 07:38:56 | | Lamp89 Quit (Remote host closed the connection) |
| 09:59:16 | | Darrel Quit (Read error: Connection reset by peer) |
| 10:07:42 | | Darrel has joined |
| 10:39:27 | | Platskies Quit (Remote host closed the connection) |
| 10:42:21 | | Platskies has joined |
| 12:24:10 | | Platskies Quit (Remote host closed the connection) |
| 12:30:55 | | Platskies has joined |
| 13:17:42 | | Platskies Quit (Remote host closed the connection) |
| 13:32:54 | | Nothing_Much Quit (Ping timeout: 256 seconds) |
| 15:45:32 | | bobdaduck has joined |
| 15:46:13 | | raptor has joined |
| 15:46:14 | | ChanServ sets mode +o raptor |
| 15:46:52 | bobdaduck | G'mornin' 'gents. |
| 15:47:04 | raptor | buenos buenos |
| 15:52:37 | | kodaws Quit (Read error: Connection reset by peer) |
| 15:53:03 | | kodaws has joined |
| 16:07:38 | raptor | print statements everywhere! |
| 16:07:55 | raptor | kaen: have you worked on the levelgen bug much since bobdaduck's discovery? |
| 16:09:11 | bobdaduck | lol |
| 16:09:22 | bobdaduck | That was originally going to be in the level too |
| 16:09:28 | bobdaduck | But it kind of didn't work. |
| 16:09:37 | raptor | that level was EPIC |
| 16:09:44 | raptor | in all senses of the word |
| 16:09:54 | bobdaduck | rofl |
| 16:10:24 | bobdaduck | I was like "foot, secret map unveiling in 10 minutes invite EVERYONE." |
| 16:10:32 | bobdaduck | She's like 'k'. |
| 16:11:21 | bobdaduck | 15 cores per team, 3/4ths the size of fast nexus |
| 16:11:23 | bobdaduck | lol |
| 17:07:48 | bobdaduck | Its too bad kaen missed it last night |
| 17:07:55 | bobdaduck | He would actually be able to play that map! |
| 17:07:56 | bobdaduck | xD |
| 17:43:03 | | Darrel Quit (Read error: Connection reset by peer) |
| 17:44:11 | | Darrel has joined |
| 17:59:46 | | kodaws Quit (Read error: Connection reset by peer) |
| 19:13:11 | | bobdaduck Quit (Ping timeout: 245 seconds) |
| 19:23:48 | raptor | aww man! |
| 19:23:53 | raptor | kaen: bah! |
| 19:24:27 | raptor | that test case from bobdaduck doesn't trigger the bug |
| 19:24:58 | raptor | he used 'TestItem' as the variable to set: TestItem = TestItem.new() |
| 19:25:11 | raptor | changing it to 'testItem' makes it work just fin |
| 19:25:13 | raptor | *fine |
| 19:36:01 | kaen | good god. |
| 19:51:39 | | Nothing_Much has joined |
| 19:55:46 | | LordDVG has joined |
| 19:56:48 | raptor | yeah, i'm an idiot |
| 19:56:55 | raptor | should have noticed that before.. |
| 19:58:01 | kaen | ditto |
| 19:58:12 | kaen | I went on about how it was fine, even... |
| 20:00:26 | | bobdaduck has joined |
| 20:06:44 | raptor | bobdaduck: |
| 20:06:49 | raptor | that levelgen bug |
| 20:06:51 | raptor | isn't a bug |
| 20:07:04 | raptor | with testitems |
| 20:14:53 | bobdaduck | Really? |
| 20:17:36 | raptor | yep |
| 20:17:45 | raptor | see this line: TestItem = TestItem.new() |
| 20:18:00 | bobdaduck | Yeah |
| 20:18:08 | raptor | you need to make that first variable something different |
| 20:18:16 | raptor | like 'testItem' (not capitalized) |
| 20:18:23 | raptor | because 'TestItem' is reserved |
| 20:18:40 | raptor | since you redefined 'TestItem' there, it fails |
| 20:19:21 | bobdaduck | Huh. |
| 20:19:41 | bobdaduck | Why's it fail? |
| 20:19:53 | raptor | so make it somethign simple like 't': http://pastie.org/6167850 |
| 20:20:14 | raptor | so 'TestItem' is already reserved as the way to access a TestItem object |
| 20:20:33 | raptor | when you do 'TestItem =' you are stealing the reserved variable and making it your own |
| 20:20:52 | bobdaduck | Okay, why does that break it after one iteration then? |
| 20:21:10 | raptor | so next time it tries to call the reserved variable (TestItem.new()) it calls .new() on your stolen TestItem variable from the previous iteration and fails |
| 20:21:37 | bobdaduck | ohhh |
| 20:21:43 | bobdaduck | Okay |
| 20:22:25 | bobdaduck | So I didn't break the game with a simple test case? |
| 20:22:27 | bobdaduck | Sad day. |
| 20:22:51 | raptor | heh |
| 20:22:56 | raptor | nope, user error... |
| 20:23:08 | raptor | we're sad... we thought we had a lucky break.. |
| 20:23:16 | bobdaduck | Arg! |
| 20:23:51 | bobdaduck | Well maybe I can break it some more better when I get home and try more crazy stuff. |
| 20:23:56 | raptor | ok |
| 20:24:21 | bobdaduck | What types of things should I be trying? |
| 20:26:01 | bobdaduck | Or.... Is that the problem. |
| 20:28:07 | raptor | anything you want |
| 20:28:25 | raptor | our bug is a random crash of levelgens.. |
| 20:29:27 | bobdaduck | Completely random? |
| 20:29:45 | raptor | sort of yes |
| 20:30:23 | bobdaduck | Sort of random? |
| 20:30:41 | kaen | we know of a few situations where it can pop up |
| 20:30:44 | raptor | it is random enough that we can't get a simple test case |
| 20:30:49 | kaen | yes. |
| 20:30:50 | raptor | we have a complex test case though |
| 20:31:04 | kaen | which is why we were so excited last night. |
| 20:31:27 | kaen | WHY DID YOU LET US DOWN LIKE THIS BOB? |
| 20:31:48 | kaen | also, hello |
| 20:31:51 | bobdaduck | I'M SORRY |
| 20:32:01 | bobdaduck | What does your complex case involve? |
| 20:32:10 | kaen | start a game -> add bots -> wait |
| 20:32:14 | bobdaduck | rofl |
| 20:32:39 | bobdaduck | really? |
| 20:32:43 | kaen | it's complex enough that when added on top of a full recompile, testing possible solutions is very time consuming |
| 20:32:46 | kaen | yes, really. |
| 20:32:48 | bobdaduck | And everything else is pretty much random? |
| 20:32:55 | kaen | well, not a full recompile anymore |
| 20:32:56 | kaen | but still |
| 20:33:07 | kaen | yes, it's random exactly *when* the bug occurs |
| 20:33:13 | kaen | as is its exact manifestation |
| 20:33:40 | kaen | the only things we know are its rough scope and that will *always* happen |
| 20:33:42 | kaen | eventually. |
| 20:33:52 | kaen | that it will* |
| 20:34:37 | kaen | except, of course, when raptor is trying to bisect it |
| 20:34:48 | kaen | then it will spontaneously not happen and send us chasing waterfowl. |
| 20:34:48 | bobdaduck | lol |
| 20:35:00 | kaen | so clearly the bug is sentient |
| 20:35:05 | bobdaduck | rofl |
| 20:35:16 | kaen | we agrees with my "atomic-sized code-dwelling gnomes" |
| 20:35:18 | bobdaduck | You're just missing a semicolon somewhere probably |
| 20:35:19 | kaen | hypothesis. |
| 20:35:25 | kaen | which agrees* |
| 20:35:30 | bobdaduck | lol |
| 20:35:31 | kaen | I can not type. |
| 20:36:01 | bobdaduck | Nope. |
| 20:36:01 | | Wuzzy has joined |
| 20:36:22 | kaen | can't even blame it on my computer :< |
| 20:36:23 | bobdaduck | In stock 018 will bots work? |
| 20:36:25 | kaen | yes |
| 20:36:27 | kaen | happily. |
| 20:36:42 | raptor | so we *do* have bots working now... |
| 20:36:56 | raptor | but not levelgens, and we don't even understand why bots work with our fix |
| 20:38:20 | bobdaduck | How does the bug break levelgens? |
| 20:38:29 | bobdaduck | (also what's the error on bot crash?) |
| 20:41:14 | raptor | 'how' is what we're looking for |
| 20:41:36 | raptor | the error is generic, you'd see it in the console |
| 20:48:46 | raptor | hahaha, Quartz' server cracks me up |
| 20:49:21 | kaen | so, raptor |
| 20:49:32 | kaen | when was the last time you ran object_persistence_test.levelgen? |
| 20:49:43 | kaen | because it's failing for me now. |
| 20:49:47 | raptor | i've never run that... |
| 20:49:53 | raptor | i don't even know what that is.. |
| 20:50:07 | kaen | it looks like it tests if lua gc'ing things it shouldn't |
| 20:50:16 | kaen | and now one of the asserts is triggered. |
| 20:50:23 | kaen | I'll try with an earlier rev. |
| 20:50:32 | raptor | where can i get that? |
| 20:50:38 | kaen | resource/testing |
| 20:50:50 | raptor | where did that come from!? |
| 20:50:52 | kaen | I just found it |
| 20:50:55 | kaen | like 30 seconds ago. |
| 20:51:09 | kaen | by accidentally tab completing things, no less |
| 20:51:59 | raptor | ah ha! watusimoto asked about this on SO a few weeks ago: http://stackoverflow.com/questions/14531901/is-my-lua-object-being-collected |
| 20:52:42 | raptor | but looks like he abandoned his premise... that the luatraverse script is wrong |
| 20:52:53 | raptor | i mean, that he things its wrong... |
| 20:54:30 | raptor | ah, but he used it with the userdata cache that we've removed for now.. |
| 20:54:47 | | Darrel_ has joined |
| 20:55:01 | | Darrel Quit (Read error: Connection reset by peer) |
| 20:56:10 | kaen | "That suggests to me that something is preventing the objects from being collected" |
| 20:56:29 | kaen | I really agree with this (which wat said in the comments) |
| 20:58:36 | | Wuzzy2 has joined |
| 21:00:17 | kaen | also, I read something in the luawrapper header the other day, a pushed value can sometimes be nil if it was c++ destructed for whatever reason and that client code should check for this case. |
| 21:01:42 | | Wuzzy Quit (Ping timeout: 256 seconds) |
| 21:07:12 | raptor | hmm |
| 21:07:24 | raptor | except we always push a real object, don't we? |
| 21:07:46 | raptor | and levelgens |
| 21:08:41 | raptor | just do metatable lookups, don't they? |
| 21:08:45 | raptor | well |
| 21:08:46 | raptor | actually |
| 21:09:31 | raptor | in that test case for bug #4... |
| 21:10:41 | | raptor is testing something |
| 21:13:33 | raptor | uh kaen, i'm now getting this error everytime i run that test script sam686 provided: http://pastie.org/6168409 |
| 21:14:12 | raptor | oh... wait |
| 21:14:17 | raptor | it needs to be updated with point.new |
| 21:15:06 | kaen | yeah |
| 21:15:20 | kaen | how do you update the TextItem though? |
| 21:15:31 | raptor | multiple points work, too |
| 21:15:31 | kaen | I tried Geometry.new and still get the error |
| 21:15:32 | raptor | setGeom(point.new(x * 100, y * 100), point.new(x * 100 + 100, y * 100)) |
| 21:15:36 | kaen | okay |
| 21:16:37 | raptor | reducing it to 5x5 |
| 21:16:57 | kaen | do you get an error for settext? |
| 21:17:07 | raptor | yes, always an error for settext |
| 21:17:34 | kaen | does the script ever work for you? |
| 21:17:37 | raptor | so what does that mean... |
| 21:17:38 | raptor | yes |
| 21:17:41 | kaen | because it fails for me every time. |
| 21:17:47 | raptor | do /clearcache |
| 21:17:49 | raptor | then restart |
| 21:18:27 | | Wuzzy2 Quit (Quit: Wuzzy2) |
| 21:18:37 | | Wuzzy has joined |
| 21:18:41 | raptor | i can remove the resource items and it still crashes |
| 21:19:02 | kaen | if I remove the text items it does not. |
| 21:19:09 | kaen | obviously. |
| 21:21:31 | raptor | ok, printed out 'textItem' with each iteration and it prints this right before crashing: userdata: 0x28211a8 |
| 21:21:45 | kaen | !! |
| 21:21:52 | kaen | that's not a valid address for your system, is it? |
| 21:22:26 | raptor | that's what all userdatas even when working print out.. |
| 21:22:30 | raptor | similar |
| 21:22:37 | kaen | okay then |
| 21:22:50 | raptor | 7 characters... 64bit system |
| 21:22:50 | kaen | mine all start at 0x80 something |
| 21:22:53 | raptor | kind of messed up |
| 21:23:00 | kaen | yes. |
| 21:23:15 | raptor | i can only assume its: 00000000028211a8 |
| 21:23:20 | kaen | definitely. |
| 21:24:09 | raptor | so |
| 21:24:25 | raptor | we know now that Lua *does* think it is a userdata, but that the 'setText' method is missing |
| 21:25:01 | kaen | indicates a bad metatable |
| 21:25:17 | kaen | or that the specific userdata has an unset, or improperly set metatable |
| 21:26:19 | kaen | I can not for the life of me decipher how these metatables are built |
| 21:26:54 | kaen | I get the three obvious macros: the two LUA_GENERATE* and the METHOD one |
| 21:27:15 | kaen | but I don't see where that is actually built into a lua metatable |
| 21:30:06 | raptor | how are you printing the metatable? |
| 21:32:06 | kaen | I'm not... |
| 21:32:12 | kaen | I have not idea how I might. |
| 21:32:23 | kaen | oh wait, I have an idea |
| 21:33:27 | kaen | luaL_getmetatable(L, LuaWrapper<T>::classname); |
| 21:33:32 | kaen | should push it on the stack |
| 21:33:37 | raptor | this may be insightful: http://stackoverflow.com/questions/726958/query-lua-userdata-type-from-c |
| 21:33:43 | kaen | then maybe you can dump it with that other function we have. |
| 21:34:00 | kaen | of course you have to know T |
| 21:35:49 | kaen | and lua_getmetatable(L, index) gets the mt of whatever is at index |
| 21:36:13 | raptor | uhhh |
| 21:36:23 | raptor | textItem.cpp:65 |
| 21:36:32 | raptor | anything look funny to you there? |
| 21:37:02 | kaen | ... |
| 21:37:21 | raptor | let's see what changing 'TextItem' to 'Spawn' does |
| 21:37:26 | raptor | err, other way aroujnd |
| 21:37:44 | | Darrel_ Quit (Quit: Closed IRC client) |
| 21:38:55 | kaen | hmm, looks like the strings are cosmetic |
| 21:39:05 | raptor | crashes on the next line now! |
| 21:39:17 | kaen | wtf. |
| 21:39:19 | raptor | now it's crashing on addItem for me |
| 21:39:31 | raptor | attempt to call missing or unknown method 'addItem' (a nil value) |
| 21:40:04 | kaen | same error I imagine |
| 21:40:06 | kaen | copy/pasting |
| 21:40:20 | kaen | oh wait |
| 21:40:25 | kaen | that method is inherited. |
| 21:41:35 | raptor | i am verifying every one of those in the code.. |
| 21:41:43 | raptor | so far FlagItem was a CoreItem |
| 21:45:31 | raptor | yeah, cosmetic... but it caused a change in behavior |
| 21:45:46 | kaen | why?! |
| 21:45:52 | kaen | did you see the function? |
| 21:46:09 | kaen | it only uses them once an error is already found. |
| 21:46:23 | raptor | correct |
| 21:46:26 | raptor | but |
| 21:46:33 | raptor | it caused a change in behavior... |
| 21:46:34 | raptor | sooo |
| 21:46:36 | raptor | what does that mean |
| 21:46:42 | raptor | memory corruption? |
| 21:46:46 | kaen | looks like it |
| 21:46:53 | kaen | god I hope so |
| 21:46:59 | kaen | spawnitem |
| 21:47:02 | kaen | textitem |
| 21:47:11 | kaen | maybe a single byte overflow? |
| 21:47:24 | kaen | that would be nuts. |
| 21:47:28 | raptor | improperly terminated char array somewhere? |
| 21:47:55 | raptor | i was once told that if i ever see 'char' in my c++ code then I have a bug |
| 21:48:08 | kaen | that sounds like pretty good advice. |
| 21:48:22 | | BFLogBot Commit: dff92d5efd44 | Author: buckyballreaction | Message: Make sure we supply the proper class name for argument checking |
| 21:49:29 | raptor | ok, well |
| 21:49:32 | raptor | tested again |
| 21:49:42 | raptor | dying on addItem now... |
| 21:50:59 | kaen | not for me |
| 21:51:05 | kaen | after a fresh hg pull -u |
| 21:51:37 | kaen | I'm on a 32 bit machine, it might be worth mentioning. |
| 21:51:41 | raptor | this is my levelgen: http://pastie.org/6168825 |
| 21:52:04 | raptor | takes 2 or 3 restarts to crash |
| 21:52:07 | kaen | mine is that s/4/20 |
| 21:52:17 | kaen | and crashes on settext still |
| 21:52:24 | kaen | hg sum confirms I'm on the right rev |
| 21:52:33 | kaen | make doesn't build anything new. |
| 21:52:40 | kaen | might try a full rebuild just to be sure. |
| 21:52:47 | raptor | me too |
| 21:54:00 | kaen | so, on the topic of the header madness and disproportionate build time for bitfighter |
| 21:54:09 | kaen | we should just go forward-declaration crazy one day |
| 21:54:15 | kaen | one time, in one fell swoop |
| 21:54:30 | kaen | and see what sort of performance change that has |
| 21:54:36 | raptor | we've done some of that already... |
| 21:54:46 | raptor | but not since boost |
| 21:54:48 | kaen | there's still a ton of full includes though |
| 21:54:49 | raptor | i don't think |
| 21:55:19 | kaen | and I don't see very much implementation in the headers typically |
| 21:55:44 | kaen | anyway, I'm done building. testing now. |
| 21:56:04 | kaen | still at settext for me. |
| 21:56:25 | kaen | (now I'm glad when full rebuilds don't fix anything) |
| 21:56:41 | raptor | yeah, i purged most implementations from headers |
| 21:56:56 | raptor | ok, still at addItem... |
| 21:57:01 | kaen | crazy |
| 21:57:22 | raptor | ok, so memory corruption? |
| 21:57:33 | raptor | that means char array, in my head |
| 21:57:41 | raptor | and where would we be doing that.. |
| 21:58:01 | kaen | all over the place, when it comes to this lua stuff |
| 21:59:05 | kaen | whatever you do, don't search "char" in luawrapper.h |
| 21:59:10 | raptor | heh |
| 21:59:14 | kaen | just don't. |
| 21:59:47 | kaen | it doesn't make any sense to me why they'd use char for that |
| 22:00:07 | kaen | it's not like the code is c-compatible |
| 22:00:31 | kaen | I'm sure it was for some hypothetical, completely unmeasured "performance" reason |
| 22:01:02 | kaen | and now, having that char curse inflicted upon us by our tools we are left hunting bugs that shouldn't even exist any more. |
| 22:02:31 | kaen | oh god. every message, prefix, classname, function name, and internal luaw string constants (used as keys) are all char* |
| 22:02:43 | raptor | hmmm |
| 22:03:02 | kaen | let's look for strncopy and friends |
| 22:03:12 | raptor | i keep checking back to LuaWrapper on bitbucket hoping to find something like "fixed memory corruption" |
| 22:03:23 | kaen | haha |
| 22:06:19 | raptor | i don't know if anything is promising... https://bitbucket.org/alexames/luawrapper/commits |
| 22:06:33 | raptor | but i did find that line-endings in our LuaWrapper.h are both formats! |
| 22:07:49 | raptor | i've been getting after watusimoto for over a year about line endings... he keeps assuring my he's fixed saving DOS formatted lines |
| 22:07:56 | raptor | *me |
| 22:08:30 | kaen | hehe |
| 22:08:51 | kaen | whenever I see them in the source I just shake my head and grin |
| 22:08:59 | raptor | line endings -> unix doesn't help much... still crashes |
| 22:09:11 | raptor | i've seen line endings mess things up with preprocessor macros |
| 22:09:31 | kaen | ah, I see |
| 22:09:34 | kaen | that makes sense. |
| 22:32:20 | | LordDVG Quit (Remote host closed the connection) |
| 22:40:08 | | bobdaduck Quit (Quit: Page closed) |
| 23:10:14 | | Disconnected. |
| 23:10:14 | | -morgan.freenode.net- *** Looking up your hostname... |
| 23:10:14 | | -morgan.freenode.net- *** Checking Ident |
| 23:10:14 | | -morgan.freenode.net- *** No Ident response |
| 23:10:15 | | -morgan.freenode.net- *** Couldn't look up your hostname |
| 23:10:21 | | BFLogBot has joined |
| 23:10:21 | | Topic is 'Bitfighter 018 released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/' |
| 23:10:21 | | Set by raptor!~raptor@unaffiliated/greenmachine on Fri Jan 18 20:33:17 GMT 2013 |
| 23:10:21 | | -ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response. |
| 23:17:52 | | bobdaduq has joined |