#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-12-14

Timestamps are in GMT/BST.

00:02:44Quartzy Quit (Quit: Page closed)
00:09:45kaen Quit (Ping timeout: 240 seconds)
00:21:52kaen has joined
00:21:52kaen Quit (Changing host)
00:21:52kaen has joined
00:26:42raptorkaen: I have to go, but - when updating the levelgen for a map in pleiades, the timestamp is not updated for the database entry
00:28:18raptor Quit ()
00:33:04vs73nxyay submitted my first ever level to leveldb!
00:33:06vs73nxhttp://bitfighter.org/pleiades/levels/view/161
00:35:44vs73nxdoes this code look right to anyone? http://pastebin.com/g3WMXptH
00:55:50Watusimoto Quit (Ping timeout: 240 seconds)
00:56:37Nothing_MuchWas the -
00:56:42Nothing_MuchHm..
01:20:43Flynnn has joined
02:10:42HylianSavior has joined
02:28:32Nothing_MuchWell if anybody's reading the logs, was the Desura page updated yet?
02:28:46vs73nxlemme check
02:29:54vs73nxnup looks the same
02:30:06Nothing_MuchDoh
02:30:13Nothing_MuchGotta update, guys!
02:33:40Flynnn Quit (Quit: This computer has gone to sleep)
02:35:52raptor has joined
02:35:52ChanServ sets mode +o
02:37:07raptorvs73nx: that table looks pretty good to me - did it compile?
02:37:17vs73nxno it didnt
02:37:28vs73nxive tried something that looks right to me...
02:37:47raptorok, let me try to compile it...
02:37:56vs73nxill give a paste link of what i,m doing
02:37:56raptorhave you gotten further?
02:38:02vs73nxyes i have
02:39:03vs73nxsomething like what im doing in thes link: http://pastie.org/8551182
02:39:12vs73nxits a bit hacky but it compiles...
02:39:32vs73nxwell at least eclipse doesnt highlight any errors to do with it
02:45:43raptorso
02:45:50raptorthat last pastie can't work
02:46:04vs73nxwhy?
02:46:06raptorif you're using EDITOR_BINDING in one table and BINDING in the other
02:46:20raptorbecause you're only defining BINDING, not EDITOR_BINDING
02:46:25vs73nxno its one BINDING to rule them all
02:46:38raptorok, so that first pastie you changed them all to BINDING?
02:47:13vs73nxi define all the bindings in both binding tables
02:47:36raptoryes but you have EDITOR_BINDING here: http://pastebin.com/raw.php?i=g3WMXptH
02:48:04vs73nxi changed the code
02:48:19raptorok, that's what I asked
02:48:24raptorI will change mine now..
02:48:45vs73nxill push my changes to my repo
02:48:54raptorok, that table compiles with no problem
02:48:57vs73nxeven though it doesnt compile
02:49:10vs73nxhow dous yours compile?
02:49:21vs73nxmine spits out an ungodly amount of errors
02:49:35raptorI copied and pasted the table from that link
02:49:39raptorand compiled
02:49:41raptorit compiled
02:50:05vs73nxint stock unchanged bf code?
02:50:10vs73nx*into
02:50:14raptoryep
02:50:30raptorbut, I only added the table, I didn't add it to any other spot
02:50:38vs73nxoh ok then
02:51:38raptori don't see where that static arry is supposed to be
02:51:51vs73nxwhat array?
02:52:24raptorthe one you're trying to create here: http://pastie.org/8551182
02:53:43vs73nxthat aray is at inputcode.cpp 126, i used it as an example for what i was doing with the bindings.
02:53:49raptorok i added it to an xmacro enum
02:54:05raptorfirs issue is that your EDITOR_BINDING_TABLE has 5 entries, it should have 6
02:54:38raptorthere is a default joystick binding column you're missing
02:54:54raptoreven though we won't be using it in the editor, it needs to be filled out if you want to combine the tables
02:55:13raptorin fact
02:55:20vs73nxit does with the new one i added the placeholder ,"" so that the last colum is an mpty string
02:55:30raptorah ok
02:55:39vs73nxits a hacky fix
02:55:44raptorI need to know I'm using your latest code to be able to help effectively
02:55:57raptoralso
02:56:05raptoryou're using strings for the binding
02:56:30vs73nxi need to because i want to use inputStrings
02:56:51raptorI don't know what watusimoto had in mind, but if you're going to change the datatypes in the same column between the two tables, then you will never be able to combine them
02:57:07vs73nxi have a seperate #DEFINE BINDING for the keybindings to handle strings
02:57:28vs73nx*EDITOR_BINDING_TABLE
02:57:29raptorok
02:57:52vs73nxill do som final work and upoad it to my repo so you can refer to it
02:58:00raptoralso
02:58:23raptorthe last line of the #define EDITOR_BINDING_TABLE need to be an empty line with no \ on it
02:58:36vs73nxohhh right
02:59:51vs73nxthe eclipse macro expander is a life saver in this type of codeing
03:00:00raptorsure is
03:00:08Nothing_Muchg'night everybody
03:00:13raptori'll be back in a little while...
03:00:15raptornight
03:00:15vs73nxgood nigth
03:00:19vs73nx*night
03:00:26vs73nxsee yas
03:01:20vs73nxlater
03:09:13Flynnn has joined
03:13:47vs73nxis there a way to parse a string to an inputCode
03:22:51vs73nxfound it it is stringToInputCode
03:34:13Flynnn Quit (Quit: Leaving)
03:34:22Flynnn has joined
03:41:09vs73nxin inputcode.cpp it is giving me the error �stringToInputCode� was not declared in this scope? the method is in the file so why is it failing?
03:48:31Kiryx_ Quit (Ping timeout: 240 seconds)
03:48:31Kiryx Quit (Ping timeout: 240 seconds)
03:50:43raptordepends on where you are using it
03:51:24raptorit's part of the class/namespace InputCodeManager
03:51:45raptorso if you'r using it in the global namespace, you need to specify InputCodeManager::
03:52:07raptoroh wait, actually, it's static, so you need that anyways
03:52:20raptorInputCodeManager::stringToInputCode
03:52:37fordcars_pi has joined
03:52:41fordcars_piHi
03:52:46vs73nxthanks
03:52:49vs73nxhi fordcars
03:53:35vs73nxk now it is no matching function for call to �Zap::InputCodeManager::stringToInputCode(Zap::InputCode)
03:54:01vs73nxwait nvm fixed it
03:58:41BFLogBot Commit: 5b42d5be1e0e | Author: buckyballreaction | Message: Fix precompiled OpenAL-Soft to not use HAVE_POSIX_MEMALIGN since it isn't available on OSX < 10.6
04:06:16Flynnn Quit (Quit: This computer has gone to sleep)
04:17:05Flynnn has joined
04:23:07destroyerimo Quit (K-Lined)
04:24:33destroyerimo has joined
04:34:43vs73nxdamm now it is segfaulting...
04:37:36vs73nxlink to gdb output http://pastie.org/8551284
04:47:18raptorstring 2 is NULL
04:47:45Flynnn Quit (Quit: This computer has gone to sleep)
04:48:30raptorkeyNames[i] is NULL...
04:49:01kaen Quit (Ping timeout: 245 seconds)
04:49:22vs73nxk thanks
05:27:14kumul Quit (Read error: Connection reset by peer)
05:35:14vs73nxi did some debugging and i found out that whenever i make a new memberNameVariable it crashes, and if a use a previously defined mamberName it segfaults... is there a place where memberNames are defined or is it a coding error?
05:37:55raptorI'm not sure - that may be a question for watusimoto
05:38:10vs73nxfair enough...
05:38:14raptorIt could be that you need to fill out all the enums and arrays with your new table first
05:38:27vs73nx?
05:38:47raptori think several part of the code depends on all the various data structures
05:38:55raptoreverywhere BINDING_TABLE is used
05:39:11raptorI think needs to be appropriately filled out with the new bindings as well
05:39:56raptorbut I need to head to bed now, sorry
05:39:56raptornight!
05:39:56raptor Quit ()
05:40:01vs73nxbye
05:56:50Flynnn has joined
06:17:24Flynnn Quit (Quit: This computer has gone to sleep)
06:27:35fordcars_piNight guys!
06:27:39fordcars_piLater :)
06:27:41fordcars_pi Quit (Quit: Lost terminal)
06:30:46vs73nxnight fordcars
06:35:18destroyerimo Quit (Ping timeout: 248 seconds)
07:26:04Flynnn has joined
08:02:01Flynnn Quit (Quit: This computer has gone to sleep)
08:04:00Platskies has joined
08:43:52Flynnn has joined
08:54:04koda has joined
08:55:30vs73nx Quit (Read error: Connection reset by peer)
09:00:54vs73nx has joined
09:03:17Kiryx has joined
09:03:20Kiryx_ has joined
09:10:05Kiryx_ Quit (Read error: Operation timed out)
09:10:18Kiryx Quit (Read error: Operation timed out)
09:30:21koda Quit (Quit: koda)
09:32:32Darrel[OFF] is now known as Darrel
17:37:11-hobana.freenode.net- *** Looking up your hostname...
17:37:11-hobana.freenode.net- *** Checking Ident
17:37:11-hobana.freenode.net- *** No Ident response
17:37:11-hobana.freenode.net- *** Couldn't look up your hostname
17:37:17BFLogBot has joined
17:37:17-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.
17:37:54raptorwell, we missed 8 hours of logs
17:38:01raptoranyone say anythign important?
17:38:17sam686bitfighter.org was down for about 4 or 5 hours though
17:38:44raptorah
17:38:48raptorthat's no good either
17:39:49sam686[03:46:06] (my clock) is when BfLogBot ping timed out (my clock is 11:38) so thats 7.8? hours ago
17:41:05sam686[07:57:51] is when I noticed bitfighter.org is up, after watching my bitfighter server say "Server established connection with Master Server"
17:44:14Darrelhmm, guys, which files would the "BITFIGHTER: TNL: PORT 'GETHOSTBYNAME' USAGE TO 'GETADDRINFO'" task involve? I don't know why, but I can't seem to find any file mentioning "gethostbyname" but then again I might have missed something.
17:45:06sam686http://sam6.25u.com/upload/text1312/131214_17-44-27.txt is my bitfighter channel irc log when logbot fails
17:45:10kucykden has joined
17:45:10kucykden Quit (Remote host closed the connection)
17:47:09sam686well, i have no idea which task you are working at, link of that task maybe?
17:50:14sam686there is a gethostbyname used in tnl/udp.cpp, line 750, but not sure what you asking for as I am not much of a help...
17:50:25raptorhi Darrel
17:50:39Darrelnot really working on it, just taking a few looks to see if I can handle it :)
17:50:52raptoryes, there is one usage of gethostbyname in the TNL library
17:50:52Darrelhey raptor
17:51:08raptorand it needs to be ported to the newer getaddrinfo
17:51:40raptorMost of the work will probably be in researching just how getaddrinfo works
17:53:31Darrelgot it.. thanks for the info :) might work on it these days, once I do some research to evaluate if I can or can't do it. See ya!
17:55:21kumul Quit (Quit: Leaving)
17:56:25raptorbye
18:05:45kaen Quit (Ping timeout: 240 seconds)
18:06:02Flynnn has joined
18:07:09kaen has joined
18:08:12kaen Quit (Changing host)
18:08:12kaen has joined
18:26:38kaen Quit (Ping timeout: 264 seconds)
18:33:20koda Quit (Quit: koda)
18:38:41kaen has joined
18:38:41kaen Quit (Changing host)
18:38:41kaen has joined
18:44:53kaen_ has joined
18:48:11kaen Quit (Ping timeout: 245 seconds)
18:53:20Watusimoto has joined
18:55:28kaen_ is now known as kaen
18:55:39kaen Quit (Changing host)
18:55:39kaen has joined
18:56:16Flynnn Quit (Quit: This computer has gone to sleep)
18:57:15Flynnn has joined
18:58:54Watusimoto Quit (Remote host closed the connection)
19:34:57Canseco Quit (Remote host closed the connection)
19:51:13oskopekhi everyone
19:53:01oskopekcould I please get an extension on the undo-redo task? I had to leave town unexpectedly, just came back
20:03:07sam686its up to raptor or watusimoto to extend task
20:06:36oskopekthanks sam686, I'll wait for them
20:24:10Flynnn Quit (Quit: This computer has gone to sleep)
20:26:33Flynnn has joined
20:39:39Flynnn Quit (Quit: This computer has gone to sleep)
20:44:04Watusimoto has joined
20:45:32Watusimotohi
21:08:39raptorhowdy folks
21:08:46raptoroskopek: you want an extension?
21:09:49raptordone
21:10:56oskopekyes raptor, thank you
21:11:50raptoryou're welcome
21:12:36Flynnn has joined
21:46:24Kiryx_ Quit (Quit: Leaving)
21:46:48Kiryx has joined
22:07:25Watusimoto Quit (Read error: Connection reset by peer)
22:08:42Watusimoto has joined
22:17:49raptorbugs bugs bugs
22:21:28Watusimotohi raptor
22:21:33WatusimotoI had to revert one of your commits
22:21:36raptorhello
22:21:39raptorwhich one?
22:21:46BFLogBot Commit: 878d260d1c94 | Author: watusimoto | Message: Change font for message boxes
22:21:48BFLogBot Commit: e8acff190ff2 | Author: watusimoto | Message: Improve appearance of error messages, try to modernize one of our ancient messagebox methods
22:21:49BFLogBot Commit: 2a85842ccce3 | Author: watusimoto | Message: Merge
22:21:51BFLogBot Commit: 1609b435ac28 | Author: watusimoto | Message: Create a new constructor to reduce duplicate code
22:21:52BFLogBot Commit: d658b9169abc | Author: watusimoto | Message: Merge
22:21:54BFLogBot Commit: 88a3ef90adb9 | Author: watusimoto | Message: New tests
22:21:55BFLogBot Commit: 270867a7fa0b | Author: watusimoto | Message: Fix test
22:21:56Watusimoto>>>>> Remove gtest code from our game code
22:21:57BFLogBot Commit: d2470bcf23d1 | Author: watusimoto | Message: Comment
22:21:58BFLogBot Commit: 6779011f2372 | Author: watusimoto | Message: Fix test
22:22:00BFLogBot Commit: 7273b66cf498 | Author: watusimoto | Message: Fix test -- all tests passing
22:22:05raptorah, that one
22:22:23raptorso, that sparks an architectural discussion - it doesn't seem to compile on OSX with that...
22:22:37Watusimotoyes, that stuff is needed by the tests; the alternative is to make private members public so the tests can access them
22:22:47vs73nx has joined
22:23:22Watusimotoso your fix fixes osx?
22:23:34raptorand, in general, it seems like good practice to not need test code in the implementation - usually (at least at work we do this) we create the class so it has public getters or we use an interface to extend the functionality we need
22:24:10raptoryes
22:24:53Watusimotothe test code should get ifdefed out if we're not building a test build; if it breaks a build, however, that is obviously bad
22:25:56Watusimotoin this particular case, we have a private member that we do not want to provide access to (for whatever reason). Providing an access method just for tests is really just another way of putting test code int he implementation
22:26:12WatusimotoI don't think there is a "pure" solution to the problem
22:26:28Watusimotowell... maybe #define private public :-)
22:26:31raptoryeah me neither
22:26:44raptorand that was the perfect solution that sam686 came up with :)
22:30:34WatusimotoI know
22:31:40Watusimotogoogle suggests not testing internal implementations at all, thus neatly sidestepping the problem
22:31:48raptorha!
22:32:18Watusimotoin one way it's perfectly reasonable -- public implementations are all that really matter -- how the work gets done is a detail
22:32:42Watusimotoand flaws there would be exposed externally at some stage
22:32:58raptoryes
22:33:26Watusimotolet me look at that test more carefully
22:34:02raptorI still like sam686's idea - even if it feels completely wrong
22:34:45vs73nx Quit (Ping timeout: 240 seconds)
22:35:19vs73nx has joined
22:35:24Watusimotodon't tell kaen!
22:37:14sam686I sometimes want to access anything I want to, like I kept running into the need to access private variable while I was making my own editor back on 015
22:38:57sam686to me, setting the variables may run faster and looks cleaner then all kinds of getVariable() setVariable(something) functions
22:39:07raptorvs73nx: GCI says your task is ready for review, but your clone is gone?
22:39:28sam686...well it looks cleaner to me.
22:41:07vs73nxoh
22:41:10vs73nxdamm
22:41:56sam686if you still have your clone with your changes, you can still push somewhere else or make a diff
22:42:12vs73nxguess so
22:42:13sam686even if its a clone that only exists on your hard disk now
22:44:13sam686its like having 2 clones, one on your hard disk, the other on google code. push/pull will sync them with added commits.
22:44:26vs73nxim making a clone of my new repo and im pushing my changes to there once im done
22:44:42sam686lost one of both clones? easy to recover, which is good
22:44:58vs73nxi was planning on doing that, because i thought that my code was already reviewed
22:46:38Watusimoto Quit (Quit: No Ping reply in 180 seconds.)
22:47:01Watusimoto has joined
22:58:06Darrel is now known as Darrel[OFF]
23:04:36BFLogBot Commit: d88ef8327573 | Author: watusimoto | Message: Fix signatures
23:04:37BFLogBot Commit: 7db20a019f79 | Author: watusimoto | Message: Line endings
23:04:39BFLogBot Commit: a97e8fab8b2b | Author: watusimoto | Message: Fix test in a way that may be more OSX friendly
23:04:40BFLogBot Commit: 24d57de855c9 | Author: watusimoto | Message: Warnings
23:07:26raptorI reuploaded the 32bit osx build with the crash fix
23:11:19Nothing_Muchwoo!
23:11:53vs73nxdoes that mean that i can build on osx?
23:12:22raptornope
23:12:27vs73nxohh ok
23:12:29raptoronly i can build on osx...
23:12:38vs73nxdarn
23:12:39raptorthat's why it's one of the gci tasks to do an xcode 5 project...
23:12:54vs73nxmight do that later :)
23:14:33WatusimotoNothing_Much: how is that screen capture project coming?
23:15:38Nothing_MuchI only got the bouncer
23:15:53Nothing_Mucheverything else was discolored :(
23:16:08Nothing_Muchoh, I posted bouncer here before, lemme find it
23:16:22Nothing_Muchhttp://i.imgur.com/7JxKkqn.gif
23:16:42Nothing_Much(intentionally tiny)
23:17:02Nothing_MuchYou can use it as decoration on the sides of the BF logo :D
23:17:13raptormy final exan consists of dynamically creating an efficient huffman tree for any given string input
23:17:18raptor*exam
23:18:34WatusimotoNothing_Much: it doesn't quite look like a real bouncer... I mean, not exactly :-)
23:18:49Nothing_Muchlol
23:18:51vs73nxlooks ok though
23:18:55Nothing_Muchyeah the color is screwy
23:19:08Watusimotoactually, maybe I was a bit thrown by the size and the angle I was looking at my screen
23:19:11vs73nxand the resolution is a bit small...
23:19:17Watusimotoit actually looks better than I thought it did
23:19:18Nothing_Muchit might be because of the software rendering or maybe gtk-screen recorder isn't that good
23:19:52sam686that bouncer is way too tiny, and looks like its only one color
23:19:57Nothing_MuchI did have color problems on older PCs that didn't have drivers for them at one point
23:20:25Nothing_Muchthe bouncer is supposed to be tiny- oh you mean like at a viewable size? yeah it is
23:20:32Nothing_MuchI think I'll rescale it
23:21:41Nothing_Muchthe color's gonna be a bit of an issue though
23:22:13Nothing_Muchbecause it's either the software rendering that causes GTK-screen recorder to screw up the colors, or gtk-screen-recorder just isn't doing so hot
23:30:20Watusimotoit would probably be better to render the bouncer frame by frame and build an animated gif from that
23:30:48Nothing_MuchHow would I do that?
23:31:24sam686first of all, when using screen recorder don't use lossy compression (causes poor quality or blurry colors)
23:31:27vs73nx Quit (Ping timeout: 240 seconds)
23:32:05Watusimotoa couple of ways. easiest overall would be to modify the game source to print them out somewhere. easiest without programming would be to take about 100 screen caps of the help screen and manually sort through them to see if you get all the frames
23:32:58Watusimotobut really, while it would be a cool resource to have, it's probably not worth all the effort
23:33:34Nothing_Muchoh well, at least I tried :)
23:34:57sam686http://sam6.25u.com/bitfighter/avatar/ theres some of my animated GIF used as my avatar in the forums, in case you haven't notices, but its been over a year since I played with animated GIF
23:35:32Nothing_Muchyeah, but those are also tiny and blurry when zoomed
23:35:52sam686those use only 16 colors
23:36:10sam686it would be huge filesize if the resolution were bigger or longer then 30 seconds
23:36:15Watusimoto3rd possibility is to use the program code to manually draw the suckers in photoshop
23:36:32Watusimoto(I'm just looking at the code now, and they're pretty straightforward)
23:37:15Watusimotodifferent combinations of colors/sizes using these coords:
23:37:16Watusimotostatic S16 projectilePoints1[] = { -2,2, 0,6, 2,2, 6,0, 2,-2, 0,-6, -2,-2, -6,0 };
23:37:32sam686I don't have photoshop, I used imagemagick to convert avi into gif, windows virtualdub to resize the avi to tiny uncompressed avi
23:38:35Nothing_MuchI used gtk-record-desktop from Ubuntu 13.10 and used Openshot to convert ogv to png, then gimp to animated gif
23:39:20Watusimotoheck, one could probably do it all from the command line with imagemagick, forget photoshop
23:40:08Watusimotousing this stuff
23:40:09Watusimotohttp://www.imagemagick.org/Usage/draw/#draw
23:40:11sam686imagemagick could take an AVI, or multiple pictores, and put it as animated GIF, with the right commands
23:40:36Watusimotoimagemagick can take coordinates like what I posted above and produce a gif
23:40:53Watusimotoimagemagick can do anything
23:40:57Watusimotoit's.... magick!
23:41:11Nothing_Mucho.O
23:41:31Nothing_Muchperhaps I'll use the GUI version of it >.>
23:42:14sam686im not sure if there gui version of imagemagick, or I haven't seen one for it.
23:42:44Nothing_Muchyeah there is, it's the (display) version on Ubuntu
23:43:23sam686i guess windows is left behind for GUI version of imagemagick
23:43:45Nothing_Muchwait a sec, can .ogv files be seen by imagemagick?
23:44:05sam686maybe, don't know, you could try and see...
23:44:11vs73nx has joined
23:44:17Nothing_Muchand the answer is....
23:44:24Nothing_Muchnope
23:45:11Watusimotoimagemagick is pure command line
23:48:15Nothing_Muchoh my
23:50:39raptorWatusimoto: did you see the map that Quartz and bobdaduck released as a christmas present for you?
23:50:49Watusimotouh oh
23:50:51WatusimotoI did not
23:51:13Watusimotowhere is it, in the forums?
23:51:21raptorhttp://bitfighter.org/forums/viewtopic.php?f=35&t=2175
23:51:28raptorthe map is on the pleiades game server
23:51:38vs73nxoh ive played that map
23:51:47raptordon't spoil it!
23:51:54vs73nxi wont
23:52:10Watusimotothat's a cool looking design
23:52:42vs73nxall that i will say is that it is more fun when more people are playing
23:52:50vs73nxthats all ill say
23:53:52Watusimotowell... it crashed my bitfighter
23:53:57Watusimotoso that's pretty cool
23:54:05raptorcome and join the pleiades server
23:54:11Watusimotook

Index Search ←Prev date Next date→

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