#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-09-28

Timestamps are in GMT/BST.

00:00:12raptoroh and one more:
00:00:33raptor3. single-line if / else control statements don't need brackets
00:01:03raptorso it would looke like this:
00:01:04raptorif(clientGame->isGameOver() && i == clientGame->getTeamBasedGameWinner().second)
00:01:06raptorisWinningTeam = true;
00:01:07raptorelse
00:01:09raptorisWinningTeam = false;
00:01:15fordcarsOh sweet
00:01:17raptorahh... and:
00:01:25raptor4. no spaces between if and (
00:01:31raptoror 'for' and (
00:01:43raptorwatusimoto was a stickler to me for that one...
00:01:50fordcarsI'll try to figure out the VS settings :P
00:02:00fordcarsIt puts spaces everywhere
00:08:19sam686raptor / fordcars: in visual studio: tools, options, text editor, c/c++, tabs, there is that option to keep spaces to 3 indent and tab size
00:08:36fordcarsAh nice, thanks!
00:11:43raptorback shortly..
00:47:02raptorback
00:51:55fordcarsI am finished, but winStatus == HasWinner doesn't work and I don't know why :/
00:52:19raptorwhere was that?
00:52:28fordcarsSometimes it is Tied, but winStatus == HasWinner still returns true?
00:52:37fordcarsOh I just added it in the if statement
00:52:51fordcarsconst S32 winStatus = clientGame->getTeamBasedGameWinner().first;
00:52:56raptorahhh
00:53:25raptormaybe put that in a bool outside of the if statemetn
00:53:31raptorthen you can really see
00:54:14fordcarsOk I'll try
00:57:28fordcarsOh wair
00:57:30fordcars*t
00:57:39fordcarsIt has to do with the fact that there is one player
00:57:42fordcarsSorry!
00:58:01raptorha!
00:58:01fordcarsIt's supposed to be that way I guess, since the other team has no players (when I tested)
00:58:10raptoryeah, probably
01:00:04fordcarsWhoa Sudden Death!
01:00:07fordcarsFancy!
01:00:14raptori've never hit that...
01:00:18raptorhow did you trigger?
01:00:34fordcarsOne player (or more I guess) each team with a tie
01:00:43raptorhmm...
01:01:32raptoroooo fancy!
01:01:38fordcarsHaha
01:02:39fordcarsOk pushed
01:04:23raptorlooks good - did you still need those changes to teamInfo.cpp/.h ?
01:06:07fordcarsUh, I didn't find them!
01:06:32raptorsee here: https://code.google.com/r/corteocarl-bugs/source/detail?r=2cee158277fa07f70756f7126c1fa41b177dfe16
01:06:43fordcarsOh wait I got them
01:08:36fordcarsI wasn't sure if I added that, but I did
01:10:02raptorha! I found watusmoto's coding standards: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap#Coding_Standards
01:10:34fordcarsHah!
01:11:23fordcarsOk raptor, nothing in teamInfo.cpp is mine anymore I believe
01:11:46fordcarsWait sorry!
01:12:17fordcarsI added getTeamIndex(AbstractTeam *team)
01:12:35fordcarsShould I leave it there? It could be useful
01:12:48raptori'd undo it for now i think
01:12:54fordcarsSure
01:13:29fordcarsOh it's already gone
01:14:15fordcarsI guess I'm clean
01:14:23raptordid you push?
01:14:38fordcarsYep
01:15:17raptorI don't see the reverted changes in teamInfo
01:15:49fordcarsReally?
01:15:58fordcarsIt's not in my local clone
01:16:15fordcarsOh yes it is
01:16:22fordcarsI am blind?
01:17:02fordcarsSorry about that
01:18:01fordcarsI'll push in a few secs after compiling
01:18:08raptorok
01:23:26fordcarsOk pushed
01:26:14raptorlooks good! I'll merge
01:27:59fordcarsCool!
01:39:47raptorhere it comes!
01:39:56BFLogBot Commit: 2cee158277 | Author: corteocarl | Message: First commit
01:39:57BFLogBot Commit: d6fd9b7b79 | Author: corteocarl | Message: Now works!
01:39:59BFLogBot Commit: df9be8176b | Author: corteocarl | Message: Updated to Bitfighter standards
01:40:00BFLogBot Commit: 5640cd31ab | Author: corteocarl | Message: Removed getTeamIndex from teamInfo
01:40:02BFLogBot Commit: 994390a954 | Author: buckyballreaction | Message: Minor whitespace changes to finish off fordcars' code to highlight the winning team on the scoreboard
01:40:03BFLogBot Commit: 406098177e | Author: buckyballreaction | Message: Merge
01:40:56raptorhey fordcars, was that your first code into our code base?
01:41:16fordcarsYay!
01:41:21fordcarsYeah it was :P
01:41:29fordcarsWell if that small s_bot change doesn't count
01:43:45raptordo you have the dev badge?
01:43:54fordcarsNope :P
01:44:14fordcarsThe s_bot modification was pretty much one line
01:45:19raptornow you do :)
01:45:33fordcarsWhoa thanks!
01:45:41fordcarsMy life is now accomplished
01:45:45raptorplease try it out to make sure it's there :)
01:45:51fordcarsSure :P
01:46:38fordcarsYep, it's there with all it's glory
01:46:44raptorcongrats!
01:46:47raptorand good job
01:46:57fordcarsThanks, this is awesome!
01:47:09fordcarsWell it's all thanks to you devs, you are the ones that got me into coding
01:47:44raptornow you know that half of development is making sure the code is acceptable to the project owner :)
01:47:56fordcarsHaha yep
01:48:03raptorthe other half is being patient enough...
01:48:32fordcarsHaha
01:49:05fordcarsAnd searching through the code base for a method
01:49:17raptoroh man... yeah
01:49:47raptorI'm pretty good at finding things in the code... but I use an IDE that makes it easy (eclipse on Linux)
01:49:59raptorthere's got to be some tricks in vc++
01:50:13raptori bet watusimoto could tell you how he searches code faster
01:50:20fordcarsProbably
01:50:26fordcarsI use Ctrl-f
01:50:39fordcars:)
01:50:59raptorthere's some way to highlight a method and say "show me all the places this comes from"
01:51:06raptoror where it's used
01:51:15fordcarsYeah, show me all references, but it really shows all references
01:51:20fordcarsWhich is a lot :P
01:51:38fordcarsThen you have to go through a long list
02:01:34raptorok, heading to bed... night!
02:01:45fordcarsI was going to say that too, night!
02:01:49raptor Quit ()
02:01:53fordcars Quit (Quit: Page closed)
02:21:06Destroyerimo has joined
02:26:52Destroyerimo_clo has joined
02:29:44Destroyerimo Quit (Ping timeout: 244 seconds)
03:00:57Watusimoto has joined
06:15:20Watusimoto Quit (Ping timeout: 250 seconds)
09:54:49Nothing_Much Quit (Remote host closed the connection)
09:58:20Nothing_Much has joined
12:00:22fordcars has joined
12:33:10Watusimoto has joined
12:37:25Watusimoto Quit (Ping timeout: 260 seconds)
13:15:52Nothing_Much Quit (Read error: Connection reset by peer)
13:29:32Nothing_Much has joined
14:06:39LordDVG has joined
15:26:16Nothing_Much Quit (Remote host closed the connection)
15:32:02Nothing_Much has joined
16:16:00Watusimoto has joined
16:21:30Watusimoto Quit (Ping timeout: 260 seconds)
16:52:21LordDVG Quit (Ping timeout: 250 seconds)
17:08:56Watusimoto has joined
17:26:13LordDVG has joined
17:50:39Nothing_Much Quit (Read error: No route to host)
17:51:07Nothing_Much has joined
17:58:35Watusimoto_ has joined
18:01:49Watusimoto Quit (Ping timeout: 244 seconds)
18:59:06LordDVG Quit (Remote host closed the connection)
19:36:23Invisibl1 has joined
19:40:47Invisibl1 Quit (Ping timeout: 260 seconds)
19:45:37vs73nx has joined
19:45:38vs73nx Quit (Changing host)
19:45:38vs73nx has joined
20:10:35raptor has joined
20:10:35ChanServ sets mode +o
20:10:40raptorgood evening
20:15:49vs73nxevening raptor
20:16:02raptorhi
20:26:50Watusimoto_heyllo
20:33:23raptorheylow
20:34:05fordcarsHi
20:37:01vs73nxsup
20:38:06raptorWatusimoto_: I merged code from fordcars! (and gave him the dev badge)
20:41:42fordcarsHaha :P
20:53:23Watusimoto_I saw... he's changed is name!
20:53:30Watusimoto_so fordcars, what does your code do?
20:53:49Watusimoto_and congratulations, btw... we owe you a development badge, I think
20:54:04Watusimoto_!nick watusimoto
20:54:08Watusimoto_ is now known as watusimoto
20:54:20raptori gave him the badge
20:54:23fordcarsHaha raptor gave me one :)
20:54:23watusimotoawesome
20:54:34watusimotowell, good job. I hope it wasn;t too traumatic
20:56:29fordcarsIt pretty much only changes the border of the winning team on game over in the score board
20:56:45fordcarswatusimoto, I still have that "secret project"
21:02:06raptori just learned something fun with mercurial - hg stash
21:02:26raptorif you have hg 2.8 or greater
21:03:08raptorif you have a bunch of working code but need to switch to another revision for some reason, you can just do 'hg stash' to save your changes temporarily, then switch and do what you need to do
21:03:23raptorthen you can go back and do 'hg unstash' and tada! your modified code is back
21:05:24watusimotoI've seen hg stash before, and figured that's what it did... but good to have the confirmation
21:05:44raptoryeah, now i don't need to manage a dozen diff files
21:17:24watusimotothat's great... diffs can get messy
21:18:06watusimotofordcars: as for the secret project, I still think it would be great, but I never thought of a better way to get the input points, and I think that's where you were hung up, no?
21:20:31raptori still think a master server RPC to override certain basic color settings would be great
21:20:46raptorand maybe toggle certain designs
21:20:55raptoror even send the designs?
21:35:26fordcarswatusimoto: yeah, it works fine, but the points just show an ugly shape
21:35:33watusimotoI think that would work fine. They would only be sent occasionally, could be client-side cached, etc. But we would need to design some sort of encoding protocol.
21:54:37raptordoes the server maintain a list of IDs for the players that are connected... somewhere?
21:57:52raptoroh wait... voice chat is already guaranteed to be handled on a per-player basis...
21:57:56raptornevermind
21:59:15raptordo RemoteClientInfos persist for the same player throughout a match?
22:16:18watusimotoI think they do
22:16:35watusimotothe ship object does not, but the clientinfo should
22:16:46watusimotoless sure about game-to-game
22:17:08watusimotook, got to go... will be back later
22:17:13raptori vaguely remember them not persisting... but that you attempted to make them do so with a refactor..
22:17:15raptorok later!
22:21:42watusimoto Quit (Ping timeout: 260 seconds)
22:36:29raptorme too..
22:36:32raptor Quit ()
22:41:38Watusimoto has joined

Index Search ←Prev date Next date→

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