#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-04-02

Timestamps are in GMT/BST.

00:09:00Watusimoto_hopefully, tomorrow, I'll get levelgens working so they stick around and can respond to events during a game
00:09:14raptorooo
00:09:15Watusimoto_that will be the basis for triggers
00:09:30Watusimoto_ship enters a zone, and asteroids appear
00:09:33Watusimoto_or walls appear
00:09:39Watusimoto_or...
00:10:02Watusimoto_levelgens actually will stick around now, but they can't yet subscribe to events
00:10:15Watusimoto_but once they can, the door is open
00:10:19raptoruh oh
00:10:25raptorthe possibilities!
00:10:31Watusimoto_open just a crack
00:10:44Watusimoto_can't yet delete items
00:10:52Watusimoto_so no opening portals
00:10:55Watusimoto_or whatever
00:11:19raptoron another note: everyone is asking for greater music functionality and more music
00:11:37Watusimoto_I saw the posts earlier today
00:11:49Watusimoto_maybe they'll give us some ideas
00:12:03Watusimoto_ok, need to go to bed
00:12:11Watusimoto_can talk more tomorrow
00:12:15raptorand the pestering in-game... like tying a music file to a map, as wella s player commands
00:12:17raptorok
00:12:22raptorgood night!
00:12:41Watusimoto_music file is tied to maps --always the same!
00:12:59Watusimoto_I <3 taxes!!!!!!!!
00:13:03Watusimoto_good night
00:13:04raptorhehe
00:13:10raptormust be delerious...
00:13:19Watusimoto_the beer was 8%
00:13:20raptornight
00:14:03Little_Apple has joined
00:14:12Little_Applehelloo
00:14:27raptorhi
00:14:43Little_AppleRAPTOR
00:14:54Little_Applei have an idea of bots n stuff
00:15:21Little_Appleraaaaaaptor
00:15:36raptoracknowledged
00:16:18Little_Applewhat if when bots joined a server they hosted their own little client and joined the server kinda like an actual player?
00:16:43raptorthat's what they sort of do... what are you leading to?
00:16:59Little_Applekinda giving bots a little more power
00:17:03Little_Apple:]
00:17:58Watusimoto_ Quit (Ping timeout: 245 seconds)
00:18:01raptorwell, having an actual client is probably overkill - but not coding in more powers on the server with few resources
00:18:13Little_Applei don't mean an entire client
00:18:14raptoryou'd have to enumerate the powers...
00:18:39Little_Applei mean a stripped down version
00:18:50Little_Applethat lets them act like players to a point
00:19:08Little_Applelike letting them make commands
00:19:10Little_Appleor something
00:19:11raptorthey already do
00:19:17raptorwhat you need to do
00:19:17Little_Applei mean
00:19:22Little_Appleserver commands
00:19:32raptoris say what powers you want them to have, then we could code them in
00:19:51Little_Applethem into the bots or the clients?
00:19:57raptorbots
00:20:00Little_Appleaha
00:20:02raptorignore the 'client' idea
00:20:12Little_Applek
00:20:12raptorbots as they are essentially another client
00:20:22raptorbut have limited abilities
00:20:25Little_Applebut the client idea was kinda for bot voice chat :]
00:20:32Little_Applehurr hurr
00:20:50raptornot really - bots as they are could still be programmed to send a voice chat
00:21:04Little_Apple:o
00:21:08Little_Applecoo;
00:22:06raptorlike i say - you should say what specific powers you want them to have
00:22:17Little_Applecould (in theory) bots take a sound file from the sfx file in the bitfighter.app and send it through voice chat?
00:22:27Little_Applethe way it is currently?
00:23:11raptorwell, we'd have to code it in
00:23:12Little_Applei mean powers making them act like players like possible an admin bot that can kick spammers or something
00:23:27raptorso it is possible, if that is what you mean
00:23:57Little_Applean admin bot would be very nice because almost all the time there aren't any admins on a server to kick people
00:25:20Little_Applebecause from what I've found out through messing with bot code is that bots cannot make server commands through chat messages
00:25:30raptornope
00:25:42Little_Applecan they send server commands?
00:26:00raptorthere are two hurdles that need to be done: 1. we code in the abilities you ask for; 2. someone has to make a bot to use them
00:26:11raptorthey cannot at the moment
00:26:17Little_Applebut can they send server commands currently?
00:26:19Little_Appleoh ok
00:27:11Little_Applesimilarly to the global msg command in bot code, could there be a server command command as well?
00:28:04Little_Applebrb
00:28:08Little_Apple Quit (Quit: Page closed)
00:36:24Little_Apple has joined
00:36:30Little_Applehello,
00:37:21Little_Applegrrb
00:37:30Little_Apple Quit (Client Quit)
00:37:57FlynnnNT has joined
00:47:11Little_Apple has joined
00:47:26Little_Applehelloo
00:47:35sam686hi
00:48:03Little_Appleraptor: !!!!!!!
00:49:37sam686well, hearing nothing from someone might mean that person may be away from computer, i guess
00:50:22Little_Appleok
00:50:25Little_Apple:C
00:50:41Little_Apple Quit (Client Quit)
01:26:55FlynnnNT Quit (Quit: This computer has gone to sleep)
01:32:44raptorfinally finished my patch...
01:33:59BFLogBot - Commit 0078f55c6547 | Author: buckyballreaction | Log: Separate key presses from text input in all the UI classes. This fixes the final compatibility problem with SDL2. Includes the following changes: - split all text input code from onKeyDown() methods into a separate onTextInput() method - fix all onKeyDown() methods to properly report if a key press was processed - adapt code for both SDL 1.2 and SDL 2.0
01:51:45FlynnnNT has joined
01:51:51FlynnnNT Quit (Client Quit)
02:01:21FlynnnNT has joined
02:16:09Lone has joined
02:16:13Lonehmm
02:16:21Loneit cuts off my name if i have a space
02:16:31Loneoh well
02:16:33Lonehi
02:20:51Lone Quit (Ping timeout: 245 seconds)
03:00:18raptor Quit ()
04:51:51FlynnnNT Quit (Ping timeout: 244 seconds)
04:56:30FlynnnNT has joined
05:42:09FlynnnNTT has joined
05:42:12FlynnnNT Quit (Read error: Connection reset by peer)
06:24:43koda has joined
06:33:56koda Quit (Quit: koda)
06:49:44sam686 Quit (Ping timeout: 245 seconds)
06:54:47FlynnnNTT Quit (Quit: This computer has gone to sleep)
07:04:43FlynnnNTT has joined
07:06:01FlynnnNTT Quit (Client Quit)
07:14:29kodaws has joined
07:45:57FlynnnNT has joined
08:19:18FlynnnNT Quit (Quit: This computer has gone to sleep)
08:23:43FlynnnNT has joined
09:15:06FlynnnNT Quit (Quit: This computer has gone to sleep)
16:08:09raptor has joined
16:08:10ChanServ sets mode +o raptor
16:08:19raptorgood day!
16:21:44kodaws Quit (Ping timeout: 265 seconds)
16:24:04raptorso my last commit essentially made SDL2 feasible from now on...
16:24:44raptorsorry, not feasible.. rather a reality
16:24:59raptorthe game runs just as well with SDL2 as 1.2 now
17:22:51Watusimoto_ has joined
17:27:03raptorif you want, i could compile the SDL2.dll and create a 'Release SDL2' and 'Debug SDL2' targets in vc++ that compiles apropriately to SDL2
17:38:33Watusimoto_is that necessary?
17:38:43raptorhuh?
17:38:54raptorof course not?
17:39:13raptori mean, it would only be for allowing you to experiment with SDL2
17:39:30raptorand maybe seeing if it is stable enough to move to completely...
17:39:37raptorat least, for windows/mac...
17:42:15FlynnnNT has joined
17:49:01FlynnnNT Quit (Quit: Leaving)
17:52:59Watusimoto_well, we want to go to sdl2 -- do you have questions about its stability?
17:53:48raptornot really, only that it's completely untested from our perspective...
17:56:16raptorwhich is why i suggest we set up parallel build environments to test...
18:00:18Watusimoto_ok, sounds good
18:00:31raptori am open to whatever, though
18:00:46Watusimoto_I'm in a bad spot at the moment, having ripped open a lot of things, with everything broken around me
18:00:52raptorbut i think SDL2 works well the game after finishing that patch of mine...
18:00:53Watusimoto_not sure how Im going to get it all together
18:00:59raptoroh
18:01:04Watusimoto_but...
18:01:33Watusimoto_if you want to set up the parallel builds, that's fine. if it were me, I would just go for it, with the possibility of reverting if it all goes to hell
18:02:00raptorwell... the ifdefs will have to remain in the code if we still want to support linux... :)
18:02:10Watusimoto_the only real limitation on how we should procede is your confidence and the amount of effort you want to expend
18:02:42Watusimoto_so sdl2 does not gracefully degrade to sdl1 for linux
18:03:03raptori've already expended most of the effort - the changes is minor: just alter an include and a linked library
18:03:17raptoron any platform
18:03:26Watusimoto_well, that sounds good
18:04:30raptorok, i'll just alter the vc++ project directly then, since you've reminded me how insignificant a revert will be
18:04:34raptor:)
18:32:32raptorso... are you going to have a hard time merging with my patch from last night?
18:47:38Watusimoto_no
18:47:47Watusimoto_my work is isolated
18:47:54Watusimoto_away from anything UI related
18:47:59raptorok phoew
18:48:12Watusimoto_so... how's your C++ coming?
18:48:24Watusimoto_there's a preschool in NYC that teaches kids C++
18:48:33Watusimoto_are you smarter than a 5 year old?
18:48:38Watusimoto_http://www.npr.org/2012/04/01/149804404/n-y-preschool-starts-dna-testing-for-admission
18:48:42raptoruh... i doubt it
18:48:57raptorah.. new yorkers and education
18:49:27raptortalk about messed up
18:49:44raptor'raising the next generations sociopaths'
18:50:44raptora DNA test now??
18:50:51raptorwonderfu
18:50:52raptorl
18:52:41raptormy favorite: "This is a clinical test that can show us how a child will perform throughout its life."
19:14:45Watusimoto_brilliant, eh?
19:25:44raptorsometimes i wonder if the administrators have kids?
19:39:35raptori think i hate linker errors in vc=+
19:45:53Watusimoto_you did listen to the last line of the story, did you not?
19:47:15Watusimoto_oh, you might like this
19:47:16Watusimoto_http://www.npr.org/blogs/deceptivecadence/2012/04/01/149697309/beethovens-10th-symphony-for-real
19:47:45raptorsigh
19:55:09Little_Apple has joined
19:55:19Little_Applewhy hello there
19:56:55raptorhi
19:57:13Little_Applei has a request
19:58:10raptorI recommend making requests in the forums - we tend to forget long-term things in IRC
19:58:47Little_Applewould it be possible for someone to code in a server command command for bots in?
19:58:58Little_Appleone that enables them to make server commands
19:59:25raptoryes it is possible
19:59:39Little_Applesooo..... could someone? :]
20:00:26Little_Applethat one thing could give bots a ton more potential
20:00:35Little_Appleand usefulness
20:00:38Little_Appleand poop.
20:00:56raptorplease post it in the forums - i could not do it now... and i'm sure i'd forget by tonight. Posting in the forums gives it a chance to become a google code issue that we will consider for longer term
20:01:21Little_Applek
20:01:33Little_Applein technical disscusion?
20:01:42raptorBitfigther Features
20:01:46Little_Appleah
20:01:49Little_Applesoory
20:02:13Little_Appleor what about bots?
20:02:26Little_Appleoh nevermind
20:02:44raptorbitfighter features is probably better - bots is for coding bots, this is a bot ability, not a bot
20:04:35Little_Appleyea
20:05:11Little_Appleposteded
20:05:52Little_Appledo you think it would ever be implemented?
20:05:54raptorgood
20:06:00raptormaybe
20:06:05raptorseems like it could be useful
20:06:05Little_Applei hope sooo
20:06:11Little_Apple:3
20:07:02Little_AppleI'm thinking the most useful application for it would be an admin bot
20:14:11Little_Appleadios
20:14:14Little_Apple Quit (Quit: Page closed)
20:19:18Watusimoto_wait till he sees the extended-life level gens
20:19:26raptorhehe
20:19:27Watusimoto_that would be the place for admin functions
20:19:37Watusimoto_I'm going to create a kickbot
20:19:48Watusimoto_that kicks lippy players
20:19:54raptorand if you enter a zone, you get kicked?
20:19:55koda has joined
20:19:56raptoror that...
20:20:03Watusimoto_now that would be funny
20:20:28Watusimoto_"You have been disconnected for entering a forbidden zone. Your IP is banned for 2 minutes."
20:20:34raptorhaha
20:20:51Watusimoto_that's why an admin bot is a bad idea
20:21:38raptoryes.. make the level do it instead!
20:23:31raptorhmm... our transparent cursor isn't so transparent in sdl 2
20:23:35raptorit's black instead
21:06:01zoomber_mbp has joined
21:10:58Watusimoto_black cursor of doom
21:11:01Watusimoto_rises again
21:11:09raptori have no idea how to fix...
21:11:21Watusimoto_what's the problem?
21:11:33Watusimoto_when the cursor is supposed to be off it's on?
21:11:36Watusimoto_and black?
21:11:40raptorso you know how we set a transparent cursor when using the keyboard?
21:11:53Watusimoto_oh, right, in the menus
21:11:59raptorwell, on windows only, it leaves a black square
21:12:14raptorit's also visible in-game, too...
21:12:46Watusimoto_so how do we set it? (looking)
21:13:08Watusimoto_cursorTransparent
21:13:17Watusimoto_all 0s
21:13:22raptoryes
21:13:40raptorand all other cursors are fine with the zeros making transparent edges...
21:13:43Watusimoto_Can you tell if the mask works? i.e. can you see a black halo around other cursors?
21:14:00raptorthere is not a halo around other cursors
21:14:24Watusimoto_ok... how about, just for fun, making one of the pixels visible, and see if that (almost) fixes it
21:14:59raptorok
21:15:13Watusimoto_or giving the cursor dimensions of 0x0
21:16:56raptorso we even set these members anywhere?: width, height, hotX, hotY
21:17:01raptorin Cursor.h
21:17:29raptorhehe - the one non-transparent bit works
21:17:45raptorand you can barely notice the black dot left behind
21:22:15raptorah i see now
21:22:25raptorwidth, height is set in that array...
21:24:06Watusimoto_in the struct, yes
21:26:09raptorwell
21:26:21raptordespite this cursor problem, should I commit my change to SDL2 for vc++?
21:26:31raptoreverything else seems to work ok
21:26:34Watusimoto_sure
21:26:44Watusimoto_did you try setting size to 0,0?
21:26:54raptoryes
21:26:58Watusimoto_no dice?
21:27:01raptorand the cursor just doesn't go away
21:27:08Watusimoto_ok
21:27:19Watusimoto_well, maybe this is a bug in sdl that will get fixed
21:27:22Watusimoto_sounds pretty minor
21:27:57Watusimoto_one other possibility would be to use an external image as a cursor, and empty image
21:28:10Watusimoto_not sure how to do that, but maybe there's a good way in 2.0
21:28:38raptorhmm, ok
21:29:13Watusimoto_just an idea
21:30:02Watusimoto_just thinking the problem might be related to the format, rather than empty cursors per se
21:30:11Watusimoto_or maybe there's a different way to turn the cursor off
21:30:16raptorwell
21:30:22Watusimoto_that bypasses the issue altogether
21:30:37raptorthe transparent cursor is a workaround for a bad implementation of disabling the cursor in SDL 1.2
21:31:01Watusimoto_maybe that's been fixed
21:31:18Watusimoto_we need a workaround for our workaround
21:32:06raptorha!
21:32:21raptori used upx on SDL2.dll and reduced from 550K to 210K
21:32:42Watusimoto_what's upx?
21:32:57raptorsomething we should be using...
21:33:04raptorhttp://upx.sourceforge.net/
21:34:01Watusimoto_compresses the exe and dlls?
21:34:16raptoryes
21:34:28Watusimoto_interesting
21:34:29raptorand in-place decompresses them on load
21:34:38Watusimoto_though our package is already so small...
21:34:50Watusimoto_well, not _my_ package :-)
21:35:05raptoryes, NSIS uses similar techniques in the installer
21:35:18Watusimoto_cool
21:35:20raptorbut the binary itself - i just reduced from 3.3 to 1.2 MB (bitfighter.exe)
21:35:27Watusimoto_wow
21:37:56-RichiH- [Global Notice] It sure is announcy around here as of late. Things will settle down again, but freenode broke the 80,000 user barrier today. Details can be found at http://planet.freenode.net/
21:38:09raptorok
21:38:12raptorpushed changes
21:38:22raptornext pull of yours will have compiling with SDL2!
21:40:28raptorsam686 will be in for a suprise... I don't have vc++ 2005/8 to be able to alter his project..
21:40:41BFLogBot - Commit 2eb42166698f | Author: buckyballreaction | Log: Default Windows building to use SDL2 and add in the libraries (upx-compressed)
21:43:21Watusimoto_ha
21:45:49raptorok, i'm out for a bit...
21:46:03raptorsorry you'll have to do a full recompile with my last checkin...
21:46:11Watusimoto_no worries
21:46:15Watusimoto_later!
21:46:22raptorbye
21:46:24raptor Quit ()
21:46:35zoomber_mbp has left
22:17:37kodaws has joined
22:22:01kodaws Quit (Ping timeout: 252 seconds)
22:29:30koda Quit (Quit: koda)
23:15:56raptor has joined
23:15:56ChanServ sets mode +o raptor
23:20:38raptorhullo again
23:32:51Watusimoto_hi
23:33:00raptorhi
23:33:02Watusimoto_refactoring stuff I didn't want to get into
23:33:03Watusimoto_blech
23:33:22Watusimoto_like chatting
23:33:41Watusimoto_but, did reduce code duplication
23:36:40raptoryay
23:36:47raptorchatting is horrid
23:39:18Watusimoto_well, it won
23:39:19Watusimoto_;t be much better
23:39:23Watusimoto_just different
23:39:28raptorhaha
23:39:49raptori should migrate the Mac project to SDL2 now...
23:39:53raptorugh mac ugh
23:40:44Watusimoto_hey on your current code, is s2cDisplayChatMessageSTE used anywhere?
23:41:13raptorlet me check... i'm not sure - i doubt it unless it's a quick chat
23:41:23Watusimoto_that would be the place
23:41:32Watusimoto_I just got rid of it, but not sure why
23:42:50raptordoesn't look like it is used...
23:42:56Watusimoto_good
23:43:10Watusimoto_am calling levelgens that stick around "ControllerScripts"
23:43:16Watusimoto_formerly supervisor scripts
23:43:16raptorwait...
23:43:28raptorcontroller script activate!
23:43:52raptors2cDisplayChatMessageSTE is used once
23:44:02Watusimoto_was
23:44:03raptorby GameType::c2sSendChatSTE
23:44:14raptorwhich is only used once:
23:44:14Watusimoto_can you post me that function?
23:44:22Watusimoto_no, forget it
23:44:24raptorQuickChatHelper::processInputCode
23:44:30Watusimoto_it's only for quick chats, and who really cares
23:44:37raptorquickChatHelper.cpp:163
23:44:46raptorline 207 i mean
23:44:52Watusimoto_we don't need a separate method for those. They can become regular chats at some point
23:45:13Watusimoto_the idea is that the messaegs are repeated, but really they're not often repeated
23:45:32raptornope - and people customize them anyways into long annoying once or ascii art
23:45:44Watusimoto_really?
23:45:45raptor*ones
23:45:47raptoryeah...
23:45:51Watusimoto_lovely
23:46:07Watusimoto_so I won't feel bad about removing it... yet somehow I do
23:46:14raptorhaha
23:48:39Watusimoto_it works!!!!
23:48:46raptorit's alive!!
23:49:07Watusimoto_yes
23:49:14Watusimoto_you can chat with a levelgen!
23:49:31Watusimoto_though it's not too talkative
23:49:40Watusimoto_and I probably broke tons of stuff getting there
23:57:02raptori wonder how long we should support OSX Tiger (10.4)
23:57:49raptorit's no sweat off my brow.. it's just that Apple is trying to kill it

Index Search ←Prev date Next date→

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