Timestamps are in GMT/BST.
| 00:56:01 | | bobdaduck_m has joined |
| 00:56:15 | bobdaduck_m | And not a shred of sense was programmed that day |
| 00:56:59 | bobdaduck_m | Levelgen carnival has the stupidest crashes |
| 00:57:21 | bobdaduck_m | Apparently when Robbie gets close to the cotton candy machine the game crashes |
| 00:57:34 | bobdaduck_m | NEITHER OF WHICH HAVE ANYTHING TO DO WITH EACH OTHER |
| 00:58:24 | bobdaduck_m | except that cotton candy and robbie both calculate things based off where the center of the ship is. |
| 00:59:29 | bobdaduck_m | slashrant |
| 00:59:54 | | bobdaduck_m Quit (Client Quit) |
| 01:10:29 | bobdaduck | OH GOT IT |
| 01:10:39 | bobdaduck | Because neutral ships levelgened zones make everything go boom |
| 01:12:08 | | bobdaduck Quit (Remote host closed the connection) |
| 01:15:11 | | Watusimoto Quit (Ping timeout: 248 seconds) |
| 01:50:50 | | raptor has joined |
| 01:50:51 | | ChanServ sets mode +o raptor |
| 01:53:38 | raptor | howdy folks |
| 01:53:56 | raptor | code review time.. |
| 01:55:01 | raptor | ok maybe i'm stupid.. because c++.. but what does having 'const' after a method mean again? |
| 01:55:42 | | raptor prays that the current revision compiles |
| 01:57:16 | raptor | yay |
| 02:00:43 | kaen | const after a method means it can be called on a const instance of the class |
| 02:01:32 | kaen | handy when you're passing around const refs |
| 02:02:01 | kaen | omg search forms are the devil |
| 02:03:53 | raptor | DIE SEARCH INTERFACES |
| 02:04:14 | raptor | const is crazy |
| 02:04:53 | raptor | thanks |
| 02:07:16 | kaen | it's kind of unforgivable in cakephp, I mean there's already an explicit enumeration of the values, names, and types. All you need (logically) is maybe a whitelist of fields and a method in the controller and view. done |
| 02:07:58 | kaen | but in reality (even using a "search" plugin written by a commercial development organization for cakephp) I have to build the whole thing by hand... |
| 02:08:48 | raptor | tell me about it - I'm working on a search engine project at work |
| 02:09:09 | kaen | blech |
| 02:09:12 | raptor | they paid a whole bunch of money for this system |
| 02:09:35 | raptor | and we'll have to write most of the interface from scratch anyways |
| 02:10:43 | raptor | oh kaen, did you actually do some testing with bobdaduck earlier? |
| 02:10:49 | kaen | just a little |
| 02:11:08 | kaen | bouncer changes are great :) |
| 02:11:15 | raptor | oh good! |
| 02:11:28 | raptor | I sometimes think they're still a little too powerful? |
| 02:11:42 | kaen | could be |
| 02:12:21 | raptor | do you still want to do some testing? |
| 02:12:25 | kaen | sure |
| 02:12:33 | kaen | I'll take a break from php for a bit |
| 02:12:40 | raptor | ok, i'll start a server in gdb... |
| 02:13:37 | kaen | connection terminated |
| 02:13:54 | raptor | ok now try (i had a password on it) |
| 02:58:22 | | SolumnMushroom has joined |
| 03:01:43 | SolumnMushroom | Installing Skype for linux |
| 03:02:50 | SolumnMushroom | On Ubuntu |
| 03:05:36 | SolumnMushroom | Also, happy Saturday! |
| 03:07:11 | | bobdaduck has joined |
| 03:07:55 | raptor | bugs bugs everywhere! |
| 03:08:01 | raptor | and hello |
| 03:08:04 | SolumnMushroom | Saturday has come and almost gone. It's 8 PM here |
| 03:08:39 | SolumnMushroom | PST |
| 03:08:49 | raptor | yeah, it's 9pm here |
| 03:09:28 | raptor | lots of peoples on! |
| 03:09:51 | SolumnMushroom | A whopping 4 people and 2 bots! |
| 03:10:12 | SolumnMushroom | No offence to ChanServ or BFLogBot |
| 03:20:40 | | SolumnMushroom likes Ye Olde Pavement |
| 03:35:02 | raptor | so like, those games were great! |
| 03:35:08 | kaen | yep :) |
| 03:35:22 | raptor | looked like a LAN party - all had 30 ping or lower except us |
| 03:36:08 | kaen | most definitely... |
| 03:37:02 | kaen | I was dreaming today about having players (even just a few!) on 24/7 |
| 03:37:17 | raptor | yeah - see, those games prove our game is pretty cool |
| 03:37:41 | raptor | because that was a lot of fun |
| 03:38:18 | bobdaduck | I figured out what was crashing levelgen carnival kaen |
| 03:38:31 | kaen | neutral ships + zones? |
| 03:38:35 | bobdaduck | Yeah |
| 03:38:45 | bobdaduck | See Robbie has a zone that moves with him |
| 03:38:51 | bobdaduck | and the neutral ship manning the cotton candy stand |
| 03:38:51 | bobdaduck | xD |
| 03:38:58 | bobdaduck | That's fixed 019, right? |
| 03:39:11 | raptor | yes |
| 03:39:23 | SolumnMushroom | I now have checkinstall |
| 03:39:40 | raptor | but with recent changes by watusimoto - I'm not confident in anything working quite right... |
| 03:40:07 | bobdaduck | Okay so I have 019 up. What should I test? |
| 03:40:21 | raptor | I can host a game - want to do some play testing? |
| 03:40:27 | kaen | yep |
| 03:40:37 | bobdaduck | PLAYTESTING 019 |
| 03:40:39 | bobdaduck | OH BOY |
| 03:40:41 | raptor | server up |
| 03:40:43 | raptor | 69... |
| 03:41:14 | bobdaduck | I CAN'T TELL |
| 03:41:19 | bobdaduck | WHICH OF THE ONE SERVERS UP IS YOURS? |
| 03:41:26 | raptor | uh.. it starts with 69 |
| 03:41:29 | raptor | only one? |
| 03:41:35 | bobdaduck | xD |
| 03:41:55 | raptor | what the crazy |
| 03:42:01 | raptor | global chat doesn't work from in-game now.. |
| 03:45:07 | bobdaduck | whatttt |
| 03:45:08 | bobdaduck | xD |
| 03:45:29 | SolumnMushroom | BFLogBot I think that's your cue |
| 03:45:47 | bobdaduck | lol |
| 03:46:26 | SolumnMushroom | I have a SEGA emulator |
| 03:47:00 | SolumnMushroom | As for what SEGA stuff it emulates, the answer is "yes" |
| 03:47:19 | SolumnMushroom | Kega Fusion |
| 04:02:58 | bobdaduck | crash! |
| 04:03:30 | bobdaduck | In clientInfo "isauthenticated" |
| 04:03:39 | raptor | oh lovely |
| 04:03:47 | raptor | can you get me a trace? |
| 04:05:28 | bobdaduck | okay |
| 04:05:30 | bobdaduck | I got another crash |
| 04:05:34 | bobdaduck | ...On my "testbugs" map |
| 04:05:37 | bobdaduck | HOW IRONIC. |
| 04:05:54 | raptor | are you testing within visual studio? |
| 04:06:01 | bobdaduck | yeah |
| 04:06:05 | bobdaduck | bottom right corner junk? |
| 04:06:09 | raptor | yes |
| 04:06:11 | bobdaduck | http://pastie.org/7731600 |
| 04:06:21 | raptor | perfect! |
| 04:06:26 | raptor | you can be taught! |
| 04:06:52 | raptor | render errors, argh |
| 04:07:08 | kaen | yuck |
| 04:07:15 | kaen | which level was that on? |
| 04:07:16 | raptor | yeah, i don't like the trace |
| 04:08:05 | bobdaduck | uh |
| 04:08:11 | raptor | yeah, bugs everywhere |
| 04:08:33 | kaen | frankly, not a great trace format. where are the filenames? |
| 04:08:47 | raptor | bobdaduck: kill me please - i'm stuck in 'press any key to respawn' |
| 04:08:54 | bobdaduck | Okay so testbugs apparently |
| 04:09:01 | bobdaduck | is the map where |
| 04:09:12 | kaen | gotta go, will read the logs |
| 04:09:14 | bobdaduck | I have the slipzone with negative slip coeficcient |
| 04:09:50 | bobdaduck | With a neutral ship in it |
| 04:10:03 | bobdaduck | here's the crash on levelgen carnival: |
| 04:10:03 | bobdaduck | http://pastie.org/7731607 |
| 04:10:41 | raptor | same |
| 04:10:43 | raptor | ok |
| 04:10:44 | raptor | thanks |
| 04:11:03 | raptor | bobdaduck |
| 04:11:10 | raptor | can you check one of the other vc++ tabs |
| 04:11:28 | raptor | to see if there is a better trace - it'll be similar, but have filenames, too |
| 04:11:29 | bobdaduck | which one |
| 04:11:35 | raptor | i have no idea... |
| 04:11:58 | bobdaduck | Call stack (the one I gave), BreakPoints, command window, immediate window, output |
| 04:12:13 | raptor | ok, call stack would be it.. |
| 04:12:15 | raptor | boo |
| 04:12:26 | bobdaduck | hm maybe |
| 04:12:38 | bobdaduck | "Autos" has a collapsable |
| 04:12:52 | bobdaduck | 0x0000000 {mplayerInfo = ??? mstatistics = {...} etc |
| 04:12:59 | raptor | ooo |
| 04:13:01 | bobdaduck | this 0x00000000 {mPlayerInfo=??? mStatistics={...} mShip={...} ...} Zap::ClientInfo * const |
| 04:13:07 | raptor | yeah, that's a 'complete' stack trace |
| 04:13:11 | raptor | that'll be good too |
| 04:13:32 | bobdaduck | how big should I make it? xD |
| 04:13:51 | raptor | uhh, maybe only like 20 or so lines of the complete one |
| 04:14:06 | raptor | with the normal call stack |
| 04:14:15 | bobdaduck | too late |
| 04:14:15 | bobdaduck | http://pastie.org/7731611 |
| 04:14:45 | raptor | ha |
| 04:14:55 | raptor | ok, so that says clientinfo is null |
| 04:14:57 | raptor | man |
| 04:15:00 | raptor | soo many bugs |
| 04:15:12 | raptor | kaen: do you think the issues could be just because of all the 'const' additions? |
| 04:15:27 | bobdaduck | I'MA GO FIND SOME MORE |
| 04:15:32 | bobdaduck | (he's gone) |
| 04:21:05 | raptor | your mine room isn't working.. |
| 04:21:40 | SolumnMushroom | I have Steam, Minecraft, Skype, and a good Sega console emulator as well as an IRC client AND Bitfighter! I think I'm good on entertainment |
| 04:22:27 | raptor | bobdaduck: i've crashed your script at least twice now.. |
| 04:26:19 | bobdaduck | how? |
| 04:26:26 | raptor | i don't know... |
| 04:26:57 | raptor | oh, i think once it was because i crash, then rejoined the server |
| 04:27:10 | raptor | my ghost was already there, so it kicked it |
| 04:27:16 | SolumnMushroom | Goodnight |
| 04:27:21 | | SolumnMushroom Quit (Quit: Leaving) |
| 04:27:29 | raptor | then the script crash |
| 04:28:16 | raptor | crahsed again |
| 04:32:33 | raptor | ok, coming back, is script working? |
| 04:46:25 | raptor | crash! |
| 04:46:30 | bobdaduck | Did you? |
| 04:46:40 | bobdaduck | I changed the level to space station |
| 04:46:46 | raptor | ah... ok, just long level load then |
| 04:46:49 | bobdaduck | lol |
| 04:54:31 | bobdaduck | Owner comands is empty |
| 04:54:35 | bobdaduck | in F1 |
| 04:54:40 | raptor | what!? |
| 04:54:52 | bobdaduck | /shutdown should be an owner command. |
| 04:54:55 | bobdaduck | (just thoughts. |
| 04:55:08 | raptor | i had commands there when i coded it! |
| 04:55:12 | bobdaduck | lol |
| 04:55:16 | bobdaduck | its totally empty. |
| 04:55:18 | bobdaduck | ANYWAY. |
| 04:55:34 | raptor | man |
| 04:55:44 | raptor | i can't write these bugs down fast enough! |
| 04:55:53 | bobdaduck | xD |
| 04:56:08 | raptor | wait, is it playerInfo that is used on onShipLeftZone? |
| 04:56:08 | bobdaduck | we didn't even TRY dnd |
| 04:56:21 | raptor | and that is used to register players? |
| 04:56:53 | raptor | yep, that's it.. |
| 05:02:23 | bobdaduck | probablly |
| 05:02:29 | bobdaduck | nowait |
| 05:02:42 | bobdaduck | no onshipleftZone has ship, not playerInfo |
| 05:02:54 | bobdaduck | and then playerinfo is used to register players |
| 05:03:14 | raptor | yes, so we know at least the playerinfo is different all the time |
| 05:03:37 | raptor | ok, wrote down all the bugs |
| 05:03:50 | raptor | sent watusimoto an e-mail about why the game is broken so much... |
| 05:04:08 | bobdaduck | xD |
| 05:04:38 | raptor | ok, brain shutting down |
| 05:04:40 | raptor | night! |
| 05:05:04 | raptor | if you find anymore bobdaduck, don't hesitate to post them here - i'll check the logs |
| 05:05:10 | bobdaduck | lolk |
| 05:05:11 | raptor | *any more bugs |
| 05:05:34 | | raptor Quit () |
| 05:08:29 | | bobdaduck Quit (Remote host closed the connection) |
| 05:58:22 | | Platskies has joined |
| 07:46:10 | | Platskies Quit (Remote host closed the connection) |
| 08:55:04 | | Watusimoto has joined |
| 09:31:04 | | LordDVG has joined |
| 09:54:33 | | Watusimoto Quit (Ping timeout: 276 seconds) |
| 11:13:39 | | LordDVG Quit (Remote host closed the connection) |
| 12:08:19 | | Watusimoto has joined |
| 12:24:15 | | Platskies has joined |
| 12:37:12 | | Platskies Quit (Remote host closed the connection) |
| 12:54:54 | | Watusimoto Quit (Ping timeout: 248 seconds) |
| 12:55:24 | | kaen looks at the RBL |
| 12:55:42 | | kaen sobs |
| 13:49:45 | | koda has joined |
| 14:43:56 | | Watusimoto has joined |
| 15:44:07 | | koda Quit (Quit: koda) |
| 16:13:21 | | bobdaduck has joined |
| 16:13:22 | | bobdaduck_ has joined |
| 16:16:10 | | bobdaduck_ Quit (Remote host closed the connection) |
| 16:17:39 | bobdaduck | So watusimoto |
| 16:17:42 | bobdaduck | did you see? |
| 16:17:49 | Watusimoto | hey there |
| 16:17:50 | bobdaduck | (the logs) |
| 16:17:56 | Watusimoto | no |
| 16:18:05 | bobdaduck | Oh. |
| 16:18:11 | Watusimoto | what to see? the crashes? |
| 16:18:12 | bobdaduck | Well. in 019 you can move while typing |
| 16:18:17 | Watusimoto | fixed |
| 16:18:18 | bobdaduck | There were plenty of crashes |
| 16:18:26 | Watusimoto | I know the problem, am working on it now |
| 16:18:42 | Watusimoto | well, at leat the typing one |
| 16:18:59 | Watusimoto | working on the resource item one now... I suspect its related, but not sure how yet |
| 16:20:42 | bobdaduck | Which resource item one? |
| 16:22:44 | Watusimoto | pick up resource item, client still renders it where it was |
| 16:22:46 | Watusimoto | it's on the list |
| 16:54:17 | Watusimoto | found it!!!\ |
| 16:54:22 | Watusimoto | not const related!!! |
| 17:01:44 | Watusimoto | maybe I can figure out how to fix it after dinner... |
| 17:02:17 | Watusimoto | uploading some const fixes... may fix some of the crashes. or not?? |
| 17:02:38 | | BFLogBot Commit: 560229591daa | Author: watusimoto | Message: Make static var non-static |
| 17:02:40 | | BFLogBot Commit: afc6cc8e6f93 | Author: watusimoto | Message: Add some welcome and intro messages |
| 17:02:41 | | BFLogBot Commit: 142824134fb9 | Author: watusimoto | Message: Moved help messages over to X-macro type structure |
| 17:02:42 | Watusimoto | back later |
| 17:02:43 | | BFLogBot Commit: ea43ee29a80a | Author: watusimoto | Message: Add some missing const declarations -- caused overrides to not override. Let to mayhem and zany antics. |
| 17:07:56 | | Watusimoto Quit (Ping timeout: 255 seconds) |
| 17:10:32 | kaen | bobdaduck, thoughts? http://bitfighter.org/pleiades/ |
| 17:10:40 | kaen | added level info and a rudimentary search |
| 17:17:08 | bobdaduck | hm |
| 17:17:08 | bobdaduck | sec |
| 17:17:33 | kaen | make sure to deep refresh |
| 17:18:07 | bobdaduck | The colors are nice |
| 17:18:18 | kaen | lol that's my least favorite part |
| 17:18:37 | bobdaduck | lol |
| 17:18:41 | bobdaduck | Can't search by author |
| 17:19:17 | bobdaduck | Home and search... Shouldn't there be view all levels or somesuch? |
| 17:20:02 | kaen | we agreed that view all levels is worthless |
| 17:20:08 | kaen | also, search defaults to all levels |
| 17:20:21 | bobdaduck | true but I feel like just "home" as the only screen is kind of... |
| 17:20:32 | kaen | all that we need? |
| 17:20:37 | bobdaduck | not enough. |
| 17:20:41 | bobdaduck | aesthetically. |
| 17:20:53 | kaen | I should make up another page? |
| 17:21:03 | bobdaduck | Yeah. |
| 17:21:04 | kaen | pleiades/kittens |
| 17:21:11 | bobdaduck | Maybe some "random levels" or something |
| 17:22:51 | bobdaduck | Like right now it doesn't feel like there's a way to browse. |
| 17:22:58 | bobdaduck | I mean yes there is but it doesn't feel like it. |
| 17:23:12 | bobdaduck | Its like either you're chilling in the lobby or you're searching for a specific level. |
| 17:24:19 | bobdaduck | And no inbetween |
| 17:25:31 | kaen | how might one browse them? |
| 17:26:05 | bobdaduck | I dunno |
| 17:26:16 | bobdaduck | Probably by gametype just like we have in the forums |
| 17:26:33 | bobdaduck | I think just have each of the tags and pull some random sample levels from each |
| 17:32:05 | kaen | author search works now... |
| 17:32:30 | kaen | I didn't add it because I was planning on have user pages which would list recent comments, ratings, uploaded maps, favorites, etc |
| 17:33:00 | kaen | bobdaduck are you able to manually set the author? |
| 17:34:54 | bobdaduck | yeah |
| 17:35:19 | kaen | hmm odd I thought I set it so only phpbb admins are able to |
| 17:36:18 | bobdaduck | I'm an admin |
| 17:36:46 | kaen | oh lol |
| 17:36:52 | kaen | well then perfect |
| 17:37:09 | kaen | I already know normal users can't |
| 17:37:55 | | koda has joined |
| 17:38:36 | kaen | so I was thinking about renaming it "galaxy" |
| 17:38:48 | bobdaduck | I like "playedes" |
| 17:38:56 | kaen | playa-des? |
| 17:39:00 | kaen | :) |
| 17:39:10 | bobdaduck | played-s |
| 17:39:24 | kaen | I like it, but it's unspellable |
| 17:39:40 | bobdaduck | yeahhh |
| 17:39:43 | bobdaduck | galaxy is good |
| 17:39:43 | kaen | also galaxy is shorter and everyone knows what it means |
| 17:39:54 | kaen | I know it's lamer than pleiades |
| 17:40:19 | kaen | but it's kind of important that people can refer to it by name easily... |
| 17:40:30 | bobdaduck | yeah |
| 17:52:37 | | Watusimoto has joined |
| 17:58:18 | | bobdaduck Quit (Read error: Connection reset by peer) |
| 18:05:05 | | BFLogBot Commit: df2f75c71257 | Author: watusimoto | Message: Fix improper rendering of carried resource items. Vaguely interesting fix. |
| 18:18:43 | | BFLogBot Commit: 4e86c0b52c13 | Author: watusimoto | Message: Fix missing owner commands -- were removed by a merge gone wrong some days ago |
| 18:24:27 | | raptor has joined |
| 18:24:27 | | ChanServ sets mode +o raptor |
| 18:27:29 | raptor | howdy folks |
| 18:27:37 | raptor | oh good, bug fixing! |
| 18:30:41 | Watusimoto | hi |
| 18:30:45 | Watusimoto | sorry about all the bugs |
| 18:30:50 | Watusimoto | I think all i fixed were my fault |
| 18:30:54 | Watusimoto | though all for different reasons |
| 18:30:59 | raptor | hello |
| 18:31:07 | raptor | that's ok |
| 18:31:18 | Watusimoto | Not sure about the segfaults |
| 18:31:21 | Watusimoto | do they recur? |
| 18:31:30 | raptor | it did feel, however, that we passed a threshold of buginess in 019... |
| 18:31:37 | Watusimoto | ha |
| 18:31:44 | raptor | so I should stop adding features and work on bugs.. |
| 18:31:51 | raptor | let me pull and compile.. |
| 18:32:13 | Watusimoto | the lua related shutdown segfault is particuarly confusing |
| 18:32:16 | Watusimoto | it should not happen |
| 18:32:33 | Watusimoto | if that recurs, one thing to try would be to turn on debugging asserts in lua |
| 18:32:42 | raptor | i've had it happen twice |
| 18:32:53 | Watusimoto | not sure how to do that, but... I'll look into it |
| 18:32:56 | raptor | both required i spend some amount of time in the editor and run plugins |
| 18:33:33 | Watusimoto | ah, i see |
| 18:33:41 | raptor | but just opening the editor, running plugins, then exiting didn't make it happen |
| 18:33:47 | Watusimoto | perhaps some lingering problem that doesn';t reaveal itself until cleanup time |
| 18:34:23 | raptor | yeah |
| 18:35:13 | Watusimoto | since this is on shutdown, if we can't figure out the problem, we could just try/catch it and just ignore any errors |
| 18:35:33 | Watusimoto | though that's kind of a cop out |
| 18:35:39 | raptor | compiled! ok testing bugs again.. |
| 18:36:07 | raptor | could it be LuaW and garbage collection? |
| 18:36:54 | Watusimoto | maybe |
| 18:37:18 | Watusimoto | looking at the line that crashed, I'm not sure how |
| 18:37:18 | Watusimoto | if (!(iswhite(curr) || all) || isfinalized(gco2u(curr))) |
| 18:37:35 | raptor | what the.. |
| 18:37:39 | Watusimoto | all is an int, curr is a poitner to a GC object (it looks like) |
| 18:38:12 | Watusimoto | if the crash happened inside one fo those functions, I'd expect to see it in the stack trace |
| 18:38:33 | Watusimoto | I just don't see how that could crash there |
| 18:38:52 | Watusimoto | even if the pointers are null |
| 18:38:54 | raptor | yeah, it was really weird |
| 18:38:57 | Watusimoto | or garbage |
| 18:39:16 | raptor | i'm thinking we're gonna have to valgrind this release.. |
| 18:40:06 | Watusimoto | I really hate how every function is a freakin' #define to something else |
| 18:40:24 | raptor | yeah... preprocess the code away completely! |
| 18:40:28 | Watusimoto | ah, I see now |
| 18:40:32 | Watusimoto | stupid #defines |
| 18:41:13 | Watusimoto | gco2u is really &rawgco2u(o)->uv |
| 18:41:26 | Watusimoto | so if rawgco2u(o) were null, it could crash |
| 18:42:28 | Watusimoto | and look... iswhite is defined to be test2bits((x)->gch.marked, WHITE0BIT, WHITE1BIT) |
| 18:42:52 | Watusimoto | so if curr were null it could crash also |
| 18:43:19 | Watusimoto | though curr is checked for null earlier, so that's not the issue |
| 18:43:31 | Watusimoto | and oh look |
| 18:43:42 | Watusimoto | isfinalized is ALSO a #define |
| 18:43:50 | Watusimoto | testbit((u)->marked, FINALIZEDBIT) |
| 18:44:10 | Watusimoto | so, really, there are several reasons this could crash |
| 18:44:21 | Watusimoto | all well hidden away under a crappy macro language |
| 18:45:42 | Watusimoto | oh and look, rawgco2u(o) is a macro too! |
| 18:45:54 | Watusimoto | that's defined as check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u)) |
| 18:45:59 | Watusimoto | and... you guessed it! |
| 18:46:07 | Watusimoto | check_exp is a macro |
| 18:46:23 | raptor | haHAha |
| 18:46:47 | Watusimoto | ok, well, this is actually kind of interesting |
| 18:46:55 | Watusimoto | because check_exp is defined as thus: |
| 18:47:01 | Watusimoto | #define check_exp(c,e) (e) |
| 18:47:04 | Watusimoto | which seems kind of lame |
| 18:47:07 | Watusimoto | but |
| 18:47:23 | Watusimoto | if we define lua_assert, it gets defined as this |
| 18:47:23 | Watusimoto | #define check_exp(c,e) (lua_assert(c), (e)) |
| 18:47:44 | Watusimoto | so it appears that turning on lua_assert might actually check some of the things that we need to have checked |
| 18:48:12 | raptor | http://stackoverflow.com/questions/277258/c-c-source-file-after-preprocessing |
| 18:48:12 | raptor | what |
| 18:49:16 | Watusimoto | I've done that before, it's really big and messy |
| 18:49:26 | raptor | blech |
| 18:49:32 | Watusimoto | but let's enable lua_assert for a while and see if it helps |
| 18:50:14 | raptor | ok, you'll do that? (I'm not sure how at the moment..) |
| 18:50:42 | raptor | updateInterpolation... odd |
| 18:54:36 | raptor | F5 global chat in-game is still broken |
| 18:54:58 | Watusimoto | sure, I'll do it |
| 18:55:02 | Watusimoto | how is it broken? |
| 18:55:12 | Watusimoto | you press f5 and what happens? |
| 18:55:12 | raptor | you join a game, press F5... nothing happens |
| 18:55:25 | Watusimoto | does it work when hosting? |
| 18:55:28 | raptor | I did a full recompile from the latest |
| 18:55:31 | raptor | checking.. |
| 18:55:45 | raptor | nope, doesn't work from hosting either |
| 18:55:58 | Watusimoto | odd... works for me |
| 18:56:15 | Watusimoto | checking agian |
| 18:56:48 | Watusimoto | still works. i can see little apple on there |
| 18:57:03 | | raptor recommends a full recompile |
| 18:57:15 | Watusimoto | I don't want to break it! |
| 18:57:15 | raptor | bobdaduck had the same issue last night, he had to do a full recompile |
| 18:57:19 | raptor | haha |
| 19:01:51 | Watusimoto | ok, will rebuild now |
| 19:01:57 | | BFLogBot Commit: e9b2307c44b0 | Author: watusimoto | Message: Magic numbers |
| 19:01:59 | | BFLogBot Commit: 8cb8aacd6708 | Author: watusimoto | Message: Attempt to enable tnl_assert when in debug mode |
| 19:02:24 | Watusimoto | not sure my lua fix will work |
| 19:02:40 | Watusimoto | we could take out the ifdef if it doesn;t appear to be getting defined |
| 19:07:37 | raptor | that define might need to be in a header or used as a compiler flag.. |
| 19:09:19 | | BFLogBot Commit: 5fc0a8e250bb | Author: buckyballreaction | Message: Make /shutdown an Owner command |
| 19:09:40 | raptor | yeah, that define won't work.. :( |
| 19:09:48 | raptor | i'll adjust it.. |
| 19:16:31 | Watusimoto | after a full rebuild (with the assert in question), F5 still works fine |
| 19:28:01 | raptor | huh |
| 19:31:07 | raptor | yeah... f1, f2, f6, f7 all work |
| 19:31:08 | raptor | not f5 |
| 19:31:30 | raptor | also - is f6 (fps screen) supposed to be a fancy box? |
| 19:32:25 | | BFLogBot Commit: 9d3327fa9742 | Author: buckyballreaction | Message: Actually enable lua_assert |
| 19:51:30 | raptor | back in a bit.. |
| 19:56:10 | | raptor Quit (Ping timeout: 268 seconds) |
| 20:52:01 | | raptor has joined |
| 20:52:03 | | ChanServ sets mode +o raptor |
| 21:03:10 | raptor | hello again |
| 21:11:50 | raptor | so i got another weird segfault after using the editor.. this makes 3 completely different ones |
| 21:15:18 | | BFLogBot Commit: a577d5188308 | Author: buckyballreaction | Message: Fix some crashes with ClientInfo being NULL |
| 21:24:43 | | BFLogBot Commit: 9ca6e0e087ed | Author: buckyballreaction | Message: Merge upstream Font-Stash changes to fix fullscreen font artifacts on Mac/Linux |
| 21:32:32 | raptor | yay, fontstash guy found and fixed the bug! |
| 21:41:43 | Watusimoto | excellent! |
| 21:42:06 | raptor | and I wasn't crazy! (for once) |
| 21:42:16 | Watusimoto | thank goodness for other people's code! |
| 21:42:26 | raptor | yes! |
| 21:47:19 | Watusimoto | btw, have you seen enough of the new help system to have an idea if you like it or not? |
| 21:47:37 | raptor | well, we need an option to turn it off :) |
| 21:47:43 | Watusimoto | of course |
| 21:47:44 | raptor | but it's coming along nicely.. |
| 21:47:54 | Watusimoto | do you think it's the right approach? |
| 21:50:36 | raptor | seems good to me |
| 21:50:56 | raptor | it'll need some system to keep track of what help options it's already done |
| 21:51:14 | raptor | so i don't see the health help a million times in a row |
| 21:53:04 | Watusimoto | yes |
| 21:53:09 | Watusimoto | see my next checkin |
| 21:53:18 | Watusimoto | every message shown only once |
| 21:53:32 | Watusimoto | and a serializer to store shown messages in INI |
| 21:53:58 | Watusimoto | the idea being to show every message once forever |
| 21:54:17 | raptor | good idea! |
| 21:54:29 | Watusimoto | but I'm bogged down in a stupid bug fix |
| 21:58:05 | raptor | blech |
| 21:58:14 | raptor | I consolidated the weird shutdown crashes on the bug list.. |
| 21:58:28 | raptor | I bet the issue has nothing to do with any of the stack traces.. |
| 22:01:40 | Watusimoto | do they only happen when running weird bobdaduck stuff? |
| 22:02:10 | raptor | no, none of them have to do with bobdaduck |
| 22:02:21 | raptor | all after using the editor |
| 22:02:30 | raptor | for some amount of time |
| 22:08:05 | Watusimoto | help me out here a sec |
| 22:08:14 | Watusimoto | if I have a loadout, say 1-2 1-2-3 |
| 22:08:18 | Watusimoto | and I die |
| 22:08:29 | Watusimoto | and I respawn (in a level with a loadout zone) |
| 22:08:39 | Watusimoto | do I get default loadout, or 1-2 1-2-3? |
| 22:10:07 | Watusimoto | maybe this bug isn't a bug |
| 22:12:22 | raptor | you keep you loadout |
| 22:12:56 | raptor | Watusimoto: what bug do you think you have? |
| 22:13:36 | Watusimoto | I do have a bug |
| 22:13:49 | Watusimoto | when you die and respawn, you get the default loadout, now what you had when you died |
| 22:14:00 | Watusimoto | in 018 you get what you had when you died |
| 22:14:09 | Watusimoto | which makes more sense anyway |
| 22:14:35 | raptor | weird |
| 22:14:47 | raptor | soo.. was all the 'const' worth it? |
| 22:14:57 | Watusimoto | well |
| 22:15:01 | Watusimoto | maybe |
| 22:15:19 | Watusimoto | what do you think about const in this context? |
| 22:15:29 | raptor | seems like it's only used for documentation |
| 22:15:30 | Watusimoto | void xxx(const string &abc) |
| 22:15:39 | Watusimoto | vs void xxx(string &abc) |
| 22:15:44 | raptor | now that *is* an optimization |
| 22:15:47 | raptor | but |
| 22:15:49 | Watusimoto | no |
| 22:15:58 | raptor | oohhh |
| 22:15:59 | raptor | wait |
| 22:16:01 | raptor | ok |
| 22:16:03 | raptor | both are references |
| 22:16:11 | Watusimoto | only diff is that the 2nd can modify abc |
| 22:16:14 | raptor | yes |
| 22:16:33 | Watusimoto | so is const good in that context? |
| 22:16:33 | raptor | so a safety check |
| 22:17:05 | Watusimoto | safety check and an enforcement on separation of logic |
| 22:17:14 | Watusimoto | so I contend that a render method shoudl not be modifying state |
| 22:17:22 | raptor | yes |
| 22:17:24 | raptor | ok |
| 22:17:25 | Watusimoto | (generally) |
| 22:17:39 | Watusimoto | so if you mark that method as const, you will find out if that contention is correct |
| 22:18:05 | Watusimoto | and then you can't accidentally start modifying state on some sub sub sub function |
| 22:18:20 | Watusimoto | so it's a little more than just documentaiton |
| 22:18:23 | raptor | but |
| 22:18:31 | Watusimoto | it's also setting a rule about how a function should behave, and enforcing it |
| 22:18:33 | raptor | you put 'const' at the end of the method |
| 22:18:39 | Watusimoto | yes |
| 22:18:46 | Watusimoto | void soSomething() const; |
| 22:18:47 | raptor | that doesn't enforce const |
| 22:19:04 | raptor | it just makes it so it *can* be called from a const reference |
| 22:19:10 | raptor | (or so I thought) |
| 22:19:11 | Watusimoto | that means that doSomething() can't modify its this object |
| 22:19:29 | | raptor has to go read on const *again* |
| 22:19:33 | Watusimoto | try it |
| 22:19:45 | Watusimoto | take a method marked const and try modifying this |
| 22:20:31 | raptor | it's 'this' object |
| 22:20:34 | raptor | its |
| 22:20:46 | Watusimoto | yes |
| 22:20:52 | Watusimoto | so this would not work: |
| 22:21:08 | Watusimoto | ClientInfo::xxx() const { this->yyy = 1 } |
| 22:21:13 | Watusimoto | that would not compile |
| 22:21:24 | Watusimoto | (even if it had a ;) |
| 22:24:09 | raptor | "does not modify the non mutable members of its class" |
| 22:24:13 | raptor | ok, you win |
| 22:24:16 | raptor | (like usual) |
| 22:24:29 | Watusimoto | so... the factual case seems settled |
| 22:24:35 | Watusimoto | but the question of is it worth it... |
| 22:24:40 | raptor | ^^ yes |
| 22:24:41 | Watusimoto | I think so |
| 22:24:42 | raptor | :) |
| 22:24:44 | raptor | ok |
| 22:24:53 | Watusimoto | but it is contagious |
| 22:24:57 | raptor | maybe we should rewrite the game in python! |
| 22:24:59 | Watusimoto | which is why I did all that stuff at once |
| 22:25:09 | raptor | very virulent |
| 22:25:15 | Watusimoto | const things can only call other const things |
| 22:25:26 | Watusimoto | in python NOTHINg is const |
| 22:25:38 | raptor | and when 'virtual' is involved... |
| 22:25:39 | Watusimoto | makes debugging so much fun! |
| 22:25:54 | Watusimoto | when virtual is involved, all overrides have to have same const |
| 22:26:00 | Watusimoto | or they are not overrides |
| 22:26:07 | Watusimoto | they are just bugs |
| 22:26:10 | raptor | i wish there was some way that the compiler would warn.. |
| 22:26:15 | Watusimoto | no kidding |
| 22:26:24 | raptor | because, that's an easy way to break everything! |
| 22:26:30 | Watusimoto | no kidding |
| 22:26:37 | Watusimoto | that has bitten me a dozen times |
| 22:26:53 | Watusimoto | c0x++-011! has an override keyword that will fix that |
| 22:27:01 | raptor | wait! gcc might have it |
| 22:27:07 | Watusimoto | it might |
| 22:27:26 | raptor | woudl it be useful to do a compile with it and see if anything is bad? |
| 22:28:17 | raptor | -Woverloaded-virtual |
| 22:28:27 | raptor | i'm going to try and see if it yells at me |
| 22:28:31 | Watusimoto | ok |
| 22:28:50 | Watusimoto | I manually searched for every thing virtual *const |
| 22:29:01 | Watusimoto | then checked all those manually |
| 22:29:03 | Watusimoto | what a pain |
| 22:29:07 | Watusimoto | I think I got most of them |
| 22:30:33 | raptor | ok, getting a few thousand... |
| 22:30:38 | raptor | let me do just one class... |
| 22:31:08 | Watusimoto | whoa |
| 22:32:24 | raptor | from BFoBject: http://pastie.org/pastes/7735123/text |
| 22:33:04 | Watusimoto | what is this warning about? missing override keywords? |
| 22:33:43 | | thread_ has joined |
| 22:34:12 | raptor | from the man page of gcc: http://pastie.org/7735131 |
| 22:36:59 | raptor | hi thread_ |
| 22:39:46 | thread_ | hey |
| 22:41:14 | Watusimoto | interesting... that sort of hiding is confusing to me |
| 22:41:26 | Watusimoto | it seems like f(int) should not hide f)( |
| 22:41:28 | Watusimoto | f() |
| 22:41:36 | Watusimoto | they should be able to live side-by-side |
| 22:42:11 | raptor | they can, but the warning is to possibly catch bugs |
| 22:42:25 | raptor | oh wait |
| 22:42:33 | raptor | one has a parameter.. huh |
| 22:43:33 | Watusimoto | I know that is a problem, but I don't understand why |
| 22:46:04 | | thread_ Quit (Ping timeout: 245 seconds) |
| 22:46:51 | | bobdaduck_m has joined |
| 22:50:44 | | bobdaduck_m Quit (Client Quit) |
| 23:01:05 | raptor | sorry, busy at the moment... if you take a look at if those are actually possible bugs, let me know |
| 23:30:07 | Watusimoto | most of those have to do with the lua proxy... there can't be that many errors that we've never noticed before! |
| 23:31:14 | raptor | back |
| 23:31:17 | raptor | hi |
| 23:31:43 | raptor | this post has more information about that warning: http://nabble.documentfoundation.org/Woverloaded-virtual-td2725932.html |
| 23:36:51 | raptor | that first one: Zap::GeomObject::setGeom(const TNL::Vector<Zap::Point>&) |
| 23:37:05 | raptor | virtual void Zap::BfObject::setGeom(lua_State*, TNL::S32) |
| 23:37:18 | raptor | ^^ overloaded by that one - is that OK? |
| 23:43:32 | kaen | big style changes to http://bitfighter.org/pleiades/ -- let me know what you think |
| 23:43:38 | kaen | (remember to use ctrl+F5) |
| 23:43:43 | raptor | oooo |
| 23:43:56 | raptor | black as the abyss! |
| 23:44:22 | kaen | as space! |
| 23:45:05 | raptor | maybe add stars for a background? like from the bitfighter homepage |
| 23:45:57 | raptor | haha 'Airlock deserves your download!' |
| 23:46:41 | raptor | is there a way to just browse maps? |
| 23:46:43 | kaen | wow, the stars help a lot |
| 23:46:50 | kaen | search lists them all |
| 23:46:54 | kaen | by default |
| 23:46:58 | raptor | oh good |
| 23:47:28 | kaen | and you can click on tags to link to a search which filters on the tag |
| 23:47:42 | raptor | oh neat! |
| 23:47:51 | raptor | I like it! |
| 23:48:45 | kaen | I'm still new at this rounded-corners-gradient-backgrounds thing |
| 23:49:01 | raptor | yeah... don't overdo it too much |
| 23:49:16 | raptor | like Apple did |
| 23:51:35 | | Watusimoto_ has joined |
| 23:52:34 | kaen | it's overdone the first time you use it, imo |
| 23:52:54 | kaen | but dark schemes look so terrible if they're flat |
| 23:54:45 | | Watusimoto Quit (Ping timeout: 264 seconds) |
| 23:54:52 | raptor | true |
| 23:54:56 | kaen | btw, I switched to a darker them to make room in the color space for the screenshots |
| 23:55:08 | raptor | ha! good thinking |
| 23:55:40 | | koda Quit (Quit: koda) |