#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-05-10

Timestamps are in GMT/BST.

01:29:04sam686 Quit (Ping timeout: 245 seconds)
01:57:50watusimoto has joined
01:57:50ChanServ sets mode +o watusimoto
02:54:56LordDVG has joined
03:15:21masterkaen has joined
03:17:35LordDVG Quit (Remote host closed the connection)
03:21:59kaen Quit (Ping timeout: 264 seconds)
04:13:37masterkaen is now known as kaen
04:13:52kaen Quit (Changing host)
04:13:52kaen has joined
04:28:59Watusimoto_ has joined
05:43:13Watusimoto_ Quit (Ping timeout: 248 seconds)
08:18:24thread_ has joined
08:18:53SolumnMushroom has joined
08:21:41SolumnMushroomGood morning all!
08:33:49SolumnMushroom Quit (Quit: Leaving)
08:35:49thread_ has left
09:10:35raptor has joined
09:10:35ChanServ sets mode +o raptor
09:10:45raptorbuenos
09:40:06Watusimoto_ has joined
10:46:52kaenI stayed an hour late for work to finish receiving freight and now they're making me take an unpaid half hour lunch before I go home
10:47:14kaenstupid labor laws...
10:47:18raptorblah
10:49:55kaenany ideas what could trigger "TNLAssert(theObject->mExtent == extents, "Extents not equal!");" ?
10:50:08kaenI get it when I run my bezier fitter on an unclosed polyline
10:50:09raptoryes - something watusimoto has done
10:50:20kaenbut not when the polyline is closed...
10:50:50kaenI'll take a look when I get off. I'm going to spend some time with a few editor bugs
10:50:52raptorunclosed polyline?
10:51:04kaenlike a barrier that doesn't make a loop
10:51:08raptorah
10:51:10kaenor any zone
10:51:25raptorthat's odd - and you are at latest?
10:51:31kaenyes
10:51:55kaenzones trigger it because the geometry implicitly has a closing point, so getGeom returns an unclosed polyline
10:52:15kaenwhich has caused me no end of trouble in my polygon manipulation, btw
10:54:39kaenhave to go clock out
10:54:42kaenback in a minute
10:54:45raptorlater
10:58:24watusimotohey there
10:59:41raptorhi
11:00:03watusimotothat assert is basically confirming that the extents that come from two different places aer the same
11:00:18watusimoto(not looking at the code, working from memory)
11:01:11watusimotoprobably whatever function used one and got switched to the other on the theory that they were equal
11:01:17watusimotoand up until now.. they were!
11:02:03watusimotoif they are not, then there may be a problem
11:06:21thread_ has joined
11:06:26kaenhello
11:06:29thread_hey
11:06:43watusimotohi
11:07:04watusimotokaen: the two extens compared by the assert should be the same
11:07:15kaenokay
11:07:25watusimotoI'm not sure why they would be different
11:07:32watusimotothough I'm not looking at the code at the moment
11:07:42watusimotoso I'm not sure where they are coming from
11:08:03watusimotoand if you are working with curves, maybe they will be different for some new reason
11:08:42kaennot true curves, just high-vertex barriers
11:09:27kaenhmm, this looks like a pretty arcane part of the code
11:09:37watusimotoI can look when I get home
11:09:47watusimotoI wrote it, so I may remeber it
11:10:15kaenyou wrote griddb.cpp ?
11:10:24kaenwas there binning before that?
11:10:31watusimotook
11:11:09watusimotook, we pass in an extent, and I think the assert is verifying the theory that the passed extent is always the same as the object's extent (which is should be)
11:11:21watusimotosorry, thought this was in the editor
11:11:32watusimotoI added the assert
11:11:38kaenok
11:12:01watusimotoso why is the passed extent in disagreement with the object's extent? there is probably a bug there somewhere
11:12:12kaensounds certain
11:12:12watusimotobecause an object just has one extent
11:14:15kaenokay, looking at the call sites for the function, two of them pass object->getExtents() as the parameter
11:14:52kaena third (DatabaseObject::addToDatabase passes mExtent)
11:15:11kaenoops, ignore those parentheses
11:16:04kaenbtw, disabling the assert leaves me with a proper curve, except it has one "ghost vertex"
11:16:31kaenthere's a vertex number and a line to it in the proper place, but no wall segment is rendered for that vertex
11:18:16kaenso it's always comparing obj->mExtent to itself
11:18:21kaenso it should absolutely always be true...
11:18:44watusimototry printing it out (rects have toString method that makes it easier)
11:19:00watusimotoi gotta run.. I'll be back a a bit
11:19:11watusimoto has left
11:19:48kaenokay
11:19:51kaen"nan, -nan nan, -nan"
11:20:01kaensounds like it's taunting me...
11:20:03raptorininitialized data!
11:20:07raptorhahaha
11:20:41kaenso, maybe I'm putting a nan value into the geometry when I'm playing with it?
11:21:09kaenso then it sounds like I have a lua bug triggering a c++ bug...
11:21:12kaen\o/
11:21:23kaengood time to write a regression test
12:02:26Watusimoto_I have a couple of minutes before dinner if you need anything else
12:10:34Watusimoto_for walls, it looks like the passed extens are a bounding box around the vertices
12:10:49Watusimoto_it may be that mExtents, the thing the passed extents are compared to, are not set for these objects
12:11:34raptorwalls are cranky
12:12:21Watusimoto_walls are so complex
12:13:16Watusimoto_though... if that were the case, that assert would have tripped before
12:13:30raptorhe's calling it from Lua
12:13:34raptorwith an editor plugin
12:13:39Watusimoto_oh.
12:13:45raptorso we think it is a lua -> c+= bug
12:13:48raptorc++
12:13:51Watusimoto_there may be new avenues of failure there
12:14:02Watusimoto_good candidates for tests!
12:21:03Watusimoto_dinner
12:21:05Watusimoto_bye
12:21:08raptorlater
12:26:00Watusimoto_ Quit (Ping timeout: 276 seconds)
13:16:59LordDVG has joined
13:25:27thread_hey raptor, is there any room for me to help with development and/or bugfixes? I seem to have a lot of time on weekends
13:26:03raptorthread_: you mean to contribute to the codebase? sure!
13:26:40thread_what was the location of the buglist again?
13:27:41raptor!bug
13:27:43BFLogBotTo enter a bug, please make sure it is reproducible and then go to http://code.google.com/p/bitfighter/issues/list | Also, see current running bug list: http://bitfighter.org/wiki/index.php/Running_Bug_List
13:27:57raptorthe running list is basically bugs we've introduced since last release
13:28:20raptorthe google code list is for issues in the stable release, as well as feature requests
13:29:44thread_alright
13:30:38raptordo you know c++?
13:31:30thread_not explicitly, but I have used many many languages, and could probably pick up context quickly
13:31:31LordDVG Quit (Remote host closed the connection)
13:31:49raptorok
13:31:56raptorthat's how I started on Bitfighter :)
13:32:01raptoroh
13:32:03raptorbut first
13:32:32raptoryou'll need to familiarize yourself with our version control system (mercurial) and the build system (depends on your platform)
13:32:37raptordo you know mercurial?
13:33:09thread_I haven't heard of it before. is it like SVN or git?
13:33:31raptorlike git yes
13:33:43thread_ah
13:34:03raptorit's very similar to git in how it works, but it's a little friendlier on Windows
13:34:08raptorwhat platform will you be using?
13:34:12thread_windows
13:34:31raptorI recommend going through this brief tutorial on mercurial: http://hginit.com/
13:34:37raptorbut if you know git already, it should be cake
13:34:43thread_I will have a look, thanks
13:34:51raptorthen check out the repo: then
13:34:59raptoroops: http://code.google.com/p/bitfighter/source/checkout
13:38:15thread_Alright, I will start reading up on this. In the mean time, I will catch you guys later
13:38:28thread_ has left
15:19:10koda has joined
15:26:33Watusimoto has joined
15:45:12raptorwhy did the elephant eat a 100 W light bulb?
15:45:25raptorhe wanted a light lunch
15:50:10Watusimotoraptor -- you should try standup!
15:50:25raptoronly if I can bring candy
15:51:35raptorheading home.. back later
15:52:08raptor Quit ()
16:00:06Watusimotokaen: I killed that troublesome assert
16:13:26raptor has joined
16:13:26ChanServ sets mode +o raptor
16:29:08raptor Quit ()
16:36:07bobdaduck_m has joined
16:36:15bobdaduck_mSup bros
16:36:26bobdaduck_mGot my wisdom teeth out this morning
16:36:28BFLogBot Commit: 17bf08d74c52 | Author: watusimoto | Message: Slight reform of the way objects are added to the database. Will either fix Kaen's issue, or clarify where the problem lies.
16:36:29BFLogBot Commit: 87a525859cb3 | Author: watusimoto | Message: Experimental work with HelpItems -- get last night's ideas into code, start work on debug renderer
16:36:31BFLogBot Commit: a6e5df24ec65 | Author: watusimoto | Message: Merge
16:44:42bobdaduck_m Quit (Ping timeout: 276 seconds)
16:48:59BFLogBot Commit: 2db455a09971 | Author: watusimoto | Message: Fix building of test project using new cmake settings
16:50:16bobdaduck has joined
17:15:32bobdaduckokay everybody
17:15:34bobdaduckget online
17:19:06Watusimotojust us losers here
17:19:07BFLogBot Commit: c6e8c0353164 | Author: watusimoto | Message: In debug builds only, Ctrl-H will cycle through list of defined helpItems, showing them in the same position and size they would appear in game. Mostly useful for checking readability and other display characteristics, and also, soon, control insertion code. And such.
17:29:10bobdaduckyeah but you guys will want to see this
17:38:01raptor has joined
17:38:01ChanServ sets mode +o raptor
17:47:15koda Quit (Quit: k thx bai)
17:51:50raptorwow... just... wow
17:52:00bobdaducklol
17:52:03bobdaducknifty right?
17:52:12raptoryeah
17:52:13raptorwow
17:53:19bobdaduckWisdom teef!
17:53:31raptorso i had one tooth super impacted
17:53:38raptorand i had a hole in my gums for 2 weeks
17:53:53raptorand i kept eating chips and getting pieces stuck inside
17:53:56bobdaduckxD
17:55:12raptordinner!
17:57:20bobdaduckI WISH I COULD.
18:30:33raptorget a grasshopper pie milkshake
18:41:02bobdaducklol
18:41:07bobdaduckwhy?
19:00:49Watusimotogood night all!
19:00:57BFLogBot Commit: f36415b270ca | Author: watusimoto | Message: Extract out some duplicate code
19:00:59BFLogBot Commit: 90138c57a089 | Author: watusimoto | Message: A little more of the same
19:01:00BFLogBot Commit: 4e1c663136f4 | Author: watusimoto | Message: Demonstrate crude substitution of keys into help messages
19:01:02BFLogBot Commit: 5dc8c7a3b3d1 | Author: watusimoto | Message: Insert some real keybindings into help. This is kind of ugly at the moment.
19:05:49Watusimoto Quit (Ping timeout: 246 seconds)
19:14:07Platskies has joined
19:18:31Platskies Quit (Remote host closed the connection)
19:24:44Platskies has joined
19:26:40Platskies Quit (Remote host closed the connection)
19:26:50raptorbecause grasshopper pie milkshakes are the best milkshakes I've ever had
19:29:04sam686 has joined
19:29:04ChanServ sets mode +v sam686
19:31:08bobdaduckI do love grasshopper
19:33:50raptordid watusimoto happen to see those levels by thread (and you?) ?
20:01:27bobdaduckno he didn't
20:01:37bobdaduckAnd the only one I've helped thread on was blink
20:01:43bobdaduckhe's got the hang of levelgens pretty well now
20:22:27bobdaduckRaptor
20:22:37bobdaduckwhere do I find this mythical grasshopper pie milkshake?
20:26:34raptoroh
20:26:53raptorit was found in a small southern utah town called 'escalante' when I was 19 or so
20:27:04raptorthey had a shop called 'Dairy Quinn'
20:27:23raptorand a shake called a 'hurricane'
20:27:38raptorthe grasshopper pie one was the best i've ever had..
20:40:58bobdaduckdairy queen?
20:41:07raptornope 'quinn'
20:41:26raptorwhich made it somewhat hilarious..
20:44:22bobdaduckhuh xD
20:53:35raptori should add that onPlayerScored event
20:55:12fordcars has joined
21:26:13amgine1234567890 has joined
21:26:18amgine1234567890hey =)
21:26:34fordcarshey
21:27:19amgine1234567890whats going on in the world of BF
21:40:18kaenbuild 019 and find out :)
21:53:22raptorthe movie soundtrack for 'march of the penguins' isn't nearly long enough...
21:55:03amgine1234567890lol in bf 19?
21:55:39amgine1234567890well if you need me to do beta testing let me know dont worry about me revealoing anything i didnt before and i never will
22:30:39amgine1234567890 Quit (Quit: Page closed)
23:04:08raptorso bobdaduck, not every score is tied to a player...
23:04:19kaenhuh
23:04:23bobdaduckexample?
23:04:23raptorhi kaen
23:04:27kaengreetings.
23:04:37raptorexample: HTF
23:04:48raptorall score in HTF isn't player based
23:05:03raptorbut team based
23:05:47raptoralso weird things like when a player removes a flag from an enemy retrieve zone
23:05:53raptor-1 score to the opposing team
23:06:06raptoror when a soccer ball gets hit last by a turret
23:06:50kaenI'm changing PolylineGeometery::setGeom to simply ignore NaN vertices
23:06:52raptoror when a ZC zone switches team +1 for one team (and player), -1 for other team
23:06:56kaendoes that sound ok?
23:07:23raptorkaen: is this that Lua bug from earlier?
23:07:28kaenyes
23:07:29raptorwith the extents
23:07:33raptorah ok
23:07:45kaenwat removed the assert, but now I get a polyline with one ghost segment
23:07:50raptordid one of watusimoto's commit help at all?
23:08:01kaenit made it so I don't have to hit 'c' in gdb :P
23:08:05raptorhaha
23:08:22raptori'm thinking this: https://code.google.com/p/bitfighter/source/detail?r=17bf08d74c5297a2be6483c981a0620ae5660be3
23:08:53kaennope
23:08:56raptorso i don't have a problem with your change... unless it is just hiding some other fundamental problem somewhere; in which case, I still don't know what to do
23:09:03raptor:)
23:09:15kaensetGeom seemed like the proper place to catch the error
23:09:22kaensince that's where lua ultimately routes the call
23:09:40kaenthe error of supplying a NaN point to setGeom, that is
23:10:05kaenI test for it by skipping vertices where where (point[i] != point[i])
23:11:22raptorwait what?
23:11:26raptorthat's... hilarious
23:11:43bobdaduckMake it track who puts the flag in a htf zone?
23:12:20raptorbobdaduck: it doesn't make sense to me to return -1 for team blue, but a player on team red
23:12:36raptorso maybe, just an event: onScoreChange
23:13:07raptoronScoreChange(playerInfo, team, score)
23:13:15raptorand playerInfo could be null
23:13:30raptorbrb
23:16:03bobdaduck Quit (Ping timeout: 246 seconds)
23:38:03raptorhi again
23:44:26bobdaduck has joined
23:45:31bobdaduckyou guys are still up?
23:45:34kaenyes
23:45:36raptorno
23:45:40kaener I mean no
23:45:45bobdaducklol
23:45:45kaensleep programming.
23:46:00raptorsleep vs stubbornness
23:46:05bobdaduckCool
23:46:35bobdaduckMy jaw still hurts
23:46:35raptorso bobdaduck, what do you think of just an event like this: onScore(playerInfo, team, score)
23:46:39bobdaduckraptor this is all your fault somehow
23:46:47raptoreat a milkshake!
23:46:49bobdaducklooks great
23:46:56raptorbut playreInfo could be null
23:47:08kaenbobdaduck you didn't get to see my level :<
23:47:14bobdaduckOh sorry
23:47:16bobdaduckI'm available now
23:47:18bobdaduckyes?
23:47:33bobdaduckI had to go very suddenly.
23:47:35kaenyes
23:47:38kaenkaen test!
23:47:44raptorto kaen test!

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.