#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-12-08

Timestamps are in GMT/BST.

00:13:20Watusimoto_ Quit (Ping timeout: 260 seconds)
00:41:21raptor Quit ()
01:22:11FordcarsIf bitfighter was online it would require a full rewrite
01:22:20Fordcarsand it would be very slow
01:49:40amgine1234567890not nessisaily
01:49:54amgine1234567890 slow wise workwise yes
01:50:02amgine1234567890slow wise no works wise yes
02:04:32raptor has joined
02:04:32ChanServ sets mode +o raptor
02:10:33amgine1234567890 Quit (Quit: Page closed)
02:29:19Fordcarshi
02:29:26raptorhello
02:29:45Fordcarshello
02:57:55amgine1234567898 has joined
02:57:59amgine1234567898how would i dedicate a server on bitfighter 18
02:58:07raptorhi amgine1234567898
02:58:37raptoryou can either: 1. compile in dedicated mode (on Linux: make dedicated)
02:58:47amgine1234567898im using windows
02:58:49raptoror 2. run from the command line: bitfighter -dedicated
02:59:13raptoron windows
02:59:23raptoruse a commandline and do bitfighter -dedicated
03:00:07amgine1234567898so would that look like start bitfighter.exe -dedicated
03:00:12raptoryes
03:00:45amgine1234567898hmm having difficulty
03:01:06amgine1234567898can using the target still work
03:01:18amgine1234567898chaging the shortcut target
03:01:34raptoroh
03:01:43raptorjust 'bitfighter.exe -dedicated'
03:01:46raptorno 'start'
03:02:25amgine1234567898lol bitfighter.exe not recinigez
03:02:53raptoryou have to be in the directory where it is located
03:03:12raptoryou can probably copy and paste the shortcut, then edit the new one to have ' -dedicated' in it
03:03:54amgine1234567898" is failing"
03:05:05koda Quit (Quit: k thx bai)
03:05:07amgine1234567898says target box is not valid hmm
03:05:58amgine1234567898its not working hmm
03:06:25amgine1234567898got the dreaded crash im doing osmthing rong
03:07:11amgine1234567898either a im doing somthing wrong or b im doing it right but im getting a crash
03:11:06amgine1234567898need some feedback later ill keep trying
03:14:53raptorhi sam686
03:14:59amgine1234567898hi sam
03:15:39amgine1234567898still having problems wonder if i got a bug on my hands
03:16:57amgine1234567898a idea what iuf you automaticly added a server dedicate fill in all future versions that one would click and it would do it is that possible
03:17:05amgine1234567898file
03:17:20amgine1234567898would sure be more convienent for the users
03:18:38raptorinstructions on running dedicated are on the wiki
03:40:49amgine1234567898im trying what it said but failing sure would be more covenient still
05:03:42Fordcarscd mycomputer/program files....
05:03:47Fordcars?
05:22:48Fordcars Quit (Ping timeout: 245 seconds)
05:52:05BFLogBot Commit: acf03d062248 | Author: buckyballreaction | Message: Fix team spawns in team Nexus
06:47:02LoneWolfy has joined
06:47:28LoneWolfyyou should add 9 presets for loadouts
06:47:44LoneWolfyand ability to rename them
06:48:49raptoryou mean in the ini?
07:09:20Darrel has joined
07:16:47amgine1234567898 Quit (Quit: Page closed)
07:44:03LoneWolfy Quit (Ping timeout: 245 seconds)
07:55:56raptorall right - going to bed - couldn't solve the crash yet, but i think it is due to cleaning teams more than once...
07:56:01raptor Quit ()
09:21:49LordDVG has joined
09:26:13Martinski has joined
09:34:56LordDVG Quit (Quit: Leaving)
09:35:17LordDVG has joined
09:54:33Martinskimorning guys
09:54:34Martinski:)
10:02:26Martinskiwatusimoto are you here ?
10:03:57Watusimoto_ has joined
10:04:08Watusimoto_hello
10:08:07Martinskihey
10:08:16MartinskiI want to ask about the icons I have to make
10:08:45Martinskieach of the 4 icons has to be in 3 different sizes, right ?
10:11:45Watusimoto_that's what I wrote
10:12:05Watusimoto_but for the 3 platform icons, that's less important
10:13:06Watusimoto_for them, the thing that's most important is that we can integrate them into the downloads page somehow; that's why I wrote that we can be flexible on the shape/size
10:13:39Watusimoto_For the main bitfighter icon, that does need to be in those sizes because that's what the os usually requires
10:16:27Martinskiok, and for the platforms, I have an idea about mixing the platform logo with the bitfighter logo, is that OK ?
10:17:58Watusimoto_If it is a good design, anything is ok :-)
10:18:12Martinskigood
10:18:40Martinskiafter about an hour, I'll have to go, because I have lessons and in about 7 hours, I'll be here
10:18:52Martinskiwill you be online ?
10:19:19Watusimoto_I did try to design the platform icons myself, so I have one idea if you are realy stuck. My idea was good, but the implementation was not
10:20:06Watusimoto_I'll be on and off today... let's see that would mean you were back aroud 19:00 my time... I might be on, but definitely will by 20:00 or 21:00ish
10:20:24Martinskiok
10:20:36Martinskimy task time ends about 22:00 my time
10:21:36Watusimoto_we'll get it to work out. I can always extend, right?
10:21:47Martinskiofcourse
10:22:03Martinskiok, I'm going to think for some ideas
10:22:08Martinskisee you later
10:22:10Watusimoto_we'll get it worked out
10:22:11Watusimoto_bye!
10:22:18Martinski Quit ()
10:56:34LordDVG Quit (Ping timeout: 252 seconds)
13:33:18koda has joined
15:00:04twodarray has joined
15:00:10twodarray Quit (Client Quit)
15:01:16twodarray has joined
15:01:40twodarrayhello
15:08:13koda Quit (Quit: koda)
15:14:33twodarrayis anybody there?
15:15:23twodarrayI accepted the task for "implementing /announce", and I would like to start!
15:33:50raptor has joined
15:33:50ChanServ sets mode +o raptor
15:35:36raptorhello
15:35:58raptortwodarray: i will assign
15:37:15twodarrayfinally
15:37:22twodarrayhi
15:37:25raptorhi
15:37:30raptorwe're a small group :)
15:37:38twodarray:)
15:37:42raptorin different timezones...
15:37:47twodarrayyeah
15:37:47raptorok, assigned
15:37:51twodarraythanks
15:38:04raptoryou're welcome
15:38:31twodarrayso..
15:38:43twodarraydo I have info to start with?
15:38:50twodarraylike some methods?
15:39:07raptorlet's see...
15:39:15raptordo you have teh code checked out?
15:39:33twodarrayno
15:39:54raptori'd start there :)
15:39:55twodarrayis there the source?
15:40:00raptoryes
15:40:07twodarrayOH
15:40:09twodarrayokay
15:40:13twodarraythanks
15:40:16raptorhttps://code.google.com/p/bitfighter/downloads/list
15:40:42raptorthere is a source archive there; OR, if you want you can check out the code directly using mercurial
15:41:12Watusimoto_hi
15:41:27raptorhi Watusimoto_
15:41:34Watusimoto_sorry, I was here and wasn't paying attention
15:42:00Watusimoto_I creaeted a script to generate a portable isntaller from our windows installer
15:42:15raptorso I a separate nsis script?
15:42:41Watusimoto_no, it's a bat file that rips apart and reassembles the installer
15:42:51Watusimoto_would have been a good gci task, in retrospect
15:42:55raptorha!
15:43:03Watusimoto_because I HATE working with bat files
15:43:14raptoryeah, me too
15:43:18Watusimoto_you can do almost anything, but it makes obfuscated perl easy to read
15:43:24raptorhaha
15:43:58raptorREM this is a comment
15:43:59Watusimoto_so I think we need to disable the updater for the portable install
15:44:08raptorok
15:44:45Watusimoto_it would be nice to notify users of new versions, though
15:44:59raptorwe already do that in-game
15:45:04raptorbig red box
15:45:10Watusimoto_btw, hello twodarray!
15:45:10raptorwhen it connects to master
15:45:15Watusimoto_ah, ok
15:45:25Watusimoto_maybe we just diable the updater for the moment
15:45:47raptorok\
15:46:19Watusimoto_lucky twodarray -- he gets to dissect my smooth message display that nearly killed me :-)
15:48:02raptori'm still traccking down that crash
15:48:06Watusimoto_so the teamspawn fix...
15:48:16Watusimoto_are you sure that doesn't break team spawns?
15:48:19raptori narrowed it - unless you've been working on it, too?
15:48:25Watusimoto_no
15:48:31raptoroh, team spawn on nexus
15:48:34Watusimoto_I can;t reproduce
15:48:40Watusimoto_remember the teamspawn bug in soccer?
15:48:48raptoryes, i did the same for nexus
15:49:14Watusimoto_oh wait, ok, I thought you set it to false
15:49:16raptorand no, it doesn't break anything else - the *only* thing that method is used for is for determining where ships spawn at
15:49:31Watusimoto_ok, I thought you disabled it to avoid a warning
15:49:37Watusimoto_I see that you actually enabled it
15:49:44Watusimoto_my mistake
15:49:49raptorfor the crash -
15:49:59Watusimoto_Maybe I'm red-green colorblind
15:49:59raptori narrowed it...
15:50:06Watusimoto_yes
15:50:07Watusimoto_to what?
15:50:11raptorin ~TeamManager()
15:50:14raptorwe call clearTeams
15:50:42raptorbut we also call clearTeams in loads of other places, like all the Game::cleanUp() methods
15:50:42Watusimoto_ok... this causes problems?
15:51:05raptorin some of which TeamManager is already deleted
15:51:18Watusimoto_This one?
15:51:19Watusimoto_void TeamManager::clearTeams()
15:51:19Watusimoto_{
15:51:19Watusimoto_ mTeams.deleteAndClear();
15:51:19Watusimoto_ mTeamHasFlagList.clear();
15:51:19Watusimoto_}
15:51:23raptoryes
15:51:29Watusimoto_ok, this looks dangerous!
15:51:55Watusimoto_so... I see two obvoius solutions
15:52:06Watusimoto_1) figure out why things are deleted when they shouldn't be
15:52:15Watusimoto_2) make it a safeptr and hope for the best
15:52:34raptori can't get safePtr to compile..
15:52:41Watusimoto_really?
15:52:55raptorreally
15:53:03raptorso i went down the analysis route...
15:53:09Watusimoto_you mean in a particular context, or it won't compile at all?
15:53:29raptornot at all, everything i tried to make it compile failed..
15:53:49raptori don't even understand the error that well and not even stackoverflow was helpful...
15:53:55Watusimoto_weird
15:54:15Watusimoto_ok, so analysis results in an unhappy raptor, I predict
15:54:32raptoryeah...
15:54:51raptorevery time i comment out one clearTeams(), the game crashes elsewhere..
15:55:39raptorwait! i have another idea...
15:57:16Watusimoto_could use shared_ptr?
15:59:30Watusimoto_should I disable update checking in standalone mode for all platforms, or just windows?
15:59:53Watusimoto_I don;t know enough about how the linux/mac stuff works to make a decision
16:00:01raptorall platforms is fine - but just turn off the online update
16:00:09raptorleave the INI updating, etc...
16:00:20raptori tried to make it platform agnostic..
16:01:32Watusimoto_I don;t understand. Let me ask a more specific question. Should i disable OSX updates in standalone mode?
16:01:53Watusimoto_the INI updating, of course, shoudl run regardless
16:02:18raptorOSX has no standalone, so sure!
16:02:29raptor:)
16:02:44raptorI say disable *all* online update checks for standalone
16:03:05raptorit should be a one line fix
16:06:28raptorhere is an example of the error I van't seem to compile: http://pastie.org/5498876
16:06:57raptori made TeamManager *mTeamManager into SafePtr<TeamManager> mTeamManager
16:07:23raptorthat's it, and i get this goofy invalid static_cast error that i'm too stupid to solve
16:11:03Watusimoto_can you show me the code itself?
16:11:12Watusimoto_that generates this nice error?
16:11:33Watusimoto_btw, how do I rename myself?
16:11:57raptori have an editable box that shows my nickname
16:12:35Watusimoto_ is now known as bunnyfan
16:12:54bunnyfan is now known as howdoigetbacktom
16:13:13howdoigetbacktom is now known as whattheheck
16:13:20raptorhahaha
16:13:22whattheheckI can't get watusimoto back!
16:13:31whattheheck is now known as isreallywatusimo
16:13:37isreallywatusimothat's a little better
16:13:47raptorok isreallywatusimo: here is the simple changes i made: http://pastie.org/5498898
16:14:05watusimoto was kicked from #bitfighter by raptor
16:14:14raptorok i kicked your work counterpart
16:14:31raptorhe's the one taking your name
16:15:12isreallywatusimo is now known as stillcantbewatus
16:15:58stillcantbewatus is now known as watusimo_to
16:16:34raptorsam686: if you're around would you know why i get that really weird static cast error?
16:16:47watusimo_tobtw, your code looks good
16:16:54watusimo_toI could try compiling here
16:16:56raptoryes -
16:17:00raptorit's so simple
16:17:13raptorbut something is preventing me compiling...
16:18:55BFLogBot Commit: da915ae079be | Author: watusimoto | Message: Fix potential problem with Windows install, though the installer seems to work in practice without this fix
16:18:56BFLogBot Commit: 23b95953719a | Author: watusimoto | Message: Create a bat file to build a portable installer from the Windows installer
16:18:58BFLogBot Commit: fcc516258b66 | Author: watusimoto | Message: Merge
16:18:59BFLogBot Commit: 1ba66713983d | Author: watusimoto | Message: Disable updating in portable mode
16:19:01BFLogBot Commit: 5a460a630430 | Author: watusimoto | Message: Slaughter spurious spaces
16:19:28Darrelwatusimo_to - ghost command :)
16:19:29watusimo_to is now known as watusimoto_
16:19:40Darrelif your nick is registered
16:19:51Darrelif not... ah, well, that's bad
16:19:52watusimoto_ is now known as irc_spaz
16:20:25irc_spazmy nick might be registered by me
16:20:27irc_spazusually I can use it
16:20:34irc_spazwithout all this claptrap
16:21:54raptorirc_spaz: use /nickserve ghost watusimoto <password>
16:22:35irc_spaz is now known as watusimoto_
16:22:41watusimoto_I embrace my new identity
16:23:30raptorha\
16:24:03DarrelМА
16:24:04Darrel:D
16:24:20twodarrayhmm
16:24:31twodarrayI'm back!
16:24:43watusimoto_hi
16:24:56twodarrayand m2cSendChat and everything
16:24:56twodarraywow
16:25:00twodarrayyou guys are hardcore
16:25:07twodarray:)
16:25:17watusimoto_the hardest!
16:25:26twodarrayawwwww yiss
16:26:24watusimoto_Error 1 error C2440: 'static_cast' : cannot convert from 'TNL::SafePtrData *' to 'Zap::TeamManager *' c:\users\chris\documents\bf-trunk\tnl\tnlnetbase.h 648
16:26:32raptoryes!
16:26:34raptorsee!
16:26:36raptorbonkers!
16:26:53raptorhow on earth does SafePtr work everywhere else??
16:28:04watusimoto_do you know if TeamManager is instantiable?
16:28:11raptorhmmm...
16:28:18Darrel_ has joined
16:28:20watusimoto_it looks like it is
16:28:23raptormissing a constructor?
16:28:39watusimoto_Darrel_: are you making fun of me?
16:28:40raptorha, missing an explicit constructor...
16:28:40Darrel Quit (Read error: Connection reset by peer)
16:29:02Darrel_watusimoto_, no! how did you even think about it! :P
16:29:20Darrel_just switched to the wrong keyboard layout :))
16:30:06watusimoto_:-)
16:30:25watusimoto_raptor: have you tried adding the constructor?
16:30:28raptoryes
16:30:31raptorfails
16:30:34raptor(just did that)
16:30:48watusimoto_I don't even know if being abstract is a problem
16:31:05raptorhow is it abstract??
16:32:39watusimoto_we instantiate it
16:32:43watusimoto_so it must be instantiable
16:32:45watusimoto_red herring
16:33:01BFLogBot Commit: 3f42f1ee767a | Author: buckyballreaction | Message: Simpler solution to disabling online updates in standalone mode. Sorry watusimoto :)
16:33:47watusimoto_you basically reverted to my unchecked in solution :-)
16:34:00raptoryes, and added a simpler one
16:34:21watusimoto_I did it that way because at the time it seemed that we would be making the decsion platform by platform
16:34:27raptorah ok
16:34:31watusimoto_doesn't matter
16:34:36raptorwell, then forgive me
16:34:39raptorplease
16:34:40watusimoto_done
16:35:12raptorso now this safeptr goofiness
16:35:17raptori don't even understand...
16:35:26watusimoto_wait
16:35:33watusimoto_I think I know
16:35:47raptorc++ fail on my part.. somehow
16:35:49watusimoto_the error I get is error C2440: 'static_cast' : cannot convert from 'TNL::SafePtrData *' to 'Zap::TeamManager *
16:36:01watusimoto_so are we doing a static cast somewhere?
16:36:13watusimoto_the answer must be yes
16:37:14watusimoto_but seems to be no
16:37:40raptorit is done in the operator overload of SafePtr
16:37:43watusimoto_must be an implicit cast
16:38:18watusimoto_I think I found it
16:38:20watusimoto_hold on
16:39:04watusimoto_compiling
16:40:30watusimoto_nope
16:41:42watusimoto_but still working on this idea
16:41:45watusimoto_compiling again
16:42:00raptorsam686 rewrote a lot of SafePtr a while ago
16:42:06raptorand it's worked well since
16:42:09raptoruntil now..
16:43:58watusimoto_I don't think this is a SafePtr problem, actually
16:44:07watusimoto_I just found another implicit cast
16:44:22raptorenlighten me, oh wise one
16:44:27watusimoto_I think we're casting somewhere from TeamManager to SafePtr<TeamManager>
16:45:54raptorha
16:45:55raptorok
16:45:57raptori fixed one error
16:46:26watusimoto_do we still delete SafePtrs?
16:46:36raptoryes, they don't auto delete
16:46:38watusimoto_delete mTeamManger is still ok?
16:46:39watusimoto_ok
16:46:41raptori think i got it!
16:46:58watusimoto_was my theory right?
16:46:59raptorsetActiveTeamManager(TeamManager *teamManager) -> setActiveTeamManager(SafePtr<TeamManager> teamManager)
16:47:15watusimoto_I fixed that on my side
16:47:22watusimoto_that was what I first thought was the problem
16:47:37watusimoto_you understand the error message better now?
16:47:43raptorno
16:48:00raptortrial and error has save the day again!
16:48:21LordDVG has joined
16:48:23watusimoto_ok, the function takes a raw pointer, and we were passing a safeptr wrapped around the raw pointer. The compiler tried to cast from one to the other, and the cast failed
16:48:54watusimoto_it would be nice if the compiler said "hey, dude, I tried to cast here, and it failed!"
16:49:08raptoryeah..
16:49:27watusimoto_so it compiles?
16:49:31raptorok, ran into the same problem with UIEditor...
16:49:40raptorsame error, but different issues..
16:49:43watusimoto_well, now you should check for null before deleting
16:49:52watusimoto_I think
16:50:04watusimoto_I'll revert the changes on my side
16:51:36Darrel_ is now known as Darrel
16:52:20raptorok, here is the one from the editor, which is goofier: http://pastie.org/5499041
16:52:38LordDVG Quit (Ping timeout: 250 seconds)
16:53:04koda has joined
16:53:34kodahi
16:53:37raptorh iko
16:53:40raptorhi koda
16:54:41watusimoto_Look for a similar problem
16:54:54watusimoto_I found at least two functions that needed o be changed, I think
16:56:23raptori find none
16:56:34raptorlooking for all instances of mTeamManager
16:56:40raptorit's handled...
16:57:32watusimoto_ok
16:58:16watusimoto_mTeamManager = new TeamManager;
16:58:23watusimoto_do you still have this in your code?
16:58:26raptoryes
16:58:31watusimoto_then this is a problem
16:58:40raptorhow so?
16:58:49watusimoto_mTeamManager = SmartPtr<TeamManager *>(new TeamManager)
16:59:28watusimoto_so mTeamManager is assigend to what it is
16:59:36raptorhmm...
16:59:36watusimoto_it;s not a *teammanager anymore
16:59:38raptorok
16:59:47watusimoto_this exists in 2 places, I think
17:00:01watusimoto_that's where the 2 came from
17:00:13watusimoto_hi koda, btw
17:00:17raptorah ok
17:00:17watusimoto_where are my manners?
17:00:20raptorlet me try that..
17:04:14raptordoes it need to be SmartPtr<TeamManager *> or SmartPtr<TeamManager> ?
17:04:21raptorbecause everything still fails..
17:05:14watusimoto_ SmartPtr<TeamManager>
17:05:21watusimoto_it's a pointer to a teamManager
17:05:27watusimoto_not a pointer to a teamManager pointer
17:05:49raptorok that's what i thought
17:05:55watusimoto_if you have this anywhere, change it --> SmartPtr<TeamManager *>
17:06:05raptorok,
17:07:58raptormTeamManager = SafePtr<TeamManager>(new TeamManager) fails: http://pastie.org/5499108
17:09:17BFLogBot Commit: e7a490989f4a | Author: watusimoto | Message: Rename the variable
17:09:18BFLogBot Commit: df3bc25b3954 | Author: watusimoto | Message: This thing is more trouble than it's worth. Remove it altogether.
17:10:55watusimoto_show me your def of mTeamManager
17:11:07raptorSafePtr<TeamManager> mTeamManager;
17:11:23watusimoto_mmmm
17:11:32raptorit works in game.h/.cpp!
17:11:54Fordcars has joined
17:11:59Fordcarshi
17:12:07watusimoto_hi
17:12:10raptorwait maybe it doesn't - that class hasn't actually been compiled yet since it fails beforehand with UIEditor
17:12:50FordcarsIn about 30 minutes I will have to go to a small village called "St-Joshep-de-Beauce" so I won't have internet :(
17:13:03Fordcarsfor 2 days
17:13:12raptorunplug!
17:13:29watusimoto_try this: mTeamManager = new TeamManager;
17:14:35watusimoto_sounds like somewhere in the wilds of Qebec
17:14:35raptorsame error
17:14:41watusimoto_Quebec
17:15:35watusimoto_The same error, or an error in the same place?
17:15:41raptorboth
17:15:43raptor:)
17:17:40watusimoto_try twostepping it
17:17:47raptordone hat
17:17:49raptorthat
17:17:52watusimoto_TeamManger *t...
17:18:00raptoryep
17:18:02watusimoto_like this?
17:18:04raptorsame error
17:18:06Fordcarsyep in the wilds :D
17:18:32watusimoto_TeamManager *t = new TeamManager(); mTeammanager = t
17:18:33watusimoto_?
17:18:42DarrelHey guys, for this task http://www.google-melange.com/gci/task/view/google/gci2012/8029210 I have to get the JSON data, too, right?
17:19:00watusimoto_probably
17:19:10raptorwatusimoto_: same error
17:19:12Darrel_probably_? :P
17:19:13watusimoto_if you could do it without the json data, I'd give you two points :-)
17:19:24DarrelOh great
17:19:29Martinski has joined
17:19:32Darrelno json then :D :D (I'll try at least)
17:19:34Martinskihey guys
17:19:44watusimoto_hi
17:19:54MartinskiI'm home finally
17:20:16raptorwatusimoto_: someone claimed this: TeamManager *t = new TeamManager(); mTeammanager = t
17:20:18raptoroops
17:20:20raptorhttps://www.google-melange.com/gci/task/view/google/gci2012/8018212
17:20:23raptor\^^ that
17:20:26raptorwant to assign?
17:21:02Martinskiwatusimoto_ can I simply modify a bit the linux, windows and mac logos for the download page ?
17:21:41watusimoto_raptor: assigned
17:22:00watusimoto_Martinski: not sure what you mean
17:22:15watusimoto_you mean the official mac logo and such?
17:22:24Martinskiyes
17:22:28Martinskifor example take the linux logo
17:22:54Martinskiadd a "linux" text with the bitfighter style
17:23:04FordcarsI am not sure you can modify official logos....
17:23:16Fordcarsbut if you add text under you might have the right
17:23:29watusimoto_yes. that's what I tried -- Good results with apple and windows, not so much with linux
17:24:02watusimoto_I like the idea of neon vector style logos, but am open to anything
17:24:22watusimoto_The examples I gave used modified official logos
17:24:57DarrelNeon blue with glossy or matte black... I LOVE IT!
17:24:59Darrel:)
17:25:19watusimoto_Martinski: did you claim the lua task, or was that a different martin?
17:25:27Darrelit's a different one
17:25:32DarrelMartin Bede
17:25:51watusimoto_also bulgarian? :-)
17:25:59DarrelNo, I don't think so
17:26:04Darrelbut I've never talked with him...
17:26:24Darreland that should mean something,lol, I've talked with I guess half the participants :D
17:26:46Darrel is now known as Darrel|Dinner
17:26:56raptormmm darrel for dinner
17:27:05watusimoto_darrel or dinner, I think
17:27:30raptordarrel piped into dinner?
17:27:43raptorIO redirected to dinner
17:27:49watusimoto_personally, I'd rather have dinner|watusimoto
17:27:54raptorhaha
17:28:02watusimoto_I don;t think I want what he's making
17:28:19Martinskioh
17:28:20Martinskisry
17:28:24MartinskiI wasn't here
17:28:28MartinskiI am with the logos task
17:28:40Martinskiand now I am going for a quick snack
17:29:23watusimoto_snack|Martinski?
17:30:03raptorgingerbreadcookies|raptor
17:30:10watusimoto_now that sounds good
17:30:20watusimoto_gingerbreadcookies|mail|watusimoto
17:33:21raptormaybe i'm going abotu this all wrong - maybe SafePtr can only be used to point, not to wrap...
17:34:01raptormy whole idea was that a teamManager is being deleted before the internal clearTeams() is being called
17:35:05watusimoto_yes
17:35:16raptorso i thought i'd make sure it aways returns null
17:35:23watusimoto_yes
17:35:28watusimoto_very logical
17:35:38watusimoto_ is now known as dinner|watusimot
17:35:43raptorand now everything has gone horrible wrong
17:35:46raptorsigh
17:35:47dinner|watusimotdang... too long
17:35:50raptorhaha
17:36:01dinner|watusimotdin'r|watusimoto
17:36:22dinner|watusimot is now known as dinnr
17:36:28dinnr is now known as dinnr|watusimoto
17:36:44dinnr|watusimotoI understand everything going horribly wrong
17:36:46dinnr|watusimotobelieve me
17:37:05dinnr|watusimotobut I do think your solution is a good one
17:37:20raptorwhere is sam686 when you need him..
17:37:27dinnr|watusimotothe other possibility is to make the base team managers into references
17:37:32dinnr|watusimotoand never explicitly delete them
17:37:58dinnr|watusimotojust reassign or let them fall out of scope when their container is deleted
17:38:41dinnr|watusimotook, back in a bit
17:38:45raptorok
17:40:46Martinskihere
17:43:05Martinskiis it good to use the new windows logo ?
17:44:07raptorwatusimoto went to dinner. i'm afraid i'm not familiar with the new windows logo
17:44:51Martinskiwell it's new since the new windows 8
17:44:56dinnr|watusimoto Quit (Ping timeout: 264 seconds)
17:45:06Martinskihttp://cdn.iblognet.com/wp-content/uploads/2012/03/Windows8-logo-300x291.jpg
17:45:07Martinskihere
17:45:18raptorwow
17:45:24raptorthat's... square
17:45:27sam686hi
17:45:31raptorhi sam686
17:45:37raptoroh good you're here...
17:46:25raptorsam686: in UIEditor, i'm trying to wrap mTeamManager in a SafePtr, but i get compile errors i can't figure otu
17:46:27raptor*out
17:46:37raptorso in UIEditor.h: SafePtr<TeamManager> mTeamManager;
17:46:57twodarray Quit (Ping timeout: 245 seconds)
17:47:16raptorbut in UIEditor.cpp:144, i get this error when compiling: http://pastie.org/5499041
17:48:57sam686on TeamInfo.h, you need "class TeamManager : public SafePtrRef (and/or RefPtrRef if that is also needed)
17:49:12sam686i mean SafePtrData RefPtrData
17:49:16raptoroh really? why is that?
17:50:14sam686its to hold some data in the SafePtrData, you also need #include "tnlNetBase.h" as that is where it is..
17:50:57raptorah
17:51:14raptori see - so all the BfObjects work because they are subclass of TNL::Object which has that...
17:52:17raptorlet me try that...
17:52:55raptorit compiles! sam686, you're a genius!
17:53:02raptornow let's see if things crash..
17:55:34raptorwell after all of that, it still crashes...
17:57:50Martinskishould the background of the download images be black ?
17:59:06raptorthey can be
17:59:20raptorthey could be transparent, too
17:59:25Martinskiok
18:01:09Fordcarsany way guys got to go to the wilds :D
18:01:17Fordcarsso see ya monday!
18:01:24raptorlater! enjoy!
18:01:27Martinskibye :)
18:01:35Fordcarsthanks! bye :)
18:01:37Fordcars Quit (Quit: Leaving)
18:04:02BFLogBot Commit: cad24a0de03c | Author: buckyballreaction | Message: Minor clarification
18:10:13Martinskimay I ask for a little time extention, because I have <2hrs
18:10:17raptorsure
18:10:21Martinski10x
18:10:26raptorwhich one again?
18:10:28MartinskiI'm doing the download icons right now
18:10:31raptoricons, ok
18:10:34raptorone moment..
18:11:54raptordone
18:12:03Martinskithank you :))
18:14:21sam686kindof strange you can recharge energy while moving very fast on speed zone (if you don't touch your controls)
18:16:45Martinskiif the mac logo is black
18:17:00Martinskiand you put the images on the site, it won't be possible to see it
18:17:06Martinskiso I'll use the other light logo, ok ?
18:17:14raptorok
18:17:22raptorreally, i'm OK with anything :)
18:17:37raptorwatusimoto probably has more of an opinion, but so far your ideas sound fine to me
18:17:39Martinskigood for the participants :D
18:19:29raptorsam686: if you load this level in the editor (on mac/linux): http://bitfighter.org/forums/viewtopic.php?p=16440#p16440
18:19:37raptorthen quit the editor, there is a crash
18:20:28raptorwhich i'm trying to figure out - so far wrapping AbstractTEam and TeamManager does not solve it..
18:20:46Martinskiguys take a look at those 3 icons
18:20:55Martinskithey are a bit large, but I can make them smaller
18:20:57Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0UHFDVERLbEdJYW8
18:20:57Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0YktjcHRuZFVYT2c
18:20:57Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0b2NROWFLX0dLRlk
18:22:27Darrel|Dinner is now known as Darrel
18:23:41Martinskiwhat do you think ?
18:24:15raptorlooks good
18:24:22Martinskishould I make them smaller
18:24:28raptori wonder, is there a simpler linux icon somewhere?
18:24:28Martinskinow theri width is 800px
18:24:31Martinskitheir*
18:24:54raptor rereads the task...
18:25:42Martinskibecause somebody, I forgot who, told me that only the last icon should have the 3 sizes
18:26:05raptorwatusimoto is the one you'd want to talk to
18:28:38raptoryeah, one needs to be like for an application icon that shows up in the task bar
18:29:00Martinskiso, what size to make those
18:30:15Martinskisomething with height ~100 ?
18:33:52raptorwell
18:34:12raptorideally (i think) they'd be an SVG so they can be resized easily
18:35:58raptori'm afraid i have to leave for a few hours - watusimoto should be back from dinner soon
18:37:49Martinskiok, was he near my timezone ?
18:38:01Martinskii'm utc+2
18:38:01raptoryes
18:38:01raptorhe is utc + 1
18:38:01Martinskiok super
18:38:02raptori am utc -7
18:38:12Martinskiyou should go to bed now :D:D
18:38:31raptorit's actually almost noon
18:38:34Watusimoto_ has joined
18:38:41raptori have groceries to buy!
18:38:43Martinskihey Watusimoto_
18:38:50Watusimoto_hi
18:38:54Martinskitake a look at those
18:38:55Martinski<Martinski> https://docs.google.com/open?id=0BzOc42TE85E0UHFDVERLbEdJYW8
18:38:55Martinski<Martinski> https://docs.google.com/open?id=0BzOc42TE85E0YktjcHRuZFVYT2c
18:38:55Martinski<Martinski> https://docs.google.com/open?id=0BzOc42TE85E0b2NROWFLX0dLRlk
18:39:01Martinskithis is not the last size
18:39:34raptorok i'm out, Watusimoto_ safeptr did not do the trick; neither for TeamManager nor for AbstractTeam
18:39:44raptorso i'm back to square one...
18:39:47raptorbut leaving..
18:39:49raptorlater
18:39:57Watusimoto_wait
18:40:04raptorok
18:40:08Watusimoto_raptor: do you want me to try something?
18:40:20Watusimoto_I can't reproduce, but I can give things a shot and you can try it when you get back
18:40:22raptori'm out of ideas at the moment
18:40:25Watusimoto_ok
18:40:31Watusimoto_I'll try something for you later
18:40:35Watusimoto_bye!
18:40:36raptori'm down to printfs in the destructors
18:40:41raptorok bye
18:40:50raptor Quit ()
18:43:39Martinskiwhat do you think about the 3 download icons
18:45:11Watusimoto_looking... haven;t forgotten about you!
18:45:20Martinskiok, sorry
18:45:31Watusimoto_I'm trying to see them on a dark background like the website
18:51:07Watusimoto_Martinski: I generally like them
18:51:22Watusimoto_a couple of quick comments/suggestions
18:51:36Martinskiok
18:52:18Watusimoto_the blue you used looks nice, but it seems to be neither the same as nor differnent than the blue text on the site, if you understand that, which might make a bit of a clash
18:52:34Watusimoto_so maybe something similar but in green?
18:52:51Martinskisure
18:52:59MartinskiI was wondering green or blue
18:53:02Martinskibut decided blue :D
18:53:06Martinskinow I'll change it
18:53:19Watusimoto_I generally like blue, and liek the one you picked, except that we have something similar.
18:53:28Watusimoto_the penguin looks larger than the other icons, so I'd shrink it a little
18:53:54Watusimoto_and finally
18:54:29Watusimoto_I'm not yet sure exactly how we'll use them -- i.e. will they be like section headers, or more like icons off to the left of the list of releases
18:54:45Watusimoto_I'm kind of thinking off to the left
18:55:10Watusimoto_especailly as we'll have two mac releases and (soon) two windows releases (regular and portable), so it might liook nice there
18:55:29Martinskiso what's the other thing I have to change
18:55:30Martinski?
18:55:56Watusimoto_I'm getting to that :-) ...iin which case the icon should probably be a little smaller -- closer to the size of the text
18:56:00Watusimoto_that's it
18:56:37Martinskiok, can I leave this size for 1 version
18:56:43Martinskiand also add another version of the icons
18:56:48Martinskiwhich have smaller height
18:56:57Watusimoto_so in fact, if we go the off-to-the-left route, I can give you some specific dimensions, and we can only do one set
18:57:08Watusimoto_rather than all the differtn sizes I specified
18:57:34Martinskidoesn't matter to me, I just want it to became cool and good looking and to help you use it
19:00:27Martinskihere is the green version
19:00:27Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0R1hxTGRfWVhfUkk
19:00:30Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0U3BVdXdlQ2RtNmc
19:00:30Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0eHd6YmRSUVFlOVE
19:00:30Martinskido you like it ?
19:01:06Watusimoto_64 px high by (at most)150 pix wide should work well
19:01:30Martinskiok, I'll crop the big margins and do it 64 high
19:01:32Martinskimake*
19:03:44Watusimoto_but make the icon a little smaller and the text a little larger
19:04:42Martinskiok
19:08:58Watusimoto_to get a sense of the colors, look here:
19:08:59Watusimoto_http://img823.imageshack.us/img823/7154/61838954.png
19:10:08Martinskisoo, it should be more greenish ? :D
19:10:32Watusimoto_this is where all my years of expertise is worth nothing
19:10:36Watusimoto_I'm not a good judge
19:10:51Watusimoto_do you have a sister or mother you could ask? :-)
19:11:05Watusimoto_girls are often a better judge of color than boys
19:11:12Watusimoto_as a very rough generalization
19:11:18Martinski:D:D
19:11:25MartinskiI have a mother, I'll ask her
19:11:48Watusimoto_now that I have the whole thing in photoshop, I can try a couple of different colors
19:12:24Martinskido you want the .psd files ?
19:14:05Martinskiwait, the screenshot you gave me is with the 1st version or with the green-er version ?
19:16:01Watusimoto_the green one
19:16:15Martinskihmm ok
19:16:21Watusimoto_tell you what
19:16:22Martinskilooks totally different on black background
19:16:38Watusimoto_yes -- generally you should work using the final background if you know it
19:16:47Watusimoto_but lets do this
19:16:51Watusimoto_leave the green
19:17:02Watusimoto_and when we're done, give me the psd files
19:17:06Martinskiok
19:17:13Watusimoto_and then I can change it if I want
19:17:28Watusimoto_because it's easy to do and there's no point wasting both of our time on that
19:25:06Martinskihere are with larger text
19:25:09Martinskismaller logos
19:25:13Martinskiand cropped margins
19:25:14Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0MUpzMmpBMkZqVDA
19:25:14Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0N3JxQ2hXb2JUdDQ
19:25:14Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0X1pUTDZRX0R4Q2c
19:25:21Martinskinow only have to resize them
19:34:33Watusimoto_looking pretty good -- try making the amount of whitespace between the text and the symbol more consistent -- you can right-justify everything so the icons line up vertically, and tht text ends a constant distance away, and begins where it begins
19:36:36Martinskiso, the whitespace has to be constant from the right, while on the left it can be different depending on the text, right ?>
19:41:54Darrelthey look pretty nice ^^
19:42:05Martinski10x
19:42:13MartinskiI'm fixing the size right now
19:42:19DarrelMac's apple seems kind of... too white, I think
19:42:52Watusimoto_that's what my wife said too! :-)
19:43:08DarrelMaybe you should use the logo that's a bit more .. well, dunno, 3d-ish?
19:43:17Darrelwindows' icon is good though
19:43:19Martinskiok
19:43:23Watusimoto_I think flat is ok
19:43:35Martinskiuhm
19:43:49Martinskiactually it's
19:43:59Martinskiwhite flat, black flat and other 3d
19:44:28Darrelhttp://www.macforensicslab.com/ProductsAndServices/images/icon_apple.jpg
19:44:36Darrelhttp://files.softicons.com/download/system-icons/apple-logo-icons-by-thvg/png/512/Apple%20logo%20icon%20-%20Aluminum.png
19:44:43Darrelthese two ?
19:44:47Darrelwhat do you think
19:45:00Martinskiyes, but Watusimoto_ said that flat is ok
19:45:20MartinskiWatusimoto_ shound I use one of Darrel's ideas
19:45:42Darrelmaybe use black flat?
19:45:46Darreldepends on the background, though
19:45:50Watusimoto_it does
19:46:13Watusimoto_of Daryl's links, the second seems better
19:46:17Watusimoto_certainly the sivery color
19:46:57Watusimoto_but if only one is 3d-ish, it would look odd, I think
19:47:28Watusimoto_since they will all be displayed together
19:48:12Watusimoto_so programming is hard, but creating icons with input from the peanut gallery is near impossible ;-0
19:48:17MartinskiI put the 3d
19:48:25Martinskilooksbetter, we'll try
19:48:36Martinskijust to align the text and I'll send you again
19:50:35Watusimoto_thanks!
19:54:12Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0b3owYkNleXRKZFE
19:54:12Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0blgweFV1OUI5VTg
19:54:12Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0cWxQY0RuNFphVUE
19:54:17Martinskihere are the aligned versions
19:55:04Darrelbtw, Linux icon is not flat, so it's not odd that Mac's icon is not :)
19:56:35Martinskiyes
19:57:07DarrelI personally think the mac icon must be a bit higher
19:57:12Watusimoto_I concur
19:57:22Watusimoto_but the spacing looks good
19:57:30Martinskiwell, it's in the center, but the problem is the top of the apple
19:57:36DarrelI mean, move it up a bit, seems a bit weird..
19:57:37Darrelyeah
19:57:38Martinskilooks lower, but actually is centered :D
19:57:54DarrelI hate it when something like that happens :D
19:58:40Martinskimy perfectionism is fighting in me, to create it visually right, or to leave it centered :D
19:58:54Darrel:D
19:58:59Darrelcenter it based on the apple,
19:59:06Darrelthe tip would be higher
19:59:12MartinskiWatusimoto_ what would you say ?
19:59:21Watusimoto_I would say that the apple looks too low
19:59:34Martinskiok
19:59:42MartinskiI'll make it like my eyes tell me :D
20:00:03Watusimoto_even if it's aligned pixelwise, it should be algned visually
20:00:18Watusimoto_because the apple leaf has very little visual weight
20:01:12Darrel Quit (Read error: Connection reset by peer)
20:01:15Darrel_ has joined
20:01:26Darrel_damn! again!
20:01:28Darrel_ is now known as Darrel
20:02:01Martinskiaaand the new alignment
20:02:01Martinskihttps://docs.google.com/file/d/0BzOc42TE85E0cWxQY0RuNFphVUE/edit
20:02:41DarrelMy eyes are at ease now :D
20:03:02Watusimoto_the silver apple looks a lot better on the black background
20:03:12Martinskifor sure
20:03:14Watusimoto_muuuch better alignment!
20:03:39Watusimoto_it's like tux -- that;s not "properly" aligned, but looks right anyway
20:04:09Martinskiok, now to make the size change ?
20:06:12Martinskicoming after 5 mins
20:12:08Martinskihere
20:12:12Martinskiwhat would you say ?
20:15:03Watusimoto_oh, sorry
20:15:10Watusimoto_I didn't realize you were waiting on input
20:15:17Watusimoto_yes, sure go for it
20:15:17Martinskinp
20:15:36Martinskiuhm, now to make them 64 high
20:26:10Martinskidoes the width matter ?
20:26:45Martinskiwidth = 205
20:26:45Watusimoto_so, make them all the same width
20:26:48Watusimoto_but
20:26:50Martinskiheight = 64
20:26:58Martinskigood enough ?
20:27:01Watusimoto_I think I posted before a max width based on that screen shot
20:27:17Watusimoto_I said 150
20:27:20Martinskibut for the windows icon, 205 is the minimum ...
20:27:37MartinskiI'll have to change the font size
20:27:39Watusimoto_do me a favor and post that, and lets see how it works
20:27:46Martinskiok
20:29:04Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0S1Q2akVUZzFMRXc
20:29:04Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0TnNiQzFDRHl4M3M
20:29:04Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0YUJIR0NEbGdJZG8
20:29:05Martinskihere
20:29:35Watusimoto_ok, just a sec
20:32:39Watusimoto_it fits
20:32:39Watusimoto_http://img571.imageshack.us/img571/8240/91120737.png
20:32:51Martinskiwhew
20:32:51Martinski:D
20:33:07Watusimoto_close call!
20:33:45DarrelWatusimoto_, when you're done there, can you take a look at my task, I uploaded a zip with a demo of the toater notification. It doesn't get any data from anywhere yet, but I just want to show it to you. It comes out in a fade in/fadeout way, I would have preferred slider, but there is some bug in the api and the frame of the notification appears first and I really don't like it this way. The zip is a visual studio project, you can test i
20:33:45Darrelt this way, haven't compiled it in exe...
20:33:46Darrelhttp://www.google-melange.com/gci/task/view/google/gci2012/8029210
20:33:58DarrelWow, that came out longer than I expected :D
20:34:03Martinski:D:D
20:34:31Watusimoto_sure
20:34:51Martinskijust to ask, are those 3 icons done, so I can go to thinking the 4-th :D
20:36:44Watusimoto_that's the tricky on
20:36:46Watusimoto_one
20:37:37Watusimoto_one last thing to check, and that is how the penguin looks on the black bg
20:38:01Martinskiok, give a screenshot after that, I'm curious about it ;)
20:38:02Watusimoto_I don't suppose you tried that?
20:38:08Martinskinope
20:39:34Watusimoto_better than I expected, actually
20:40:51DarrelGive us screenshots, I want to see :D
20:40:55Watusimoto_http://img841.imageshack.us/img841/1536/83656801.png
20:41:50Darrelcool!
20:44:37Watusimoto_just to be complete
20:44:38Watusimoto_http://img641.imageshack.us/img641/921/58298307.png
20:44:55Watusimoto_much better tan the white apple
20:44:55Martinskilooks great, I think
20:45:25Watusimoto_of course you do :-)
20:46:38Watusimoto_looking at the toaster
20:46:54Watusimoto_what do I do, just build the project?
20:47:39Darrelyeah
20:47:48Darrelbuild and click the button
20:47:50Darrel:D
20:48:26Watusimoto_ok, well, I don't have vc# installed... perhaps you can post a built app?
20:48:34Darrelok
20:48:39DarrelIn a minute..
20:50:12Watusimoto_Darrel: I didn;t specify a language, so I will accept a C# solution, but just cusious why you chose that?
20:50:17Darreluploaded :)
20:50:18DarrelOh,
20:50:21Darrelbecause of WPF
20:50:32Watusimoto_what's that?
20:50:34Darreland that's what is usually used for toast notifications
20:50:42Darrel.net or C#
20:50:46Watusimoto_oh, ok
20:51:03DarrelWPF is "Windows Presentation Foundation" or something like that
20:51:33Watusimoto_I like the small exe size
20:53:16Watusimoto_there's some weird juju with the icon in the task bar when the toaster is displayed -- I assume this will not be a factor in the final version, which I imagine would live in the tray area
20:53:35Darrelhaha, juju
20:53:38DarrelI like this :D
20:54:10Darrelthere shouldn't be an icon in the taskbar, though
20:54:24Darrelmaybe you can give me a screenshot?
20:54:30Watusimoto_no, there isn't
20:54:47Watusimoto_I'm thinking that when you're done there would be ??
20:55:06Watusimoto_because for this sort of thing you'll want it out of the way
20:56:11Darrelyou would like a icon in taskbar?
20:56:20Watusimoto_well, not really :-)
20:56:30Watusimoto_but there would need to be a way to turn it off
20:56:36DarrelOh, well
20:56:43DarrelNot sure how to implement such a thing :D
20:56:54Watusimoto_that, I beleive, is very easy
20:56:55Darrelmaybe it should be a setting ingame
20:57:24Watusimoto_I was thinking this would be a standalone program
20:57:31Watusimoto_you run this without running Bitfighter
20:57:35DarrelOh, yeah
20:57:42Watusimoto_when someone starts, you fire up Bitfighter
20:57:44Darrelit would be handy for servers, true
20:57:57DarrelI get the idea now
20:58:51Watusimoto_I think there needs to be a task bar thing to control it. this wasn;t part of the case, but it would be awesome if there were a way to launch Bitfighter from that task bar thing. But we can add that later if it's more than trivial to do.
20:59:27Watusimoto_i've given you feeback on several things, but probably not what you wanted
20:59:35Watusimoto_what did you want again? :-)
21:00:12Watusimoto_I'm looking at other notifiers, like the one for Thunderbird
21:01:01DarrelOh, I appreciate the feedback :) I doubt I will be able to implement them all now, but maybe I can work them out as a future task
21:01:04MartinskiWatusimoto_ sorry for interruption, but are those 3 icons OK, so I can upload them ?
21:01:15Watusimoto_sure
21:01:19Watusimoto_Martinski: yes
21:01:42Watusimoto_Darrel: I was going to say that the way it pops up looks good
21:01:56Darreloh good, that's the important thing for now :)
21:02:33Watusimoto_it makes a little blink at the end of its popup sequence, which I assume is just a quirk of being launced from a menu
21:03:01Watusimoto_so what next? poll json feed?
21:03:23DarrelYeah
21:03:25Darrelthat.
21:03:42DarrelI have to get JSON.net lib and see how I use it..
21:13:40Watusimoto_Darrel: this might interest you
21:13:41Watusimoto_http://stackoverflow.com/questions/995195/how-can-i-make-a-net-winforms-application-that-only-runs-in-the-system-tray
21:14:32DarrelOh thanks!
21:15:11MartinskiWatusimoto_ are you going to be here tomorrow
21:15:19Martinskibecause I'm not sure I'll make the logo now
21:15:25MartinskiI don't have any ideas :S
21:20:59DarrelAh.. I hate Windows 8, but seriously, microsoft has added some REALLY cool namespaces and apis for it
21:21:06DarrelToast notifications, data.json
21:21:15Darreleverything is soooo much easier on windows 8
21:21:31Martinskitrue story
21:21:57Martinskion the hackaton I made a simple app for 3 days and took 7th place from 15 :D
21:22:14Watusimoto_Martinski: yes, I'll be here at least some of the day, and most of the evening
21:22:41Watusimoto_Martinski: and raptor is often around
21:23:05Martinskiok, any ideas
21:23:12Martinskifor the icon thing :D
21:26:58raptor has joined
21:26:58ChanServ sets mode +o raptor
21:28:22Watusimoto_hi raptor
21:28:31Watusimoto_am just getting to your code now
21:28:32raptor reads logs
21:28:33raptorhi
21:28:36Watusimoto_read away
21:28:44raptorno safeptr works
21:28:48raptorstill crash
21:28:52Watusimoto_I remember
21:28:56Watusimoto_give me 5 minutes
21:29:08Watusimoto_I got distracted reading an essay about why php sucks
21:29:12Watusimoto_more of a book, really
21:29:23raptorhaha
21:29:25Martinski:D:D:D
21:29:58Martinskiraptor, any ideas what should the general icon contain
21:30:03Watusimoto_ok, before I jump into the safeptr issue, did you try using references instead of pointers for team manager?
21:30:23Martinskisomething like "bitfighter" text + 2 ships for ex
21:30:34Watusimoto_Martinski: to me, the main iconic things about the game are the ship and the font used in the Bitfighter logo
21:30:42raptorthe solution was to make teamManager : public SafePtrData
21:30:48raptorand it compiled fine
21:30:55raptorbut no safeptr worked
21:31:31Watusimoto_our current icon is a pixelated ship, which seems odd for a game that eschews pixles (I'm guessing eschew will be a new word for you; rhymes with juju)
21:31:38Watusimoto_:-)
21:31:54Martinskieschew ?
21:32:08Watusimoto_eschew means to avoid
21:32:11Watusimoto_roughly
21:32:42Watusimoto_so to say "make it clearer" you could say "eschew obfuscation"
21:32:56Martinskilearned something new :D
21:33:00Watusimoto_:-)
21:33:18Martinskisoo, I have to make the ship more clear :D
21:33:24Watusimoto_ok raptor focusing on you now
21:33:34Watusimoto_justa fter I reply to Martinski once again :-)
21:33:51Watusimoto_you could try that; don't know how it would look!
21:33:57raptortake your time, i'm playing neverball with my son... :)
21:34:06Martinskiok, I'll stop bothering you
21:34:08Martinskinow
21:34:12Martinskiand soon I'll go to bed
21:34:16Martinskisee you tomorrow :)
21:35:13Watusimoto_Martinski: good night
21:35:22Watusimoto_Martinski: but no bother!
21:35:32Watusimoto_Martinski: you're helping us!
21:35:51DarrelOh boy, looks like I might switch to a new way to make the notification...
21:35:57Darrelmight simplify further work
21:36:11Martinskinight guys :)
21:36:25Darrelnight
21:36:31Martinski Quit ()
21:36:33Watusimoto_Darrel: why so?
21:36:41Watusimoto_Darrel: or how so?
21:36:54Darrelcode will be less, I think
21:37:04Darreland probably I'll be able to make the notification come with slide :)
21:37:08Darrelmain point ^
21:37:10Darrel:D
21:37:33Watusimoto_Darrel: I will say that the solution I expected was finding some similar code, gutting it and adding a bit of Bitfighter stuff
21:38:22DarrelThat's basically what I'm doing :)
21:38:49Darrelbut I want as simple as possible a solution, no needless clutter of code and stuff.
21:38:58Watusimoto_why do yourself what you can get someone else to do for you?
21:39:08Watusimoto_actually, that's what's great about gci :-)
21:39:17DarrelI think I found better code, that's why :D
21:39:31Darrelnow I will have to adapt it a bit
21:39:42Darrelfix some things and see how it works out
21:39:55Darrelhopefully, it will be also easier to get the json data with it
21:39:57Watusimoto_raptor: compiling a potential solution right now
21:40:12Watusimoto_Darrel: I like easy
21:40:31Darrelme too, me too :)
21:40:45Watusimoto_Darrel: your task expired. I assume you want me to extend?
21:41:24Darreloh yes, this will be good :)
21:42:54Watusimoto_whoa
21:43:00Watusimoto_somehow you ended up with 47 hours
21:43:06Watusimoto_ok, whatever
21:43:28Darrelhaha
21:43:49Watusimoto_raptor: I'm starting to see why Arc was so frazzled
21:44:56Watusimoto_ok, I think my TeamManager solution is finally compiling
21:45:05raptorhi again
21:45:08Watusimoto_I think it will prevent double delete
21:45:14raptorso neverball can make you motion sick
21:45:27raptorok
21:45:35Watusimoto_ha.. but I can't verify that it fixes the original problem
21:45:41Watusimoto_so I'm going to check it in
21:45:41raptori await your code
21:45:45raptorok
21:46:03Watusimoto_after compilation finishes
21:46:07raptori still don't know what's going on - i feel like my mind is lacking some fundamental idea to be able to grasp a problem of this sort..
21:50:58Watusimoto_ok pushed
21:51:01Watusimoto_also, did you see this?
21:51:02Watusimoto_http://img641.imageshack.us/img641/921/58298307.png
21:51:13Watusimoto_possible mockup of an enhanced downloads page
21:51:40raptori'm not sure i like microsoft's new logo
21:52:20BFLogBot Commit: ad1169106d07 | Author: watusimoto | Message: Make TeamManager a referened object rather than a pointed-to-object. Maybe fixes reported crashing issue.
21:52:21BFLogBot Commit: b79910b1b6df | Author: watusimoto | Message: Merge
21:52:40Watusimoto_this one?
21:52:41Watusimoto_http://i.telegraph.co.uk/multimedia/archive/02318/microsoft-logo_2318464c.jpg
21:52:45Watusimoto_I like it somewhat
21:52:55Watusimoto_it's clean
21:53:14raptorthat's better than the angled one
21:53:32Watusimoto_you know, I wish the fine people at Christian Matchmaking would do the Christian thing and stop spamming me!!!!
21:53:41raptorhahaha
21:53:53raptorok let's see what you did..
21:54:47raptorwell it compiled, that's promising...
21:55:12raptorand...
21:55:16raptorcrash!
21:55:43raptorsame trace: http://pastie.org/5499972
21:55:58raptorthis means...
21:56:08raptori don' tknow..
21:56:15raptor goes and cries in a corner
21:56:47Darrel:) poor raptor
21:57:03Watusimoto_what???
21:57:11raptornice full rebuild, too
21:57:32Watusimoto_it means it's not a double delete of the TeamManager
21:57:39raptoryep..
21:58:05Watusimoto_which actually makes sense, because when I was makeing these changes, I only found two deletes, and I couldn;t see how we'd be getting the double delete
21:58:22raptori'm starting to remember something
21:58:24Watusimoto_but ok.
21:58:30raptorlike we had this exact error before with 016
21:58:46Watusimoto_interesting. i vaugely remember that too
21:59:26Watusimoto_you know, it's the lineeditor destructor that's throwing the error
21:59:50raptorjanuary 13/14 is when we had the problem
22:00:16Watusimoto_and the line editor destructor has this line:
22:00:17Watusimoto_/ Do nothing
22:00:26Watusimoto_which isn't really helpful ;-)
22:01:22Watusimoto_it's probably a double delete of a team
22:01:30Watusimoto_not the team manager
22:01:31raptorsee top of log here: http://pastie.org/5499972
22:01:32raptoroops
22:01:36raptorhere: http://bitfighter.org/irclogs/index.php?date=2012-01-14
22:02:04Watusimoto_spooky
22:02:45raptorthis is like the same trace on windows: http://sam6.25u.com/upload/text1201/120113_15-01-12.txt
22:02:48raptorthat sam686 had
22:03:00raptorohwait, that's probably gdb in linux
22:04:25raptormaybe i should just go through all the classes and make sure we have virtual destructors everywhere?
22:05:07Watusimoto_ok, well editorTeam does have a LineEditor member, so it makes sense the destructor would be called
22:05:42raptorso does that mean some other class has a pointer to LineEditor and is cleaning it up first?
22:05:43Watusimoto_I think a team is being deleted twice
22:06:32Watusimoto_I think there must be some cleanup code that deletes it without nulling a pointer or removing it from a list
22:07:15raptorlooks for clearTeams()
22:07:17Watusimoto_try adding a deleted bool to team editor, setting it to false in the constructor, true in the destructor, and print its value on destruction
22:07:21raptorit is found in a few places...
22:07:23Watusimoto_or better
22:07:33Watusimoto_print the pointer to this in the destructor
22:07:41Watusimoto_and see if it's getting deleted twice
22:07:51Watusimoto_logprintf("%p", this);
22:07:52raptori did that once, it only got there one time
22:08:02Watusimoto_in the teameditor?
22:08:02raptorboth in editor team and in lineeditor
22:08:05raptoryes
22:08:09Watusimoto_editorteam?
22:08:09raptoryes
22:08:26Watusimoto_did it print immediately before the crash?
22:08:39Watusimoto_or might it have crashed before the print?
22:08:39raptorit printed once, then crash
22:08:45raptorseveral times
22:08:54raptori tested several times, i mean
22:09:05Watusimoto_but it would havebeen the second delete that crashed it...
22:09:18Watusimoto_so maybe the 2nd delete crashed before printing?
22:09:40Watusimoto_ok, let me try some breakpoints
22:10:09Watusimoto_so how exatly to you reproduce?
22:10:13Watusimoto_I have the level in question
22:10:24raptorjust open it, then quit the editor
22:10:27raptorthat's it
22:10:49Watusimoto_okm when I do that, the EditorTeam destructor gets called twice
22:10:55raptorpointer in ~EditorTeam:
22:10:57raptor0x10ef670
22:10:58raptor*** glibc detected *** bitfighter: munmap_chunk(): invalid pointer: 0x00007ffff6731481 ***
22:11:00Watusimoto_which is what I would expect on a level with two teams
22:11:01raptorok
22:11:06raptorthere are two teams in the map
22:11:11Watusimoto_yes
22:11:29Watusimoto_odd that this is platform specific
22:11:36Watusimoto_and even moreso that it is level specific
22:12:39Watusimoto_try replacing this:
22:12:40Watusimoto_ mTeams.deleteAndClear();
22:12:50Watusimoto_teamInfo.cpp 466
22:12:55Watusimoto_with something like this
22:13:20raptorok
22:13:50Watusimoto_for(S32 i = 0; i < mTeams.size(); i++) { logprintf("%p", mTeams[i]); delete mTeams[i]; } mteams.clear()
22:14:04raptorok
22:14:41Watusimoto_the other thing we could do is make mTeams hold a RefPtr or whatever we're using in place of shared_ptr
22:14:50Watusimoto_and let boost deal with deleting
22:16:24raptorok i also added a print statement before hand
22:16:29raptorso:
22:16:30raptorin clearTeams()
22:16:32raptorin clearTeams()
22:16:33raptor0x10ef700
22:16:35raptor*** glibc detected ***
22:17:02raptorclearteams() being called twice
22:17:56Watusimoto_is it now...
22:18:14raptorthis is where i was last night when i went to bed
22:18:19Watusimoto_which clearTeams()
22:18:22Watusimoto_?
22:18:55Watusimoto_I have an idea... new gci task to fix this bug!
22:19:53raptorwait
22:20:09raptorit is only being called once - one time on editor start up, the other time from exit
22:20:23raptorbeing called from EditorUserInterface::cleanUp()
22:21:14raptorwhen i commented out clearTeams() in UIEditor, it didn't crash on editor exit, rather it threw the same crash on game exit
22:21:44Watusimoto_the first time it doesn't have any teams in the vector, the 2nd time it has two
22:21:46Watusimoto_as expected
22:22:12Watusimoto_so it's not a double delete of the team, but perhaps there is soemthing unexpectedly linking two teams
22:22:15Watusimoto_a static?
22:22:35raptoryeah, something...
22:23:25Watusimoto_ok
22:23:43Watusimoto_abstractTeam only holds one object, a Color reference
22:23:46Watusimoto_seems innocent
22:24:08raptoroh wow, the newer eclipse let's me inspect vectors!
22:24:09Watusimoto_Team is out of the picture since none of thsoe get created in your scenario... theoretically
22:24:15raptormayb ei can even debug now!
22:24:22Watusimoto_so that leaves EditorTeam
22:25:33Watusimoto_and the only thing that holds is a ref to LineEditor mNameEditor;
22:25:40Watusimoto_so you could try this
22:25:47Watusimoto_try removing mNameEditor
22:25:57Watusimoto_and everywhere it's used return dummy data
22:26:39Watusimoto_and maybe in getLineEditor, return a new LineEditor which you'll just not cleanup
22:27:11Watusimoto_or you could try this
22:27:27Watusimoto_Move the initialization of mNameEditor from here: EditorTeam::EditorTeam() : mNameEditor(LineEditor(MAX_TEAM_NAME_LENGTH))
22:27:32Watusimoto_into the body of the constructor
22:27:42Watusimoto_shouldn;t make a difference.... but you never know
22:27:57Watusimoto_wait
22:28:05Watusimoto_something looks wrong here
22:28:21Watusimoto_that might be it
22:28:38Watusimoto_in .h, we have this: LineEditor mNameEditor
22:29:02Watusimoto_so when object is first constructed, mNameEditor is a ref to a Lineeditor, right?
22:29:08raptorright
22:29:13Watusimoto_so what is going on here?
22:29:13Watusimoto_mNameEditor(LineEditor(MAX_TEAM_NAME_LENGTH))
22:29:17Watusimoto_in the constructor
22:29:24raptorugliness
22:29:38Watusimoto_we're creating a new LineEidotr when all we want to do is set the MAX_TEAM_NAME_LENGTH somehow
22:29:56Watusimoto_let's fix that and see if that fixes the problem
22:31:05Watusimoto_/ Constructor
22:31:05Watusimoto_EditorTeam::EditorTeam()
22:31:05Watusimoto_{
22:31:05Watusimoto_ mNameEditor.mMaxLen = MAX_TEAM_NAME_LENGTH;
22:31:05Watusimoto_}
22:31:19raptorah, that's what i was going to ask
22:31:45Watusimoto_though we should really have a setter for that
22:31:49Watusimoto_but try it
22:31:58Watusimoto_I'm feeling good about this one
22:33:37raptorok compiling..
22:35:10Darrel Quit (Read error: Connection reset by peer)
22:35:27raptorcrash! same trace
22:35:29Watusimoto_ha a use of eschew in the general press
22:35:30Watusimoto_anecdotal evidence that young people eschew email in favour of social networks,
22:35:35Watusimoto_what?!?
22:35:47raptoryep
22:35:53Watusimoto_you'r lying!
22:35:57raptordid a full rebuild
22:37:33Watusimoto_ok
22:37:47Watusimoto_can we make TeamManager use refs to teams rather than pointers?
22:37:55Watusimoto_though that's probably not the issue
22:39:51Watusimoto_ok, two possibilities
22:40:04Watusimoto_1) try removing teamEditor as I suggested earlier
22:40:16Watusimoto_sorry lineEditor
22:40:41Watusimoto_2) try making team manger use vector of teams instead of pointers to teams
22:42:11Watusimoto_looking to see if 2) is even feasible
22:51:19raptorok, i gave to go again..
22:51:25Watusimoto_ok
22:51:30Watusimoto_I'll try 2
22:51:34raptori'll look at it again later
22:51:38Watusimoto_and you can testl8r
22:51:46raptorok
22:51:50raptorbye!
22:51:54Watusimoto_ciao
22:54:36raptor Quit ()
23:14:06CrazyLinuxNerd Quit (Quit: Leaving)
23:14:32CrazyLinuxNerd has joined
23:43:51Watusimoto_well, bad new bears here
23:44:01Watusimoto_found the old forcefield bug lurking
23:44:15Watusimoto_and a new crash I don;t understand

Index Search ←Prev date Next date→

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