#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-04-30

Timestamps are in GMT/BST.

00:26:15Watusimoto Quit (Ping timeout: 264 seconds)
00:28:39raptorhowdy folks
00:33:07kaenhi
00:33:11kaenworking on a cmake test target
00:40:32koda Quit (Quit: koda)
01:07:49raptorok
01:07:57raptordare I try to render ship in one pass?
01:08:10raptoralso, where did we settle on the cloaking cloak cloak?
02:17:27Little_Apple has joined
02:17:34Little_Appleraptor: bug!
02:17:39raptoryay!
02:17:48raptortell me tell me
02:18:09Little_Applein the editor, you cannot resize two line items at once
02:18:20raptorhmmm....
02:18:26raptoras opposed to what other item?
02:18:54Little_Applewalls, goals, loadout zones etc
02:18:57raptoroh neat!
02:19:06raptor(i didn't know you could do that...)
02:19:12Little_Applehah!
02:19:25raptoruh
02:19:30raptori'm resizing them OK...
02:19:39raptorI created two lineitems
02:19:43raptoreach have only two points
02:19:50raptorthen i grab one point from each and drag
02:19:53raptorit resizes..
02:20:10raptorunless you're talkinga bout a different method?
02:20:25Little_Appletry adding more vertices?
02:20:34Little_Appleer.. whatevers
02:20:43raptorthat's correct terminology
02:20:46raptorok adding lots
02:20:50Little_Applepfew
02:21:04Little_Applei think its at least 3 points
02:21:25raptorok, it's working for me with 5 vertices
02:21:44raptorcurious
02:21:48Little_Applehm... maybe i was just being dumb and missed the x key.
02:21:50raptorare you on PPC osx?
02:22:00Little_Appleits working for me now haha
02:22:06raptorbecause there was a bug on ppc..
02:22:08raptoroh good!
02:22:14raptoryay, bug solved!
02:22:17raptorthat was easy
02:22:18Little_Appleand im not on ppc
02:22:24Little_Appleuser error!
02:23:21Little_Applehm.. i just thought of a way to make un-downloadable levels...
02:23:32Little_Applewhile keeping the server open to download
02:23:42raptoruh oh
02:25:00Little_Applebasically: use a script to add in the entire level to a level file with params
02:25:31raptorhah!
02:25:36raptorlike mazeracer
02:25:43Little_Applepretty much
02:25:49raptorsneaky
02:25:49Little_Applebut... plays better
02:26:15Little_Applei need to work on more level projects...
02:26:29raptorexcited for the BBB? :)
02:26:49raptorspeaking of which, where is bobdaduck... we need to finish grabbing all the levels
02:26:50Little_Appleoh yea!
02:27:09Little_Applei almost wasn't going to be able to make it
02:27:34Little_Applewe're appearantly flying to europe on the 4th...
02:28:24raptoroh wow
02:28:33raptorthat's a drastic move to get away from the BBB...
02:28:47Little_Applebut i should be able to make it to the bbb :D
02:28:58Little_Appleand then have major jet lag
02:29:18Little_Appleok. sooooooo levelgen question
02:29:36raptorthe BBB is the 3rd
02:29:39Little_Applehow do i get the script to see how many players on in the server?
02:29:40raptorok
02:30:16Little_Appleyea i wasnt going to be able to make it before the reschedule :P
02:31:08kaenme either \o/
02:33:36kaenokay so wat seems to have only included the google test headers...
02:35:17raptorwe should ban him from coding after midnight his time
02:35:40kaenheh
02:36:09kaenI think it's best to just include the whole tarball
02:36:30kaenit has cmake and vc++ and xcode build files in it, and a really useful driver lib
02:36:38kaenso we don't have to write our own main()
02:37:22Little_Apple is waiting patiently for an answer
02:37:53raptoroh Little_Apple, sorry - i didn't even see the question
02:38:00raptorok looking...
02:38:08Little_Applehow do i get the script to see how many players on in the server?
02:38:26Little_Applewoah i didnt proof read
02:38:45raptorok
02:38:53raptor so you want to get the count of all current players?
02:38:59Little_Appleyup
02:40:35raptorok, let me throw something together... this might change in 019...
02:48:16raptorok Little_Apple
02:48:20raptorhere is an example: http://pastie.org/7740874
02:48:21Little_Appleyo
02:48:36Little_Applethanks!
02:48:39raptorenjoy
02:48:40raptor:)
02:49:38Little_Appleso does this require the players that will be counted to be in a zone?
02:49:46raptorno
02:49:50raptorany players on the map
02:49:55Little_Appleoh ok
02:50:06raptori just tied it to onShipEnteredZone to show you you can get it on any event
02:51:50Little_Appleso how would i return the number of players as a variable? or something..
02:52:09raptori did that in that example
02:52:18raptorwhere would you want to do it?
02:52:40raptoror when?
02:53:15Little_Appleso playerCount would be the number of players
02:57:06raptoryes
02:58:00raptoryou need both those lines though, the 'playerList' line and the 'playerCOunt' one
03:23:38BFLogBot Commit: 545c6c43f0ca | Author: buckyballreaction | Message: Fix compiler warnings
03:23:39BFLogBot Commit: 4a91bb8dd3cc | Author: buckyballreaction | Message: Clean-up old botzone-in-editor render stuff left over from 015. Also add minor rendering optimizations for the botzones as well as simplify the drawing of the connections
03:24:22raptorkaen: still around?
03:24:58raptorwhat was the consenus with the ship cloaking this morning?
03:52:30kaenI think it was all up in the air, but at the end bob and wat to agreed that cloak being undetectable is probably not overpowered
03:52:48Little_Appleso... no actual use for sensor?
03:53:22kaengets a buff this way
03:53:29kaenas the only way to detect cloakers...
03:56:34raptorhmmm
04:04:16BFLogBot Commit: 96d6128e635d | Author: buckyballreaction | Message: Rename render method to remove ambiguity
04:04:17BFLogBot Commit: f276c5cfe733 | Author: buckyballreaction | Message: Rename another method
04:05:50raptorclean-up clean-up
04:06:08raptoram I supposed to be working on some actual feature? I don't remember..
04:07:22kaenwat did gtest the hard way
04:07:33raptoroh yeah?
04:07:50kaenhe wrote his own main function when we could just link against gtest_main
04:08:10Little_Appleoff for tonight
04:08:11Little_Apple Quit (Quit: Page closed)
04:08:21raptori'm sure he spent most of his time just trying to get things to work with vc++
04:08:27kaenthat's what I gathered
04:08:34raptorwe should convince him to use CMake
04:08:51kaenor at least cmake-generated vc++ files
04:08:59raptor^^ yes, that's what I meant
04:09:32kaenwhen I tested them on windows I literally just opened them and hit build and it worked
04:09:41raptorthat is so cool
04:10:07kaenthat way we don't have to do this build system tug-of-war
04:10:34raptorthen if he wants to add a new class - just add to cmake and regenerate?
04:12:03kaenyep
04:12:59raptornow we jsut have to convince him...
04:13:16raptormaybe we just need to remind him of these linker problems
04:13:19raptorover and over and over
04:14:05kaenI honestly don't know how he got it to compile
04:14:23kaenI'm getting redefinition errors for main(), but main.cpp has a bunch essential definitions in it
04:15:52kaenin my gtest clone I had to make a BITFIGHTER_TEST definition to ifdef out the real main()
04:18:14Nothing_Much has joined
04:50:27kaen[----------] Global test environment tear-down
04:50:27kaen[==========] 1 test from 1 test case ran. (1 ms total)
04:50:27kaen[ PASSED ] 1 test.
04:50:38raptorYAY
04:50:43kaen^ and it only took me four hours...
04:51:23kaenI added a BITFIGHTER_TEST flag, I hope that's okay
04:52:38raptoruh sure
04:52:43raptor4 hours?
04:52:51raptorwas that to recover from watusimoto's stuff?
04:53:05BFLogBot Commit: 164fc499bd44 | Author: buckyballreaction | Message: Some random clean-up
04:53:06BFLogBot Commit: d6fecdc251ee | Author: buckyballreaction | Message: Actually do a TODO (we have a lot of these): Move database-centric method to GridDatabase from UIEditor
04:54:25kaenwell, to be honest I had a lot of distractions.
04:54:42kaenbut then also I had to fix a bunch of linker errors...
04:55:09raptor:(
04:56:36kaenoh, and I learned about gcc's directory inclusion process
04:56:51kaenespecially the difference between -iquote, -I, and -isystem
04:57:29raptori have no idea what that is..
04:57:35raptoroh
04:57:37raptorwait
04:57:40raptoryes
04:57:41raptorok
04:57:42BFLogBot Commit: 75d93ae7003e | Author: kaen | Message: add cmake 'test' target. run 'make test' and run exe/test
04:57:44BFLogBot Commit: 29ab51c86b85 | Author: kaen | Message: merge
04:58:33kaenfunny how I only notice bad commit log wording after it's in red text on the irc channel.
04:59:30raptorhaha
05:09:11raptorwhoa.. python interp?
05:09:22raptor takes a closer look at the CMake changes
05:10:21raptorha! we still have the XBOX flag?
05:11:00raptor*gasp* spaces to tabs!
05:12:22BFLogBot Commit: 27be24e52f94 | Author: buckyballreaction | Message: Alter comment to reflect reality about rendering layers. Also remove a couple of useless TODOs
05:12:32raptorand with that, good night!
05:14:27raptor Quit ()
05:47:22Darrel has joined
06:28:12Nothing_Much Quit (Quit: Nothing_Much)
07:07:26watusimoto has joined
07:07:27ChanServ sets mode +o watusimoto
03:06:43-card.freenode.net- *** Looking up your hostname...
03:06:43-card.freenode.net- *** Checking Ident
03:06:45-card.freenode.net- *** Couldn't look up your hostname
03:06:52-card.freenode.net- *** No Ident response
03:06:58BFLogBot has joined
03:06:58Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/'
03:06:58Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 GMT 2013
03:06:58-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.
03:50:11LordDVG has joined
08:12:09thread_ has joined
08:38:05raptor has joined
08:38:05ChanServ sets mode +o raptor
08:38:13raptorgood day!
08:41:10thread_ Quit (Ping timeout: 245 seconds)
09:05:35watusimotohello
09:05:43raptorhi
09:06:33watusimotohere's a quiz for you -- why is sdl_joystick.h needed when you build LoadoutTracker ?
09:06:56watusimoto(I know the answer)
09:07:07raptorummm
09:07:14raptorbecause
09:07:39raptorsomeone put it there by accident? (probably me?)
09:07:45watusimotowe have some crazy chains of includes in this project
09:07:49watusimotono
09:08:05watusimotoit's just one thing leading to another, about 10 layers deep
09:08:12watusimotoit's all includes, all the way down
09:08:38raptoroh yeah..
09:09:00raptorI could get you a report of the entire chain for each compilation unit...
09:09:05watusimotobut there is no reason in the world why you need sdl joystick definitions to create a container for a loadout
09:09:09raptorgcc has a nifty flag for it
09:09:22watusimotoI've got it covered
09:09:43watusimotoAs we build out the testing infrastructure, I will try to untangle some of these things
09:09:48watusimotomake things a bit more atomic
09:10:14raptoroh
09:10:15raptorso
09:10:27raptorkaen: cleaned up some stuff with regards to the testing framework
09:10:40watusimotothe key for loadoutTracker is that it includes Game to get an enum or something
09:10:41raptorapparantly you committed too few things..
09:10:46watusimotoyes I did
09:10:57watusimotoI was unsure how much to put it
09:11:04watusimotoand was too tired to discuss it
09:11:06raptorso he took care of it
09:11:10watusimotook, great
09:11:15raptoroh
09:11:17raptoralso
09:11:30watusimotoI omitted everything needed to build the google testing library
09:11:51raptorwe were wondering what it would take to try and convince you to use cmake to generate your vc++ project files instead of you having to fight with it
09:12:26watusimotohow would this work?
09:12:36raptorso we maintain the CMakeLists
09:12:41raptorused in Linux
09:12:45watusimotoyes
09:13:20raptorbut all you'd need to do would be go into the build directory
09:13:35raptor run once something like: cmake ..
09:13:46raptorand it woudl generate all of your vc++ project files for you
09:13:53raptorand it would compile as is
09:13:56raptorhowever
09:14:10raptorif you wanted to add a class, you'd add it to the CMakeLists.txt
09:14:19raptorthen regenerate your project files
09:14:31raptorno more messing with stupid vc++ settings (at least that's the theory)
09:14:37watusimotoI'd be willling to take a look at a generated project file and see how it looks
09:14:44raptorok
09:15:02raptorbecause I would like to cut down on your fighting with linker errors (I fee the pain..)
09:15:11raptor*feel
09:15:14watusimotoso maybe tonight you ore kaen could give me the full details
09:15:20raptorok
09:15:29watusimotolast night, the issue was a linker setting that differed on google's project and mine
09:15:45watusimotothe google lib was incompatible with the bitfighter code
09:15:54watusimotoand the error message was very cryptic
09:16:08raptorblech
09:16:09watusimotoand it involved a setting I did't even know existed
09:16:32watusimotoso I was frustrated :-)
09:17:05raptoryes
09:17:15watusimotoactually, it wasn't even a setting so much as a flag to be passed to the linker
09:17:20raptorand that's why we think cmake will reduce frustration a bit...
09:17:24watusimotoperhaps
09:17:53watusimotoIf I had used the google cmake to build the google project, the setting may still have been broken
09:18:08watusimotoor rather the flags may still have differed, and it may not have resolved the issue
09:18:44watusimotobecause google set the flags one way, and we set them another... and it's not clear it would have been obvious in any event.
09:18:48raptorbecause instead of editing different sets of project files on Linux/Windows, we'd only need to edit one set... and spread the frustration out a bit :)
09:18:50watusimotothat pain may have been unavoidable
09:19:07watusimotonot last night though... we'd haev had our cmake and google's cmake
09:19:26raptorI think kaen worked on that, too
09:19:42watusimotojust as I had google's vc++ sln and the bitfighter sln (sln = cv++ solution file)
09:20:24watusimotowell, in any event, I'll try it tonight, and even if it doesn't solve every problem, it might be a better work flow for us as a team
09:21:38raptoractually, now I'm curious about how cmake handles the msvc runtime libraries...
09:23:31watusimotobf.org was down for a while this morning
09:23:37raptorbooo
09:23:46watusimotoyeah
09:23:55raptordefine 'down'
09:24:02watusimotothe same event we
09:24:04raptorwhole server? or just the mysql database?
09:24:09watusimoto've observed before
09:24:18watusimotono ping, no www, no nothing
09:24:43watusimotobasically, I think the network is down, and the server still running
09:25:28watusimotothat makes 3 or 4 times it has happened
09:25:43raptormore than that, i think
09:25:54watusimotovery likely
09:26:09raptorwe need a good server for the BBB
09:26:23watusimotoyes
09:26:38raptorkaen's server has the CPU/RAM, but it like to do the constant network laggy thing
09:26:52watusimotobitfighter.org might be fine
09:26:58raptorthe master doesn't have as bad lag
09:27:00watusimotoor
09:27:07watusimotomy son's minecraft server
09:27:14watusimotosince I'm paying for it...
09:27:27watusimotokill minecraft, start bitfighter
09:27:55watusimotoit's a vps with very good network
09:28:04watusimotoin buffalo, NY, I think
09:28:35raptorOOooo
09:28:37raptorreally??
09:28:48watusimotosure, why not?
09:29:07raptorhow's the performance been?
09:29:34watusimotono idea
09:29:42raptorhmmm....
09:30:01watusimotobut we can try it out and see
09:30:06raptorwe'd need to compile bitfighter on it..
09:30:12watusimotoit's centos
09:30:14watusimotono problem
09:30:49watusimotoremind me later and I'll set it up
09:31:21watusimotoif it looks good, I can create an account for whomever wants to take care of the server so they can have access to load levels, or whatever
09:31:53watusimotoit has 1 GB of memory too
09:32:01raptorsure!
09:32:11raptorI'll need to compile a dedicated server with a couple of patches
09:32:26watusimototomorrow during the day the kids will probably be playing minecraft on it, but tonight would work fine
09:33:45watusimotostock code won't work?
09:33:51raptorit does
09:33:59raptorbut we want a patch that fixes the team balancing
09:34:04watusimotoah
09:34:08raptorand i think there were one or two others..
09:34:19watusimotook, well, we can test the performance with stock, then apply patches or whatever
09:34:19raptori'll have to ask bobdaduck
09:34:31raptorok
09:35:05raptorside question: wasn't there some batch file that you need to run to get vc++ environment vars set up in a command prompt?
09:35:32watusimotonot sure what you mean
09:35:40watusimotoI use no such batch file in my work
09:36:04raptorso if you open a dos shell, you have all the compiler programs at your disposal?
09:36:22watusimotoI have never actually tried running vc++ compiler from the cmd line
09:36:37watusimotoI know it can be done...
09:36:51watusimotobut the exe is probably not on the path
09:37:03watusimotoso you'd probably modify the system path
09:37:36watusimotowhich is one of the dark hideyholes of windows
09:39:04raptorC:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat
09:39:06raptorfoudn it
09:39:29raptoryou run that in a command prompt and it sets up your environment to use all the commandline stuff instead of teh GUI
09:39:35watusimotointeresting
09:39:40watusimotonever actually heard of that
09:39:44raptorthere's even an 'nmake'
09:39:54watusimotomake.... shudder
09:40:02raptorit has an entire tool change for CLI
09:43:13raptoroooo
09:43:21raptorwe can make a 64bit project for windows, too!
09:43:53raptorwatusimoto: you use vc++ 10?
09:44:04watusimotoyes
09:44:06raptorok
09:44:19watusimotothinking about upgrading though, but haven't yet
09:45:16raptorupgrade to eclipse CDT? :)
09:45:30raptoractually that might be worse as far as building...
09:45:35watusimototried that... rejected it
09:46:09watusimotostill looking for a better IDE -- VC++ is good but has a mediocre editor
09:47:19raptoreclipse CDT editor is amazing
09:47:32raptorespecially with the last two releases
09:48:39watusimotomay
09:48:46watusimotomaybe I should look at it again
09:48:57raptori don't know about the building, though...
09:48:58watusimotoit sucked hard last time I tried, but that was several years ago
09:49:03raptorstill seems clunky
09:49:14raptorbut debugging is really good
09:49:25watusimotowait... is amazing or clunky? or amazingly clunky?
09:49:34raptorthe editor is amazing
09:49:43kaenmorning
09:49:43raptorthe backend building system still seems clunky
09:49:46raptorhi kaen
09:49:49watusimotohi
09:51:02kaencouple of pings for me, anything in particular?
09:51:05raptorkaen: how did you get cmake in windows to find teh SDL path, etc. ?
09:51:33kaenI honestly have no idea
09:51:35raptorI'm trying to convince watusimoto to use it, and I hope I can polish some of the rough edges before he tries it tonight :)
09:51:39kaenI put it on a vm, completely unmodified
09:51:56kaenit might be just building the libs from the tree
09:52:08kaenactually, no it's definitely not doing that
09:52:11watusimotoI should note that 99% of the time, VC++ works great
09:52:12kaenummm
09:52:28watusimotoit's only when doing something a bit different like last night that I get stabbed repeatedly
09:52:33watusimotoby the sharp edges
09:52:54raptorand the blunt edges..
09:53:07kaenwell, it just generates .sln files, you still edit and build with vc++
09:53:14raptorwatusimoto: with this, hopefully, vc++ will still work great! :)
09:53:23kaenI think it would let is unify our build system (a little bit)
09:53:27watusimotoyes, I've agreed to look at the emitted sln files
09:53:43watusimotoand I would use those for adding classes or whatnot
09:53:58watusimotosorry - would add the new classes to cmake and produce a new sln
09:55:19raptorso i got cmake to detect everything about vc++ 10, it's just failing on finding the dependency include dirs...
09:56:22kaenwhich ones in particular?
09:56:31kaenour CML is different now from how it was
09:56:34kaenwhen I tried it
09:57:17raptorhttp://sam6.25u.com/upload/untitled.PNG
09:57:44raptorI ran the GUI against it just for fun
10:00:42kaenthat's really weird
10:00:58kaenfind_package(SDL) should do it if the development lib is installed
10:01:41raptormore info: http://sam6.25u.com/upload/untitled2.PNG
10:13:10bobdaduck has joined
10:18:31raptorkaen: looks like doing something like this is starting to work: http://pastie.org/7743777
10:18:38raptori'll just need to do it for all the missing includes
10:18:52raptorone question: is the main CMakeLists.txt a good place to put that?
10:22:23kaenI'd put it in zap/CML rather than the main, right by the find_package stuff
10:23:12raptorOK
10:24:06kaenbut I didn't need to do that last time :x
10:24:35raptorwere you runing in an msys environment with many of the libraries/headers installed?
10:27:02raptorok solution built... starting..
10:28:05raptorWOW
10:28:20kaenI think I did mingw
10:28:27raptor*gasp*
10:28:36raptorlooks quite complete
10:30:49kaenyeah, the .sln files it generates made me kind of jealous
10:32:09LordDVG Quit (Remote host closed the connection)
11:12:19watusimoto Quit (Quit: Leaving.)
11:18:46koda Quit (Ping timeout: 245 seconds)
11:33:45Watusimoto has joined
11:47:36bobdaduckTell me the story of deltaTime
11:47:44raptorcalculus!
11:48:09bobdaduckIts how much time has passed since the last tick
11:48:15raptoryes
11:48:39bobdaduckHow do I use it to regulate acceloration
11:50:03bobdaduckI SWEAR I WILL UNDERSTAND THIS IF IT KILLS ME.
11:50:19raptorthe idea is
11:50:43raptorlet's work with velocity
11:50:45raptorsince it simpler
11:51:00raptorlet's say you want to make an object go 1000 points / second
11:51:03raptorso
11:51:10raptoryou take deltatime
11:51:26raptoryou know that it is a fraction of a secont: deltaTime / 1000
11:51:48raptorso if deltaTime is 33 ms
11:51:58raptorthan 0.033 seconds have passed
11:52:00raptorfollow?
11:52:10bobdaducknot quite.
11:52:14raptor(depite my horrible spelling and grammar)
11:52:27raptordeltime is milliseconds since last tick, right?
11:52:28bobdaduckwhy delatTime / 1000
11:52:49raptorbecause you want to convert to seconds
11:53:05raptorbecause that's what your target velocity is in: 1000 points / second
11:53:05bobdaduckokay
11:53:18raptorso 33 ms == 0.033 seconds
11:53:19raptorfollow?
11:53:58bobdaduckyeah
11:54:17raptorok
11:54:40raptoryou want your object to go 1000 points in a second, but it has only gone 0.033 seconds, so how many points to you make it move?
11:55:04raptor*do you
11:55:32bobdaduck.033/1000?
11:56:09raptornope, but you have the right idea
11:56:26raptoryou've gone a 0.033 piece of 1 second
11:56:37raptorso you want to go 0.033 piece of 1000 points
11:57:14bobdaduckOkay, but I don't have a target velocity. I want acceloration
11:57:29raptoryes that's fine - i'm making sure you understand calculus
11:57:42bobdaduckoh okay xD
11:57:51raptorso how many points would you travel in that increment (just humor me) :)
11:58:08bobdaduck1000 * 0.033
11:58:09bobdaduckyah?
11:58:12raptorcorrect
11:58:23raptorwhat if you wanted 2000 pionts per second?
11:58:39bobdaduck2000 * 0.033
11:58:42raptorcorrect
11:58:44raptorgood
11:58:47raptorok
11:58:56raptornow apply those same principles to anything
11:59:07raptoryou make tiny incremental changes each tick
12:00:39bobdaduckoh crap, I'm also using your helper functions wrong
12:00:40bobdaduckxD
12:01:12bobdaduckCan you take a look at it? http://pastie.org/7744256#
12:01:20bobdaduckShipLeftZone isn't going off
12:02:23raptoroh, you may need to use the ship:playerInfo() instead of teh ship to register
12:03:15bobdaduckI was hoping just to use ship and skip the middle man
12:03:34raptoryeah, the issue is a bug in 018a
12:03:41raptorthe Ship object ends up different
12:03:44bobdaduck...oh.
12:03:45bobdaduckxD
12:04:52bobdaduckOkay so what's happening is its giving the ship a steady velocity towards the bottom right.
12:05:01bobdaduckI've obviously messed up my logic, somewhere.
12:06:06bobdaduckDo I need to switch a + to a -? Or should I be like "if vel.x is positive, then this, but otherwise, this"
12:06:16raptorhuh... it looks right to me...
12:06:40raptorvalue:setVel
12:06:45raptorvalue isn't the ship anymore
12:06:59bobdaduckright I fixed that
12:07:24bobdaduckIt was giving the constant diagnal velocity before I fixed the arrays, it just was still doing it after the ship left zone
12:10:51bobdaduckIf I change it to negative it goes to the top left and accelorates properly
12:11:26raptorodd
12:12:07bobdaduckOh wait, bottom right accelorates too.
12:12:37raptorah
12:12:39bobdaduckSo the problem is that its not taking the ships velocity into account properly.
12:12:40raptorso...
12:12:44raptorit is
12:12:55raptorit's just that you're adding velocity incorrectly
12:13:13raptorif the velocity is in the -y direction, then you need to add -y velocity
12:13:41bobdaduckso do I do "if vel.x > 0, then positive velocity" or whatever
12:13:43bobdaduck?
12:13:45raptoryep
12:14:01raptorthere are smarter ways to do it I'm sure, but I'm stupid at the moment
12:14:06raptorand that is simple enough
12:14:15bobdaduckokey dokey
12:19:51bobdaduckin lua is => a thing?
12:20:13bobdaduckor maybe >=
12:20:39kaenprobably >=
12:20:47kaenask the interpreter :P
12:29:21bobdaduckOkay so
12:29:24bobdaduckit doesn't work like I wanted
12:29:43bobdaduckI wanted to make a speedzone that was actually, you know, a zone, but what I've created is basically a funky slipzone
12:31:17bobdaduckbah!
12:31:33bobdaduckSomeone take a look for me again? http://pastie.org/7744360
12:39:19raptorbobdaduck:
12:39:23raptorsomething simpler: http://pastie.org/7744392
12:46:41kaenI made the 25th percentile for a c++ qualification test against professional developers. not bad for a college drop-out :P
12:47:43raptorha!
12:49:24kaenthose test writers sure love the subtleties of virtual inheritance
12:57:42bobdaduckraptor you can't declare multiple variables like that
12:57:49Watusimoto Quit (Ping timeout: 245 seconds)
12:57:51bobdaducklocal xvel, yvel = blahwhatever
12:58:02raptorreally?
12:58:05raptorsorry
12:58:19raptori didn't test the code (should have mentioned that..)
12:58:22bobdaducklol
12:58:36bobdaduckOkay well its adding velocity
12:58:48bobdaduckIf x is 0 (you're moving straight up) it will push you off to the right
13:02:05raptoryup
13:02:26raptoroh yeah, that's another case, haha
13:03:29raptoruhh
13:04:06kaenyou can totally declare variables like that
13:04:43bobdaduckThe code he gave me didn't work until I seperated them
13:05:37raptorbobdaduck: try this!: http://pastie.org/7744494
13:05:40raptor(untested)
13:06:06raptoralso accelorator is spelled wrong (unless that's intentional)
13:06:39bobdaduckNOw its a slipzone
13:08:56bobdaduckxD
13:10:53bobdaduckOh it works if I increase the acceloratorCoefficient
13:11:06bobdaduckkinda.
13:12:29bobdaduckNope, still broken.
13:13:20raptorgive me your full script please..
13:15:21raptorkaen: I *almost* have cmake working well with vc++..
13:15:44kaenwhat's the problem?
13:15:48raptori'm curious - do you know where teh findModPlug.cmake module in lib/projects/ came from?
13:15:55raptorand is that used?
13:16:10raptori need a module for modplug and vorbis..
13:16:49raptoroh, and speex and ogg
13:17:00raptorhow on earth does the standard cmake distro not have those??
13:20:11kaenhg log says you added it for modplug support in windows: https://code.google.com/p/bitfighter/source/detail?spec=svn27be24e52f94119ae1335d1fd3ae95c98e2e582c&r=b0750652757e1c31fa78d0986a95fe7795720ce6
13:20:20bobdaduckFull script: http://pastie.org/7744557
13:21:15raptorhmm...
13:23:34raptorbobdaduck: it's accelerating me...
13:24:52bobdaduckFor me I go into it and then it just slows down really slow.
13:25:28bobdaduckif you move into it and stop moving what happens?
13:26:00bobdaduckfor me its working pretty much exactly as a slipzone.
13:27:51bobdaduckYou're testing in 018a right?
13:30:46bobdaducka;fdjkqo;fwa it seriously works for you?
13:31:58bobdaduckUh, you tested with a loadoutzone right?
13:33:25raptorsorry, busy at work for a bit...
13:33:35bobdaduckright right
13:51:19Watusimoto has joined
13:55:48BFLogBot Commit: 97d8ab2816e4 | Author: watusimoto | Message: Get testing working for LoadoutTracker class. This involved untangling lots of tangly code; that object at least is now pretty clean, and the experience offers some suggestions on how to proceed in the future.
13:55:50BFLogBot Commit: 6dc4bfbe6ac9 | Author: watusimoto | Message: Whitespace
13:55:52BFLogBot Commit: 43d7a2e45e89 | Author: watusimoto | Message: Get this in so it won't be clobbered by Kaen's stuff
13:55:54BFLogBot Commit: 742847ede47d | Author: watusimoto | Message: Merge
13:57:58bobdaducklol that third one
13:59:49kaenoops :x
14:00:56raptorfyi Watusimoto, cmake stuff isn't ready to test yet...
14:01:07Watusimotook
14:02:27Watusimotokaen: We need to build the google test object with my project ebcause it has different link flags than the default, which will not work with our stuff (hence my frustrations last night)
14:03:33kaenI didn't realize you had modified them
14:03:46raptor commits to staying away from the test stuff for a good month or so...
14:04:04bobdaduckNot to be too pester-y, but has anyone fixed my goalzones being loadoutzones yet?
14:04:34bobdaduck*goalzones being slipzones
14:05:44raptorsorry bobdaduck, i cannot commit mental resources to it for the rest of the work day..
14:06:00bobdaduckCan you tell me if you tested it with a slipzone
14:06:02bobdaduckor a goalzone?
14:06:11raptorgoalzone
14:06:15raptorand it would slow me down
14:06:26raptorbut sometimes, when entering the zone at an angle, it would speed me up
14:06:38bobdaduckOkay thanks
15:01:39bobdaduckLua API request: playerInfo:isAuthenticated()
15:12:49Watusimotobobdaduck: how will you use that?
15:13:05bobdaduckTo give registered players an advantage over non-registered players
15:13:29bobdaduckJust kidding
15:14:03bobdaduckI'm not quite sure now, but it was something along the lines of "how do I verify a player?"
15:16:34bobdaduckI mean I guess I could be like "if this player isn't registered, tell them "hey you should join the forums" or "You would have gotten an achievement just barely, if you were registered!"
15:29:37bobdaduckEh you have higher priority things nevermind
15:49:31Darrel Quit (Read error: Connection reset by peer)
16:03:34bobdaduck Quit (Remote host closed the connection)
16:39:22Watusimotoodd... can't build 018 dedicated server
16:43:37raptor018a!
16:43:58raptorlet me see if there were any specific patches needed...
16:45:38Watusimotoah, I was following the now outdated (apparently) instructions on our server
16:47:10Watusimotoall these warnings make me frightened
16:47:18raptorscary scary warnings...
16:48:51kaenominous
16:52:31WatusimotoI must be missing something on the server, because 018a won't build either
16:52:42raptorlet me get you a diff
16:52:51Watusimotolots of errors like this
16:52:56Watusimoto undefined reference to `non-virtual thunk to Zap::SimpleLine::getEditorRadius(float)'
16:54:27raptorWatusimoto: you need to apply this: http://sam6.25u.com/upload/bitfighter_cmake_fixes1.diff
16:54:36raptorand this: http://sam6.25u.com/upload/bitfighter_cmake_fixes2.diff
16:54:44Watusimotofor 018a?
16:54:49raptoryes
16:54:52raptorand use cmake
16:54:58Watusimotowere we cmaking already?
16:55:02raptoryes
16:55:06raptorso
16:55:08raptorcd build
16:55:11raptorsorry
16:55:14raptor1. apply diffs
16:55:16raptor2. cd build
16:55:19raptor3. cmake ..
16:55:27raptor4. make bitfighterd
16:56:26raptorto apply diffs go to the top level bitfighter directory and do: patch -p1 < path_to_file.diff
16:56:28raptorfor each
16:58:50Watusimotomake is in color???
16:59:57raptoryes, well, cmake sets it up specially for you
17:02:22Watusimotoand look... it works!
17:03:04raptoryay
17:06:11Watusimotowell, too soon for champagne
17:06:12WatusimotoNo levels found in folder /home/bitfighter/.bitfighter/levels. Cannot host a game.
17:06:23Watusimotois this related to standalone mode?
17:06:23raptorheh
17:06:29raptoroh yeah
17:06:31raptorin the exe folder
17:06:32WatusimotoI am user bitfighter
17:06:36raptordo: touch standalone.txt
17:06:58raptoralso in the exe folder do: for i in $( ls ../resource ); do ln -s ../resource/$i; done
17:07:08raptorto link all the resource folders in
17:07:12Watusimotoalready copied the resources
17:07:18raptorokey doke
17:07:24Watusimotoour instructions are hopeleslly out of date
17:07:36Watusimotowell, just slightly out of date
17:08:18raptorwell, one version out of date
17:08:24raptorwith an entirely new build system!
17:08:25Watusimotoyes, but a big version
17:08:31Watusimotoin any event, it works
17:08:43WatusimotoI need to fix it up so I'm not running as root and I'll give you the details
17:09:28Watusimotouh oh...
17:09:54WatusimotoI think I just did something very bad
17:10:10Watusimoto@#$%^Y&*
17:10:34WatusimotoI chowned every file on the system to bitfighter
17:11:06Watusimotono idea what the recovery path is here
17:11:09raptorwhat
17:11:13raptorare you root???
17:11:16Watusimotoyes
17:11:20raptorNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
17:11:43Watusimotoyes, well, I undstertood the dangers
17:11:52Watusimotoand I got burned
17:11:56Watusimotoso
17:12:02raptorand you now have a more complete understanding!
17:12:09Watusimotoindeed
17:12:16Watusimotoare normal system files owned by root?
17:12:37raptormany are, many are owned by various system users
17:13:02Watusimotoin this case, probably only home files are owned by different users
17:13:05raptorok
17:13:10raptorhow badly are you burned?
17:13:22Watusimotowell... I don't really know!
17:13:30raptorbecause in an RPM distro
17:13:33WatusimotoI should ask you that
17:13:41raptoryou can reset the permissions of any file owned by an RPM
17:13:48raptoris that something that you think you'll need?
17:13:51Watusimotono
17:14:04kaen"<Watusimoto> I chowned every file on the system to bitfighter"
17:14:16kaenit sounds like that's just what you need, are not running on an rpm system?
17:14:21Watusimotothe only stuff installed before tonight was jar files and minecraft junk that's all in user folders
17:14:34Watusimotoand java itself, which was installed as root
17:14:55Watusimotorunning centos
17:15:01Watusimotonot sure if it's an rpm system
17:15:14raptordid you do it to the *entire* sytem or just some directory?
17:15:37kaenI think it is, try `rpm --version
17:15:37WatusimotoI did it all!
17:15:47kaener, without the tick
17:16:01raptorok watusimoto
17:16:02Watusimoto4.8.0
17:16:04raptoryou uh
17:16:14WatusimotoI could archive everything and reset the system
17:16:21raptornonono
17:16:24raptordo the following...
17:17:01raptorrpm -qa | while read rpm; do rpm --setperms $rpm; done
17:17:06raptoras root
17:17:10kaenyou're genius raptor
17:17:14raptorthen sit back, twiddle your thumbs
17:17:16kaen*a genius
17:17:18raptor(pray)
17:18:40kaenalthough that won't fix the user directories, you'll probably need to re-chown those separately
17:19:02Watusimotouser directories are already fixed
17:19:10Watusimotothere were 4 and 3 were empty
17:19:22Watusimotowho usually owns the user folders themselves?
17:19:26Watusimotothe users?
17:19:28kaenyeah
17:20:19raptorok, have to go, back soon
17:20:27raptor Quit ()
17:20:28Watusimotogreat, thanks a bunch!
17:34:19Watusimotowell, things are hosed
17:34:30WatusimotoI can no longer sudo with my non-root account
17:34:50Watusimotoand I can't su because it's rejecting my pw
17:35:04Watusimoto(even though I just changed it via the vm web console)
17:39:32Watusimotothen I restarted the vps
17:39:40Watusimotoand now it isn't accepting any connections at all
17:39:42Watusimotoboo!
17:43:13Watusimotoi'll bet it's because sshd is owned by bitfighter and isn't starting
17:51:30Watusimotogoing to sort it tomorrow
17:51:35Watusimotothis is ridiculous
17:51:43kaenouch :x
17:54:41raptor has joined
17:54:41ChanServ sets mode +o raptor
17:54:45raptorhello
17:59:41Watusimototomorrow I'm nuking my server
17:59:45raptoroh no!
17:59:54raptordid you do my restore permissions thingy?
17:59:56Watusimotoit's toast
18:00:00Watusimotoyes
18:00:08Watusimotobut
18:00:21WatusimotoI logged and can't get back in
18:00:27WatusimotoI think sshd isn't running
18:00:28raptoroh no!
18:00:42raptorand restarting the server failed?
18:00:49Watusimotoyes
18:00:56Watusimotoit answers to ping but nothing mor
18:01:05raptorwell that.. stinks
18:01:14Watusimotonot a huge deal
18:01:22Watusimotoexcept my son's minecraft world is gone
18:01:29raptorso we get a fresh server for the BBB!
18:01:34Watusimotoyes
18:01:37raptoroh.. he may not be happy
18:01:41Watusimototomorrow
18:01:58Watusimotowe'll see... he was working on a bigger/better world anyway
18:02:01Watusimotohe'll understand
18:14:36raptorok tomorrow - it'd be good if we could have the server up for a day or two just to see if it'll be OK for network
18:18:04kaenah, the old "sorry I accidentally nuked your server, son" talk
19:29:48Watusimoto Quit (Ping timeout: 264 seconds)
20:18:35raptor Quit ()
20:55:29bobdaduck has joined
20:55:52bobdaduckhey kaen
20:56:05bobdaduckcan arrays be indexed with strings in lua
20:56:06bobdaduck?
20:57:49bobdaducknmd
20:57:53bobdaduck Quit (Remote host closed the connection)
22:29:21bobdaduck has joined
22:33:53-verne.freenode.net- *** Looking up your hostname...
22:33:53-verne.freenode.net- *** Checking Ident
22:33:53-verne.freenode.net- *** Couldn't look up your hostname
22:33:58-verne.freenode.net- *** No Ident response
22:34:04BFLogBot has joined
22:34:04Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/'
22:34:04Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 GMT 2013
22:34:05-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.
22:48:51bobdaduckDINO WHY ARE YOU AWAKE.
22:49:07raptorbecause I'm working on unifying our build systems for Windows and Linux
22:49:14raptorand I'm *really* stubborn
22:49:19bobdaduckLaaaaaame
22:49:31bobdaduckI was just over at thread's house teaching him lua and making rockin' levels together
22:49:51raptorah ha!
22:50:04raptorI saw you two on at the same time, but couldn't join the server :)
22:51:00bobdaduckHe wants to do a release of several maps at once
22:51:05bobdaduckso locked down for now
22:52:45bobdaduckAnd we made a rather fun levelgen together
22:52:59bobdaduckin an actual map
22:53:14bobdaduckAnd it uses dictionaries!
22:53:21bobdaduckWhich I still don't quite understand.
22:53:23bobdaduckBUT STILL.
22:53:53raptorso is he more of a coder?
22:54:12bobdaduckyah
22:54:16bobdaduck...Of my variety.
22:54:32bobdaduckSo I'd expect a levelgen-carnival-esque map from him in a month or so xD
22:55:40bobdaduckWell maybe.
22:55:54bobdaduckProbably a lot of actual-map levelgens from him too.
22:56:07bobdaduckand I'ma head to bed
22:56:08bobdaduckso night!
22:56:18bobdaduck Quit (Remote host closed the connection)
23:13:23Flynnn has joined
23:42:20raptor_ has joined
23:42:20raptor Quit (Disconnected by services)
23:42:23raptor_ is now known as raptor
23:42:25raptor Quit (Changing host)
23:42:25raptor has joined
23:42:25ChanServ sets mode +o raptor
23:49:14raptorkaen: is there a way to make it so that the 'test' project doesn't compile all the classes of bitfighter again?
23:49:19raptor(in CMake)

Index Search ←Prev date Next date→

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