#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-06-07

Timestamps are in GMT/BST.

00:19:00watusimoto Quit (Ping timeout: 244 seconds)
01:53:00BitfighterLogBot - Commit c886caf857e9 | Author: ratchet9clank | Log: Added proper linking flag to the ALURE framework when building for OSX.
01:53:00BitfighterLogBot - Commit 9d6c43a07540 | Author: ratchet9clank | Log: Fixed speex linking and added some header search paths
01:53:00BitfighterLogBot - Commit 80fe7b853120 | Author: buckyballreaction | Log: Mac Xcode framework restructure - Remove frameworks from version control: Mac frameworks require soft links to work - add in libogg, libspeex, libvorbis sources to compile as frameworks in-place within the project - add USE_HEADERMAP=NO build option to ALURE and OpenAL-Soft to stop Xcode from being idiotic and pulling in the wrong header files when compiling
01:53:00BitfighterLogBot - Commit 954f539e3154 | Author: buckyballreaction | Log: Mac music works now; Xcode fixes - properly delete mGameType - don't dynamically load Vorbis library with alure (disable DYNLOAD) - finally enable TNL logging in debug build - Xcode project clean-ups - include music dir in launcher script
01:53:00BitfighterLogBot - Commit 63066fcbc82a | Author: buckyballreaction | Log: Merge
01:56:00raptoryay
01:56:00raptormusic is working on all three platforms
02:23:00raptorman, i am soooo glad to not have to police spam bots anymore
02:38:00BitfighterLogBot - Commit c79188ef88c9 | Author: buckyballreaction | Log: fix bad way to delete SafePtr. Maybe you meant shared_ptr here?
04:11:00raptor Quit (Remote host closed the connection)
04:39:00Zoombererrrrrr
04:39:00Zoomberif only i told raptor it all builds on bf
04:42:00[1]watusimoto has joined
04:42:00Zoomberhi watusimoto
04:43:00[1]watusimotohi
04:44:00Zoombergot mac compiled on mac
04:44:00Zoomberimean
04:44:00Zoomberhehe, got bitfighter compiled on mac
04:44:00Zoomberwas seeing raptor had some troubles, but not sure if he was able to fix it himself or not
04:45:00Zoomberoh hangon
04:45:00Zoomberah ok he just merged in mine
04:50:00Zoomberoh
04:50:00Zoomberyeah, that
04:52:00Zoombermessage if raptor gets back: sorry about game.cpp if you were using mine. I only meant to temporarly // out conflict //delete mGameType;
04:55:00_k|seriouslybatm is now known as karamazovapy
04:55:00karamazovapyhey watusimoto
04:55:00karamazovapyyou get the forum update?
05:00:00Zoomberdamit i just got bitfighter running yesterday, pull the new changes, and its already broken again
05:04:00Zoomberhey karamazovapy, do you wnat to play a 1v1 match of bitfighter if you have time? seems like i never seem to play you that much as before
05:05:00[1]watusimotoI'll do the forums tonight. I'e been busy
05:06:00Zoomberok
05:06:00Zoomberoh
05:06:00Zoombernvmllol
05:11:00[1]watusimoto Quit (Quit: HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!)
05:11:00[1]watusimoto has joined
05:37:00Zoomber Quit (Quit: Zoomber)
06:13:00[1]watusimoto@k -- you there?
06:25:00[1]watusimotook, I installed k's mod, and can't see that anything changed as a result
06:25:00[1]watusimotoand updated raptor's script
06:42:00Zoomber has joined
06:43:00Zoomber Quit (Client Quit)
07:01:00[1]watusimotoholy crap!!! raptor's music played!
12:18:00raptor has joined
12:18:00ChanServ sets mode +o raptor
12:20:00raptorso early..
13:19:00BitfighterLogBot - Commit 6fbf942ff67a | Author: buckyballreaction | Log: Music/Sound changes: - go back to 16 sound samples for now - dedicated the music source sample - var names - minor cleanup
13:31:00sam686 has joined
13:31:00ChanServ sets mode +v sam686
14:00:00raptorhi sam686, long time no see
14:01:00sam686hi.
14:07:00raptorlook were the flag returns to when a bot killed me with it on ctf1: http://96.2.123.136/upload/1snapshot34.png
14:09:00sam686when flag returns to some odd location (probably (0,0), it is probably a probmem with copy constructor not copying.
14:13:00sam686in item.cpp line 97, the copy constructor just creates a new geometry item without copying.
14:14:00raptorremember we asked watusimoto about that? he said that was the correct way to do it
14:14:00sam686and Spawn Ponts position is read inside the ""
14:14:00sam686PointGeometry
14:19:00sam686maybe change it to this? mGeometry = boost::shared_ptr<Geometry>(new PointGeometry(*((PointGeometry *)epo.mGeometry.get())));
14:20:00karamazovapyhey watusimoto - you there?
14:20:00karamazovapy[1]watusimoto
14:25:00karamazovapyit looks to me like forums\adm\style\acp_forums.html didn't get copied the way it should've
14:25:00karamazovapyeverything else *should be* in order
14:26:00karamazovapythe permissions settings are all in place, the way they should be
14:26:00karamazovapybut there's no way from the MANAGE FORUMS sections to enable topic evaluation without the updated acp_forums.html
14:28:00karamazovapyFurther installation instructions:
14:28:00karamazovapy1) Run the install script in the root/install directory. The file is called "install_evaluation_mod.php"
14:28:00karamazovapy2) After the execution of the install script delete the install directory with the file in it.
14:28:00karamazovapy3) Refresh in the ACP the image set ACP -> Styles -> Imagesets -> Refresh.
14:28:00karamazovapy4) Maybe the cache files of the templates must be deleted if the evaluation items are not visible.
14:28:00karamazovapymaybe 4) is our only problem
14:31:00sam686if the problem is only to delete the cache, can you run a "Purge the cache"? shown in the bottom if this admin phpbb http://96.2.123.136/bitfighter/phpbb_adm.png
14:35:00karamazovapyit worked! thanks!
14:36:00karamazovapywhat do we want to use? five stars?
14:36:00raptorsure
14:36:00raptor5 phasers?
14:36:00raptorbullets
14:36:00raptor:)
14:36:00karamazovapyI haven't gotten around to photoshopping the background out of phaser bits
14:36:00raptoroh yuk, yeah forgot about that..
14:37:00karamazovapyhttp://bitfighter.org/forums/viewtopic.php?f=31&t=485&start=0
14:39:00raptori don't see what i'm supposed to see..
14:39:00karamazovapythere are evaluation stars at the top of the thread, and you can rate at the bottom
14:39:00sam686Topic evaluate: ***** � 6 posts � Page 1 of 1
14:40:00karamazovapyI gave it 5 stars, but you can rate it as you see fit
14:40:00karamazovapymap gallery is fully enabled
14:40:00karamazovapyI still need to adjust the default max rating on the other pages, though...I should've changed 6 from the default when I did the mod
14:42:00raptorah maybe i should log in.,..
14:42:00karamazovapyyeah, only registered users get to evaluate
14:42:00karamazovapyI guess I should make ratings visible to non-registered users, though
14:42:00raptorand see the stars?
14:47:00raptorcool
14:47:00raptorit works
14:49:00karamazovapysure does
14:49:00karamazovapyI'm gonna go map rating!
14:50:00raptori rated your rating announcement
14:50:00raptorsweet!
14:51:00karamazovapythis is cool. I like this.
14:54:00raptorbrb
14:54:00raptor Quit (Remote host closed the connection)
14:54:00BitfighterLogBot - Commit 1a07c6d2576b | Author: sam8641 | Log: Fix mGeometry Copy Constructor to copy mGeometry
14:57:00karamazovapyI like that you can mouseover the ratings to see how many votes and what you voted
15:10:00raptor has joined
15:10:00ChanServ sets mode +o raptor
15:12:00raptorthanks sam for fixing that
15:18:00[1]watusimoto@r -- your music is playing in my latest build
15:18:00raptorYES!!
15:18:00[1]watusimotohow do I turn it off? :-)
15:18:00raptorhaha
15:19:00sam686delete the music?
15:19:00raptoryep
15:19:00raptorumm... i have a long ways to go yet...
15:19:00raptorlike integrate sound / disable music with the config and options
15:20:00raptorbut yeah, deleting the test.ogg should do it
15:20:00sam686maybe, disable music by setting music volume to zero?
15:20:00raptoror i could replace it with a movement in one of beethoven's symphonies :]
15:21:00sam686armor make shield hard to see when using both armor and shield.
15:21:00raptormaybe armor could dim a little if used in conjunction with shield
15:29:00[1]watusimotomaybe we could change the radius of armor
15:30:00[1]watusimotoor do a special rendering when you have both
15:30:00[1]watusimotolike a subtle 5 lobed clover
15:51:00raptorsam686: do you think we should start SDL?
15:51:00sam686maybe yes, not sure..
15:52:00raptor[1]watusimoto thinks we are at a point where we can, since we are mostly just doing minor bug fixing
15:55:00BitfighterLogBot - Commit 2fd551943ea5 | Author: buckyballreaction | Log: Fix ALURE building in linux
16:15:00[1]watusimotoor major bug fixing, but I don;t forseee any architectural changes with the editor refactor
16:22:00[1]watusimoto Quit (Ping timeout: 260 seconds)
16:47:00sam686 Quit (Quit: .)
17:00:00watusimoto has joined
17:10:00BitfighterLogBot - Commit 7c1d7de2732c | Author: buckyballreaction | Log: integrate volume control with playing music; you can now ignore my silly test music
17:22:00kodax Quit (Ping timeout: 258 seconds)
17:24:00watusimotobtw, i've now figured out the core issue with undo, and should have that working soon
17:24:00raptoryes!
17:24:00watusimotofixing that will also fix loading levels
17:24:00watusimotoas they use the same (broken) code
17:25:00raptori have a minor question:
17:25:00watusimotojust some tedius tracing and seeing what runs when and why
17:25:00raptorin linux, coloring for some things tend to be off
17:25:00raptorlike the main menu is black text
17:25:00watusimotolike the menus?
17:25:00raptorthe internal line to barriers is blue
17:25:00watusimotoI've heard you mention that before, but have no idea what that's about
17:25:00raptorinstead of white
17:25:00watusimotoin the editor?
17:25:00raptoryes
17:25:00watusimotothat internal line is blue on mine too
17:26:00raptorah ok
17:26:00watusimotothat's an unintentional change in functionality
17:26:00watusimotoand will probably be fixed later
17:26:00raptorthen I can cancel my thought about it being some color function glitch
17:26:00raptori spent an hour trying to figure out the menus
17:26:00raptori couldn't find anything
17:26:00raptordrove me crazy
17:26:00raptorso i was just curious if you had any ideas
17:27:00raptorthe funny thing: it works in Mac
17:27:00watusimotowhat if you make the color almost white?
17:27:00watusimotoor red or green
17:27:00raptorthat's the thing - the color is only set in the constructor for the menu tiem
17:27:00raptoritem
17:28:00watusimotoso change it there
17:28:00watusimotoand see if all colors are broken, or just white
17:28:00watusimotoand maybe if it's only pure white, or all whitish colors
17:28:00watusimotomaybe something is inverting the colors somehow
17:29:00raptorok, changed - and no colors changed anywhere
17:30:00raptori changed menu items to be blue, but all was still white (or black for main)
17:30:00raptorcompiling from scratch
17:30:00watusimotoso the color in the constructor does not control what gets displayed?
17:31:00raptorah ok
17:31:00raptorafter compiling from scratch
17:31:00raptorthey are all blue now
17:31:00raptorexcept main menu is still black
17:31:00watusimotobut only the main menu
17:31:00watusimotoall items on the main menu
17:31:00raptoryep, all others work fine (i went through them all)
17:31:00watusimotobut none anywhere else
17:31:00watusimotocurious
17:31:00raptorcorrect
17:32:00raptorit's so goofy
17:32:00watusimotowhat if you change the renderer to render in white
17:32:00raptorsam suggested that, and that does work
17:32:00watusimotoor put a break point there and see what color it's trying to render with
17:33:00watusimotowhat works? rendering in white?
17:34:00raptorinteresting - it's calling Parent::Render first in the method instead of last
17:34:00watusimotoI usually try to do the parent stuff first as a matter of policy
17:35:00raptoryeah that made no difference
17:35:00watusimotowhat made no diff?
17:36:00raptormoving the parent render to the end - didn't think it would, but i'm at the point of guess-and-check..
17:37:00watusimotoadd a logprintf statement to see what color it's using
17:39:00raptoryep, both mSelectedColor and mUnselectedColor are returning 0, 0, 0
17:39:00watusimotook, well that's why!
17:40:00raptorwell yes!
17:40:00raptorbut why are they 0, 0, 0 when the menuitem is created with 1, 1, 1
17:41:00karamazovapywatusimoto - you see that we can rate maps now?
17:41:00watusimotohadn't seen that
17:42:00watusimotoI installed the mod, but saw no change
17:42:00karamazovapywe needed to clear the forum cache and adjust permissions
17:42:00watusimotoI really want an in-game map rating system
17:42:00watusimotocan you do that, or do I need to?
17:42:00karamazovapyoh - it's fixed for the forums
17:42:00watusimotoah, I see
17:42:00watusimotomissed the "ed"
17:43:00karamazovapybut if you want in-game, maybe we could coordinate the thread evaluation data
17:44:00karamazovapyhttp://bitfighter.org/forums/viewtopic.php?f=20&t=745
17:46:00raptorhahaha
17:46:00karamazovapy?
17:46:00raptorone more test to see if i'm right about the menu color issue in linux...
17:53:00raptorrats, my theory was wrong
17:54:00raptorwatusimoto: so changing: mUnselectedColor = white;
17:54:00raptorto: mUnselectedColor = Color(1,1,1);
17:54:00raptorin the constructor fixes the problem
17:56:00watusimotointeresting
17:56:00watusimotowhat's white defined as?
17:56:00raptorstatic const Color white = Color(1,1,1);
17:56:00watusimotoin the same file?
17:56:00raptorin UI.h
17:57:00watusimototry removing the static modifier
17:57:00raptorno go
17:57:00raptori am doing complete recompiles each time - just to make sure, FYI
18:00:00raptori added the include UI.h directly UIMenuItems.h (where the constructor is) and
18:00:00raptorit didn't work
18:00:00raptori also added extern const Color white; to the UIMenuItems.h
18:00:00raptordidn't work
18:02:00watusimototry defining it in the same file
18:02:00watusimotoit must be a gcc/vc++ compile difference
18:02:00watusimotoyou only need extern if you are getting compile errors
18:03:00raptorexcept mac compiles with gcc
18:03:00raptorand it works fine
18:03:00raptoralthough it is a different version of GCC
18:05:00watusimototry putting a Color white; above the header; or try logprintfing white in the constructor
18:06:00raptorwhite above the header doesn't work
18:06:00raptori think i may move the constructor into the cpp file next..
18:06:00watusimotooh, good idea
18:06:00watusimotoit should be there anyway
18:07:00watusimotosometimes I'm too lazy
18:07:00watusimotoI didn't realize it was in the header
18:09:00raptorha! still fails
18:09:00watusimototry the suggestions I made earlier in the cpp file
18:09:00raptorgood idea
18:10:00BitfighterLogBot - Commit 0eec31e7e3fa | Author: buckyballreaction | Log: move constructor into cpp
18:12:00raptorwow, nothing still works...
18:14:00watusimotoeven defining white locally?
18:17:00raptordefining it within the constructor like this: Color whitetest = Color(1,1,1);
18:18:00raptormUnselectedColor = whitetest;
18:18:00raptorworks
18:18:00watusimotohow about outside the constructor?
18:18:00raptornope
18:18:00watusimotothat's messed up
18:18:00raptoryep
18:18:00watusimotoand unfortunate
18:18:00watusimotoI was hoping to move to a future where most colors would be named
18:19:00watusimotomakes for more readable code
18:19:00raptorwell, it does work
18:19:00raptorbecause all other menuitems are instantiated correctly
18:19:00raptorjust not the main menu
18:19:00watusimotocolors may be supplied for the other ones
18:20:00watusimotothe defaults may not actully get used
18:22:00raptornope, defaults are used for the host game menu
18:22:00raptorand it works ok
19:12:00raptorc++ initialization order of individual compilation units is UNDEFINED
19:12:00raptorthe static const Color white = Color(1,1,1); isn't initialized by the time the menu is created, I think
19:21:00watusimotothat's odd
19:21:00watusimotoso how can we force it to be intialized?
19:21:00raptorhttp://stackoverflow.com/questions/2605520/c-where-to-initialize-static-const
19:22:00raptorneeds to be done in a compilation unit
19:22:00raptorso not a header
19:22:00raptortesting that now...
19:23:00watusimotocompilation unit being euphimism for .cpp file?
19:23:00raptoryeah
19:23:00raptori wish they'd use layman's terms sometimes..
19:23:00watusimotowell, now we know
19:23:00watusimotowe can confuse others with our advanced lingo
19:24:00raptoryes and feign intelligence on the matter
19:25:00watusimotoonce we get that going, we should convert to passing colors by reference
19:26:00watusimotoso we don't go through an object copy when we pass a color
19:26:00watusimotonot that it's a huge thing
19:31:00raptori can't seem to be able to get it compiled within the Zap namespace
19:35:00raptori may need to do a new class: 'Colors'
19:35:00raptoror something
19:35:00watusimotodo you need to declare it in the header?
19:35:00watusimotobut define it in the cpp?
19:36:00raptoryep
19:36:00raptorlet me try...
19:40:00koda has joined
20:15:00raptorit works!
20:15:00watusimotogreat!
20:15:00raptorI put the relevant colors into a Colors class and then used the static values within
20:17:00raptorwow vc++ project files are way easy to edit compared to Xcode
20:19:00watusimotoso do we need to do Colors.white?
20:19:00raptorColors::white;
20:20:00raptori hope that is ok
20:20:00watusimotoI guess that's not horrible
20:20:00watusimotoespecially if we can be consistent throughtout the app
20:20:00raptorI already changed it everywhere :)
20:20:00raptorabout to commit...
20:20:00watusimotohow many places do/did we define white?
20:21:00raptora few dozen
20:21:00watusimotonow only one?
20:21:00raptoroh wait
20:21:00raptorsorry i answered the wrong Q
20:21:00raptorwhite is defined once in Colors.cpp
20:23:00raptorthen you can just call it anywhere by saying Colors::white
20:23:00raptoris that what you mean?
20:23:00raptorconst Color Colors::white = Color(1,1,1);
20:23:00raptoris only there once
20:23:00watusimotoright
20:23:00watusimotobut I think some colors are currently defined in sevarl places
20:23:00raptoroh yes
20:23:00raptori saw tons
20:24:00raptorof Color(1,1,1)
20:24:00raptorhaven't changed those yet...
20:24:00watusimotothat's not what I meant; but it looks like I already got rid of a lot of these dupe definitions
20:24:00raptoroh
20:24:00raptori guess i'm not following then
20:25:00watusimotogameObjectRenderer.cpp 549
20:25:00watusimotoit's the only other one I found
20:25:00raptorohhhhhh
20:26:00watusimotoI used to haev white defined in many places
20:26:00watusimotoyellow, blue, black, red, gree, cyan, magenta, etc.
20:27:00raptori'll doa quick search and fix any i find, too
20:39:00sam686 has joined
20:39:00ChanServ sets mode +v sam686
20:44:00raptoryay for regular expressions
20:45:00raptori'm cleaning up lots of these declared Colors for which we have a constant
20:49:00raptorit's lovely: Color\s*\(\s*\d*[.\d]*\s*,\s*\d*[.\d]*\s*,\s*\d*[.\d]*\s*\)
20:49:00watusimotogreat!
21:17:00raptorwell i did a huge clean-up and now bouncer is black...
21:17:00watusimotowas it gone?
21:18:00watusimotooh, black
21:18:00raptor:)
21:18:00watusimotostealthy
21:32:00raptoroh man: menus are black again
21:34:00raptorok, i solved it: I put the Colors.cpp class as the last one to compile
21:34:00raptorwhich seems stupid
21:35:00sam686maybe raptor have a buggy version of gcc compiler?
21:35:00raptorit has to do with linking order
21:36:00raptoras long as the object file for the Colors is last, all colors work
21:36:00raptorhow goofy is that?
21:36:00sam686yes, that must be a buggy gcc?
21:38:00sam686the black text in menu doesn't happen to me on both windows + visual 2008 and my linux (ubuntu) version, but i haven't tested linux with latest repository..
21:43:00raptor'static const' is such a headache with gcc
21:46:00sam686i am getting compile error in linux for latest repository - http://96.2.123.136/upload/linux_ubuntu_error1.txt
21:47:00raptorhttp://stackoverflow.com/questions/2373859/c-static-const-and-initialization-is-there-a-fiasco
21:47:00raptori fixed that
21:47:00raptoroh, oops
21:47:00raptorno i didn't
21:47:00sam686fix, but not yet commited / pushed?
21:47:00raptorlet me fix it..
21:47:00raptori fixed a similar one..
21:48:00sam686this might be just a missing ogg/ogg.h ?
21:48:00raptorok, should be fixed
21:50:00BitfighterLogBot - Commit 12feeda3e258 | Author: buckyballreaction | Log: fix missing include again
21:55:00raptorwell, i suppose it's good that c++ has most of these problems: they blazed the trail for newer languages to get them working better
21:58:00raptorsometimes i wish gcc would be a little less strict..
22:00:00sam686i am now getting some linker error in linux: /usr/bin/ld: cannot find -lspeex
22:00:00raptorcan you show me the lines?
22:00:00raptoroh haha
22:00:00raptorthat's because you don't have libspeex installed in the system
22:02:00sam686well then how to install speex?
22:02:00raptorapt-get speex?
22:02:00raptoror something like that on ubuntu
22:06:00sam686i did a apt-get install speex, it appear to install, but i still get the same error compiling bitfighter..
22:08:00raptorapt-get libspeex?
22:08:00raptorubuntu doesn't have very good dependency resolution sometimes
22:08:00raptoroh
22:08:00raptormaybe libspeex-dev
22:08:00raptoris what you need
22:08:00raptoror speex-dev
22:08:00sam686i get "couldn't find libspeex"
22:09:00sam686libspeex-def seem to got installed, but i still get the same error..
22:10:00raptorso teh -l flag in gcc looks for the .so file in /usr/lib
22:18:00sam686the error i am getting now is missing -lvorbis
22:22:00raptorhooray!
22:22:00raptorso you need vorbis-dev
22:23:00raptoror libvorbis-dev
22:27:00sam686i am getting tons of linker errors - http://96.2.123.136/upload/linux_ubuntu_error2.txt i will try full rebuild///
22:27:00raptoroh wow
22:27:00raptorit may be that watusimoto's new gameobject architecture has problems with older compilers
22:30:00sam686using gcc --version i get gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
22:30:00raptorthat's pretty new
22:30:00raptori'm on 4.5.1
22:38:00sam686ok, rebuild fixed link errors, there no more compile errors, but linux may need libvorbis-dev libspeex-dev..
22:38:00raptoryes
22:38:00raptorthat is done on purpose for now...
22:39:00raptorbecause most linux distros are highly shared-library oriented
22:39:00raptorwe could build in those statically if needed
22:39:00sam686well, i see the black menu problem showing up in lyu minux, but not windows..
22:39:00raptorah ha!!!
22:39:00raptorah ha! ah ha! ah ha!
22:40:00sam686black text in menu in linux, but not windows...
22:41:00raptorok, I have a big commit coming up...
22:47:00sam686 Quit (Quit: "i may be back in a few hours..")
22:49:00raptorok here goes...
22:51:00BitfighterLogBot - Commit 05d05458f433 | Author: buckyballreaction | Log: Pulled out common colors into their own class - created Colors class - replaced local Color declarations in many classes with the common ones - minor clean-up - NOTE: Color.cpp should be compiled and link last in class order. Colors won't show up in-game unless you do this. It has something to do with static declarations
23:00:00raptoryeah, so linking was the problem
23:00:00raptorbut it was good to do the Colors refactor anyways
23:10:00watusimotoyes
23:16:00koda Quit (Quit: k thx bai)
23:29:00raptor Quit (Remote host closed the connection)
23:47:00raptor has joined
23:47:00ChanServ sets mode +o raptor

Index Search ←Prev date Next date→

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