#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-09-25

Timestamps are in GMT/BST.

00:32:22Little_Apple has joined
00:33:09Little_Appleraptor: where be the weapon values
00:34:31raptorhi
00:34:40raptorlook in gameWEapons.h/.cpp'
00:34:47raptor(I think)
00:35:12raptorif you change a .h file, it takes longer to compile
00:35:14Little_Appleoh ok
00:35:15raptorjust FYI
00:35:24Little_Applei dont mind
00:38:11sam686 has joined
00:38:11ChanServ sets mode +v sam686
00:50:10Little_Applewheres the shot delay timer?
00:50:13Little_Applecant find it..
00:57:23sam686Shot delay timer?
00:57:53Little_Appleyea...
00:58:04Little_Applethe delay inbetween shots
00:58:23sam686There is a list of delays and such on WeaponInfo.h
00:59:48Little_Applethaaaaank yooouuuuu
01:03:05Little_Appleraptor.
01:03:12Little_Appleare you incredibly busy?
01:05:18sam686I find often times, raptor just leave for a while then come back several minutes later, leaving the computer on this channel...
01:07:55Little_Appleyep
01:08:28Little_Applewell anyways, raptor, what did you do to get the source working on xcode4?
01:11:01sam686I think it is too silent here... http://www.youtube.com/watch?v=CQFEY9RIRJA#Cricket_Chirping
01:11:57Little_Applethanks sam. i needed that.
01:12:34raptor hi
01:12:44Little_Appleraaaptor
01:12:47raptorIRC is by nature come-and-go as you please
01:12:58Little_Applewhat did you do to the source to get it working on my xcode?
01:13:42raptori had to change loads of settings to get it to compile for 10.7 + 10.8 instead of 10.4/10.6
01:13:51raptorand change it to 64bit only
01:14:01raptorand some other stuff i don't remember
01:14:39Little_Applecould i bother you and ask you to do the same with 017b?
01:14:45raptori will not
01:14:54koda Quit (Quit: koda)
01:15:10raptorbecuase 017b is in the past
01:15:33Little_Appleaww
01:15:40Little_Appleok then.
01:15:43raptorit would require much work that i don't want to put into the past
01:15:58Little_Applethen can i have the windows build for 017b?
01:16:22raptorisn't that on the downloads page?
01:16:41Little_Applenono… i meant 018
01:16:48Little_Applestupid farty brain.
01:17:12sam686unless you are trying to get your xcode stuff to work on 018?
01:17:16raptorsam686: can probably get you an easy build (just a zip file) of a 018 windows build
01:17:58Little_Applehmm...
01:20:40raptorbut only if he wants to
01:22:28sam686ok, just noticed I had an un-commited changes that I just commited and pushed
01:22:47Little_Appleis that a no?
01:22:55sam686probably yes
01:23:12Little_Appleok :c
01:23:19sam686If my computer if fast... (i can put up a link in 4 minutes
01:23:25raptorsam686: does that remove the actual copy of the vector?
01:23:34raptor this->innerVector = std::vector<T>(p.innerVector);
01:23:43raptoris now this->innerVector = p.innerVector;
01:23:47sam686I think it still copies, i think
01:24:02sam686I had an error with Vector<bool> that I had to fix
01:24:20raptorok
01:24:40raptorso the '=' does the copy because it isn't a pointer?
01:24:56BFLogBot - Commit 95e64b51df28 | Author: sam8641 | Log: vector to Vector
01:25:23sam686the "=" copies only a pointer if (Vector<anything *>)
01:25:34sam686otherwise, it copies everything
01:26:04sam686I think that was the same behavior before and after my latest changes...
01:28:27sam686also, Vector<int> *zz = &otherVector, will not copy, it is just getting or copying pointer
01:29:21sam686Vector<int> *a, *b; *a = *b; will do the copy (assume both pointer to Vector<int> is valid)
01:30:49sam686the main thing is, innerVector is not a pointer, it is a std::vector
01:34:36sam686Little_Apple, do you want the windows build of latest 018?
01:36:03Little_Appleyes pleeease
01:36:27sam686here, http://sam6.25u.com/upload/bitfighter_018_rev_95e64b51df28.zip
01:36:47Little_Appleis it compiled?
01:36:59sam686yes, just run bitfighter.exe in windows
01:37:07Little_Applealrighty then
01:38:09Little_Appleheh
01:39:30raptorhi again
01:39:59sam686(in game on 018 with little apple)
01:40:12raptorooo, i jion
01:45:17Little_Applehaving issues...
02:03:49sam686umm, missing green "B" badge in help instruction (F1)
02:04:51Little_Applecan i fix it?
02:04:56raptorhmm...
02:05:03Little_Applei could get teh badge :3
02:05:30raptorthat's ok - i only show one (the silver one)
02:05:40raptoroh, you mean in description
02:05:54Little_Appleyea
02:06:07Little_Appleum...
02:06:13Little_Applewhat happened to sam's site?
02:06:21raptorlooking into alt tab problem with SDL again..
02:06:23raptorsigh
02:06:47Little_Appleraptor?
02:07:10raptoryes
02:07:15Little_Appledid sam get a new website?
02:07:20Little_Applecuz the old one...
02:07:21raptorask him that
02:07:44Little_Appleum..
02:07:53Little_Applecan i have the upload link then?
02:08:40sam686the same /upload3.php (at the first slash)
02:09:19Little_Applethe full link?
02:09:25sam686http://sam6.25u.com/upload3.php
02:09:25Little_Applei have one but its...
02:09:37Little_Applethanks.
02:10:01sam686maxhushahn.com is dead because Zoomber didn't pay for the fees..
02:10:22sam686the same goes for [anything].maxhushahn.com
02:11:05Little_Appleoh ok
02:14:38raptorLittle_Apple: can you ask footloose what windows versino she runs?
02:14:44raptorand what did you run in your VM?
02:14:57Little_Applei think she runs xp..
02:14:59Little_Appleimma ask
02:15:45sam686not sure where FoOtloOse went to... (raptor was looking for FoOloOse)
02:15:50Little_Appleher brother said: winblows 7
02:15:58raptorok
02:16:02raptorhow about you in your VM
02:16:04Little_Applewinblows.
02:16:07raptorVERSION
02:16:20sam686the alt-tab problem doesn't make the ALT key stuck on my windows XP
02:16:26raptornor on mine
02:16:32sam686not sure about windows 7, though..
02:16:34Little_Applein my what?
02:16:38raptorbut i think it does for footloose on windows 7 and for watusimoto
02:16:45raptorLittle_Apple: didn't you say you ran windows in a VM?
02:16:51raptorif so, what version?
02:16:56Little_Appleum..
02:17:00Little_Applei ran an emulator
02:17:03raptoryes
02:17:05raptorthat
02:17:09Little_Applei used wine...
02:17:12raptorwhat VERSION
02:17:14raptorohhhh
02:17:16raptorhaha
02:17:18raptorok
02:17:23raptorwine is not an emulator
02:17:33raptorWine Is Not an Emulator
02:17:37raptorW.I.N.E.
02:17:42raptorbut
02:17:51raptordid you have the same alt + tab problem, Little_Apple?
02:18:40sam686wine is a little bit of an emulator to emulate some windows calls, but the native code runs at full speed otherwide
02:19:04raptori guess that's true...
02:19:21Little_Appleraptor
02:19:23raptorok, testing windows 7
02:19:28raptorLittle_Apple: yes?
02:19:28Little_Applecan you compile this for windows? http://sam6.25u.com/upload/bitfightermess.zip
02:19:33raptorno
02:19:38Little_Appleaw
02:19:49raptorI'm focusing on bugfixing at the moment
02:19:54Little_Appleok
02:19:57sam686and what I heard, wine can do nearly fully accelerated opengl , where virtual machine like virtualBox have a hard time to do that..
02:19:59Little_Applein that case ignore me
02:20:11raptoryeah, WINE is great with openGL applications
02:21:37Little_Applesam?
02:21:42sam686?
02:21:48Little_Appleare you incredibly busy?
02:21:58sam686mostly not
02:22:10Little_Applecan you waste some time and compile this for windows?
02:22:15Little_Applehttp://sam6.25u.com/upload/bitfightermess.zip
02:25:34sam686that is a big 100 MB of the entire bitfighter HG revisions
02:25:53raptorLittle_Apple: please learn to create a diff
02:26:42Little_Applewut
02:27:50raptorok, be back in an hour
02:27:53raptor Quit ()
02:28:41sam686Your diff (difference) is something like this: http://sam6.25u.com/upload/text1209/120924_21-09-18.txt
02:29:31Little_Appleok..
02:29:39Little_Appleso how do i do that..
02:30:19sam686Do you have some graphical HG system (and which one?) on mac or no?
02:30:30Little_Applei got mercurial
02:30:54sam686it could be done on command line only, too...
02:31:32Little_Applehow could i apply a diff to my code?
02:33:05sam686i think it is something like hg export (i think)
02:33:18Little_Appleok..
02:33:51Little_Appleit wont be applied to the actual source on google code will it?
02:33:51sam686since I mostly use TurtoiseHG for windows (not sure if that runs on mac)
02:34:03sam686no, won't apply on google code bitfighter
02:34:22Little_Appleok
02:35:59sam686unless you happen to want to clone bitfighter (google code) into your own google code repository (using hg commit, hg push (your new google code clone)..
02:37:31Little_Applei dont think any of the changes i make would actually help the game at the moment
02:38:14sam686right now, no... but maybe not yet..
02:39:44Little_Applemaybe if i find some simple bugs i could fix haha
02:42:29sam686We sometimes keep track of bugs that is mostly only on latest code (not on 017) here: http://bitfighter.org/wiki/index.php/Running_Bug_List
02:44:40Little_Appleis it up to date?
02:45:04sam686yes, that bug list is up to date..
02:45:48sam686There is some mostly older bugs here: http://code.google.com/p/bitfighter/issues/list
02:52:04Little_Appleok
02:52:12Little_Applei figured out how to make a diss
02:52:16Little_Applediff*
02:59:28Little_Applehmmmm
03:05:52Little_Appleok im done for today
03:05:55Little_Apple Quit (Quit: Page closed)
03:23:56raptor has joined
03:23:56ChanServ sets mode +o raptor
03:27:41raptorsam686: i can't duplicat that alt tab issue on windows 7 either...
03:27:44raptor*duplicate
03:34:14sam686I wonder if it happens with aero (graphics effects like glass blur see through graphics) enabled only..
03:34:31raptorahh... i do have that disabled...
03:35:15sam686only windows vista / 7 (and probably later versions) have aero effects
03:35:46raptorwell, let me see if i can enable it in the VM...
03:47:13sam686Found a dumb bug, On bitfighter "Enter your nickname", press F5, type, and press enter. It shows you as empty string name "".
03:48:25sam686then, when you finally log in and go to server list, it shows your empty name messages..
03:50:54raptorha!
03:51:02raptorwe should disable f5 on name entry
03:51:13raptoralso
03:51:15sam686ok..
03:51:18raptoryou were right
03:51:28raptorthe aero theme makes the ALT TAB bug
03:51:55sam686too bad I can't enable AERO on windows XP... (it doesn't have one)
03:52:30raptori'm going to look through the SDL source code...
03:55:39sam686the problem might be partially related to bug 25. Modules sometimes get stuck 'on'
03:55:52raptoryou think so?
03:55:58sam686only that I never seen it somehow get fixed when you are killed..
03:56:29sam686its that it doesn't see any released keys when it got inactive..
03:56:45raptorah - well, i am using SDL 1.2
03:57:29sam686on windows aero enabled case, alt tabbing seem to switch windows to non-bitfighter window, then maybe send ALT release to the other window (not bitfighter or switched from)
04:00:34sam686also happens when you hold down ALT, mouse click out of bitfighter window, release ALT, click back into bitfighter window.
04:00:41sam686can happen to any key, not just ALT
04:00:49raptoryes
04:00:57raptorbut that is a different problem...
04:13:09raptorok, it is getting the window events OK
04:26:56raptori think i may have figured it out...
04:27:03raptormight have a workaround soon...
04:27:19sam686On our Zap/InpotCode.cpp, there is inputCodeIsDown[] which I think doesn't reset on lost focus...
04:27:43raptorit has nothing to do with that
04:27:56raptori am resetting those in Event.cpp
04:28:25raptorthe problem is SDL does a SDL_SetModState when you press ALT
04:28:35raptorbut it doesn't release the mod state when you go back in
04:28:46raptori think if i force a release, it'll work...
04:31:36raptori fixed it!
04:33:47sam686is your fix still have the ability to hold ALT, press enter multiple times?
04:33:57raptorlet me test...
04:34:13raptoryep!
04:34:14raptorpushed
04:35:16BFLogBot - Commit 5177ead0284d | Author: buckyballreaction | Log: Finally (again) fix the ALT + TAB problem on Windows
04:44:01raptorthat was a good hint sam686
04:44:04raptorabout aero
04:44:09raptorfinally got me to solve it
04:45:11sam686Just realized, I frequently get the "Sticky" keys bug on 017b, but not on 018 until your latest revistion removed that..
04:45:32raptorwhat was that?
04:45:39raptorso you get stick keys again?
04:46:02raptoroh. oops, i guess I removed the resetKeys...
04:46:06raptori should restore that...
04:46:30sam686InputCodeManager::resetStates() fixes sticky key problem for keyboards, but causes a small problems with joystick since SDL always listens to joystick buttons even if inactive..
04:46:59raptorok, let me restore the keyboard one..
04:48:35raptorwhat do the sticky keys do again?
04:49:00sam686the keys sticks when clicking outside of bitfighter window, like it does on 017b
04:49:16sam686I frequently thought it was still a bug, because I still see it on 017b
04:49:48raptorah, ok... but it still happens with mouse and joystick, right?
04:50:11sam686it never happens to joystick, as SDL appears to never miss joystick events
04:50:16sam686but can happen to mouse buttons
04:51:46sam686harder to make it happen to mouse buttons - can't just click while holding down click button (having to release to click again) you have to alt tab while holding down mouse buttons.
04:55:19BFLogBot - Commit b399adf675cc | Author: buckyballreaction | Log: Restore keys being released on focus lost
05:03:23raptorgood night!
05:04:37sam686night
05:05:17raptor Quit ()
05:05:22BFLogBot - Commit b1a228d01baf | Author: buckyballreaction | Log: Don't allow accessing global chat from the name entry screen
06:17:31sam686 Quit (Ping timeout: 245 seconds)
07:12:16watusimoto has joined
07:12:16ChanServ sets mode +o watusimoto
08:44:45-kloeri- [Global Notice] Hi all. In roughly 15 minutes we'll be rehubbing a few servers and also migrating niven and zelazny to new servers. It will be a bit noisy but should only take a few minutes. Thank you for using freenode.
09:04:31LordDVG has joined
09:04:40LordDVG Quit (Changing host)
09:04:40LordDVG has joined
09:20:59LordDVG Quit (Remote host closed the connection)
10:01:58LordDVG has joined
10:13:24LordDVG Quit (Remote host closed the connection)
12:13:28raptor has joined
12:13:29ChanServ sets mode +o raptor
12:17:22raptorso early...
12:23:26watusimotohi
12:23:34raptorhi
12:23:34raptor*yawn*
12:23:43watusimotowhat time, and why so early?
12:23:54raptorbeen up over an hour already
12:23:58raptorit's 6:23
12:24:06watusimotogood lord!
12:24:18raptorwell - it's because we finally got our second child sleeping in the room with the firstborn
12:24:20watusimotoAM?
12:24:26raptorand i don't know what to do with so much sleep...
12:24:30raptoryes
12:24:40watusimotowell, those are good reasons
12:25:21raptori can feel coming back to me the sanity i've been slowly losing over the past year...
12:25:49watusimotoheh don't worry... you'll have a good 6 months or so, then something will change, and the misery will return
12:26:02watusimotoin some unexpected form
12:26:27raptorso true! with the first child, he started having night-terrors (or whatever they're called)
12:27:22raptorwaking up screaming and still dreaming, unable to calm him down, or wake him up
12:27:38watusimotowow -- we never had that
12:27:42raptorso weird - i wonder if i had those...
12:27:49raptoryeah, it was trippy
12:27:52watusimotonice thing is he'll forget
12:27:57raptoryes
12:32:03raptori posted that modifier state bug with windows an aero to the SDL bug tracker
12:32:13watusimotogood sleuthing!
12:32:23watusimotohaven'te tested it yet, but I think it should work
12:32:40raptoryeah - one thing i learned is how much aero causes the CPU to heat up when running in a VM
12:32:45watusimotoI was worried that we might not always want modifiers deactivated
12:32:46raptor:)
12:32:57raptoroh yeah?
12:33:16watusimotoif you alt-tab, you will release the alt at some point before doing anything else... that's ok
12:33:45watusimotoif you are hodling shift, then click in another window, then back into bitfighter, shift is down, but game will think it is up, no?
12:34:05raptorcorrect
12:34:08watusimotonot too worried about that case, but maybe it leads to others that are more of a concern
12:34:28watusimotoalt-tab is really the major one at this point, and I think that one is ok
12:34:42raptorwell, it could be changed to only reset the ALT key states
12:35:06watusimotothat might be best; especially since it is so easy
12:35:27watusimotodon't bother
12:35:39watusimotoactually; better the way it is
12:35:46raptorexcept - all modifiers are already released by SDL under normal circumstances...
12:35:51watusimotofixing that one case breaks another, more common case
12:36:11watusimotoit will break that you are holding shift, and click away, then relase shift, and click back in Bitfighter
12:36:17watusimotothat seems much more common
12:36:46watusimotolet's leave it the way it is until they fix SDL
12:38:11raptorok
12:38:59raptori frequently find the issue in SDL and can submit a patch, but in this case it was in code with heavy windows API usage
12:39:22raptori'm not so familiar with that..
12:39:36watusimotoyou don't need to fix it
12:39:47watusimotosoulds like you did a good job pinpointing the error
12:39:53watusimotothey have people for that
12:40:07watusimotohow did you figure out it was aero related?
12:40:18raptorit was a wild guess by sam
12:40:34watusimotogood to have him around!
12:40:40raptorand he was right - i had always turned aero off..
12:40:44raptorno kidding
12:41:01watusimotosafe to say I would not have made that guess
12:41:38raptorme niether... and he's still on XP!
13:36:58raptorheh
13:37:05raptoranother player wanting more players!
13:52:21raptorok, off to school...
13:52:52raptor Quit ()
14:54:16raptor has joined
14:54:16ChanServ sets mode +o raptor
16:11:17raptor Quit ()
16:48:55raptor has joined
16:48:55ChanServ sets mode +o raptor
17:17:35raptorThis was our physics video for the day: https://www.youtube.com/watch?v=n8BX6v9k9CU
17:20:21watusimoto Quit (Ping timeout: 244 seconds)
17:37:13Watusimoto has joined
18:02:59Watusimoto Quit (Ping timeout: 264 seconds)
19:50:45raptor Quit ()
20:14:29Watusimoto has joined
20:28:40raptor has joined
20:28:41ChanServ sets mode +o raptor
21:17:16Little_Apple has joined
21:17:20Little_Applehelloo
21:17:52raptorhi
21:18:34Little_Applewhatcha doin?
21:18:41raptorwork
21:19:06Little_Appleah.
22:07:29BFLogBot - Commit c9d8c52676f3 | Author: watusim...@bitfighter.org | Log: Update/fix team change menu
22:07:30BFLogBot - Commit 4239f9bef5fb | Author: watusim...@bitfighter.org | Log: Merge
22:07:49raptorWatusimoto: you confirmed alt tab problem is gone?
22:10:28Watusimotofixed!!!!!
22:10:49Watusimotono longer do I need to rememeber to tap alt before hiting enter when testing a /command
22:11:00Watusimotothank you!!!!!!!!
22:11:09raptor:)
22:11:19Little_Apple Quit (Quit: Page closed)
22:12:52Watusimotoabout to do a commit that will break any bots that subscrbie
22:13:07raptori think bots are already broken...
22:13:14raptorso... ok
22:14:32Watusimotowell, now they;re even more so!
22:14:36Watusimotomy copy of eliza works
22:16:01raptoreliza does work
22:16:08raptorand is as annoying as evar!!
22:17:32BFLogBot - Commit 525e66dcfc29 | Author: watusim...@bitfighter.org | Log: Scripts and levelgens can now subscribe/unsubscribe with just subscribe(event) and unsubscribe(event); no levelgen: or bot: prefix
22:17:42Watusimotos_bot seems not to subscribe to anything
22:17:50Watusimotoso maybe it's not as broke as I suspected
22:18:57raptori keep getting errors: ***ROBOT ERROR*** robots/s_bot.bot:15: Variable 'vec' cannot be used if it is not first declared. -- Aborting.
22:19:00Watusimotoyes
22:19:04Watusimotovec was renamed to point
22:19:06Watusimotofor clarity
22:19:20WatusimotoI'm going to try to get s_bot working tonight, though I need to get to bed soon
22:20:05raptordo you think the Lua system is stable enough for release? (if not, what else do you think you need to do?)
22:20:36Watusimotooh crud... all the vec.angleTo type methods need to be rewritten to point.angleTo(point, otherPoint)
22:21:22Watusimotolots of editing
22:23:49Watusimotook, maybe not as bad as I thought
22:23:51Watusimotoso far
22:24:03raptorbig serach and replace?
22:24:06raptor*search
22:24:13Watusimotoall manual
22:24:21Watusimotobot partially runs now
22:35:54Watusimotochecking in fixed bot
22:36:01Watusimotoseekers not terribly effective against bots
22:36:34raptorall the beautiful tabulators... gone...
22:37:36BFLogBot - Commit 0310756b4b82 | Author: watusim...@bitfighter.org | Log: fixes for s_bot -- now mostly works
22:38:57ChanServ Quit (*.net *.split)
22:39:10raptornet split!
22:41:20raptorheat seeker works ok... as long as you're more than a screen away from s_bot
22:46:28ChanServ has joined
22:58:53sam686 has joined
22:58:53ChanServ sets mode +v sam686
23:02:25raptoryay s_bot is fixed ish
23:15:10Watusimotook, goodnight
23:15:15raptornight
23:15:21Watusimotomore s_bot changes committed
23:15:31Watusimotonothing too interesting
23:16:05raptori founda n interesting fact, on newer processors the sqrt() function takes the same time as the divide-by-float
23:16:06Watusimotooh... sam686: congratulations on guessing the number of beans in the jar... er... I mean guessing the cause of the stuck alt key!
23:16:12raptor22-23 ticks
23:16:24Watusimotointeresting
23:16:36Watusimotohow much does a multiply take?
23:16:36raptorthat makes me want to avoid divide-by-float
23:16:42Watusimotoor use sqrt!
23:16:45raptorneed to search for that...
23:17:00Watusimotowell, no matter...
23:17:03Watusimotonight all
23:17:03raptori was researching sqrt alternatives...
23:17:23raptor1--2 cycles for FP multiplication
23:17:28raptornight
23:17:41BFLogBot - Commit 8ddcf5176472 | Author: watusim...@bitfighter.org | Log: Slight performance enhancements to s_bot; some code formatting, removed unneeded var declarations at beginning (using a var in main() will define it as a global as per normal Lua usage; creating globals still banned elsewhere... I think)
23:23:36Watusimoto Quit (Ping timeout: 246 seconds)
23:49:32raptor Quit ()

Index Search ←Prev date Next date→

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