#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-04-29

Timestamps are in GMT/BST.

00:05:13BFLogBot - Commit 159fd8a17579 | Author: sam8641 | Log: throw might be better then shutdownBitfighter, fix missing printf arg to fill in "%s"
00:08:57HeyubSorry Beard, tried multi tasking and dropped the ball :)
00:13:15IAmBeardno worries man, no, i was just taking a break from programming
00:13:31IAmBeardbut it was a good game :P
00:13:43Heyubsure was :P
00:14:00IAmBeardjust you wait until i'm not playing with my touchpad :)
00:14:16HeyubI actually prefer touchpads in most cases...
00:16:55IAmBeardmaybe if i was full screen, i guess...i kept accidently resizing the window
00:17:15IAmBeardsam686, did you address those menu input issues?
00:26:21sam686i just came back from eating some food..
00:41:01IAmBeardah, no worries
00:56:37IAmBeardso, i was originally moving all the source code into separate folders, but I didn't realize i could do this virtually with msvc++, so I'm reverting to that (because fixing a few hundred paths isn't cool at all)
00:56:54IAmBeardso essentially, this shouldn't break any of the build scripts
00:57:46sam686yes, visual c++ can use such virtual folders (only if "show all folders" button is not being on)
01:09:18IAmBeardsam686, do you think many of the devs would be offended if i got rid of boost?
01:09:43IAmBeardit appears like we're not really using it, and we do take a hit on compile times
01:10:38sam686i don't know about watusimoto. (i think raptor don't really care)
01:12:01sam686only thing used is shared_ptr, though TNL have RefPtr that have similar features (and there is SafePtr, changes to zero NULL when deleted)
01:12:35IAmBeardbut that''s one utility that we could definitely write on our own, afaik
01:12:45sam686main difference is RefPtr can't be deleted. (though they auto-delete when no more reference to it)
01:13:07sam686yes
01:13:41sam686one other thing used in Boost is in BanList.cpp "boost/date_time/posix_time/posix_time.hpp"
01:14:45IAmBeardyeah, i noticed that - i'm sort of confused at that, since we can just use a system time
01:14:50IAmBeardor a unix timestamp
01:15:19IAmBeardall should be available in #include <ctime>
01:15:37IAmBeardbut anyway, i'm not there yet, i'm just trying to get a clearer picture of what I need to do next
01:15:47sam686yes,
01:16:10IAmBeardone thing i do need to know, however, is the relationship between the master project and the bitfighter project. why are they two different projects?
01:16:15sam686though i mostly didn't write the banlist.cpp (i think raptor did)
01:21:53Opti has joined
01:22:11Optisup
01:22:18sam686hi
01:22:18Opti is now known as Guest80102
01:22:37sam686problem with /nick and nick in use?
01:23:43HeyubHello guest! :P
01:24:32IAmBeardi think it's coffee o'clock in the EST timezone :P
01:25:08HeyubI don't drink coffee.
01:25:20IAmBeardIt's probably for the better
01:25:43IAmBeardHeyub, if you don't mind me asking, how old are you?
01:25:53IAmBeardI don't mean that disrespectfully
01:25:56HeyubSeventeen
01:26:17Guest80102 Quit (Ping timeout: 245 seconds)
01:26:22HeyubMy dad drank coffee every day while he was growing up, now he gets cafein headaches.
01:26:59HeyubI
01:27:07Heyub've also seen it do anumber on several peoples teeth.
01:31:22IAmBeardjust remember, when you hit college/university, coffee can be a friend in small doses
01:31:31IAmBeardor chocolate covered coffee beans, your pick
01:32:41HeyubI avoid cafein at all costs.
01:33:50sam686as for the master and bitfighter projects, the master project is mostly for testing the master (with mysql, free to install it) to test and avoid problems, though only used primary to run one master..
01:35:23sam686there is bitfighter_dedicated.vcproj, mostly to test for any errors (mostly for compile errors), which have ZAP_DEDICATED defined..
01:35:25IAmBeardtesting the master what?
01:36:36sam686mostly master use mysql database, which i can run a test set of mysql data (mysql is free to install, then add in some schemas, phpbb for registered name testing, and so on)
01:38:11sam686for example, testing game stats http://sam686.maxhushahn.com/bitfighter/1/index.php (except i have 2 computers set up almost the same way, phpbb, mysql, apache httpd, php)
01:42:11IAmBeardalright, coffee date with my wife, bbi30min
01:47:12sam686 has left
01:47:28sam686 has joined
01:47:29ChanServ sets mode +v sam686
02:02:11raptor has joined
02:02:12ChanServ sets mode +o raptor
02:05:55raptorhowdy folks
02:06:40HeyubHey raptor
02:06:52raptorcoffee is one of the most horrible drinks on the planet
02:06:59raptor shares his two cents
02:07:02HeyubAmen!
02:07:12raptorok, now back to programming... :)
02:08:01sam686i don't like (mostly never tried) coffee, and i don't like the smell of coffee
02:09:14raptorwait wait wait... karamazovapy showed up for like 1/2 an hour?
02:09:20raptor is reading the logs
02:09:36sam686maybe yesterday, not today
02:09:38HeyubHe crashed the conversation then left :(
02:09:45raptoraww man
02:09:52raptormaybe he'll make a real appearance some day...
02:10:31sam686but, i don't know if that a real karamazovapy... (never logged into forum, never chatted here yesterday)
02:18:59raptori'm totally broken
02:19:15raptori cannot compile at all since watusimoto's luawrapper change...
02:21:57Heyub:o
02:23:22HeyubI hate windows... theres some hotkey Im pressing that keeps closing chat windows while Im typing...
02:23:42raptorhaha, hidden key combos of doom
02:25:11HeyubIf everyone wasnt so anti PPC I wouldnt be using this windows computer.
02:26:25raptorppc was a good architecture in my opinion - a little pricey though
02:26:26sam686ppc? mostly mac use ppc (though later mac operating system uses intel only)
02:26:51sam686there is still some linux ppc that is up to date, i think
02:27:17HeyubMy mac is PPC...
02:27:17raptorLuaWrapper.h is all out of order
02:27:38raptorgcc requires header methods to be in order...
02:27:46raptorif they require previous one...
02:28:42HeyubThe majority of mac games have killed support for PPC, infact java has canceled supporting PPC
02:28:54raptorreally?
02:28:57HeyubYeah.
02:28:57raptorthat's odd with java
02:29:12HeyubVery, I think apple might be behind it- wants people to upgrade to intel.
02:29:38HeyubThey had a really nice mac games list, but they moved it to their "app store" which requires an intel...
02:29:49HeyubEssentially you can't get mac software, unless on disc, for PPCs
02:29:52raptori wonder if openJDK runs on mac
02:35:09HeyubDunno never done anything with java.
02:41:59IAmBeardraptor, i'm almost at the point where i'm thinking of completely changing the codebase for bitfighter
02:42:10raptorhi
02:42:19IAmBeardlike structure and class heirarchy
02:42:24IAmBeardhi, btw :)
02:42:30raptorare you planning on forking the game completely and running it in a different direction?
02:42:57IAmBeardnot a different direction, just some serious code cleanup
02:44:25raptorcode clean-up is important, but i'm thinking that a good place to start contributing would be with the issues list: with small patches and the like
02:44:42raptorat least until you get used to the code at large and then we can talk about refactors
02:46:55IAmBeardyeah, right now the code looks like the people that originally wrote Zap! were lunatics, and then you gents kept the code that way simply because it worked
02:47:16raptorhehe, i can see that
02:48:47raptoroh, also.. if you want changes to be accepted into trunk, the following are some good guidelines:
02:49:53raptor1. keep commits small: roughly one changeset per issue or bug fix (whatever that may be - it can span several files of course)
02:50:32raptor2. document! please, especially with any tricky code - some of us may need to learn it :)
02:51:27raptori gotta stop playing naev - it's a mind-numbing time waster
02:51:51raptorIAmBeard: i'm almost done with fixing the input bug with spaces
02:56:30IAmBeard:)
03:03:29raptorwoo
03:03:30raptorfixed
03:03:33raptorand pushed
03:03:42raptorsam686: what was the other bug i said was my fault?
03:04:03sam686cloaking doesn't hide ship flames
03:04:46raptoroh yeah..
03:04:47raptorok
03:05:49BFLogBot - Commit 8553bc6a84ba | Author: buckyballreaction | Log: Code, be thou compilable again
03:05:50BFLogBot - Commit ca26b3b7faf0 | Author: buckyballreaction | Log: Fix spaces not working in TextEntryMenuItem
03:06:12raptor Quit ()
03:08:58IAmBeardsam686, in mercurial, how would i pull from bitfighters repo into my cloned copy?
03:09:51sam686are you using turtoiseGH or just a command line of HG?
03:09:56IAmBeardcommandline
03:10:32sam686hg pull https://code.google.com/p/bitfighter/
03:11:02IAmBeardah, i wasn't sure, since i'm used to git's git:// urls
03:11:16sam686then do "hg up tip" or such (but you might need to merge)
03:12:42sam686basically, it is in the google code "checkout" (just the URL part) you can hg pull
03:13:23IAmBeardawesome, thanks
03:17:35sam686well, such irc smilies gets annoying ( i can turn off such smilies / faces) ( git:// turns into 2 smilies by the way: http://sam686.maxhushahn.com/upload/irc_smilies_are_annoying.png )
03:21:12IAmBeardthat's odd
03:21:16IAmBeardyou should disable those
03:21:20IAmBeardlol
03:29:07sam686i guess kvirc users (i think Heyub use kvirc) can simply turn off by typing this: /option boolDrawEmoticons 0
03:33:33raptor has joined
03:33:34ChanServ sets mode +o raptor
03:35:14raptorsam686: did you add the bug 'ldw keys not working in host game menu'?
03:35:29Heyub has left
03:35:36Heyub has joined
03:35:45sam686not sure, not me
03:35:49Heyubbah hotkey of doom. ANyways, I do use kvirc
03:36:27raptordoom!
03:36:44raptorhaha, i see flames flying around, but no ship...
03:37:08sam686http://bitfighter.org/wiki/index.php?title=Running_Bug_List&diff=4400&oldid=4398
03:37:17sam686looks like watusimoto added
03:37:23raptori have no idea what that means
03:37:51sam686go to host menu, and press D I F on where you suppose to fill in the server name and similar
03:38:42raptoroh man...
03:38:57raptorthat's tied to the quick-keys that watusimoto coded
03:39:58sam686now i am getting compile errors in luaWrapper after raptor 's changes... http://sam686.maxhushahn.com/upload/text1204/120428_22-04-49.txt
03:40:45raptorargh
03:41:01raptori needed to forward declare that method to get it to compile for me...
03:41:20raptorI have another idea to fix...
03:43:30raptordoes vc++ not like that i added a forward declaration for a method?
03:45:57BFLogBot - Commit bad4024ac311 | Author: buckyballreaction | Log: Fix visible ship flames when cloaked
03:46:14IAmBeardgents, i've done a second clone, this one is for any bug fixes I want to submit
03:46:29raptorhooray for clones!
03:46:38raptori think Zoomber still has a ton out there
03:46:44raptori once had 3 or four, too
03:47:09IAmBeard:P
03:47:14raptorok sam686, i think i have a fix - testing again..
03:47:27raptoroh, i'm an idiot
03:47:34raptorit's because of the default parameters...
03:49:50raptorok sam686, i pushed the change
03:51:00BFLogBot - Commit 50f3d69ffc04 | Author: buckyballreaction | Log: Forgot to remove default parameters in forward declaration
03:52:20raptorok next bug...
03:55:49HeyubI never knew raptors ate bugs, thought they was carnivores :)
03:56:19raptormeat comes in all flavors - it's the quantity you have to worry about
03:56:43HeyubHaha
03:57:47raptorman, there's nothing like knowing a bug is your fault to motivate you to get it fixed
04:00:24HeyubUnless you work for the government :)
04:00:29raptorhaha
04:00:58HeyubWell I better head to bed now, good night!
04:01:02raptornight
04:01:11raptorsam686: i think i broke LuaWrapper again...
04:01:19raptordoes it compile for you this time?
04:01:34sam686it compiles for me now...
04:01:54raptorargh, now it doesn't for me... i thought it did before i commited...
04:02:44sam686what did you do, make without -B ? or full rebuild?
04:02:53raptori did a full rebuild...
04:03:16raptori guess i looked at the wrong terminal window to show that it was completed (I use several)
04:13:14IAmBeardcompiles for me fine, too
04:13:30raptorIAmBeard: what system are you on again?
04:13:52IAmBeardwin7 32bit
04:14:01raptorok thanks
04:14:17raptorGCC you bane of my existence!
04:14:26IAmBeardi can test on ubunutu x64 too, if needed
04:14:31raptornah
04:14:35IAmBeardyou no like gcc?
04:14:41raptorgcc is great
04:14:58raptori just sometimes wish it wasn't so pedantic
04:15:26raptorbut it helps a lot with keeping code *proper*
04:15:31IAmBeard:)
04:17:57raptorbah
04:18:08raptorok, i'll just move the entire class to the bottom of the header...
04:20:38sam686except a problem with gcc (maybe a problem with c++ specs instead?), i think, is the one trying to use at ServerGame.cpp line 95
04:20:59sam686note the added "+"
04:21:01raptorc++ spec...
04:21:04raptorthat was nuts
04:22:22IAmBeardwhich file has the server hosting menu?
04:22:31raptorgot that fixed!
04:22:34IAmBeardlike to start hosting
04:22:41raptorUIMenus
04:23:39IAmBeardwhen i do the huge planned rewrite, do you gents oppose me moving the menus into json files, and the menus get dynamically parsed at runtime?
04:23:41raptorok, fixed the host game UI problem sam686
04:23:57raptori would talk to watusimoto about that
04:24:11raptori think once he suggested we move a lot of the data to Lua
04:24:29IAmBeardyeah, just something that we don't have to recompile every time there's a change
04:24:44raptorwell, you can do an incremental recompile, right?
04:25:12IAmBeardit's true, but it just seems unnecessary to recompile a text based menu
04:25:21IAmBeard*for a text...
04:25:26raptorit's not really a big deal, i don't think - but i may be spoiled by my laptop being an i7
04:26:05BFLogBot - Commit a343adec688e | Author: buckyballreaction | Log: Fix LuaWrapper again... just put LuaProxy at the bottom of the file
04:26:07BFLogBot - Commit 7b2308524ee0 | Author: buckyballreaction | Log: Fix menu shortcut keys not working in text input menu items
04:26:24raptorah, well, so far none of my UI menu changes would have not needed recompiling: they were all bug fixes dealing with the input system
04:26:34IAmBeardi've got a quad core myself, it doesn't take that much time, but for instance, with a menu-based bug, it doesn't seem that it's something that needs to be fixed by an executable
04:26:43IAmBeardfair enough
04:26:54raptorthese menus bugs would have needed recompiling :(
04:27:27raptorbut i agree - eventually it would be nice to abstract some more of the in-game resources to easy-to-edit files
04:27:59raptorsam686: please test my latest LuaWrapper change to make sure it compiles...
04:28:13raptori *hope* it still works for you
04:28:29sam686i wich i had multiple cores on my old computer, 1 have 2 slow computer, one is very old pentium 4, and the other is a snall laptop having intel atom (both have hyperthreading, but only goes about 1.5% faster when compiling in 2 threads
04:28:44raptoroh sam686, have you ever thought of using icecream?
04:29:18raptorerr... i guess the non-SUSE variant is 'distcc'
04:29:19sam686for what? icecream on my computer is so cold, it freezes my computer (joke)
04:29:23raptorhaha
04:29:33raptorit's a distributed compile system
04:29:43raptorlet's you set up clients to speed up compiling
04:30:21raptori was thinking of this: http://en.opensuse.org/Icecream
04:30:26raptorbut ubuntu might not have it
04:30:46raptorhere: https://code.google.com/p/distcc/
04:30:59sam686compiling still works, keep in mind i use windows
04:31:17raptoroh duh...
04:31:20raptorsorry
04:31:43raptorLuaWrapper still works, you mean?
04:32:17raptorok, what bugs left do i have?
04:32:30sam686maybe useful for linux (compiling the normal way is kind if equally as slow in linux as in windows vc++2008)
04:34:32IAmBeardraptor, any bugs you want squished?
04:34:40raptorall of them!
04:34:47raptorbut especially cockroaches
04:35:16raptoractually, we have a couple here: http://bitfighter.org/wiki/index.php/Running_Bug_List
04:35:26raptorand there is always the issues list:
04:35:28raptor!bug
04:35:28BFLogBotTo enter a bug, please make sure it is reproducible and then go to http://code.google.com/p/bitfighter/issues/list | Also, see current running bug list: http://bitfighter.org/wiki/index.php/Running_Bug_List
04:35:47raptor!BFLogBot
04:35:53raptor!bot
04:35:53BFLogBotI'm a real boy!
04:35:57raptorthere we go
04:37:53sam686there the LUA crash (first /addbot then change level to levelgen)
04:38:00raptoroh good
04:38:41sam686and, there a missing args for %S that I have just fixed... logprintf("Fatal error running Lua code: %s. Possibly out of memory? Shutting down Bitfighter."); // WRONG
04:38:54raptorhaha
04:39:12sam686doing logprintf wrong can crash
04:39:23raptorblech
04:42:34raptorok, well, i'm heading to bed
04:42:36raptorgood night!
04:43:37sam686can filenames can have spaces?
04:43:51raptori don't think so - there is another filter for it
04:44:12sam686can't put spaces in "level to edit" screen
04:44:22sam686but you can put spaces in game parameter menu
04:44:35raptorcan't in 017a
04:44:48raptorcan't in 015a either
04:45:02raptoryeah, there is a separate filter put on top of it to keep simple level names
04:45:02sam686as in, game parameters menu have a "Filename:" that allows spaces
04:45:31raptorwell that's odd - 015a did that, too
04:45:57raptorok, almost unconscious...
04:45:58raptornight
04:46:42sam686oh, and the game parameters menu "Filename:" allows "/ \ | ? *" all of which will probably fail to save with those chars.
04:47:50sam686oh and "com1" "com2" "con" will fail to save as well (probably limited in windows)
04:48:04raptorwhat?
04:48:19raptorweird
04:48:47sam686it pretends it has saved, but the file isn't there...
04:50:02sam686windows file manager claims that "com1.txt" already exists (really it does not exist), and says to specify a differnt name
04:50:12sam686when trying to rename
04:50:19raptorthat is so weird
04:50:42sam686might be a few reserved name (probably back in the DOS days)
04:51:06raptorinteresting - that's a funny quirk
04:51:55sam686maybe the level saver should check if the level have actually there or not after saving..
04:52:03IAmBeardyeah can't use com# files on windows
04:52:12raptorgood idea
04:53:32raptorok good night for reals now
04:53:37raptor Quit ()
05:18:52IAmBeard Quit (Quit: Leaving)
05:58:47kodaws has joined
07:34:44sam686 Quit (Ping timeout: 245 seconds)
10:07:16LordDVG has joined
12:38:57LordDVG Quit (Remote host closed the connection)
12:58:14LordDVG has joined
14:33:16raptor has joined
14:33:17ChanServ sets mode +o raptor
15:35:39HeyubGood morning
15:35:48raptormornin
15:39:58HeyubI did manage to make an octogon look tubular, no way to get a hexegon to look tubular :(
15:41:46raptori have no idea what that means...
15:42:05HeyubBecause its totally off-topic :P
15:42:33HeyubDo you have any experience in 3d modeling?
15:43:55raptori installed blender once...
15:44:07raptorand was completely overwhelmed
15:44:22HeyubYeah thats how I started also
15:45:42HeyubGetting better though, I'll tell you what really helped though; http://gryllus.net/Blender/3D.html
15:46:47HeyubThe video tutorials are very short and to the point, the ones that were key for me getting started were the 3d navigation ones.
15:56:28raptoroh my goodness - blender documentation for my Linux distro is over 400MB
15:57:07Heyubwow
15:57:42HeyubWell, I guess when you consider all of the functions blender has...
15:58:02raptormust be example files, etc.
16:09:35Watusimoto has joined
16:16:06raptorsadly ChumpChange beat you in most games played, Heyub...
16:16:12raptor:)
16:17:08HeyubChumpChange is multi-usering :(
16:22:57Heyubwow 151 games played.
16:23:35HeyubThats pretty good number!
16:23:40raptorwow, i came in second for official games.. that means i played too much and coded too little..
16:24:09Heyublol
16:28:07raptorWatusimoto: i fixed the menu input bugs
16:29:22raptorhopefully, that was the last of the SDL2 migration bugs... but i doubt it
16:31:41HeyubSpeaking of bugs... I read something very interesting awhile back. This retired guy would melt down aluminum and pour it into ant hills
16:32:08HeyubAnd the aluminum would fill the holes in the anthills, as if it were a mould :)
17:00:32raptori looked that up - that's neat!
17:28:13Watusimoto_ has joined
17:30:40Watusimoto Quit (Ping timeout: 265 seconds)
17:54:37IAmBeard has joined
17:54:51IAmBeardlooks like we have a full house here
17:57:14IAmBeardgood afternoon
17:59:17HeyubGood afternoon! :)
18:18:00raptor Quit ()
18:37:03kodaws Quit (Ping timeout: 244 seconds)
18:45:09IAmBeard Quit (Ping timeout: 240 seconds)
18:46:28Watusimoto_hi sort of
18:47:53sam686 has joined
18:48:10ChanServ sets mode +v sam686
18:48:22Watusimoto_back in a bit
18:49:35sam686 Quit (Client Quit)
18:49:45sam686 has joined
18:49:46ChanServ sets mode +v sam686
18:52:39Watusimoto_ Quit (Ping timeout: 245 seconds)
19:08:30Watusimoto has joined
19:10:18Watusimotoback
19:11:13Heyubwb
19:11:23Watusimotoyt
19:27:16IAmBeard has joined
19:51:41IAmBeardsam686 / Watusimoto , is it reasonable to assume that we'll eventually me migrating to a SDL2.0 release (as in not supporting 1.2)?
19:51:54LordDVG Quit (Remote host closed the connection)
19:52:12Watusimotoyes -- I think we've already done that
19:52:24Watusimotoat least in the repo
19:52:27IAmBeardyeah, but you're keeping SDL1.2 as a linux backup?
19:53:11Watusimotowell, not sure. Maybe. Only Raptor knows the answer for sure. Is SDL not yet out for Linux?
19:53:18Watusimotosdl 2
19:55:51IAmBeardwell, it is, but there is a lot of distribution issues with trying to install SDL2 alongside SDL1.2
19:56:16IAmBeardmost people just do custom installs
19:56:20Watusimotosorry, is sdl2 out for linux
19:56:40IAmBeardalthough I think it's safe to assume that if people are building bitfighter from source on linux, they should be able to setup SDL2
19:56:48Watusimotooh, I see
19:57:08IAmBeardotherwise, if we distribute the executable, we could just statically link to SDL
19:57:10Watusimotoyou're asking if we're supporting people building bitfighter when they only have sdl 1.2
19:57:21IAmBeardwhich means a bigger file size, but shouldn't be huge
19:57:22Watusimotonot related to distributing
19:57:33IAmBeardah, sorry, yeah, I didn't word that really well :S
19:57:45Watusimotowell, I think not... but as I said, only raptor knows for sure
19:57:59Watusimotohe's handled all our sdl issues, including the transition from glut
19:58:07Watusimotoit's been a huge amount of work
19:58:15IAmBeardyeah, I completely understand that
19:58:34Watusimotoand I've tried to let him run with it since he wanted to take it on
19:58:49Watusimotoso I don't really know the details! :-)
19:59:19IAmBeardthe reason I ask is because as you know, but doing a huge code reorganization and cleanup to give you gents, and I'm just trying to figure out if we can trim out any dependancies that we don't absolutely need
19:59:22WatusimotoI think you can assume for the moment that we are taking the logical path, whatever that is
19:59:48IAmBeardheh :)
19:59:51Watusimotoright.
19:59:59Watusimotosorry I can't give you a definitive answer!
20:00:05IAmBeardno, that's completely alright
20:02:21IAmBeardone of my main goals is to get you guys using more exception handing and class segregation
20:02:36IAmBeardso i've been restructuring a lot of the stuff
20:11:29Watusimotook
20:11:55Watusimotowhen you say exception handling, are you referring to try/catch constructs?
20:14:12IAmBeardyeah'
20:15:52IAmBeardi noticed you already were doing signal exceptions
20:18:33IAmBeardbrb, dog needs a walk
20:18:38IAmBeardor just a poop
20:18:41IAmBeardmaybe both
20:18:47Watusimotocurrently, we use exceptions primarily for handling the lua code, which, when it goes wrong, can be very difficult to unwind in an orderly fashion.
20:19:37WatusimotoI'm not opposed to using them elsewhere, but would prefer to use them only for truly exceptional cases, i.e. when "traditional" error handling is awkward
20:20:25WatusimotoI'm less a fan of the java method of treating every error condition as an exception, though there is a certain elegance to that when designed properly
20:22:15Watusimotowe also seem to use exceptions to catch errors when saving files from the level editor. Not sure why -- maybe because my day job was java work when I wrote that
20:24:06Watusimotoor maybe it actually makes sense there
20:52:49IAmBeardfrom my experience, it's almost always good to have a large try/catch in the main entry point of c++ code, and then use them sparsely inside the code
21:01:45Watusimotoand what does that do? give you some overall level of error handling if something goes unexpectedly wrong?
21:12:14IAmBeardyeah, it's sort of like a debug blanket, but individual pieces of the code should handle errors autonomously if possible
21:12:47IAmBeardthe only time an exception should be thrown in that model is for an unrecoverable error were the program should shut down
21:16:38TheBeard has joined
21:16:59IAmBeard Quit (Disconnected by services)
21:17:05TheBeard is now known as IAmBeard
21:21:11WatusimotoThat makes sense. The way we handle things now is when we detect an unrecoverable error, we head straight to exitToOs() that does our cleanup and exits. Routing that stuff through an exception might make sense in that we can provide some info about where things wen't wrong; we do this on an ad-hoc basis now, but maybe it could be improved
21:22:22IAmBeardagreed
21:30:14Watusimotook, I'm heading to bed in about 5 mins. I'll try to loo k at the log for this channel tomorrow... or if you have any issues you want to discuss via email I am at watusimoto at bitfighter.org
21:43:03BFLogBot - Commit 87126b00445c | Author: watusim...@bitfighter.org | Log: Fix likely bug
21:43:04BFLogBot - Commit c39b2355c8f6 | Author: watusim...@bitfighter.org | Log: More hacking around with luaWrapper. I can't tell if memory is still leaking. Will investigate further tomorrow.
21:43:06BFLogBot - Commit 3b72682413e1 | Author: watusim...@bitfighter.org | Log: Merge -- raptor, I may have screwed up your build fixes during this ugly merge... if so... sorry! I'll update before making any further changes to avoid it happening again... if it did indeed happen.
21:46:35Watusimoto Quit (Ping timeout: 250 seconds)
22:35:05ir0x539 has joined
22:36:44HeyubHello ir0x539
22:36:52sam686hi
22:56:50raptor has joined
22:56:50ChanServ sets mode +o raptor
22:58:01raptorok, reading logs...
22:59:47HeyubI didn't know you were a botanist.
22:59:55raptorha!
23:00:48raptorhi ir0x539
23:00:54raptorwelcome to #bitfighter!
23:02:55raptorheh, watusimoto left me a message in a commit
23:04:30raptorIAmBeard: did you want to know something specific about the SDL migration(s)?
23:07:11Heyub Quit (Read error: Connection reset by peer)
23:10:33Heyub has joined
23:23:18BFLogBot - Commit 692f7c209cfe | Author: buckyballreaction | Log: How did this manage to compile on Windows?
23:23:20BFLogBot - Commit 214249bbdfa8 | Author: buckyballreaction | Log: Fix LuaWrapper again. Since header files don't have a header file for declarations, all methods must be in logically dependent order (i.e. methods that are dependent on others must be below the dependencies.) Otherwise, we'll have to create declarations at the top of the file - which possibly might be good to do anyways
23:27:50ir0x539hiya
23:32:15IAmBeardnaw, i'm good
23:34:13ir0x539just ran into the game a couple weeks ago played it at a LAN last night, lot of fun, figured i would idle and see what i could learn about the game
23:35:30HeyubYou might want to check out the forums then, good place to see what has been happening recently.
23:37:37ir0x539yeah ive browsed a bit, will probably do more later
23:38:03ir0x539also im into programming, might be interested in trying my hand at a bot someday
23:40:46HeyubCool!
23:46:52raptorwe need our bots to be able to play soccer
23:47:35IAmBeard Quit (Ping timeout: 246 seconds)

Index Search ←Prev date Next date→

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