#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-03-01

Timestamps are in GMT/BST.

00:00:06watusimotoor rather in memory
00:00:08sam686except static variables in functions, which asks like global variable for memory allocations
00:00:44raptorwatusimoto so for me i see a choice between: 1. yanking the pulse code, 2. leaving it and giving up fast strobing
00:00:48sam686static inside functions means that variable is always there, all the time
00:00:56raptorat least for 017...
00:00:59watusimotosam686: I think it makes very little difference in practice either way. I will stop declaring simple values inside functions as static if you think that's better
00:01:35watusimotoraptor: I'd like to try pulse; especailly as we have other modules (sensor) with a super component
00:01:46raptorok
00:02:00sam686also, static variables causes problems if you want multiple threads to run the same functions (each thread have their own local variables, but share static / global variables)
00:02:08watusimotokaramazovapy has a point, but sometimes players just need to adapt
00:02:13raptor(I was hoping you'd say that - we have a community of testers, after all :)
00:02:16watusimotothey are getting a new power after all
00:02:51watusimotosam686: true, but it's unlikely to be an issue if the values are also constant
00:03:06raptorOK, i only had those two things... you don't have to stay up any longer for my ramblings...
00:03:53watusimotoI rode this tonight:
00:03:54watusimotohttp://en.wikipedia.org/wiki/Wuppertaler_Schwebebahn
00:04:09watusimotoa train built above a river
00:04:17raptorwhoa
00:04:20raptor!
00:04:55watusimotothe center pic half way down the page shows a good view
00:05:07sam686as for constant int, many compilers can easily optimize constant numbers by hard coding it as a number instead of the address of a number..
00:06:08watusimotoso you think we should prefer const S32 var = 100; to static const S32 var = 100;
00:06:51raptorI think the compiler has more to do with us coding optimizations than us coding optimizations
00:06:52sam686i don't know if there is a difference between "const" and "static const"...
00:07:07watusimotor: no doubt
00:07:26watusimotosam: there is -- the first is not static, and the second is
00:07:58watusimotospecifying a constant as const makes intent clearer, and may let the compiler optimize
00:08:06watusimotobut it does not make the value a const
00:08:09watusimotosorry
00:08:13watusimotodoes not make the value static
00:08:38raptorin fact, the more i read about the recent generations of compilers - the more i'm convinced that all the little tricks I think i'm applying to the code are redundant
00:09:04watusimotoraptor: probably true; clarity should be our primary goal
00:09:20watusimotoclarity and maintainability
00:09:47sam686not sure, but it appears like my visual 2008 compiler automatically makes most "const" a static..
00:10:12watusimotoif it does that, then the compiler thinks that's the best choice
00:10:22sam686for integer and float numbers, not sure for other data types...
00:10:38raptoroh
00:10:43watusimotokind of makes sense though... if you have 10 objects, why shouldn;t a constant be shared amongst them?
00:10:54raptorwatusimoto: did you get my response to your e-mail?
00:11:14watusimotolooks like I did...let me read it
00:11:30watusimotoyes
00:11:43watusimotowell, I'm going to do some of that work anyway...
00:12:02raptorok
00:12:44watusimotoso when I do, we can try to apply it to panels
00:12:52watusimotoremember... not gameObjects! :-)
00:13:12raptorha!
00:13:13raptorok
00:13:26raptorthere are a lot of sparkles on the insides of Cores
00:13:36raptorwhy you destroy panels
00:13:48raptori like the effect
00:14:54watusimotoreferring to the gray sparks?
00:15:00raptoryes
00:15:13watusimotowas going for the leaking gas effect
00:15:18raptormaybe fewer sparks might be good...
00:15:20raptoroh
00:16:02raptoralso, i have this idea of a little illumination around the health bar of a panel so you know it's at full health
00:16:14raptorwould especially be good feedback when repairing
00:16:26raptorsince the bars doing go out to the edges all the way anymore
00:16:44sam686https://www.google.com/search?q=const+vs+%22static+const%22 ... it seems to say that "static const" might be faster for some compilers..
00:17:31watusimotomaybe fewer would be good
00:17:56sam686so i guess you can use "static" for const, and non-static for non-const variables..
00:17:59watusimotoI'm open to all suggestions! Modify and find something better!
00:18:03raptorok
00:18:07raptorlicense to modify!
00:18:10watusimotoyes, definitely non static for non const
00:18:55raptoryour fingers are just in so many things at the moment - like Core graphics and achievements - i'm not sure what to do
00:19:06raptorand clean-up, and refactoring
00:20:19raptori'll work on graphics tweaking..
00:21:04sam686one question, why dis-allow a symbol "%" in player names? i don't see a problem where "%" will cause a problem (i can't find a crash with having %s in my name)
00:21:56watusimotobecause of the new functionality with variable substitution in chat messages
00:22:13watusimotoI chose the %var% syntax
00:22:21watusimotoso you can send this message
00:22:33watusimotoPress %helpKey% to see help
00:22:42watusimotoand the player will see
00:22:47watusimotoPress F1 to see help
00:23:00watusimotosomeone wanted it for making tutorial bots
00:23:14watusimotoalso works for %playerName%
00:23:29watusimotoso what if someone chose the name %playerName%?
00:23:40raptorthat's like dividing by zero!
00:23:49watusimotonothing would break per se, but it just gets confusing
00:24:14watusimotoit turns out that we already have prohibited registered players form having almost any special chars in their names
00:25:38raptor my ship helath bar is grey
00:25:42raptorhealth
00:25:44raptori fix
00:26:37sam686there is other ways to put % in, like level name, level by, server name, chat "%", and TextItem..
00:27:33watusimotoraptor: fixed
00:27:56watusimotoraptor: I tried organizing the code a little and broke health bar
00:28:13watusimotosam686: those places don;t matter -- it's only for chat messages
00:28:27watusimotothis works:
00:28:44watusimotohello %playerName% -- you have 50% health remaining
00:28:49watusimotorenders as
00:28:58watusimotohello cris -- you have 50% health remaining
00:29:18watusimotowell anwyay early morning and it's late
00:29:25BFLogBot - Commit 7f411d1dbda3 | Author: eyk...@crte-cey-15460.private.tudor.lu | Log: Fix ship healthbar rendering, allow object to have mutliple repair targets for rendering purposes.
00:30:02watusimotoraptor: you see where I'm going with this checkin... :-)
00:30:23watusimotountil tomorrow, gentlemen
00:30:30sam686i don't know if thats a good idea or not, as for robots, robot can be programmed to chat "hello " .. playername .. ", good day"
00:30:49watusimotosam686: but that substitution has to happen on the client end
00:30:58watusimotoas every player has a different name
00:31:07watusimotoand we broadcast the same message to all players
00:31:23watusimotoand in any case, the robot can;t know what a player's keybindings are
00:31:59sam686maybe it has some use, but not sure about it...
00:32:08watusimotoprobably marginal use
00:32:12watusimotoit was an easy case
00:32:23watusimotonot sure if it is really good or not
00:32:31raptorah ha!
00:32:33raptorok good night
00:34:58Wolfy has joined
00:35:25Wolfy is now known as Guest43383
00:39:00LoneWolfy Quit (Ping timeout: 252 seconds)
01:09:23Guest43383 Quit (Read error: Connection reset by peer)
01:18:49karamazovapyI don't view spybugs as a "super" component, and I don't really think any of the other modules merit high cost/benefit modifications
01:19:10karamazovapycertainly not stealth, repair, shields, or engineer
01:20:25karamazovapyit doesn't make sense to me to treat this as a class of modifications given that context
01:21:42raptori agree
01:21:55raptorthe only class that i put them in is 'double-tap to activate'
01:22:03raptor'super' was the old name for 'pulse'
01:25:21koda Quit (Quit: koda)
01:25:41koda has joined
01:25:42koda Quit (Client Quit)
01:29:06karamazovapyrealizing that I'm an originalist, I still don't really see the appeal
01:29:31BFLogBot - Commit e33378b9cd9c | Author: buckyballreaction | Log: Match Core panel debris to team color
01:36:45karamazovapyI'm going away for a while
01:37:00raptorlike hours? days?
01:37:03raptoryears?
01:37:05karamazovapy has left
02:44:38BFLogBot - Commit 318d483741b4 | Author: buckyballreaction | Log: Clean-up a bit, move debris code into CoreItem
02:44:40BFLogBot - Commit bcbc45208ee4 | Author: buckyballreaction | Log: Reduce amount of sparks
02:44:43BFLogBot - Commit fa907b6a4dc5 | Author: buckyballreaction | Log: Try to indicated better visually when a panel is at full health - not sure if this is good
04:24:44sam686 Quit (Ping timeout: 245 seconds)
04:28:16watusimoto Quit (Ping timeout: 272 seconds)
04:56:48raptorit's just you and me logbot
05:01:18raptor Quit (Ping timeout: 245 seconds)
05:04:44raptor has joined
05:04:44ChanServ sets mode +o raptor
05:09:55BFLogBot - Commit fbd822403e36 | Author: buckyballreaction | Log: Typo
05:59:27raptor Quit (Ping timeout: 272 seconds)
05:59:55raptor has joined
05:59:55ChanServ sets mode +o raptor
06:04:27raptor Quit (Ping timeout: 255 seconds)
06:20:02BFLogBot - Commit 0c9f9f83fdc7 | Author: buckyballreaction | Log: Preliminary work on getting Core panel repair location set up. It sort of works! Need to do a lot of code clean-up still
06:20:04BFLogBot - Commit c4e2d6ea7ba7 | Author: buckyballreaction | Log: Fix special case of detecting if a Core needs repair. Also fix warnings
07:27:57watusimoto has joined
07:27:57ChanServ sets mode +o watusimoto
07:37:40watusimoto Quit (Ping timeout: 246 seconds)
12:16:42LordDVG has joined
13:02:06LordDVG Quit (Ping timeout: 244 seconds)
13:11:48LordDVG has joined
13:37:52LordDVG Quit (Read error: Connection reset by peer)
15:40:42iKoda has joined
16:12:13raptor has joined
16:12:13ChanServ sets mode +o raptor
16:22:22iKoda Quit (Quit: K thx bai)
17:42:53Little_Apple has joined
17:43:03Little_Applehelloo
17:43:10raptorhi
17:43:19Little_Applei mustache you a question
17:43:39raptorok
17:43:42Little_Applewhat is your opinion on my little pony?
17:43:55raptormy sister had some when she was little
17:44:01Little_Applethe show
17:44:05Little_Applefriendship is magic
17:44:07raptorthat's the extent of my opinion
17:44:10raptori have never seen it
17:44:13Little_Apple._.
17:44:24Little_Appleim kinda shocked
17:45:09Little_Appleis _k aware of this?
17:45:45raptori've come across some youtube fan-made clips about it from him
17:46:10Little_Applebut does he know you havent seen it?
17:46:14raptorprobably
17:47:47Little_Applehe hasnt done anything about it?
17:48:40raptoruhh.. he showed me fan-made clips
17:49:13Little_Apple._.
17:49:17Little_Appleanyways
17:49:31Little_Appleim holding my $40 untunable ukulele right here
17:49:37Little_Appleit sounds awful
17:49:38raptorcool
17:49:45Little_Applebut i still play it
17:49:49Little_Applesometimes
17:51:52Little_Applei like playing music v_____v
17:57:47Little_Applenow i has my expensive ukulele
17:57:51Little_Applemuch better....
17:57:55raptorit sound better?
17:58:47Little_Applemuch better
17:58:54Little_Appleit even has an on board tuner
17:58:58Little_Apple:D
17:59:36Little_Appleand it has a pickup... incase i ever doo concerts.... probably not.
18:00:44Little_Appleand it looks pretty awesome....
18:00:48Little_Applei like it alot :3
18:04:02Little_Appleheres the model i has: http://www.ibanez.com/AcousticGuitars/model-UEW30RWE
18:05:12raptorneat
18:05:18raptorlooks not-cheap
18:06:54Little_Appleits really nice :]]
18:08:11Little_Applei can plug it into an amp and have it louder than it needs to be :P
18:38:38Little_Apple Quit (Quit: Page closed)
18:49:12sam686 has joined
18:49:12ChanServ sets mode +v sam686
19:18:42LordDVG has joined
19:43:03raptorsigh, master went down...
19:54:01Disconnected.
19:54:12-asimov.freenode.net- *** Looking up your hostname...
19:54:12-asimov.freenode.net- *** Checking Ident
19:54:12-asimov.freenode.net- *** Couldn't look up your hostname
19:54:12-asimov.freenode.net- *** No Ident response
20:08:15-asimov.freenode.net- *** Looking up your hostname...
20:08:15-asimov.freenode.net- *** Checking Ident
20:08:15-asimov.freenode.net- *** Couldn't look up your hostname
20:08:15-asimov.freenode.net- *** No Ident response
20:08:18BFLogBot has joined
20:08:18Topic is 'Latest release 016 http://bitfighter.org | Forums: http://bitfighter.org/forums/ | GC Project: http://code.google.com/p/bitfighter/'
20:08:18Set by raptor!~raptor@unaffiliated/greenmachine on Wed Feb 01 04:14:39 GMT 2012
20:08:18-ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response.
20:53:15LordDVG Quit (Remote host closed the connection)
21:00:05koda has joined
21:14:52Watusimoto has joined
21:15:27Watusimotohi
21:15:31raptorhi
21:17:31raptori started using the getRepairLocations()
21:29:36Watusimotogreat
21:30:05Watusimotowe can move the repair line for turrets to terminate in their geometric center, rather than at their "location"
21:30:15Watusimotothat will look a bit better, I hitnk
21:30:22raptoryes, i agree
21:30:32raptordid you get me e-mail i sent to you?
21:31:27raptoralso, which e-mail should I be using?
21:43:48koda Quit (Remote host closed the connection)
22:01:46koda has joined
22:09:18Watusimotoyes, I got your email
22:09:44raptorok, then you know that i haven't done the panel-proximity piece
22:09:49Watusimotoyou can use that address, or wat.@bf.org or whichever... they all end up in the same place
22:09:53Watusimotoyes I know, that's fine
22:09:56raptorok
22:10:24WatusimotoI was thinking that repair rays should be connected to the tip of the gray lines
22:10:38Watusimotoand that any tips within repair distance would be eligible for repair
22:10:48raptorok
22:10:52raptorlocation is easy to change
22:10:58raptornot sure how to do the range piece...
22:11:04Watusimotothat makes computations easy -- just cmopare the 10 repair tip points to the ship's repair radius
22:11:31raptorexcept we don't know where the ship is
22:11:34Watusimotowe know center of ship, we know repair point... just do distance and compare to repair radius
22:11:36raptorin CoreItem
22:11:42Watusimotoah yes.... well... that
22:12:00raptorunless there's some deep-seated pointer tree
22:12:02raptorwait
22:12:04raptormaybe there is...
22:17:21Watusimotoyour email complained of confusion -- still an issue?
22:17:40raptorwell, that's debatable since it compiles... :)
22:19:23Watusimotook, I'm looking to see what we can extract
22:23:14raptoryes, i was complaining... a lot of the logic for determing certain points of the panel (start, end, mid, angle1, angle2) were being done in multiple places
22:23:46raptorand i couldn't figure out how to consolidate them because I was tired
22:23:51raptorso ignore me
22:28:16Watusimotono worries
22:28:48BFLogBot - Commit 4dfcf33817ef | Author: watusim...@bitfighter.org | Log: Slight improvement in spark issuance... a little less "busy" in the center
22:30:59raptori just gotta say, i think the debris graphics are great!
22:31:32Aggropanda has joined
22:31:45Aggropandahey
22:31:51raptorhello
22:32:18Watusimotobetter than where we started, that's for sure
22:32:18Aggropandaany games going on?
22:32:29Watusimotowho are you?
22:32:42Aggropandajust stumbled upon this game
22:32:51raptorwelcome!
22:32:55Aggropandathough not using stumbleupon
22:32:57Aggropandathanks
22:33:00sam686hi
22:33:06Watusimotoah, not someone using a fake name :-)
22:33:08raptorwe like the game very much - although our community is quite small
22:33:14Aggropandaya?
22:33:29Watusimotoor at least no more fake than the rest of us :-)
22:33:31Aggropandathat's not necessarily horrible
22:33:39Aggropandaaha, ya
22:33:51AggropandaAre there regular games and such?
22:34:08Watusimotothere are bi-monthly regular games
22:34:23Watusimotobut those are really more like special events, with prizes and such
22:34:27Aggropandacool
22:34:28sam686there is not many players (the effects of small community)
22:34:30raptorusually people play in the evenings (Eastern Standard Time) and more so on weekends
22:34:34Aggropandaoh really
22:34:38Aggropandacool
22:34:43Watusimotowhere are you?
22:34:47raptorthe bi-monthly events are much bigger
22:34:48Watusimotoi.e. what time zone?
22:35:01AggropandaI am Eastern time zone
22:35:05AggropandaI live near Toronto
22:35:05raptor(much = 20 people compared to 3 or 4)
22:35:09Watusimotoperfect
22:35:11sam686better yet, is it 4:35 PM (my centram time zone)?
22:35:21Watusimotohow did you find the game?
22:35:28Aggropandanope, it's 5:35
22:35:31Aggropandafor me
22:35:49AggropandaI found it through a list of free mac games but I think I played it a few years ago
22:36:02Watusimotoyou played Bitfighter, or zap?
22:36:21Aggropandammm, I THINK Bitfighter
22:37:02AggropandaMy computer is getting older and can't play a lot of games so I decided to see if there were any old freebies I'd missed
22:37:19Watusimotocool
22:37:29Aggropandaya
22:37:33Watusimotowe try to make the game fun but not too taxing
22:37:40Watusimotoso welcome (back)
22:37:46Aggropandaare you the developers?
22:37:57raptorI try desperately to be one...
22:38:03sam686my computer (pentium 4 Hyperthreading, 3 Ghz, 1.5 MB ram, AGP Radeon 9200) is getting old, too.
22:38:18Aggropandaniice
22:38:32Watusimotothere's 2 players on now, not sure if they are actually playing
22:38:49Watusimotothe home page lists players who are logged in
22:38:54Aggropanda1.5 MB ram!?
22:38:57Watusimotobut they might also be editing
22:39:11sam686my computer is able to play nearly any directX 8 games (it can't play direct X 9 that most requres pixel / vertex shader 2.0)
22:39:32raptorshould we change 'Currently playing' to 'Currently online'?
22:39:47raptorto reflect the in-game editors/idlers
22:40:12raptor'Players Online'
22:40:13AggropandaYa, can't say I know much about computers beyond the basics and being able to use them
22:40:27AggropandaPlayers Online is a good medium
22:41:05sam686http://bitfighter.org/bitfighterStatus.json (you can see if there is actually players in the server) (but you have to press refresh "F5" button to update)
22:41:19Watusimotoraptor: yes, sounds good
22:41:28sam686as for players playing, you can total up all the "playersCount" of all servers listed.
22:41:51Aggropandanice
22:41:56sam686but, i guess there is currently no way to tell if that one players is in a server or not (as of 016)
22:42:34AggropandaSo what are you guys doing right now if not playing?
22:42:54raptorworking at work :)
22:44:01Aggropandalol let me connect my mouse
22:44:27sam686i do use game pad controller..
22:46:06Watusimotosam686: that info is available via the json feed, I think
22:46:52sam686yes, but there is no way of knowing if a player "sam686" is in which server? until you actually find that players in a server
22:46:52WatusimotoAggropanda: I'm working on clarifying the logic used for generating exploding panels on the revamped core objects
22:47:33sam686that is, if there is non-zero player count on multiple server
22:47:37raptorWatusimoto: i wonder if this would work for getting the ship in CoreItem: Point repairerPosition = theInfo->damagingObject->getPos();
22:47:41WatusimotoI thought it was listed in the json; perhaps not, but could be added
22:48:08Watusimotoraptor: interesting; it might
22:48:22Watusimotoraptor: and if it doesn't, perhaps it should
22:48:33raptorif so, then i can do fancy logic to determine the nearby panels
22:48:47raptor(but probably not until i get home)
22:48:59raptor(and after teh pinewood derby)
22:50:13Watusimotogood luck with that
22:50:36raptorapparently last year, this den just raced the blocks of wood
22:51:53sam686i will ba back in about 50 minutes..
22:52:08Aggropandaraptor what do you do for a living?
22:52:34raptorI am a 'software engineer'
22:52:42raptorbut mostly i think i'm just a cheap hack
22:53:15Watusimotoraptor: with or without wheels?
22:53:33raptori think they put the wheels on when they got there
22:53:36Watusimotoraptor types for a living
22:53:40Aggropandahaha
22:54:19Watusimotoyou could find some kid with a nice looking car and make him give it to you using the blocks of wood as a weapon
22:54:26raptorhaha
22:54:29Watusimotothat would be showing some initiative!
22:55:02raptori should take a camera and get pictures of the cars this year
22:57:06AggropandaHave any of you guys heard of CodeHero?
22:57:15AggropandaIt was a project on kickstarter
22:57:38Watusimotohttp://pinewoodfreak.com/2006/01/22/three-wheels-are-better/
22:58:46raptorhaha
22:58:50raptori thought of that...
22:59:57WatusimotoI didn't, but I thought of google, and it got me the same result
23:02:57raptorthat site takes it waay too seriously
23:21:29sam686hi, i guess i came back earliear then i thought..
23:35:21Aggropandanice
23:48:24sam686bitfighter.org is slow at the moment (little apple complain, and i see it slow for me too)
23:49:09raptorok, i'm off! good night Watusimoto if i don't see you later
23:49:12sam686umm, i guess it is not slow anymore...
23:49:35Watusimotobye!
23:51:22raptor Quit ()
23:52:06koda Quit (Quit: I used to be chatting like you. Then I took an arrow in the knee)
23:59:01BFLogBot - Commit 67b7549e5f2f | Author: watusim...@bitfighter.org | Log: Clarify code a little
23:59:03BFLogBot - Commit 93702808f138 | Author: watusim...@bitfighter.org | Log: Reduce magic just a little

Index Search ←Prev date Next date→

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