#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-11-16

Timestamps are in GMT/BST.

00:24:16Wuzzy Quit (Quit: Wuzzy)
00:31:16raptorgoing home
00:31:22raptor Quit ()
02:00:09koda has joined
04:27:37raptor has joined
04:27:37ChanServ sets mode +o raptor
04:33:01raptorhello!
05:01:33raptor Quit ()
05:28:00koda Quit (Quit: koda)
08:08:18watusimoto has joined
08:08:18ChanServ sets mode +o watusimoto
08:10:42watusimoto Quit (Client Quit)
09:21:12kodaws has joined
09:47:05watusimoto has joined
09:47:05ChanServ sets mode +o watusimoto
09:48:35watusimoto Quit (Client Quit)
09:49:35watusimoto has joined
09:49:35ChanServ sets mode +o watusimoto
09:50:10watusimoto Quit (Client Quit)
10:10:23watusimoto has joined
10:10:23ChanServ sets mode +o watusimoto
10:17:18watusimoto Quit (Quit: Leaving.)
10:46:34watusimoto has joined
10:46:34ChanServ sets mode +o watusimoto
11:02:19watusimoto Quit (Quit: Leaving.)
12:27:31watusimoto has joined
12:27:31ChanServ sets mode +o watusimoto
15:36:54raptor has joined
15:36:54ChanServ sets mode +o raptor
15:37:42raptorgood morning!
16:45:52kodawshello!
16:46:53raptorhi
16:48:28Watusimoto_ has joined
16:55:49watusimotohi
17:01:11raptorhi
17:03:48watusimotoI fell asleep on the couch last night... I feel amazingly good today!
17:04:10raptorhaha
17:04:16raptorgreat!
17:16:20raptorok, s
17:16:21raptorso
17:17:11raptorfor updating a projects user resources
17:17:27raptorif an udpate is detected, then overwrite all resources
17:17:35kodaws Quit (Ping timeout: 246 seconds)
17:17:50raptorand should be done in code, like koda has done for Mac
17:18:03raptoris that where we're going?
17:28:44raptorDirectory.mm is scary
17:44:21watusimotoif that is really easier to maintain, then that's where we should go
17:44:37watusimotoI can't believe it wouldn't be easier to do that in a script
17:44:47watusimotobut easy is what we want
17:45:16raptorit is somewhat easy in a script... but it needs to be down for *each* platform's script
17:45:27watusimotoonly for Linux
17:45:30watusimotono?
17:45:39raptorwell, that's because:
17:45:48raptor1. we don't handle multi-user on windows
17:45:58raptor2. mac used to have a script, too, but koda put it in code
17:46:04watusimoto(1. and we don't really care)
17:46:07watusimoto:-)
17:46:10raptorheh
17:46:18watusimotoso 2. is a non issue
17:46:41raptorexcept that it is still maintained in two places mac: in code; linux: in script
17:46:51watusimotobut can they ever be merged?
17:46:59watusimotoand if we added windows, could that be merged?
17:47:09raptoryes, that's were i'm going
17:47:15watusimotoI think no matter what we end up with multiple scripts
17:47:36raptorwhat would be ideal (I believe) is if we handle things like copy/remove resources in code, but abstract the file operations to each platform
17:47:46watusimotobut if you think you can bring them all together, then let's do that.
17:47:55watusimotoit's just iterating and copying
17:48:01raptorso, like koda did for mac, we'd have an checkForUpdate method that could launch an updater
17:48:10raptorand we'd have a copy resources method
17:48:11watusimotowe alreadh have that
17:48:18watusimoto(the first one)
17:48:22raptoryes
17:48:31watusimotowe don't have a copy resources method
17:48:37watusimotomaybe that would be easy
17:48:41raptorthe resource update method could just call each platform file operations
17:48:48watusimotomkdir -> iterate { copy } etc.
17:48:52raptoryes
17:49:15raptorand from our point of view, when we'd have to change resources, we just make one call in the code and it works for all platforms
17:49:23watusimotohell, deleting the music file was the same for all platforms. maybe copying is too
17:49:28raptoras long as we are doing operations to game-specific directories
17:49:40raptoryes!
17:50:00watusimotosure, give it a shot. it's very straightforward... I think
17:50:17raptorbut this way, i won't have to maintain the Linux script; and we can pull out some of the confusing stuff from koda's class into c++
17:50:38watusimotowhy is his script so complex?
17:50:48raptorit's obj-c++
17:50:56watusimotook
17:50:57watusimotoboo
17:51:20raptornot really complex, but there are some mac-specific things in there like the 'system wide application specific associated xml files'
17:51:24raptor(registry)
17:51:48watusimotowe don't need to deal with that on linux or windows
17:52:01raptorexactly
17:52:11watusimotoso we could even leave the mac stuff as is
17:52:37raptorso we can abstract a little of the specific stuff, like checkAndlaunchUpdater() -> would call bfup on windows, sparkle on mac
17:52:51watusimotoyes
17:53:27raptori'm still trying to figure out the process flow: game starts, then...
17:53:50watusimotogame starts --> checks for updates
17:53:53raptorwe have: load INI, update INI, check/run updater, update resources
17:54:06watusimotowe need a whiteboard
17:54:21watusimotothough I am leaving soon, so can't get too deep into this now
17:54:26watusimotocan do so later though
17:54:33raptorthat's ok, just wanted to bring it up briefly
17:54:48watusimotoyou have my agreement, if that's what you wanted
17:55:49raptorok
17:56:05raptorthen next i just need to work out the process flow... but can do so later
17:56:22watusimotoI'll be around later if you want help
18:27:55watusimoto Quit (Ping timeout: 246 seconds)
19:20:46Watusimoto_ Quit (Ping timeout: 246 seconds)
19:26:32Watusimoto has joined
19:30:33raptorWatusimoto: i started some notes: http://beta.etherpad.org/p/bf_update
19:35:26Watusimotook, I'll check after dinner
19:35:28Watusimotohi bye
19:35:50raptormmmm dinner
19:40:01Watusimoto Quit (Ping timeout: 255 seconds)
19:41:27Wuzzy has joined
19:45:11LordDVG has joined
21:01:53Watusimoto has joined
21:02:11Watusimotohi
21:05:54Watusimotoraptor: what are your feelings about the gci student?
21:28:58LordDVG Quit (Remote host closed the connection)
21:34:41raptorhello Watusimoto
21:34:46Watusimotohi
21:34:47raptoruh, seems ok
21:35:02raptorif you want to submit a project, i'll help out when i can
21:35:07Watusimotoyou are so enthusiastic!
21:35:30Watusimotodo you think creating parameterized constructors for Lua objects would be too hard?
21:35:58raptori don't think too hard..
21:36:16raptorbut you'd have to probably put up an example of what exactly you had in mind..
21:36:29Watusimotome neither. I am just a tiny bit concerned about helping people get a dev environment set up
21:36:30raptorand did we decide we wanted param-constructors?
21:36:33Watusimotothat's always a pain
21:36:41WatusimotoI did :-)
21:36:49Watusimotowhich is better?
21:37:13raptoryeah, i was wondering if we'd need to give people a crash course in version control/IDE stuff...
21:37:24Watusimotot = TestItem.new(100,200) or t = TestItem.new; t:setPos(100, 200)?
21:37:34Watusimotothe first I tell you!
21:37:56raptorbut that breaks the java bean convention!
21:38:02raptoryes, i like the first
21:39:13raptorthe issue with parameterized constructors: do we take the all-or-nothing approach? i.e. every settable member is put in the constructor OR empty constructor? (as options)
21:39:32raptoror, do we just put in a whole bunch with various useful parameters
21:40:35WatusimotoWe could do t=TestItem.new(100); t:setY(200)
21:43:06WatusimotoI think the anwwer will be different for each object; for goal zones, for example, we could have two parameterized constructors: GoalZone.new(team) and .new(team, geom)
21:43:13Watusimotothose both seem useful
21:43:20raptoryes
21:43:36raptorok
21:43:51Watusimotobut GoalZone(geom) seems less so
21:44:10Watusimotothough maybe my vision is limited
21:45:01raptori've just seen (older java mostly) classes with a dozen constructors or so
21:45:21WatusimotoI think 1 or 2 would suffice in most cases
21:45:42Watusimotonot every option need be availabe by a constructor either
21:45:46raptoreach one calling various others and filling out defaults
21:45:58raptorok
21:46:05Watusimotolike rotating gofasts... rotation (if available at all) would probably not be accessible via a constructor
21:46:32WatusimotoI've written a few of those constructors in my time :-)
21:46:38Watusimotoin java I mean
21:47:08raptoryeah.. me too...
21:47:23Watusimotoso when you complete a task, you get a point (from gci)
21:47:33Watusimotohow many constructors would be worth a point?
21:47:36raptorso GCI is basically get high school students to hate tedious coding jobs?
21:47:37Watusimoto3? 5?
21:47:43Watusimotoyes
21:48:01Watusimotothough, you know, writing the task description will be more work than just doing the code
21:48:09raptorthat's like.... labor exploitation!
21:48:24raptorthey get points?
21:48:56raptora contructor gets 1 point + .5 point per parameter
21:48:59raptor:)
21:49:01raptormaybe
21:49:48Watusimotothey get a certificate for 1 point
21:49:54Watusimotoand a t-shirt for 3
21:50:05raptorinteresting...
21:50:13Watusimotoso there should be some effort involved, methinks
21:50:48raptorhow much does a t-shirt cost vs how many hours of simple grunt labor would it take a teenager to acquire equivalent funds
21:50:50Watusimotoor we could take the opposite tack, and screw google by flooding them with hundreds of students with easy points to burn
21:51:06Watusimotowant a free t-shirt? join our project!
21:51:24Watusimoto8 points for playing...er... testing bitfighter!!!
21:51:32raptorwe could give a point for every 20 school computers bitfighter is installed on
21:51:39Watusimotoyes!
21:51:52Watusimotoor for every bitfighter sticker they put on someone's locker
21:52:02raptorhaha
21:52:27Watusimoto3 points for every principal's car they spray paint with Bitfighter Rulez!!!
21:52:54Watusimotobitfighter -- the game for vandals!
21:53:15Watusimotowe could start the bitfighter army
21:53:35Watusimotohordes of marauding youth terrorizing whole towns
21:53:49Watusimotoall in the name of collecting ever more gci points
21:54:00Watusimotoand the best part is that google pays for it all!
21:54:34raptorhaha
21:54:52raptorwe should take our true names out of the credits...
21:55:24Watusimotoyes
21:56:01Watusimotoor we could claim total ignornce of what was being done in our names by the hijacked personalities of evilWatuismoto and evilRaptor
21:57:17raptorevilRaptor! that doppleganger must be stopped!
22:02:34koda has joined
22:10:50Watusimoto11PM!!!!
22:10:52Watusimotowow
22:10:59raptoryeah, i'm so sleeeepy
22:11:08Watusimotolets see if there are any bugs I can fix before I fall asleep
22:11:23raptoroh, did you look at this?: http://beta.etherpad.org/p/bf_update
22:11:31Watusimotoin fact I did not
22:11:34Watusimotolet me do that now
22:11:43raptoryou can make changes, suggestions
22:14:04Watusimoto Quit (Read error: Connection reset by peer)
22:14:34Watusimoto has joined
22:14:56Watusimotoso how does the mac client know to copy resources?
22:15:08raptorit uses the mac registry
22:15:25raptorbasically mac detects what version of the app you've launched and holds it
22:15:27Watusimotoso it compares its version with the version number stored inthe
22:15:30Watusimotoyes
22:15:30Watusimotook
22:15:49Watusimotoso it compares its version with the version number stored inthe registry
22:15:53raptorwe could remove that need by just using the INI
22:16:11raptorsince INI = our own registry!
22:16:34Watusimotoyes
22:16:56Watusimotowhat happens if new install? same as upgrade? (i.e. copy resources?)
22:17:11raptornew install copies to system folders
22:17:28raptoron bitfighter launch, it would detect a new install had taken place and update resources
22:18:55Watusimotousing the update mechanism
22:19:08Watusimoto(i.e. INI file would report current version as being 0 or something)
22:19:52raptoryes, but internall we'd know it's 4500
22:20:00raptorfrom that #define we always set...
22:21:05WatusimotoI think your propsed chagnes look fine
22:21:19raptori'm open to any changes
22:21:51WatusimotoI think it makes sense
22:23:12raptorok
22:23:21raptori'll get to work! (sometime soon..)
22:24:38raptorhow does the windows updater work? does it halt the game when launched?
22:26:27Watusimotoit used to... didn;t seem to last time I tested it
22:26:47raptorok, well, i'll try to keep it in the same broken state
22:27:32Watusimoto:-)
22:28:27raptoroh blah
22:28:34raptorcircular dependency on the INI
22:28:54raptorlooks like BFUP requires an updater setting from the INI
22:29:00raptordo we actually need that?
22:30:27raptormaybe i'll just load teh INI first
22:38:00Watusimotoyes, load the ini first

Index Search ←Prev date Next date→

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