#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-06-05

Timestamps are in GMT/BST.

00:00:58raptorhmm... maybe not!
00:01:00raptorcompiling..
00:01:51raptoran old version of dnd.levelgen should make a good test..
00:03:04raptoroh booo
00:03:15raptorour lua_helper_functions uses setfenv and findfile, etc..
00:04:29raptorso i guess it works..
00:04:45raptorbut we need to make some decisions about what crazy stuff to include
00:10:19raptorok, we register everything in global..
00:10:26raptorthen i wipe it out...
00:19:47kaensetfenv is harmless if it's called from our sandbox
00:19:55kaenfindfile... I'm not so sure
00:20:09raptorfindFile is an internal c++ function we expose
00:20:33kaenah I see
00:20:39kaenokay, seems harmless enough
00:23:10raptorit works!
00:23:20raptordnd is running...
00:24:48raptorexcept... setfenv isn't in my whitelist yet the script doesn't crash...
00:25:00raptorbut 'file' and 'io' are disabled..
00:25:03raptorodd
00:27:10raptorahhh....
00:27:43raptorconfigureNewLuaInstance()
00:28:01raptorthat is called on game start-up and loads those scripts
00:28:07raptorso it has full access
00:28:11raptorthat's probably OK, right?
01:05:58watusimoto has joined
01:05:58ChanServ sets mode +o watusimoto
01:07:30raptorgood morning!
01:09:02BFLogBot Commit: 4cc2aee7bd9b | Author: buckyballreaction | Message: We have our Lua sandbox!
01:10:22raptorwatusimoto, kaen: do you think we may want to expose a specific directory to be able to write to for users Lua scripts?
01:25:47raptormaybe i'll just go to bed..
01:25:49raptornight!
01:26:03raptor Quit ()
03:30:00BFBuildBot Quit (*.net *.split)
03:30:40BFBuildBot has joined
04:40:00BFBuildBot Quit (*.net *.split)
04:44:58BFBuildBot has joined
04:46:07Watusimoto_ has joined
05:29:19LordDVG has joined
05:46:18Watusimoto_ Quit (Ping timeout: 260 seconds)
06:30:35BFBuildBot Quit (*.net *.split)
06:34:16BFBuildBot has joined
07:14:25raptor has joined
07:14:25ChanServ sets mode +o raptor
07:30:35kaen Quit (*.net *.split)
07:30:36ChanServ Quit (*.net *.split)
07:34:18watusimoto Quit (Ping timeout: 259 seconds)
07:34:22watusimoto has joined
07:36:11-tomaw- [Global Notice] Hi, yes NickServ, ChanServ etc are gone - we're investigating why right now.
07:40:04BFLogBot Quit (Ping timeout: 256 seconds)
07:40:04Disconnected.
07:43:24-card.freenode.net- *** Looking up your hostname...
07:43:24-card.freenode.net- *** Checking Ident
07:43:24-card.freenode.net- *** Couldn't look up your hostname
07:43:34-card.freenode.net- *** No Ident response
07:43:40BFLogBot has joined
07:43:40Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/'
07:43:40Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 UTC 2013
07:47:37ChanServ has joined
08:08:44watusimotohello
08:08:55raptorgood morning
08:09:05watusimoto>>>>>do you think we may want to expose a specific directory to be able to write to for users Lua scripts? <<<<
08:09:09watusimotofor what purpose?
08:09:23raptorfor instance - that logger.levelgen script I wrote
08:09:34raptorit used io.* to save in-game chats
08:09:36watusimotoand what does that do?
08:09:40watusimotothat
08:09:41watusimotook
08:09:42raptorto a log file
08:09:52watusimotopersonally, I think it would be ok
08:10:09watusimotoI'd like to hear from kaen, as I'm a trusting sort
08:10:24watusimotowhat if I wrote to the log file runme.sexygirls.bat?
08:10:34raptori was thinking of exposing a c++ method like 'appendFile()' to Lua, and have it be one of the 'loose function'
08:10:40raptorit would *only* write to one location though
08:10:45watusimotoone folder
08:11:04watusimotohmmm... .where is that log file... ooh, sexy girls. what's that?
08:11:21raptorhaha
08:11:32watusimotobut yes, I think it would be ok
08:12:23raptornow with my sandbox, I noticed that it only runs for user scripts
08:13:02raptorso when we load the entire Lua environment in main.cpp, and load the helper_functions.lua, that part isn't sandboxed
08:13:14raptoris that still OK?
08:15:28raptorso only levelgens and robots and global levelgens are sandboxed
08:30:18LordDVG Quit (Ping timeout: 240 seconds)
08:31:00LordDVG has joined
08:41:11-hobana.freenode.net- *** Looking up your hostname...
08:41:11-hobana.freenode.net- *** Checking Ident
08:41:11-hobana.freenode.net- *** No Ident response
08:41:11-hobana.freenode.net- *** Couldn't look up your hostname
08:41:18BFLogBot has joined
08:41:18Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/'
08:41:18Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 UTC 2013
08:41:18-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.
08:42:18bobdaduck has joined
08:48:38BFBuildBot has joined
08:49:48kaen has joined
08:51:43Nothing_Much has joined
08:58:20kaenraptor, sounds fine to me
08:58:56kaenyou could even take a filename argument if you strip everything before the last directory separator (if there is one)
08:59:56watusimoto>>> is that still OK? <<<
09:00:35watusimotoyes, I think so... if you can hack that code, you might as well hack the binary at the same time
09:02:01kaenfurther, if a user overwrites that stuff with someone else's code, then I put them in the same group as people who download those third party "toolbars" for IE
09:02:15kaenand don't feel bad if they get rooted
09:10:27koda has joined
09:25:28Nothing_Much Quit (Ping timeout: 256 seconds)
09:25:30raptorhaha
09:34:37raptormaybe i'll allow writing to the screenshots dir
09:38:31BFLogBot Quit (Ping timeout: 256 seconds)
09:38:31Disconnected.
09:40:04-hobana.freenode.net- *** Looking up your hostname...
09:40:04-hobana.freenode.net- *** Checking Ident
09:40:04-hobana.freenode.net- *** No Ident response
09:40:05-hobana.freenode.net- *** Couldn't look up your hostname
09:40:46Disconnected.
09:40:47-cameron.freenode.net- *** Looking up your hostname...
09:40:47-cameron.freenode.net- *** Checking Ident
09:40:47-cameron.freenode.net- *** No Ident response
09:40:47-cameron.freenode.net- *** Couldn't look up your hostname
09:40:54BFLogBot2 has joined
09:40:54Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/'
09:40:54Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 UTC 2013
09:40:55-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.
09:41:08kaen has joined
09:41:27Nothing_Much has joined
09:41:41Nothing_Much Quit (Client Quit)
09:41:51LordDVG has joined
09:48:11bobdaduck_ has joined
09:48:11raptor Quit (Read error: Connection reset by peer)
09:48:15bobdaduck Quit (Read error: Connection reset by peer)
09:48:46Nothing_Much has joined
09:49:00raptor has joined
09:49:01ChanServ sets mode +o raptor
09:49:09LordDVG Quit (Ping timeout: 264 seconds)
09:49:17bobdaduck has joined
09:50:05LordDVG has joined
09:53:14bobdaduck Quit (Read error: Connection reset by peer)
09:53:35bobdaduck_ Quit (Read error: Connection reset by peer)
09:53:37bobdaduck_ has joined
09:54:09LordDVG Quit (Excess Flood)
09:57:21koda Quit (*.net *.split)
09:57:22watusimoto Quit (*.net *.split)
09:58:43raptor Quit ()
09:59:29bobdaduck_WHAT'S GOING ON
10:00:13-christel- [Global Notice] Welcome to Splitville, Population: Shrinking -- as you may have noticed the network is suffering under the strain of yet another DDoS attack, we are working with our sponsors to try curb what we can and apologise for the inconvenience.
10:00:45Nothing_Muchddos
10:00:48Nothing_Muchthat's what
10:01:15bobdaduck_lol
10:01:24bobdaduck_THANKS CRISTEL
10:01:47kaensome kids with a bunch of computers basically causing a traffic jam on freenode's internet connection
10:01:51kaenNothing_Much, ^
10:01:55bobdaduck_yeah
10:02:19Nothing_Muchkids these days
10:02:29Nothing_Muchalways causing troub- well actually that's always been the case
10:02:32Nothing_Muchexcept it's online now
10:02:41Nothing_Muchisn't a ddos technically illegal?
10:02:49kaenI don't know
10:02:50kaenprobably
10:02:55bobdaduck_pretty sure
10:03:09kaenI guess I'd rather have them ddos'ing freenode than knocking over my garbage cans though
10:03:21bobdaduck_what would we do if someone ddos bitighter?
10:03:33kaenwell, no one would play
10:03:37kaenso exactly nothing would change
10:03:39Nothing_Muchno one COULD play
10:03:41Nothing_Much:(
10:03:54bobdaduck_xD
10:04:37kaenbut it depends which server they ddos'd
10:04:59kaeninterestingly, me and wat would be helpless since we don't have physical access to our servers to change the firewall rules
10:05:18kaenbut you and LA for example do have that access, so your servers could be made reachable again pretty easily
10:05:48kaen(but only to clients who had seen the servers before and store the connection info)
10:06:26kaenoh wait... I have a vps console to tweak the firewall rules
10:06:28kaensweeet
10:06:33kaenwat probably does too then
10:07:01koda has joined
10:07:05kaenso as long as they didn't bring down our actual *hosts* (which is much hard than a single server) we'd be fine after like ten minutes of fiddling
10:08:39watusimoto has joined
10:08:40ChanServ sets mode +o watusimoto
10:13:13LordDVG has joined
10:26:35raptor has joined
10:38:44raptorhowdy howdy
10:38:53bobdaduck_raptor change the ticker to announce DnD party tomorrow?
10:39:02raptorsay what?
10:39:13raptorticker? mine hasn't stopped beating yet, has it?
10:39:18bobdaduck_the bitfighter main menu ticker
10:39:26raptorohhhhh
10:39:33raptorthe MOTD
10:39:36bobdaduck_the one that says "Welcome to Bitfighter!"
10:39:38raptormessage-of-the-day
10:40:02raptorgive me the text to put there
10:40:12kaenMajestic Oscillating Turtle, Dude
10:40:20raptorhahaha
10:40:27raptorgive me three!
10:42:25bobdaduck_Welcome to bitfighter! - - - bobdaduck Map unveiling party Fri 8 EST - - - Enjoy your stay! - - -
10:42:42bobdaduck_8 pm EST
10:43:32raptorhow about this:
10:43:43raptor!!! DDD !!! Delirious DnD Demonstration party !!! Lua scripting engine showcase !!! Expect adventure! explosions!! crashes !!! Friday 8 June 2013 8:00 PM EST
10:44:02bobdaduck_rofl, that works too
10:44:02kaenperfect!
10:44:32raptorshould i mention bobdaduck_ in there somewhere?
10:44:58bobdaduck_Nah that's fine
10:45:04raptordone!
10:45:47bobdaduck_Okay huge problem
10:45:54bobdaduck_Lately I've been feeling like the level is too small
10:46:00raptoryou put your shoes on the wrong foot again?
10:46:03raptoroh
10:46:21raptorit's because you're missing quests
10:46:29raptor takes back what he just said
10:46:34bobdaduck_rofl
10:46:38bobdaduck_No quests
10:46:40bobdaduck_not until 019
10:46:45bobdaduck_when levelcontroller can PM.
10:48:15bobdaduck_closest to quests for now is just "see if you can find the secret shops"
10:49:26bobdaduck_Welp
10:49:32bobdaduck_I've opened up DnD.level
10:49:39bobdaduck_Time to readjust all the projectors and turrets
10:52:28raptorsigh
10:52:50raptorare you runing stock 018a?
10:53:29bobdaduck_yeah
10:53:38bobdaduck_wait maybe.
10:53:46bobdaduck_probably not actually
10:54:20kaenwhy not just do your editing on 019?
10:54:40bobdaduck_because 019 is worse
10:54:45kaeneh?
11:00:36LordDVG Quit (*.net *.split)
11:00:36raptor Quit (*.net *.split)
11:00:39BFBuildBot Quit (*.net *.split)
11:00:41ChanServ Quit (*.net *.split)
11:00:52watusimoto Quit (*.net *.split)
11:00:53bobdaduck_ Quit (*.net *.split)
11:00:55kaen Quit (*.net *.split)
11:09:15Tttt7858 has joined
11:09:15raptor has joined
11:09:15LordDVG has joined
11:09:15watusimoto has joined
11:09:15bobdaduck_ has joined
11:09:15kaen has joined
11:09:15ChanServ has joined
11:09:15BFBuildBot has joined
11:09:44Tttt7858or something
11:09:44bobdaduck_BBB?
11:09:44raptorlogbot come back!
11:09:45Tttt7858ye
11:09:45Tttt7858bbb
11:09:45bobdaduck_no
11:09:45bobdaduck_there's a ddd
11:09:45Tttt7858?
11:09:45Tttt7858whats that?
11:09:45bobdaduck_http://www.bitfighter.org/forums/viewtopic.php?f=20&t=1963&p=20054#p20054
11:09:46Tttt7858was date changed
11:09:46Tttt7858can i get in
11:09:46bobdaduck_its this friday
11:09:46bobdaduck_What timezone are you in?
11:09:46Tttt7858cst
11:10:05Tttt7858why so many ppl on
11:10:34bobdaduck_Some school is playing probably
11:10:41Tttt7858LOL
11:10:46Tttt7858WHAT
11:10:54kaenthey put a password on the server and use an old version :<
11:10:58bobdaduck_So Friday at 7 your time there will be a bitfighter party.
11:11:07kaen"bitfighter"
11:11:08Tttt7858LOL lolwat
11:11:22Tttt7858thats hillarious
11:11:25Tttt7858for some reason
11:11:54Tttt7858i wanna get on and say hi my name is mr bear have you seen my child lately he escaped
11:12:32raptorkaen: you guessed the password?
11:12:41Tttt7858no
11:12:43kaennope
11:12:49Tttt7858darn
11:13:25Tttt7858r any ppl admin on bitfighter?
11:13:29Tttt7858like admin of the game
11:13:52raptorwe may be developers, but server owners control everything about their servers
11:14:07Tttt7858hmm
11:14:12Tttt7858lets find
11:14:13Tttt7858it
11:14:14Tttt7858s
11:14:15Tttt7858pass
11:14:23kaengood luck!
11:14:41kaenthere's a proof-of-work algorithm to prevent fast password guessing
11:15:15raptori always thought that was neat
11:15:17kaenand presumably connection dos
11:15:18Tttt7858hmm
11:15:19kaenme too
11:15:23Tttt7858dang
11:15:37Tttt7858is it annoying to have a school play?
11:15:45kaenit kind of breaks my heart
11:16:01bobdaduck_rofl
11:16:07Tttt7858no srsly
11:16:12kaenfor 20-30 minutes about three days a week the playing population of bitfighter increases almost tenfold
11:16:17kaenand I don't get to participate :<
11:16:20bobdaduck_xD
11:16:29Tttt7858LOL
11:16:31Tttt7858WE MUST
11:16:35Tttt7858GET INTO DAT SERVER
11:16:41Tttt7858AND BE LIKE HI KEDEIZ
11:16:58bobdaduck_eh
11:17:10Tttt7858can the creator of bitfighter take servers down?
11:17:15kaennope
11:17:18raptornope
11:17:18Tttt7858roflmfao
11:17:27kaenwouldn't want to anyway
11:17:32raptorwhy would anyone want to run a server if that was built in?
11:17:37Tttt7858idk
11:17:48Tttt7858if they were innappropriate?
11:17:52kaenthat would be kind of spiteful to ruin their fun just because we're jealous
11:17:58Tttt7858yeah
11:17:59kaenwell, we can take them off the master list
11:18:00Tttt7858but still
11:18:04Tttt7858master list?
11:18:11Tttt7858lolpro
11:18:16kaenthe server list you get when you're looking for a game
11:18:20raptorTttt7858: are you from the USA?
11:18:20Tttt7858oh
11:18:22Tttt7858ye
11:18:59Tttt7858whats the smegabyte server?
11:19:09kaenI have no idea, actually
11:19:14kaenmaybe sam's?
11:19:19Tttt7858sams?
11:19:27kaenone of the devs
11:19:32bobdaduck_Smegabyte
11:19:44bobdaduck_If I remember right like nobody has actually logged onto it in like months.
11:19:45bobdaduck_xD
11:19:51Tttt7858hmm
11:19:53raptornot sam's
11:19:55Tttt7858i wanna get on
11:19:57kaenweird
11:20:02raptorit showed up in 015a
11:20:08raptorand someone has kept updating it
11:20:13kaenit's got nice ping.
11:20:17Tttt7858lol
11:20:17kaenfor me anyway
11:20:20raptorbut no one has ever played on it because it's locked
11:21:07Tttt7858hmm
11:21:14Tttt7858how does somebody get on ?
11:21:36bobdaduck_they would need the password that nobody knows
11:21:43kaengeoip says it's in oregon
11:21:45Tttt7858hmm
11:21:49Tttt7858:O
11:22:05Tttt7858yay radioactive is on the radio
11:23:16raptorchickensaurus is my favorite name of the day
11:23:35Tttt7858lolol
11:24:14raptorit's actually in ontario canada
11:24:38kaenI meant smegabyte
11:25:04raptorohh..
11:25:06raptorsorry
11:25:08raptorhmm
11:29:13kaenraptor, is there a reason you can't pick up flags immediately after they're dropped?
11:29:30watusimoto Quit (Quit: Leaving.)
11:29:34raptori think collision detection is done on the boundaries of the game object
11:29:59kaenlike, if I kill a bot carrying the flag and charge over him as he explodes, I would expect to also pickup the flag
11:30:14raptoroh..
11:30:16bobdaduck_I talked to wat about that once...
11:30:21raptorthat should work... does that not in 018a?
11:30:26kaennor in 019
11:30:33bobdaduck_Hasn't worked since forever
11:30:46bobdaduck_The delay is coded in for a reason but I forgot why.
11:30:55raptorhmm
11:30:57raptorreally?
11:31:01kaenyou think it's because of the delayed delete?
11:31:12watusimoto has joined
11:31:13ChanServ sets mode +o watusimoto
11:31:19kaen(of the carrying ship)
11:31:25raptormaybe collision is disabled temporarily...
11:32:17kaenI think maybe the ship doesn't truely drop the flag until it hits the destructor
11:32:27raptorinteresting
11:33:10kaennope, that's not it
11:33:14raptorbobdaduck_: did that *ever* work?
11:33:17kaendismount gets called in kill()
11:33:19bobdaduck_No
11:33:27raptorthen feature request!
11:33:31raptor:)
11:33:33kaen:)
11:33:38bobdaduck_:)
11:33:48raptorthat means a 'zap!' bug
11:33:59raptorthose are always fun
11:35:00kaenah
11:35:06kaenthere's a dropped timer
11:35:30kaenso... we need a flag to not reset the drop timer if the ship was killed?
11:36:22kaenoh, awesome! dismount takes a dismount mode
11:36:34kaeneasy-squeezy
11:37:24bobdaduck_So does DnD need mercenaries that you can buy?
11:38:17bobdaduck_I nearly coded it this morning and then got antsy about cpu usage.
11:39:47raptorso when you host this thing... i recommend, uh, not running anything else on the computer..
11:39:54bobdaduck_Oh well that's a given
11:40:00Tttt7858 Quit (Quit: Page closed)
11:40:06bobdaduck_though the level has not actually proven to be all that intensive
11:40:26bobdaduck_...Never really tried it with more than 5 people though
11:41:43bobdaduck_when ford gets the bot ready it should be a good way to stress-test it
11:43:33bobdaduck_Oddly enough, RTS loads much slower than DnD
11:44:53kaenhas to do with the difficulty of triangulating the level and merging all of the walls
11:45:29kaenI'd guess that RTS has more line segments and/or islands of wall
11:45:56kaenbobdaduck_, does 019 fix that FF snapping bug?
11:46:10kaen(for you)
11:46:17bobdaduck_haven't noticed any problems
11:46:28kaencool :)
11:47:01raptorgreat!
11:47:12raptorbecause I remember solving that bug
11:47:17raptorI worked on it for 4 hours
11:47:30raptorand illumination didn't arrive until 1:30 in the morning
11:47:36bobdaduck_xD
11:47:41raptorand I was technically asleep with my eyes open
11:47:51bobdaduck_I appreciate all the work it will save me
11:53:55BFLogBot2 Commit: 2041d6502f15 | Author: kaen | Message: Don't add pickup delay to dropped items when the carrier is killed.
11:53:57kaenfix'd
11:54:25raptordo you think that'll have unintended consequences?
11:56:35kaennope. DISMOUNT_MOUNT_WAS_KILLED is used in exactly one call site: Ship::kill()
11:56:45kaenwhich is exactly when I don't want to add a pickup delay
11:56:47raptorhuh.. well cool!
12:01:39kaenhmm. should I have used an asterisk for that? since it changes a game mechanic?
12:01:50raptorteag,uhfhasjklfdsa
12:01:53raptoruhhh
12:01:55kaenlol
12:02:00raptorwell...
12:02:04raptornah
12:02:10raptori'll just go through all the commits anyways..
12:02:16kaenokay
12:02:27raptorthe asterisks thingy sort of died (my fault)
12:02:32kaen shrugs
12:02:38kaenmaybe we should try again next cycle
12:04:04Nothing_Muchthe net splits?
12:04:45kaenno, marking certain important commits with asterisks in the logs
12:04:55kaenwe have no power over freenodes netsplits :)
12:08:13bobdaduck_nothing much you comin' to the dnd party tomorrow?
12:25:53kaenis it not on friday?
12:26:11kaenmy understanding is that today is wednesday.
12:26:14bobdaduck_oh right
12:26:15bobdaduck_xD
12:26:18bobdaduck_yes friday
12:27:59bobdaduck_ Quit (Remote host closed the connection)
12:44:20koda Quit (Ping timeout: 264 seconds)
13:07:24LordDVG Quit (Remote host closed the connection)
13:09:34kaenctrl+u is my new favorite thing
13:09:45kaenespecially when starting a new map in the editor
13:15:25kaenraptor, what are your thoughts on setting the default cmake build type to Debug?
13:15:26kaenI always for get the -D... bit
13:15:43raptorhmmm
13:15:59raptorprobably only needed in Linux
13:16:05raptorI'm not opposed
13:16:34raptormaybe put a message in there saying that it's a Debug build
13:17:42kaenin where?
13:17:42kaenin the cmake output?
13:18:42kaenI was also thinking of adding a little python script to get the revision number and output it to like a buildinfo.h file
13:18:43raptoryeah, so packagers don't go crazy
13:18:54kaenand maybe log it when starting up if it's a debug build.
13:18:57raptoroh
13:19:10raptorso... i'll need to do that eventually if I get OSX to package with it
13:19:12kaenor even displaying it on screen (useful for tester's screenshots)
13:19:49kaensorry, I've got a lot of lag right now.
13:20:47kaendo what?
13:21:02raptorparse the version numbers in version.h
13:21:05kaenyou mean reimplement it for mac (if it happens)?
13:22:16raptoroh.. you're thinking specifically about your build bot...
13:22:21raptoractually
13:22:57raptorI think it'd be a great idea to have a debug build show on the main menu the revision
13:25:52raptorthat's what freeorion does: http://www.freeorion.org/images/e/e1/FreeOrion_Multiplayer_Setup_AIs_Observer.png
13:26:05raptorwe do have our diagnostics page
13:26:17raptorbut that might not be prominent enough
13:30:03kaenoh wow!
13:30:04kaencmake can find the hg executable and we can just use that to pump the revision number
13:30:30kaenright
13:31:21kaencool!
13:31:21kaenI'll take a crack at it.
13:39:21kaen for(S32 i = spyBugs->size()-1; i >= 0; i--)
13:39:28kaenis there a reason that they do this?
13:39:40kaen(backwards)
13:39:57kaenI seem to find it all over...
13:40:14kaenin this case they're just marking things in scope based on friendly spybug vision
13:59:19raptori think backwards iteration is sneaky
14:00:13raptorit gets around the issue with deleting an object in a collection you're currently iterating through
14:00:25kaenhmm...
14:01:00raptorbut it might only work with Vector::eraseFast
14:01:03raptoror whatever it is
14:01:12kaenthis spybug crash doesn't actually require adding and removing a spybug each frame
14:01:40raptoroh.. you're working on the running bug list?
14:03:09kaenyeah
14:04:51kaenscratch that, yes it does
14:05:06kaenmy weak attempts at fixing it actually made it worse...
14:08:16raptorwatusimoto: do you have ability to add subdomains to bitfighter.org?
14:11:34raptorlike: buildbot.bitfighter.org
14:11:39raptorand have it point to wherever
14:15:23kaenah, the ol' "bug behind a bug" exercise...
14:15:51kaenfixed the first spybug crash. there's a crash behind it that only triggers in zone control
14:16:01kaenalso seems to apply to flags
14:16:20raptoris this the Lua API one?
14:17:22kaenyep
14:23:21kaenoh no...
14:23:47kaenstale ItemOfInterest structures in mItemsOfInterest
14:23:56raptorwhat?
14:24:00raptoris that TNL
14:24:04raptorand scoping
14:24:12kaenit's a part of game type
14:24:19kaenand appears to be involved in scoping, yes
14:25:08bobdaduck has joined
14:25:22raptorinteresting - maybe the crash is because of something going out of scope server-side?
14:26:27kaenokay. I just reworked my solution, and now I'm triggering:
14:26:29kaen TNLAssert(false,"item in ItemOfInterest is NULL. This can happen when an item got deleted.");
14:26:44kaenwhich appears harmless outside of debug mode.
14:27:24kaenmy new solution, btw, was to prevent double deletion in BfObject::deleteObject()
14:27:37kaenwhich prevents adding the object to the delete list more than once
14:27:57kaen(which was the cause of the spybug crash)
14:29:24raptorwhy was it being added more than once?
14:29:49kaenonce when shot
14:29:55kaenonce when removeFromGame was called from lua
14:30:54raptorand both were server-side?
14:30:59raptorohh
14:30:59kaenyes
14:31:01raptorwait, yes
14:31:03raptori get it
14:31:05raptorinteresting
14:32:53kaenanyway, I fixed the spybug crash
14:33:03bobdaduckyay
14:33:12kaenbut since I found the flag crash the net progress is zero bugs :<
14:33:18kaencan not be unseen...
14:33:26bobdaduckhm?
14:33:53kaendo the same thing with a flagitem in ZC and you get a different crash
14:34:18raptorremove and recreate a flag?
14:34:21kaenyep
14:34:38kaenthat's null itemofinterest crash
14:35:29kaenimo it's not worth asserting that the item is non-null since handling the null case is trivial.
14:35:40kaenfixing it properly would just add another noodle to the spaghetti
14:36:46bobdaduckI never liked pasta
14:37:09kaenI like it on my plate
14:37:11kaenjust not in my computer
14:37:27kaenI make pasta like three nights a week at least.
14:38:22kaenchicken castellina on monday, spaghetti with home made meatballs tonight, lasagna on friday most likely...
14:38:23kaenetc.
14:40:56raptorever use whole wheat noodles?
14:42:41raptorthose are my favorites
14:45:10kaennever tried it
14:45:25kaenI love whole wheat bread though. I'll give it a shot
14:45:45kaenso, BFLogBot2 isn't reporting commits
14:46:28Tttt7858 has joined
14:46:33kaenbut buildbot is getting them...
14:46:34kaenweird
14:46:37Tttt7858hi
14:46:39kaenhi
14:47:02Tttt7858whos on?
14:47:03kaenraptor, any word from the SDL list?
14:47:28kaenI'll play if you want, Tttt7858
14:47:40Tttt7858ok
14:47:50Tttt7858sure
14:48:59Tttt7858 Quit (Client Quit)
14:49:15-sendak.freenode.net- *** Looking up your hostname...
14:49:16-sendak.freenode.net- *** Checking Ident
14:49:16-sendak.freenode.net- *** No Ident response
14:49:18-sendak.freenode.net- *** Couldn't look up your hostname
14:49:24BFLogBot has joined
14:49:57-sendak.freenode.net- *** Notice -- TS for #bitfighter changed from 1370465367 to 1304226610
14:49:57watusimoto has joined
14:49:57BFLogBot2 has joined
14:49:57Nothing_Much has joined
14:49:57raptor has joined
14:49:57kaen has joined
14:49:57BFBuildBot has joined
14:49:57ChanServ has joined
14:49:57sendak.freenode.net changes topic to 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/'
14:49:59bobdaduck has joined
14:50:00Tttt7858 has joined
14:50:00Tttt7858 Quit (Client Quit)
14:50:00BFLogBot2 Quit (Remote host closed the connection)
14:50:00raptorkaen: I got a response on teh SDL2 thing: http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-June/088650.html
14:51:28raptori responded to him, too, you can follow the thread..
14:57:45bobdaduckoptimizing the DnD code is the boring part...
15:12:35raptoralso, i love 'Sleepy'
15:12:41raptorthat is a really cool profiling tool
15:12:55raptorsam686 mentioned it... if only there was a counterpart in Linux..
15:15:38raptorkaen: DeletedTypeNumber still need to be deleted, no?
15:15:52kaenyes
15:16:07raptorohh.. duh
15:16:13raptorthat's in ::deleteObject()
15:16:19raptorok, that makes sense
15:16:39raptorin fact, that makes so much sense that I don't know why that isn't there already
15:19:17kaenmy thoughts exactly
15:38:57BFLogBot Commit: 7b17a409aebd | Author: kaen | Message: Ensure that there is a joystick present before trying to open it
15:39:07kaenBFBuildBot, status
15:39:07BFBuildBotbitfighter-linux-x86_64: idle, last build 1h00m54s ago: build successful
15:39:07BFBuildBotbitfighter-osx-i386-cross: idle, last build 1h01m23s ago: build successful
15:39:07BFBuildBotbitfighter-w32-cross: building('make -j2')
15:44:19raptorBFBuildBot, status
15:44:20BFBuildBotbitfighter-linux-x86_64: idle, last build 4m06s ago: build successful
15:44:20BFBuildBotbitfighter-osx-i386-cross: idle, last build 4m38s ago: build successful
15:44:20BFBuildBotbitfighter-w32-cross: idle, last build 4m50s ago: build successful
15:44:31raptorBFBuildBot: you're awesome!
15:44:31BFBuildBotWhat you say!
15:45:27Watusimoto_ has joined
15:48:07bobdaduckxD
15:59:42raptorWatusimoto_: is that really you?
15:59:51Watusimoto_yes
16:00:13raptordo you have ability to add subdomains to bitfighter.org?
16:00:28raptorlike: buildbot.bitfighter.org :)
16:00:46Watusimoto_I'm not sure
16:00:49Watusimoto_actually
16:01:24Watusimoto_woudl that be a function of the host or the domain registrar?
16:02:47kaendomain registrar
16:02:50kaenin my experience
16:03:29Watusimoto_then probably yes
16:04:03kaenwould you be willing to? :)
16:04:05Watusimoto_that would require me to remember where it is registered
16:04:18Watusimoto_all I remember is it is not godaddy
16:04:49raptoreNom, Inc. (R39-LROR)
16:04:51kaenwhois says enom
16:04:53kaentoo fast, raptor
16:04:55kaentoo fast.
16:04:57raptorhaha
16:05:02raptorwe had the same thought
16:05:06Watusimoto_enom?
16:05:09Watusimoto_I think namecheap
16:05:22raptorenomnomnom
16:06:01kaenah, resellers
16:08:17Watusimoto_thank goodness for lastpass
16:08:20Watusimoto_I'm in!
16:08:28raptorwas it enom?
16:08:38Watusimoto_namecheap
16:08:42raptorah ok
16:08:44Watusimoto_oh look, all my domains are here!
16:10:35Watusimoto_what ip addr should buildbot go to?
16:11:31raptori think its this, with the port: http://198.23.227.119:8010/
16:11:40raptorkaen: still good?
16:12:32Watusimoto_url redirect or url frame or "a" record?
16:13:09Watusimoto_https://www.namecheap.com/support/knowledgebase/article/settingup_hostrecords
16:13:41kaenhmm
16:13:45kaenA record would be best
16:13:55kaendrop the port
16:14:01kaenI'll put it on port 80
16:14:38Watusimoto_so just the ip addr, no port?
16:14:52kaenyep
16:15:29Watusimoto_done
16:22:46raptortada!: http://buildbot.bitfighter.org:8010/
16:22:49raptorcool
16:23:37Watusimoto_hooray!
16:24:39Watusimoto_will the buildbot be able to hunt me down in luxembourg if I checkin something that breaks the build?
16:24:58raptoroh yes
16:25:05raptori've been blamed once already
16:25:21raptorat least - the buildbot tells BFBuildBot to yell at us here in IRC
16:25:57Watusimoto_btw, the joystick buttons look really good with tenby font
16:26:34bobdaduckI can't turn off the helper from the options menu like it says I can
16:26:46raptorhahaha
16:27:23Watusimoto_no, you can't
16:27:44Watusimoto_it's kind of a lie at the moment
16:27:57raptorthere's no 'kind of' about it... :)
16:28:09kaenit's not a lie, per se
16:28:14kaenit's just not a truth yet
16:28:33bobdaduckxD
16:30:02Watusimoto_ok. it's a lie
16:31:41kaenDNS hasn't propagated over here yet :<
16:31:44kaenI hate this part.
16:32:11Watusimoto_I do prefer instant
16:32:27kaenheh
16:48:42bobdaduck Quit (Remote host closed the connection)
17:01:25raptor Quit ()
17:45:54fordcars has joined
17:49:46kaenhttp://buildbot.bitfighter.org/
17:49:47kaenwoo!
17:54:13BFLogBot Commit: 1b29d9f3d51d | Author: watusimoto | Message: Minor adjustments to button spacing
17:55:03Watusimoto_build successful!
17:59:28raptor has joined
17:59:28ChanServ sets mode +o raptor
18:02:32kaenyou can pm commands to BFBuildBot if you don't feel like spamming the channel, btw
18:03:17raptorBFBuildBot: destroy
18:03:17BFBuildBot readies phasers
18:04:30kaenhehe
18:08:41Watusimoto_hey raptor, a quick question before I go to bed
18:08:46raptorc
18:08:49raptorchoose c
18:08:59Watusimoto_b!
18:09:07raptoroh yeah, that's the new c
18:09:14Watusimoto_I'm looking at the dual shock joystick cotnroller as rendered by my new rendering stuff
18:09:19Watusimoto_it has two blank buttons
18:09:27Watusimoto_(as defined in joysticks.ini)
18:09:33raptorah ok
18:09:44Watusimoto_I'm looking at an image of the controller and trying to figure out which buttons those refer to
18:09:49Watusimoto_http://commons.wikimedia.org/wiki/File:PS2_Dualshock2_Controller.jpg
18:09:54Watusimoto_do you have any idea?
18:10:33Watusimoto_the def has the 4 fancy buttons, 4 shoulder buttons, start, and select, and the two unlabeled mystery buttons
18:10:37raptoroh
18:10:43raptorpush down on the joysticks?
18:10:52raptorsam686 has a ps2
18:11:11Watusimoto_I guess that's possible
18:11:24raptorunless....
18:12:25raptorhmmm
18:12:47kaensounds click L3/R3 to me for sure
18:12:54kaener, sounds like*
18:13:08raptoris that the stick presses?
18:13:11kaenyes
18:13:28raptorhttps://lh3.ggpht.com/_6O0QLrGYnHY/TA7OFkSnDMI/AAAAAAAAABw/Z-q0XIjHbFo/s640/PS2+Controller+Labelled.jpg
18:13:39raptoryep, i agree
18:14:01Watusimoto_that's a helpful image
18:14:20Watusimoto_I'm adding it to teh ini
18:14:41Watusimoto_should we label the button icons somehow?
18:14:50raptorL3
18:14:53raptorsounds good
18:15:15Watusimoto_L3/R3?
18:15:21raptoryeah
18:15:36raptorcan't think of anything else..
18:16:11Watusimoto_sure
18:16:23Watusimoto_at least they won't show up as empty circles in game
18:17:06Watusimoto_looks good! (shrinking icon labels work a treat here!)
18:17:54raptorFYI, there is a new SDL2 gamecontroller API
18:18:08raptorthat has presets built in for many controllers on Linux, WIndows and OSX
18:18:15kaenwhoa
18:18:17kaenthat's awesome
18:18:25raptorit uses identifier strings generated from steam's builtin detection
18:18:43kaenahh
18:19:48bobdaduck has joined
18:20:14raptorstarts here: http://hg.libsdl.org/SDL/file/f7805b13b485/src/joystick/SDL_gamecontroller.c#l90
18:20:27raptorhuh, i thought there were more, but I guess that is split up among OSes
18:21:26kaenbetter than nothing
18:21:51kaenlooks like they chose only a few really popular controllers
18:21:53bobdaduckFORDCARS
18:21:58bobdaduckFORDYCAWRS
18:22:08bobdaduckWhat custom dnd weapon
18:22:25raptorbasically you're supposed to plug in your controller, let steam detect it, then grab that identifier string from steam somewhere
18:22:55raptorbut you can also supply a config file with additional ones and have SDL2 load it
18:22:59fordcars:(
18:23:05fordcarsk fine
18:23:18fordcarsbtw I have the whole riday off :)
18:23:23Watusimoto_I have the same question about logitec wingman
18:23:37Watusimoto_unfortunately, I can't find any really good pics
18:23:40fordcarswow I still have one of those
18:23:48fordcarshaha I have one!!!!
18:24:06Watusimoto_this one uses abcxyz T1, T2, XXX, 9
18:24:10Watusimoto_what is XXX?
18:24:18fordcars...
18:24:52raptoruhh
18:25:12Watusimoto_wait a minute
18:25:12fordcarswatusimoto I have a logitech wingman steering wheel by the way
18:25:27Watusimoto_there is no unlabeled button defined in the ini
18:25:48raptormaybe it's a random windows newline!
18:25:48Watusimoto_fordcars: is there even an XXXX button?
18:26:06fordcarseuh no
18:26:27Watusimoto_ok, maybe this is a bug
18:26:44fordcarsit has shoulder right and left, 4 buttons up front, and 2 pedals as I recall
18:27:57Watusimoto_pedals?
18:28:01Watusimoto_like a bicycle?
18:28:13fordcarsgas and break pedals
18:28:17fordcars:P
18:28:32fordcarswhich are on a y-axis I think
18:28:50bobdaduckfordcarzzzz
18:28:53bobdaduckI need know
18:29:23fordcarsWatusimoto_ are we talking about the same thing? http://images.techtree.com/ttimages/story/Logitech-WingMan-Formula-Fo.jpg
18:29:32raptorhahaha
18:29:47Watusimoto_also, our def of this has two (1) buttons
18:29:48Watusimoto_http://multimedia.fnac.com/multimedia/images_produits/zoom/0/3/3/0021165102330.jpg
18:30:00bobdaducklol
18:30:07fordcarsouch
18:30:14Watusimoto_fordcars: no
18:30:19Watusimoto_not like that at all
18:30:23fordcarshaha ok
18:30:29fordcarssorry :P
18:31:03Watusimoto_like this
18:31:04Watusimoto_http://www.five.vn/detail.aspx?t=3251541
18:31:17Watusimoto_not sure where the pedals would go
18:31:43bobdaduck Quit (Remote host closed the connection)
18:31:45fordcarsok yeah we are not talking about the same thing hahahaha
18:31:58fordcarssorry
18:34:19Watusimoto_Also note that if you want to use buttons to start and go back in the menus, you MUST
18:34:20Watusimoto_; define ButtonStart and ButtonBack, even if the buttons you are mapping are labeled with
18:34:20Watusimoto_; a number. For example, in the case of the Saitek P480 Rumble Pad below, the Back and
18:34:20Watusimoto_; Start buttons are actually labeled 9 and 10, respectively.
18:34:24Watusimoto_this from our INI
18:34:43Watusimoto_this clears up a couple of issues
18:35:12raptorsomeone read my documentation!
18:35:15raptorsay it ain't so!
18:36:36Watusimoto_we still need a label for back for this one
18:36:37Watusimoto_http://www.five.vn/detail.aspx?t=3251541
18:36:55Watusimoto_think it's the mode button?
18:37:17raptornot every controller has a Back, if I recall correctly
18:37:20Watusimoto_no, probably not
18:37:31Watusimoto_we've defined a button for it
18:37:43Watusimoto_maybe I should undefine it?
18:37:54Watusimoto_I just don't want any unlabeled buttons
18:38:07fordcarswhy are you guys paying attention to a very little known controller?
18:38:31raptorfordcars: Watusimoto_ is changing the way controller buttons are shown, in-game
18:39:09fordcarsand why the wingman?
18:39:29Watusimoto_amazon says this one has 9 buttons
18:39:33Watusimoto_maybe it has no back??
18:39:49Watusimoto_fordcars: it's part of our legacy controller list; I can either fix it or delete it
18:39:54Watusimoto_fixing it seems easy enough
18:40:06Watusimoto_and since no one has it, if I fix it wrong... no problem!
18:40:54fordcarshaha ok
18:44:52Watusimoto_hold on... the wingman ini entry doesn't define a back button... so this is probably related to the other stick issue I noted earlier
18:45:28Watusimoto_ok, well no worries then
18:46:36Watusimoto_well... that's it for me for tonight!
18:46:36BFLogBot Commit: 0182600b5d4f | Author: watusimoto | Message: Update dualshock controller def with new labels and link to an annotated image
18:46:38BFLogBot Commit: 31d52349053f | Author: watusimoto | Message: Same for other PS2 variants
18:46:39BFLogBot Commit: 0668940b1a11 | Author: watusimoto | Message: Update documentation slightly
18:46:44Watusimoto_good night!
18:46:50raptornight!
18:54:39Nothing_Much Quit (Quit: l8r)
19:01:27fordcarsnight!
19:02:03Watusimoto_ Quit (Ping timeout: 261 seconds)
19:31:51raptor Quit ()
19:37:13raptor has joined
19:37:13ChanServ sets mode +o raptor
19:47:42Nothing_Much has joined
20:03:33bobdaduck has joined
20:05:33bobdaducksmegabyte is gone
20:06:09bobdaduckOKAY HOSTING
20:35:16raptorwhere did smegabyte go?
20:35:27raptorkaen: did you hide it?
20:36:54kaennope
20:37:09kaenkind of nuts that it disappeared the day we were talking about it.
20:37:10raptorit somehow knew we were talking about it..
20:37:13raptorheh
20:37:30kaenaww. it must be shy.
20:39:45Nothing_Much Quit (Remote host closed the connection)
20:40:03bobdaduckmaybe is lordDvgs server
20:40:03bobdaduckxD
20:40:59Nothing_Much has joined
20:42:26fordcarsthe mysterious server....
20:45:51raptorkaen: what would be a good signature for a file writing method exposed to Lua?
20:46:10raptorwriteFile(filename, doAppend) ?
20:53:32bobdaducksure
20:53:38bobdaduckor what about
20:53:57bobdaducklocal, global, very global (game wide, written to file)
20:54:03raptor?
20:54:22bobdaduckI store a variable /very/ globally when I write it to a file.
20:54:49raptorbackground: I have implemented a Lua sandbox - a somewhat protected environment so people can ruin the system through a levelgen script (like they can now)
20:54:51bobdaduckYou should totally just call it that and make it write to a specific file for such things
20:55:05raptorbut I want to give the option to write to a specific directory only
20:55:26raptorbobdaduck: you use the Lua stuff to write to a file?
20:55:34bobdaduckI would for DnD
20:55:38raptorhow would you use it?
20:56:19bobdaduckStore player stats globally (gold, level, exp)
20:56:36bobdaduckand then when I implement questing I could store all that other stuff
20:56:50raptorwould you want to be able to load a file?
20:56:56bobdaduckI dunno
20:56:57bobdaduckIts more like
20:57:05bobdaduckI want to be able to store a permanent variable
20:57:18bobdaduckso like I host dnd once and get to level 3
20:57:27bobdaduckI want to reload dnd and still be at level 3 some other day
20:57:40bobdaduckwriting to a file I can see as useful for like, the log script
20:57:45kaensounds like you want sqlite
20:58:02kaenI think https://love2d.org/ has an extension for that
20:58:06kaen... hint hint ...
20:58:09raptorhaha
20:58:20raptori think i've pointed you to love2d before bobdaduck
20:58:32raptorI agree with kaen, that's your next move..
20:58:36bobdaducklol
20:58:39bobdaducknahhh
20:58:42bobdaduckthat's boring
20:58:44bobdaduckI like bitfighte.r
20:58:57raptorha
21:01:04kaenback to the matter at hand: that signature looks perfect
21:01:16Nothing_Much Quit (Ping timeout: 248 seconds)
21:02:23raptori acn only imagine what persistent data would allow bobdaduck to do
21:02:29bobdaducklol
21:02:53bobdaduckI probably wouldn't use it for much other actually
21:04:22fordcarslater guys, gtg
21:08:41fordcars Quit (Ping timeout: 250 seconds)
21:25:35raptorkaen: how/what should I return in a 'readFile' implementation? an array of lines as strings?
21:28:10raptorI wonder if I can return binary data...
21:37:51raptormaybe base64 the data...
21:46:34Nothing_Much has joined
23:08:16bobdaduck Quit (Remote host closed the connection)
23:30:17kaenraptor, not sure if you've made up your mind yet, but the manual says strings can contain any 8bit value (including \0)
23:30:18kaenhttp://www.lua.org/manual/5.1/manual.html#2.1
23:36:57raptorhi
23:37:11raptori got distracted by trying to make a simple test case for our windows SDL2 issue
23:37:24raptorI finished my test case but it doesn't crash.. :(
23:38:03raptorand I don't have the patience to debug in windows..

Index Search ←Prev date Next date→

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