#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-01-28

Timestamps are in GMT/BST.

00:00:01vs37nx-macbookcopied the sdl2 frameworks folder in the .dmg to /library/framewworks
00:00:15raptorok
00:03:20Darrel Quit (Ping timeout: 245 seconds)
00:10:01vs37nx-macbook Quit (Remote host closed the connection)
00:11:45fordcarsHah motd
00:11:48fordcarsClassy
00:12:14Watusimototoo bad the 019 clients can't see it!
00:13:14fordcarsAww
00:13:17raptori'm not happy i have a night of OSX debugging ahead of me...
00:14:48Watusimotowhy?
00:17:15raptor32bit OSX build fails to upload to pleiades
00:17:31raptorthat's why none of Quartz' maps have screenshots - he's had to upload manually
00:18:27fordcars:(
00:18:44fordcarsI recently installed Xcode on our Mac Mini
00:18:58fordcarsIntel, but it is always in use, but not tonight
00:19:53raptorno error messages or anything
00:20:11fordcarsDoes the server get something?
00:21:03fordcars!gci
00:21:03BFLogBotGCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started.
00:21:41raptornothing
00:21:47raptorwill have to test later
00:26:15fordcarsI decided to get Windows Dev Tools, I'll try the timers
00:27:12fordcarsFunny that Microsoft makes typos on their websites
00:34:58vs37nx-macbook has joined
00:37:40vs37nx-macbook Quit (Client Quit)
00:38:47vs37nx-macbook has joined
00:39:21Flynnn has joined
00:41:10BFLogBot Commit: a3c37cf1d197 | Author: watusimoto | Message: Temporary fix for 019a so it can see and connect to 019 servers
00:41:12BFLogBot Commit: ddc02c661b7d | Author: watusimoto | Message: Merge
00:41:20Watusimotonight
00:41:52raptornight!
00:42:05vs73nxnight
00:45:57Watusimoto Quit (Ping timeout: 265 seconds)
00:46:14vs73nxraptor: what dersion of SDL do i install to build bitfighter on a mac?
00:46:28raptoruse the one in the lib folder of the bitfighter tree
00:46:29vs73nx2, or 1.2?
00:46:33vs73nxoh
00:46:48raptorthere a re a few frameworks in there that you should probably copy (if using cmake)
00:47:08raptorbut understand that you are the first to try this... so I'd expect more things to break :)
00:47:52vs73nxso how do i make the compiler look for the sdl headers in the bitfighter libsdl folder?
00:48:33Flynnn Quit (Quit: This computer has gone to sleep)
00:53:27vs37nx-macbook Quit (Quit: Quitting for now… See you all later)
00:59:10vs73nx Quit (Ping timeout: 245 seconds)
01:07:03raptorgood questoin
01:07:06raptorand you left..
01:07:13raptorok, heading home. bye!
01:11:58raptor Quit ()
01:41:41fordcarsBrb
01:41:44fordcars Quit (Quit: Page closed)
01:42:34fordcars has joined
01:42:44fordcarsHello again
01:44:26BFLogBot Commit: 65149967ed53 | Author: buckyballreaction | Message: Fix integer overflow
01:45:42fordcars!gci
01:45:42BFLogBotGCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started.
01:45:51fordcarshttp://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap
01:45:53fordcarshttp://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap
01:45:57fordcarsOops
01:58:35fordcarsLINK : fatal error LNK1181: cannot open input file 'gdi32.lib'
01:58:45fordcarsAnybody know what to do with this?
01:58:55fordcarsCmake output, WIndows Visual Studio 2013
02:28:22fordcars!bugs
02:28:22BFLogBotTo enter a bug: http://tinyurl.com/bfnewbug -- To view all bugs: http://tinyurl.com/bfbugs
02:28:25raptor has joined
02:28:25ChanServ sets mode +o
02:28:39raptorfordcars!
02:28:44raptorso Timer is all good now?
02:28:59fordcarsYep! It should!
02:29:08raptoralso wait what are you building on?
02:29:14fordcarsWindows
02:29:19raptorcontinue...
02:29:23fordcarsBut I got it to work :)
02:29:27fordcarsI think
02:29:30raptoryou used cmake?
02:29:31fordcarsI have no idea
02:29:33fordcarsYes
02:29:40raptorwindows 7/8/43124312
02:29:46fordcars8 :)
02:29:54raptorvisual studio 4567846353
02:30:04raptor2010?
02:30:24fordcars2013!
02:30:39fordcarsI didn't test the timer yet though :X
02:30:51fordcarsI wasn't really supposed to update that thread yet :X
02:31:14fordcarsraptor, it can't find LINK : fatal error LNK1181: cannot open input file 'gdi32.lib'
02:31:43raptorshame!
02:31:45raptorok
02:31:49raptorwindows 8 2013
02:32:00raptoryou may need to install some 32bit compiling libraries
02:33:43raptoror change architecture
02:33:53raptorto 32bit
02:35:12fordcarsReally?
02:35:22fordcarsOhhhh
02:36:20fordcarsUh, change archetecture?
02:36:26fordcars*architecture?
02:36:48fordcarsAlright, Let me get a knife, I'll remove a few wires from my CPU...
02:36:48raptorarchitecture is the formal word for 32bit or 64bit or ppc or x86 or x64
02:37:08fordcarsI know :)
02:37:14raptoroh, you're being cheeky...
02:37:16raptor:)
02:37:34fordcarsBut, do you mean to compile to 32bit?
02:37:40raptoryes
02:37:46fordcarsOh okokoko
02:37:53raptorsometimes known as 'win32' or x86
02:38:22fordcarsHow do I do that with cmake?
02:38:32raptoryou don't, you do it with visual studio
02:38:46fordcarsBut cmake won't go
02:38:58raptorwhat does that mean
02:40:14fordcarsWell, cmake is failing, not Visual Studio
02:40:40raptorok, did you run cmake on the command line?
02:40:46fordcarsYes
02:40:47raptorwhat fails?
02:40:52fordcarsWell So, what does the levelgen do?
02:40:52fordcarsIt will randomly switch 2 player's or bot's position, energy and health at random intervals (can be changed with parameters or in code). I find it brings really awesome gameplay. For example, you are in a big battle with Quartz, but you are out of energy, nearly out of health, and just before he shoots you, you are lucky enough to get switched by some n00b and get full health and energy and can happily see the words "Quartz zapp
02:40:53raptorwhat is the error message
02:40:58fordcarsThe rest of this post is just for more details, if you want to, you can use the script now with or without any arguments.
02:41:01fordcarsARGUMENTS:
02:41:04fordcarsSo, to use arguments in levelgens, just type them next to the levelgen name in the level parameters.
02:41:07fordcarsExample:
02:41:09fordcars[code=levelcode]bitSwitch 10000 false false[/code]
02:41:12fordcarsSo, the arguments are:
02:41:14fordcars[code=levelcode]-Time Delay
02:41:17fordcars-Have a Margin (to have random intervals)
02:41:18fordcars was kicked from #bitfighter by raptor
02:41:18BFLogBotBwahahaha! *snicker*
02:41:36fordcars has joined
02:41:39fordcarsSorry
02:41:42raptorheh :)
02:41:43fordcarsRight click pastes
02:41:46fordcars*pasted
02:41:58fordcarsI am using puTTY to connect to my Pi
02:42:14raptorso you followed the gci instructions to run cmake on the command line for windows 8?
02:42:28fordcarsUh, yes, but that was for VS 2013
02:42:33fordcars*2012 typos ._.
02:42:49fordcarsUh 2010
02:42:52raptorwait
02:43:03raptorok, so you ran this?: cmake -G "Visual Studio 2013" ..
02:43:45fordcarsNope
02:43:51raptorok, run that
02:43:57fordcarsI did not find it in cmake lists
02:44:01fordcars2013
02:44:04fordcarsI'll try anyway
02:44:12raptorin the build directory
02:44:20fordcarsYeah, it can't find 2013
02:44:26fordcarsThe generator
02:44:38raptorah, have you reboot your machine since installing cmake or vs2013?
02:44:46fordcarsNo? Oh sorry
02:44:50fordcarsI feel stupid
02:44:54raptoryeah, it sets up the paths
02:45:04fordcarsOh for VS 2013
02:45:09fordcarsOk, I will
02:45:16fordcarsLater!
02:45:21fordcars Quit (Quit: leaving)
02:50:32fordcars has joined
02:50:57raptorwhat the crazy
02:50:57raptorosx ppc works with pleiades!
02:50:57raptorbut not x86
02:51:05fordcarsPPC FTW
02:51:15raptorhaha
02:55:04fordcarsraptor, it can't find 2013!
02:55:21raptorwhat version of cmake do you have?
02:55:37fordcarsThe latest, uh
02:55:51raptortry 2012 generator
02:56:22fordcarsCan't find the header again
02:56:37fordcarsWait, do you want the full log?
02:57:00ozbf has joined
02:57:35raptoryes please, and tell me what generator you used
02:57:41fordcarsOk
02:57:56fordcarshttp://pastie.org/8674026
02:58:01fordcarsUsing Visual Studio 12
02:58:55raptordoes that mean cmake completed successfully?
02:59:13fordcarsI don't think so
02:59:18fordcarsMaybe?
02:59:39fordcarsIt says, in the Terminal, "Configuring incomplete, errors occured!"
02:59:54fordcarsI don't have files in build though
03:00:10raptorok
03:00:12raptorgood
03:00:17raptorlet's start there
03:00:26ozbfHi all, How did gamejolt integration come about? Looked through the forums and asked here before.
03:00:43raptorozbf: watusimoto did it last week, I think
03:01:01ozbfOk so he decided it was a good idea and did it.
03:01:19raptoryes
03:01:35raptorfordcars: remove everything in the 'build' directory
03:01:37ozbfAnyone seen fit to put it on Gog.com digital distribution network like desura and steam? It's full of old games so maybe some would be more likely to play bitfighter.
03:01:38raptorand let's start over
03:01:48raptorthen run the cmake command with the generator: Visual Studio 12
03:01:56raptorand pastie the output
03:02:06fordcarsOk
03:02:06raptorozbf: it's on desura
03:02:26raptorgog/steam no - those are usually paid services right?
03:02:34ozbfgog there is gpl software.
03:02:38fordcarsraptor, it is exactly the same, I did the same thing just abve
03:02:50ozbfand it's branching out to indie/contempoary games.
03:03:29fordcarsOh you mean terminal output
03:04:21raptorfordcars: yes
03:04:49raptorfordcars: you are running cmake from the terminal, yes?
03:05:22ozbfhttp://www.gog.com/mix/truly_open_source_free_software_games although they appear to be commercial games first then later released under an open source licence.
03:05:28fordcarsYes
03:05:42fordcarsI am having problems copying in Terminal, you know Windows
03:08:09fordcarshttp://pastie.org/8674042
03:08:13fordcarsTadaa!
03:08:16raptori hate windows terminal
03:09:36raptorok fordcars, looking...
03:10:10ozbfhere is the submit page - http://www.gog.com/indie - I'm not a developer so can't submit
03:10:28fordcarsMe too :)
03:11:20raptorok fordcars, it can't find your compiler
03:11:25raptortry Visual Studio 11
03:11:33raptorjust for kick!
03:12:02fordcarsOh
03:12:08fordcarsI got to reset cache
03:12:51fordcarsgdi32.lib -- Still can't find this
03:12:52raptoryeah that
03:12:58fordcarsSame error!
03:12:59raptordon't worry about that yet
03:13:05raptorjust focus on cmake
03:13:08fordcarsUh
03:13:15raptordid you remove all the cache?
03:13:19fordcarsYeah
03:13:30raptorrm CMake* -r
03:13:30fordcarsrpator, isn't gdi32.lib the reason it fails?
03:13:35raptorfordcars: no
03:13:43raptorit can't find your compiler
03:13:43fordcarsFatal error seems fatal
03:13:48fordcarsOh ok
03:13:57raptorremove everything beginning with CMake from the build folder
03:14:04raptorthen re-run with visual studio 12
03:16:36fordcarsCMakeFIles?
03:20:08fordcarsSame thing, raptor
03:20:19raptorok, now i do research
03:20:34raptorhave you tried using 11?
03:20:57fordcarsYep, same results
03:21:06raptorok, let's stick with 12
03:21:36fordcarsZpagamer is saying that Zapdancer is failing to getTime()...
03:21:41fordcars*Zapgamer
03:21:46fordcarsOk
03:22:25raptorfordcars: are you surrounding it with quotes like this?: "Visual Studio 12"
03:22:39fordcarsOh, yeah
03:23:43fordcarsBut without them, it can't find th generator at all, with 2012/12/13/11 etc
03:24:23raptoryou need the quotes
03:25:05fordcarsOK
03:26:37bobdaduck has joined
03:26:42raptoroh uh... are you running as administrator fordcars?
03:27:42fordcarsYes?
03:27:46fordcarsNo?
03:27:50fordcarsI don't know
03:28:00fordcarsI thought it was that at the beginning actually
03:28:09raptortry running as admin... i think you have to open the shell as admin
03:28:42fordcarsI am pretty sure you are absolutely right
03:32:54fordcarsCrap
03:33:37fordcarsStill the same error
03:34:44raptorwell taht stinks
03:34:54raptorhave you actually started up visual studio yet?
03:35:45fordcarsYeah
03:36:08fordcarsGot a stupid App liscence too, to "Test my apps on this computer", expires next month
03:37:35Flynnn has joined
03:38:17fordcarsI'll start VS again
03:48:11fordcarsI got it I think
03:48:14fordcarsTrying it out
03:49:23fordcarsOk
03:49:48fordcarsIt still doesn't work, I added some code in auto_link.hpp
03:49:52fordcarsfor vc120
03:50:16raptorfordcars: i don't think it is a code problem
03:50:30raptorcmake can't find the compiler for some reason
03:50:36fordcarsYeah :/
03:50:37raptorusually that's because it isn't on the command line path
03:50:42raptori wonder...
03:50:43fordcarsMaybe not
03:50:52fordcarsWhy don't just add it manually?
03:50:55raptorthere's a .bat file that is used to set up the environment
03:50:59raptorvsvarsall.bat
03:51:08raptorthat is found in the visual studio installations
03:51:23raptorit's something like that name... similar, can't remember the exact6 name
03:52:19fordcarsYep got it
03:52:56raptorif you run that in the terminal, then run cmake, maybe it will work
03:54:53fordcarsNuuu still the same thing
03:56:10raptorheh, got them
03:56:33fordcarsWhat do you mean?
03:57:04raptoroops wrong window
03:57:10fordcarsHahahaha
04:08:32ozbf.
04:09:48raptorfordcars: another thought - is there a way you could start the gui?
04:10:14raptorand load the cmakelists.txt in that
04:10:24raptorand somehow have it search for the compiler a different way?
04:12:57fordcarsUh, it comes with it?
04:13:14raptoryeah, there's a GUI on windows - maybe it can help
04:15:53fordcarsHah, still the same thin
04:15:55fordcars*g
04:27:27ozbfCan you slow down the bots?
04:28:12raptoryou can edit the bot code
04:30:07raptorkaen: OSX 32bit is failing to connect to pleiades when doing the send() command for data - it returns with socket errno ENOTCONN, i've read that it could be that the server drops the connection. would you have any insight to how i could solve this?
04:30:50raptorthe connection is working
04:31:19raptorestablished, then when calling send() it fails.. and the weird part is, if I put a breakpoint before send() wait a few seconds, it'll work
04:31:51hylian has joined
04:32:14hylian is now known as Guest33309
04:34:42raptor(without digging too deep into anything)
04:34:43HylianSavior Quit (Ping timeout: 245 seconds)
04:36:40destroyerimo Quit (Ping timeout: 245 seconds)
04:36:53destroyerimo has joined
04:40:56destroyerimo_ has joined
04:42:13destroyerimo Quit (Ping timeout: 248 seconds)
04:45:49destroyerimo has joined
04:46:09destroyerimo_ Quit (Ping timeout: 272 seconds)
04:47:17fordcarsRaptor, we're stuck
04:47:27raptori'm sorry
04:47:35raptori really don't knwo much about newer windows systems
04:47:48raptormaybe watusimoto can help
04:53:47fordcarsI hate Windows too, trust me, getting Linux ASAP
04:53:53fordcarsWell, *hate*
04:54:02fordcarsIt's a big word
04:54:06fordcarsBut, you know
04:54:16raptoryeah
05:11:14kumul Quit (Read error: Connection reset by peer)
05:34:18Nothing_Much Quit (Read error: Connection reset by peer)
05:35:06Guest33309 Quit (Read error: Connection reset by peer)
05:35:16raptorto bed!
05:35:18raptor Quit ()
05:46:34ozbf.
05:56:33bobdaduck Quit (Remote host closed the connection)
06:00:10kaendrat, he's gone
06:03:16fordcarsHi
06:12:37kaenhi
07:00:45fordcarsNight!
07:00:46fordcars Quit (Quit: leaving)
07:01:46Flynnn Quit (Quit: Leaving)
07:53:02Darrel has joined
07:58:08ozbf Quit (Ping timeout: 245 seconds)
08:18:25Nothing_Much has joined
08:23:43vs73nx has joined
08:24:17vs73nx Quit (Remote host closed the connection)
08:27:09koda has joined
08:51:18watusimoto has joined
08:51:18ChanServ sets mode +o
08:53:36watusimoto Quit (Client Quit)
08:53:48watusimoto has joined
08:53:48ChanServ sets mode +o
11:19:24LaunchDi1ector is now known as LaunchDirector
12:20:56Watusimoto_ has joined
12:48:44LordDVG has joined
13:00:31kaen Quit (Ping timeout: 252 seconds)
13:09:47Invisible has joined
13:22:21LordDVG Quit (Ping timeout: 265 seconds)
13:24:58Invisible Quit (Quit: Invisible)
13:34:35Watusimoto_ Quit (Ping timeout: 245 seconds)
13:45:31kumul has joined
13:57:26Watusimoto_ has joined
14:05:11LordDVG has joined
14:46:48Watusimoto_ Quit (Ping timeout: 245 seconds)
14:58:03YoshiSmb has joined
15:27:18YoshiSmb Quit (Ping timeout: 245 seconds)
15:33:14bobdaduck has joined
16:00:53kaen has joined
16:01:01kaen Quit (Changing host)
16:01:02kaen has joined
16:11:28HylianSavior has joined
16:26:59Watusimoto_ has joined
16:46:57raptor has joined
16:46:57ChanServ sets mode +o
16:47:04raptorgood day
16:47:25raptormy night of osx debugging went poorly
16:47:25kaenmorning :)
16:47:29kaenoh :<
16:47:41raptorthere's some socket issue on osx 10.4 x86
16:48:01raptorthe socket connects, is valid, but when doing a ::send, it returns with error ENOTCONN
16:48:33kaenTNL has some *crazy* handling of Berkeley sockets
16:48:50watusimoto Quit (Ping timeout: 264 seconds)
16:48:54raptori've researched all over the internet... even past page 2 on google results!
16:49:13raptorit works find with ppc and x86_64 (and every other platform)
16:50:20raptorthe send() method is TCP only, right?
16:50:23koda Quit (Quit: Leaving)
16:50:28raptorthe only using it is the HttpRequest class
16:50:47kaenafaik
16:51:05raptor.
16:51:33raptori guess i should start with tutorials on how to use send() on old osx
16:51:56raptori thought i had a break throgugh last night with adding a delay, but it failed, too
16:51:58kaenI'm looking to see exactly what isWritable() is doing
16:52:21raptori can tell you the exact pathway
16:52:49raptor... as soon as I start my IDE
16:53:39raptorHttpRequest::sendRequest
16:53:47raptormSocket->send
16:54:04raptorwhich goes to Socket::send()
16:54:13raptorwhich calls the C API ::send
16:54:27raptorwhich returns a SOCKET_ERROR
16:54:48raptorand getLastError() finds ENOTCONN
16:55:06raptorand TNL returns UnkonwnError
16:55:41raptorbut the thing is - when adding breakpoints in that infernal IDE called Xcode, it'll sometimes succeed
16:55:41kaenwhat's interesting is that isWritable above that is returning ok
16:55:50raptoryes
16:56:26raptorand isValid succeeds, too
16:57:11raptori tried random sleep functions as a fix
16:57:17raptordidn't work either
16:57:44raptori also tried continuing in the loop until the timeout (3 seconds) in HttpRequest::sendRequest
16:57:47raptorfailed
16:58:02raptorit's starting to smell like an OS bug
17:00:23kaenone thing that strikes me is that the select() call throws away all of the error checking
17:01:00kaenregardless, it more or less fulfills its contract (returns true IFF the OS reports the socket as writable)
17:02:04kaendid you try passing NULL to isWritable?
17:02:21kaenthat'll make it wait indefinitely
17:02:28raptori'll try that
17:02:57raptorthe thing is that 5_SECONDS is being passed to it, and it returns immediately
17:03:14kaenoh!
17:03:19kaenthe socket is in async mode
17:03:24raptoridea?
17:03:31raptoridea
17:03:45raptorenlighten me
17:04:56raptorso the wait time isn't used, and it's up to the caller to determine if the socket is ready?
17:05:14kaenyes, that's essentially what I was typing
17:05:16kaen:)
17:05:33raptorso... that means that TNL never really had good TCP support
17:15:17thread_ has joined
17:15:38thread_who wants to take a stab in the dark at what I'm making next?
17:15:48raptorpumpkin pie!
17:16:31thread_I'm making a quidditch level.
17:17:12thread_Not sure how to make the golden snitch yet though
17:18:00LordDVG Quit (Remote host closed the connection)
17:21:53kaenok, feels like an OSX bug
17:22:02kaenIf the connection cannot be established immediately and O_NONBLOCK is set for the file descriptor for the socket, connect() shall fail and set errno to [EINPROGRESS], but the connection request shall not be aborted, and the connection shall be established asynchronously. Subsequent calls to connect() for the same socket, before the connection is established, shall fail and set errno to [EALREADY].
17:22:03kaenWhen the connection has been established asynchronously, select() and poll() shall indicate that the file descriptor for the socket is ready for writing.
17:22:50raptorwhere did you find that?
17:23:29kaenhttp://linux.die.net/man/3/connect
17:23:58raptorhmmm... so maybe i need to check the error from select()
17:24:00kaenhmm... maybe there's a difference between darwin and linux?
17:24:11kaenthat couldn't hurt
17:24:29raptorthe C APIs should be the same, behaviorally, i think
17:27:41kaenwhat I don't understand is how select() could report the socket as writable yet send yields ENOTCONN
17:28:22raptori'm going to change that line to this:
17:28:23raptorif(::select(mPlatformSocket + 1, 0, &fds, 0, timeout) == SOCKET_ERROR)
17:28:25raptorreturn getLastError();
17:28:42raptorbecause it isn't actually checking the return value, as you say
17:31:58kaenhmm, won't that return true when there's an error?
17:32:12kaen(assuming you're in isWritable)
17:32:21raptorit returns -1
17:32:29raptoryes, in isWritable
17:32:39raptoroh, i should return false...
17:32:45raptoruhh yes... oops
17:33:26kaenremote asynchronous half-blind pair programming :)
17:33:42raptorFTW!
17:33:49raptornow I feel dirty for typing that
17:34:26raptorand i'm coding in Xcode in a VM, where stupid things like the END/HOME keys take you to the bottom/top of the documetn instead of and end of the line
17:34:39raptor*an
17:35:13raptorall right! neterror: 22
17:35:21raptorwhich is on this version of OSX...
17:35:45raptorEINVAL
17:35:51raptorthat's the error when doing a select()
17:37:04raptori may have just found gold: https://stackoverflow.com/a/16352837
17:42:49raptorso that means there are too many file descriptors open already??
17:44:16kaenor just that the file descriptor is too high
17:44:23thread_ Quit (Ping timeout: 245 seconds)
17:44:24raptorah... that makes more sense
17:44:31kaentry cout'ing the mPlatformSocket
17:44:39raptorok
17:45:56raptorsocket: 10
17:45:59raptorbonkers
17:46:04kaenhm
17:46:51kaenman select says: EINVAL nfds is negative or the value contained within timeout is invalid.
17:49:14NothingMuchHereT has joined
17:49:58raptorjust for fun, i defined _DARWIN_UNLIMITED_SELECT - no go
17:49:59Nothing_Much Quit (Ping timeout: 240 seconds)
17:50:04raptori'll set timeout to unlimited now
17:51:19kaenI have another one, replace FIVE_SECONDS with 999
17:51:26NothingMuchHereT is now known as Nothing_Much
17:51:34kaenI'm reading that tv_usec should never exceed one million
17:52:06raptorthat's milliseconds, right?
17:52:15raptoroh no, seconds * 1000
17:52:17raptorok
17:52:19raptortrying that..
17:52:20kaentv_usec is microseconds
17:52:38kaenyeah, and it's set to 1000*millis in isWritable
17:52:55raptor999 worked! verifying
17:53:23raptorverified!
17:53:23kaenok, so the fix is probably to populate the timeval struct properly
17:53:59kaenput all the whole seconds into tv_sec and the leftover into tv_usec
17:54:15kaenwow what a ridiculous bug
17:54:19raptorwhere did you read about the 1million limit?
17:54:29kaenhttps://www.gnu.org/software/libc/manual/html_node/Elapsed-Time.html
17:55:09raptorlovely
17:55:21kaenonce again demonstrating that TNL is a terrible network library :)
17:55:22raptorok, i'll revert to 5 seconds and populate the struct properly
17:55:26raptorhahaha
17:58:29raptorit works!
17:58:33kaen\o/
17:58:46raptorwow, hate the bug, but love working with you to solve it... :)
17:58:51kaenditto :)
18:03:12BFLogBot Commit: bf03b2289695 | Author: buckyballreaction | Message: Fix TNL bug with connecting a TCP socket on OSX x86. This will fix not being able to upload levels to pleiades from the editor
18:03:29raptorhooray!
18:07:02kaenso pleiades didn't work at all for x86 mac users??
18:07:07raptorcorrect
18:07:21raptorit's why none of Quartz levels have screenshots - he had to upload all manually
18:07:30kaenwow, that's a great bugfix
18:07:44kaenyuck
18:07:52raptorso roundabout...
18:09:00kaenit was literally the least suspicious thing in that function
18:09:19raptorhaha yeah...
18:10:09raptorI added a nice long-winded comment
18:12:21BFLogBot Commit: e5b1cf4eac9e | Author: buckyballreaction | Message: Clarity in comment
18:13:33Nothing_Much Quit (Ping timeout: 252 seconds)
18:16:54kaentimeoutval.tv_usec = timeoutMillis % 1000;
18:16:59kaenshouldn't it be
18:17:08kaentimeoutval.tv_usec = (timeoutMillis % 1000) * 1000;
18:17:15raptoryes!
18:17:18raptorgood catch
18:17:33kaentook me a few read-throughs :P
18:18:25BFLogBot Commit: 139d91839a37 | Author: buckyballreaction | Message: Fix my bugfix (thanks kaen). microseconds, not milliseconds
18:18:55raptorone last verification..
18:24:31HylianSavior Quit (Read error: Connection reset by peer)
18:31:32bobdaduckHow do you do exponents in lua?
18:35:24raptormath.pow?
18:35:37raptorhttp://lua-users.org/wiki/MathLibraryTutorial
18:36:02raptoroh
18:36:04raptoruse the caret
18:36:08raptorso 2 ^ 10
18:36:11raptor== 1024
18:36:19raptor10 ^ 3 == 1000
18:38:04bobdaduckK
18:38:35bobdaduckI was thinking math.pow too but then I was like "Wait, how would that even work?"
18:39:39raptormath.pow(base, exponent)
18:39:46raptoris how it works in many languages
18:40:46bobdaduckNONE OF THE OTHER THINGS I USE HAVE MULTIPLE ARGUMENTS
18:41:06raptorparadigm-shift!
18:43:02bobdaduckCAN'T NOT
18:43:06bobdaduckLUA FOREVER
18:46:11raptorwhat the heck: It's Bitfighter o'clock... do you know where your teenager is?
18:48:52raptorWatusimoto_ must have changed that...
18:52:22bobdaduckNo way man
18:52:27bobdaduckYou gave Quartz MotD
18:52:28bobdaduckxD
18:52:36Watusimoto_ Quit (Ping timeout: 252 seconds)
18:53:22bobdaduckBet it was Q!
18:59:58raptorI did?
19:14:16bobdaduck Quit (Remote host closed the connection)
19:19:45LordDVG has joined
19:25:29kaenI'm glad bob is active in the channel again
19:25:42raptor:)
19:25:43kaenI'm willing to suffer the price of his circle jabs :P
19:25:52raptorhaha
19:31:59raptorkaen: what version of cakephp do we use for pleiades?
19:32:42raptorbecause I wanted to update some 'text' fields to 'mediumtext' and came across this: https://github.com/cakephp/cakephp/issues/1918
19:32:54raptorthe solution was 'do it yourself in cakephp 3.0'
19:34:44kaen2.3 I think
19:35:04kaen3.0 is super unstable according to markstory
19:36:27kaenbut you should be able to change the SQL data type without touching cake
19:37:25raptoryes, that was done
19:37:37raptorbut did you use cake to create the schema?
19:37:58raptori thought this may work - but i'm not sure now: http://pastie.org/8676273
19:38:58kaenoh that's right, I did a schema dump through cake's console
19:39:42kaenso I guess the right thing to do is to update the mysql table properly, then do a new schema dump
19:41:24kaenugh
19:41:36kaenthe schema dump only records the type as 'text'
19:45:03Quartzy has joined
19:45:58Quartzyraptor you here?
19:46:23raptori wonder if they'll speak the truth at the SOTU address... I don't have high hopes, though
19:46:29raptorhi Quartzy
19:46:40Quartzyraptor what did you want your head to be again?
19:46:44QuartzySome specific species of raptor right
19:47:13raptordoesn't really matter - i was joking that i *could* be a utahraptor because... well i'm in utah
19:47:18Quartzythere we go
19:47:21Quartzythanks, peace
19:47:24raptorlater
19:47:27Quartzy Quit (Client Quit)
19:49:59kumool has joined
19:53:27kumul Quit (Ping timeout: 272 seconds)
19:54:03bobdaduck has joined
20:05:10kaenlol, this looked pretty good when I just had 30 samples: http://bitfighter.org/new-stats/index.html#/games
20:05:27kaenat 120 it gets pretty indecipherable
20:07:12raptorbig bubbly
20:08:02raptorwhat about not having the bubbles at all and just show a dot nearest the mous
20:08:03raptor*mouse
20:08:16raptorback later..
20:08:41kaenoh, good idea!
20:08:42kaenlater
20:21:35Watusimoto has joined
20:23:22Quartzy has joined
20:24:18Quartzyyo raptor
20:24:21Quartzyapparently you fixed my glitch?
20:24:22QuartzyThank you sir
20:33:24raptoryes, thanks to kaen, too - we had to double-team it to solve it...
20:33:27raptoryou're welcome
20:41:59QuartzyThank you kaen :)
20:42:11raptoroh actually Quartzy
20:42:26raptorwant a new build?
20:42:45Quartzyyeah that'd be legit
20:42:48QuartzyHow would I uhh
20:42:53QuartzyFix the screenshots?
20:43:02QuartzyJust hit "upload to DB" on the same map and it'll update?
20:43:03raptorjust reupload through the editor
20:43:05raptoryes
20:43:06QuartzyAwesome...
20:43:19raptoralthough there is a small caveat...
20:43:46Quartzygo on
20:43:58raptorit'll be an 019a beta build (it's pretty stable) so if you ever find anything that irks you, it'd be nice to let us know
20:44:35raptorif you're OK with that...
20:44:48QuartzyCool
20:44:50raptor(I'll give it to you anyways, if you're not)
20:44:52raptorok
20:44:54bobdaduckYou're being drafted.
20:44:57Quartzyhahaha
20:45:02QuartzyHey bobdaduck
20:45:12bobdaduckhey bobdaduck
20:45:14QuartzyHe who makes a beast out of himself
20:45:20QuartzyGets rid of the pain of being a man
20:46:03bobdaducklegit
20:46:05bobdaduckI had no idea.
20:46:26QuartzyGood, I felt the need to remind you
20:46:51bobdaduckAND THANKS FOR TEXTING IT TO ME TOO
20:46:57bobdaduckJUST IN CASE I DIDN'T GET IT IN THE IRC
20:47:36QuartzyYeah
20:47:38QuartzySure thing.
20:48:03Quartzybobdaduck SWAG
20:48:12raptorhot off the presses!: ftp://ftp.novell.com/outgoing/Bitfighter-019a-beta-139d91839a37-Intel-32bit.zip
20:48:21raptorQuartzy: for you ^^
20:48:21bobdaduckinb4 texts me swag
20:48:36QuartzyI totally sent the text first haha
20:48:42QuartzyWow now I feel like I'm part of the elite!
20:48:42raptorhmm... should have put OSX in the name, oh well
20:48:49bobdaduckoop there it goes
20:48:51Quartzy/downloads
20:49:05kaenactually I don't think you can just open the levels and upload them
20:49:16QuartzySending you the same thing on three different mediums is awesome. Ahh, the information age. What a time to live in.
20:49:32raptorkaen: it worked for me
20:49:46kaen99% sure you'll have to download them then reupload them, or delete them from the DB
20:49:52kaenhopefully I'm wrong
20:50:40raptoroh... hmmm... that may be true
20:51:08raptorhaha 'some ginger kid'
20:51:44Quartzydownload them then reupload them. whut.
20:52:05bobdaducklevels in the database get an id attached to them
20:52:13raptorah right, it's the ID
20:52:18bobdaduckor something.
20:52:36bobdaduckmeaning things have to match... and... stuff
20:52:36Quartzywhut.
20:52:51QuartzyAvril Lavigne has a message
20:52:57QuartzyWHY'D YOU HAVE TO GO AND MAKE THINGS SO COMPLICATED?!
20:52:57raptorlet me test with a level
20:53:14QuartzyOK, she is now leaving my house.
20:53:17QuartzyNo, don't go! :'(
20:53:26QuartzyI thought you were the one!
20:53:46QuartzyHey me, yeah, me! She doesn't like my girlfriend. :((((((
20:53:54QuartzyOK I'm done with the references ...
20:53:56raptorhaha - "The name "quartzy_bug" is too similar to "quartzy_bug" by raptor. Please be more creative"
20:54:04Quartzy...fml
20:54:13QuartzyI'm gonna have to delete all my maps huh
20:54:18raptorno no
20:55:20raptoryou can add a line below LevelCredits: LevelDatabaseId 1234156
20:55:25raptorin the .level file
20:55:35raptorto find the id, go to the map on pleiades and look at the url
20:55:41raptorfor instance: http://bitfighter.org/pleiades/levels/view/194
20:55:51Quartzyahh that's all I ahve to do?
20:55:52Quartzynice
20:55:55raptori would add: LevelDatabaseId 194
20:56:47raptoryes
20:56:51raptorsorry about the extra work...
21:00:53LordDVG Quit (Remote host closed the connection)
21:01:44QuartzyNo problemo
21:01:48QuartzyThat's an easy fix, thankfully.
21:04:23Canseco has joined
21:04:29Invisible has joined
21:14:09raptorha! two people rated my quartzy_bug map positively...
21:15:24Watusimoto_ has joined
21:19:39raptorI think my childhood was just dashed to pieces
21:19:53raptor(I just saw the 'Maleficent' movie trailer)
21:23:05Quartzyyes, yes I did upvote that map
21:23:16Watusimoto Quit (Remote host closed the connection)
21:23:27Watusimoto_ is now known as Watusimoto
21:24:20Canseco Quit (Remote host closed the connection)
21:28:18Canseco has joined
21:33:18BFLogBot Commit: dbeeeb09da25 | Author: watusimoto | Message: Whitespace, line endings
21:33:20BFLogBot Commit: ee554229052f | Author: watusimoto | Message: Try to isolate problem on master
21:37:30Invisible Quit (Remote host closed the connection)
21:40:13kaenhi its spicey
21:45:28Watusimotohi, I'm bland
21:49:15bobdaduckhi I'm duck
21:50:02raptorhi i'm... hungry
21:53:07Flynnn has joined
22:00:14QuartzyI'm hungry too
22:00:17Quartzywe should eat
22:02:21fordcars has joined
22:12:38Flynnn Quit (Quit: This computer has gone to sleep)
22:18:58Quartzy Quit (Ping timeout: 245 seconds)
22:20:11Flynnn has joined
22:31:54raptorWatusimoto: would you be opposed to me removing the line in UIEditor that zooms out a bit when centering the level?: mCurrentScale /= 1.3f; // Zoom out a bit
22:32:15raptorthe reason is to produce higher-quality screenshots on pleiades
22:33:08Watusimotoif you remove it, when you center a level, it looks weird. iirc
22:33:15raptorhmm...
22:33:28Watusimotobut we could have a screenshot flag
22:33:38raptormaybe I'll provide an argument to switch it on/off
22:33:39Watusimotoor something to disable it for pleiades use
22:33:44raptoryes
22:33:46raptorok, thanks
22:34:00Watusimotowe can probably improve the renderings lots of ways
22:34:23Watusimoto(I assume there's a way to call bf from the cmd line to tell it to make a screenshot then bail)
22:34:38raptori don't know..
22:34:46raptori didn't write it
22:38:44vs73nx has joined
22:39:26BFLogBot Commit: 9db9052fc5bc | Author: buckyballreaction | Message: Better screenshots for the level database
22:39:40Watusimotoyou don't know how pleiades gens the screenshots?
22:39:54Watusimoto(other than magic, that is!)
22:40:00raptorI do, but it only happens when doing UPLOAD TO DB
22:40:15raptorso you have to be in the editor
22:41:39Watusimotoah, it's done on the client and sent to pleiades
22:41:46raptoryes
22:41:52BFLogBot Commit: ea2dd6778f66 | Author: watusimoto | Message: It helps to use the correct protocol version!
22:41:54BFLogBot Commit: b52b76f99647 | Author: watusimoto | Message: Merge
22:41:58Watusimotook, I thought it was done on the server
22:42:05raptorfixed your issue?
22:42:15Watusimotowe'll see
22:42:35raptorwant me to test something?
22:42:37Watusimotovs73nx: what is the status of your work? is it ready to merge?
22:42:48Watusimotoraptor: not yet -- let me update the master again
22:42:50vs73nxid say so
22:42:59Watusimotook, thanks
22:43:08raptork
22:43:14vs73nxtheres the indentation issue though
22:43:14WatusimotoI may not get to it tonight (getting this fix done is taking longer than I'd hoped)
22:43:18vs73nxbut thats it
22:43:22Watusimotook
22:43:27Watusimotocan you fix that tonight?
22:43:50Watusimotoi.e. in next 24 hrs?
22:44:06Watusimotowell, if you can do, if not, don't worry about it
22:44:41WatusimotoI'll look at it either way
22:51:07BFLogBot Commit: 2a393738d8f5 | Author: watusimoto | Message: Need to keep the lists equal in length
23:08:52bobdaduck Quit (Remote host closed the connection)
23:27:19Canseco Quit (Remote host closed the connection)
23:33:01vs73nx Quit (Ping timeout: 252 seconds)
23:43:52vs73nx has joined
23:43:52vs73nx Quit (Changing host)
23:43:52vs73nx has joined

Index Search ←Prev date Next date→

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