#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-01-29

Timestamps are in GMT/BST.

00:00:00Watusimotosearch for "special case" and you'll find the callback where the problem likely is
00:00:06raptorok
00:00:16WatusimotoI'm guessing we need another "special case" handler
00:00:34WatusimotoI should check in
00:00:36Watusimotohold on
00:01:35Watusimotoalso, need to make sure joystick.ini gets into the right place in our installers
00:02:32WatusimotoI just committed a change related to that here:
00:02:33WatusimotoJoystick::loadJoystickPresets
00:05:04raptorok, looks good
00:05:17Watusimotolooks like they get installed properly in Win; which means they were wrong before my code changes
00:05:27Watusimotowill need to actually test that
00:05:44Watusimotoso I don't know... it seems we;re just about there
00:05:54Watusimotohere's a little one too
00:06:19Watusimotommm no
00:06:50BFLogBot - Commit 16148649bcf9 | Author: watusim...@bitfighter.org | Log: Look in root exe folder for js.ini on win and linux
00:06:51BFLogBot - Commit f701a93409b6 | Author: watusim...@bitfighter.org | Log: Merge
00:07:09raptorok
00:07:28raptorthere's that wall problem
00:08:18Watusimotooh right
00:08:30raptori'll ask sam686 again if he's on later
00:08:34Watusimotook
00:08:37sam686?
00:08:42raptoroh hi sam686
00:08:46Watusimotowell, I'm zoning out
00:08:55Watusimotohi sam; good night
00:08:58sam686hi
00:08:58raptorok good night
00:09:14raptorsam686: did you say you knew the wall drage problem?
00:09:16raptordrag
00:11:52sam686i will fix it in about 30 minutes..
00:11:58raptorso yes!
00:12:01raptor:)
00:27:46raptor Quit (Ping timeout: 252 seconds)
00:31:55BFLogBot - Commit b9fa99019494 | Author: watusim...@bitfighter.org | Log: Consistency...
00:31:57BFLogBot - Commit 086b7b8a6067 | Author: watusim...@bitfighter.org | Log: Make diagnostics match the options menu, upgrade terminology
00:51:43Watusimoto Quit (Ping timeout: 252 seconds)
02:26:32koda Quit (Quit: I used to be chatting like you. Then I took an arrow in the knee)
03:01:21raptor has joined
03:01:21ChanServ sets mode +o raptor
03:22:24karamazovapyfor some reason, the 015a server build I have doesn't recognize polywalls
03:22:36raptorodd
03:22:48karamazovapyyeah
03:22:51karamazovapybananas
03:23:02raptordid you pull from hg?
03:23:07karamazovapyyep
03:23:25raptormaybe you did: hg up bitfighter-015
03:23:31raptorand forot the a
03:23:37raptorforgot the 'a'
03:23:55raptor(i've done that....)
03:24:09karamazovapyplausible
03:26:18karamazovapyEcto Cooler might be my favorite level ever
03:29:20raptori don't think i remember that one
03:31:24karamazovapygreen and yellow retrieve map
03:31:39karamazovapy3 flags and zones for each team
03:47:18BFLogBot - Commit 10cdfd397032 | Author: sam8641 | Log: Fix getting stuck going fast on curve walls
03:47:40raptorhi sam686
03:47:59raptorcould you explain your fix?
03:49:37sam686why i set the velosito to zero, is if the object is somehow stuck and can't move at all.. and moveTime can't go when stuck..
03:49:55sam686by setting velosity to zero, it will free CPU bu not trying to move anymore
03:50:28sam686i simply added a if(tryCount == TRY_COUNT_MAX && moveTime > moveTimeStart * 0.98f)
03:50:36sam686the tryCount was already there..
03:50:55raptordo you know what caused the problem in the first place?
03:51:15sam686TestItem and ResourceItem on top of walls
03:51:47sam686or, a bunch of Bouncy objects on one area..
03:52:18karamazovapywas this related to the CPU saving fix for overlapping objects?
03:53:05sam686probably not, if you are talking about CPU saving for overlapping asteroids, and overlapping FlagItem
03:53:35karamazovapyyeah, that's what I was talking about - I was wondering if that fix somehow broke rollercoasters because of the impacts involved
03:53:41raptoryour fix is much better sam686, i still slow down a little compared to 015a, but it's much better
03:58:08raptori'm using 'Rumble Strips' as my test level
04:00:59raptorit's say it's about 80-90% the same as 015a..
04:01:48karamazovapyI'm still confused as to why the break occurred from 015a to 016
04:07:21BFLogBot - Commit fa4040abc9bd | Author: buckyballreaction | Log: Make single-player retrieve score the same as team
04:07:23BFLogBot - Commit 3d4a8cc2ab20 | Author: buckyballreaction | Log: undo last commit
05:01:53raptori'm getting frustrated - going to take a break for the night
05:01:56raptorgood night
05:07:30BFLogBot - Commit 49371ee1cc24 | Author: buckyballreaction | Log: Comments and variable name for clarification
05:09:55raptor Quit (Remote host closed the connection)
05:42:44BFLogBot - Commit 410ca9d2a19a | Author: buckyballreaction | Log: Make joystick_presets.ini work in Mac OS X
08:24:35Watusimoto has joined
08:56:01LordDVG has joined
09:00:05Watusimoto Quit (Ping timeout: 248 seconds)
09:45:23LordDVG Quit (Remote host closed the connection)
13:06:55koda has joined
14:55:06raptor has joined
14:55:06ChanServ sets mode +o raptor
15:06:24sam686 Quit (Ping timeout: 245 seconds)
15:07:45sam686 has joined
15:07:45ChanServ sets mode +v sam686
15:54:34raptorok database backup script is set-up on the master server
16:50:49Watusimoto has joined
16:52:17Watusimotohello
17:08:53BFLogBot - Commit b3167ce6d3a5 | Author: watusim...@bitfighter.org | Log: Let user delete things in editor with keypad's del key
17:24:24raptorhello
17:24:37raptorWatusimoto: backup database script is set up on master
17:24:44raptorcron job running daily
17:25:42Watusimotosuperb!
17:25:59raptorbackups found under /root/bacup/
17:26:08raptor /root/backup
17:27:07LordDVG has joined
17:28:42Watusimotoexcellent; I can grab those from my machine at work via cron job
17:29:14raptoractually no - because root isn't allowed to ssh in
17:29:39raptori will run the backups as the 'master' user, then your 'wat' user will have access to get them
17:30:09Watusimotoperfect
17:34:13raptorwhat mysql priveleges are required to dump?
17:35:42Watusimotono idea!
17:35:48Watusimotoadded a super new feature!
17:35:55raptoruh oh
17:36:01Watusimotooh yes, it's a winner!
17:36:11Watusimotomostly for the bot makers in the audience
17:38:00Watusimototook about 10 minutes
17:38:59BFLogBot - Commit 3dc50e741fca | Author: watusim...@bitfighter.org | Log: Fix crash when bot's getName fn returns nil
17:39:00BFLogBot - Commit c0efea3b905b | Author: watusim...@bitfighter.org | Log: Bots now get a default name from our new wonderful selection. So long, Nancy!
17:39:21raptorhaha
17:39:42Watusimotoculled from the top 40 girls names of 2011
17:40:11raptorhahaha
17:40:48Watusimotoyou get one by returning nil from getName(), or by omitting the fn altogether
17:41:12Watusimotowe can expand on that in future if we can think of a justification
17:41:55WatusimotoI do think it would be nice for bots to be able to grab a random name to incorporate into their name; e.g. "s_bot Eliza"
17:41:56raptorAddison... really?
17:42:14WatusimotoI fear it is so
17:42:28WatusimotoI'll be retired by the time addisons born in 2011 enter the workforce
17:42:40Watusimotowith luck I'll never have to interact with one
17:42:43raptorhaha
17:43:04raptori'm currently in the age group where children's names are an important decision
17:43:19raptorand i'm frequently appalled at my peers
17:44:29karamazovapyI bet we could do something more clever than top 40 names
17:45:11Watusimotosure; and now we have a place to put it
17:45:50raptorlike star trek race names? :)
17:46:03sam686 Quit (Read error: Connection reset by peer)
17:48:32Watusimotohttps://code.google.com/p/bitfighter/issues/detail?id=157&thanks=157&ts=1327859303
17:48:42Watusimotocreated the case so I don't have an excuse to work on it now
17:48:58raptorexcellent
17:49:24sam686 has joined
17:49:24ChanServ sets mode +v sam686
17:49:25karamazovapyoh - is it possible for bots to duplicate names before the list has been used up? (ie more than 40 bots?)
17:49:53Watusimotocurrently no; who created those coolish ship designs a few months ago?
17:50:10Watusimoto@k names are doled out in order, and wrap around
17:50:11raptorblackbird
17:50:13karamazovapyI think it was actually blackbird and little_apple
17:50:39Watusimotohttps://code.google.com/p/bitfighter/issues/detail?id=158&thanks=158&ts=1327859433
17:50:46WatusimotoI think we should do it
17:50:49Watusimotofor 016a
17:51:00karamazovapyI'm still against it
17:51:03raptorwow, getting excited for after the release!
17:51:14Watusimotoeven for bots?
17:51:24karamazovapywhy would it be good for bots and not for people?
17:52:05WatusimotoBecause i keep hoping people will design bots with a wider range of behaviors (e.g my mine layer idea)
17:52:21Watusimotoand maybe we should let bots break more rules (i.e. infinite energy)
17:52:32Watusimotothus creating a richer environment
17:52:36karamazovapybut what do either of those things have to do with ship design?
17:52:53Watusimotoso different bodies might be a way you can easily distinguish a mine laying bot from a killbot
17:53:06raptorwe had an an idea of a 'supernatural' flag we could toggle for bots with extended abilities
17:53:35Watusimotoyes; we would want a way to demark bots that cheated. I think
17:53:56karamazovapyI don't think the ship body/bot type scenario plays out the way one might imagine
17:54:11WatusimotoI keep toggling between "bots are just automated players" and "bots are there to add richness to the game in the way other players might not"
17:54:13karamazovapyespecially given the difficulty associated with programming bots
17:54:53raptorok Watusimoto, you may now rsync /home/master/backup/dumps with your 'wat' user
17:55:03Watusimotogood
17:55:34WatusimotoI don't think bots will ever be something everyone does
17:55:53raptorall SQL dumps are automatically gzipped now
17:56:00raptorkind of neat..
17:56:01Watusimotobut it would be cool to have a richer selection of bots to choose from
17:56:10Watusimoto@r great
17:56:31karamazovapyI'm actually working on a different set of bots
17:56:38Watusimotogreat
17:56:40karamazovapybut the coding doesn't always work out the way I expect it to
17:56:53WatusimotoI think s_bot is a great bot, but i want more!
17:56:59Watusimoto@karamazovapy it never does
17:57:16Watusimotofeel free to ask for help
17:57:47raptorWatusimoto: http://host-78-12-107-208.midco.net/upload/snapshot1.png
17:58:01karamazovapywell for example, virtually none of the example code in the Programming_robots wiki works
17:58:18Watusimotoah, right, the mitten
17:58:28raptorbetter URL: http://sam686.maxhushahn.com/upload/snapshot1.png
17:58:33Watusimotohrm.. then we'd better fix it
18:02:45raptorlast night i couldn't figure out how to get the keyboard/joystick selection in options menu to work properly without breaking something eles - so i just added code comments and left it alone
18:04:05Watusimotojust fixed it
18:05:22Watusimotogott go fix dinner; I'll leave you to marvel at the sophistication of the fix
18:05:31raptorok
18:06:11raptorbah!
18:06:14raptorthat's so simple
18:06:40Watusimotoyes; the key was to defeat the special case handler
18:07:13Watusimotowhen sticks was set to 0, it triggered the special case, keeping the menu item on joystick
18:07:23Watusimotoby defaulting to -1, that no longer happens
18:07:46Watusimotook back on later
18:07:50raptorok
18:08:16WatusimotoI think we;re close enough we could transition the forums over to bitighter.net any time
18:08:58raptori'm leaving in 1.5 hours
18:09:01Watusimotooh; we may need to do a fix to allow the updater to work on bf.net. I stumbled over some random setting in an .htaccess file this mornign
18:09:02raptorfor 3.5 hours
18:09:03Watusimotook
18:09:04BFLogBot - Commit 44c7f5035e1a | Author: watusim...@bitfighter.org | Log: Fix "quirk" on Options menu
18:09:05Watusimotono worries
18:09:24Watusimotowell, whatever, whenever...
18:10:57raptoroh - we need to update the SharedConstants?
18:19:07BFLogBot - Commit f97776f16e69 | Author: buckyballreaction | Log: Use real server again in prep for release
18:22:40karamazovapyI don't understand the lua vec functions as well as I'd like to - where are they in the code?
18:23:49raptorwhich functions?
18:23:54raptor(so i can find them)
18:28:26karamazovapybot functions that use vec
18:28:45karamazovapyvec.distanceTo, vec.angleTo, vec.distSquared
18:29:02karamazovapygoogling for lua-vec returns some interesting vector functions, but I don't see those described
18:31:56raptori think you treat them just like points
18:32:07karamazovapybut I want to know how they work
18:32:29raptorthe code it in lua/lua-vec/src in the bitfighter tree
18:32:42karamazovapycool
18:32:58raptoralso, here is the project we took it from: https://code.google.com/p/lua-vec/wiki/VectorAPI
18:33:13raptori mean that Watusimoto did
18:33:22karamazovapyyeah, I saw that, but their wiki document doesn't describe vec.angleTo or vec.distanceTo
18:33:30raptorah, ok
18:33:35karamazovapyI just want to know how vec handles the input
18:33:39raptoroh and we only use 2d vectors instead of 4d
18:33:49karamazovapyI sort of figured
18:35:06raptortake a look at static int vec_distanceto
18:35:10raptorin lveclib.c
18:35:24raptori guess that one was add by Watusimoto
18:36:01karamazovapyfound it - static int vec_angleto
18:37:33karamazovapyI understand angleTo and distanceTo
18:37:52karamazovapyI don't get the point of distSquared
18:38:14karamazovapymaybe in case one of the values was negative and you don't want to try to get the square root of a negative number?
18:40:12sam686((x1-x2) * (x1-x2)) + ((y1-y2) * (y1-y2))... it is not possible to have it negative..
18:40:29karamazovapythen what's the point of using distSquared?
18:40:42raptori've seen a function like distSquared used before - trying to remember why it is useful
18:40:58sam686sqrt(((x1-x2) * (x1-x2)) + ((y1-y2) * (y1-y2))) thats distanceTo, distSquared doesn't have the sqrt part
18:41:16karamazovapyI realize - that's what makes it squared
18:41:27karamazovapyI was trying to figure out what the advantage of omitting the sqrt would be
18:41:40sam686distSquared is faster, if you only want to see if the distance is exactly zero, or exactly 1.
18:41:54karamazovapyah, okay - so it's eliminating an extra math function
18:42:05raptoryeah it'd be much faster
18:44:36karamazovapyI guess the next question is, why ever use the actual distanceTo?
18:44:39raptorlooks like in programming many math libraries it is common to just compare distance squared of two points to the square of what you're comparing against
18:45:52karamazovapyyeah, that makes sense if you're only worried about the comparison
18:46:44karamazovapydistanceTo (with the sqrt) gets used several times, though
18:46:57raptormaybe we're just inefficient
18:46:57sam686i see this: center.distSquared(c) < (radius + r) * (radius + r)
18:47:37sam686not sure how sow is sqrt is, though, i could test the speed...
18:49:21karamazovapyI'm looking at s_bot - maybe it's because it's code by two different people?
18:49:42raptorhaha
18:49:45raptorprobably
18:51:11sam686parts of the code from quickBot, which was not from me..
18:51:26karamazovapyyeah, so that seems likely
18:51:55karamazovapyunknown probably used distanceTo and you used distSquared
18:53:57raptorsam686: do we have any bugs left before the release?
18:55:45raptorwell, the obvious question is: yes; but, known bugs, i mean?
18:56:12karamazovapythere's also a really redundant function
18:57:22karamazovapyfindEnemy() and getNearestEnemy() are identical, except findEnemy() has a little more support built in
19:05:46sam686http://sam686.maxhushahn.com/upload/text1201/120129_12-01-20.txt distanceTo is slower, due to sqrt
19:05:57Watusimoto Quit (Ping timeout: 248 seconds)
19:06:28sam686i couldn't yet test as optimized mode, because the timing shows zero, i guess compiler desided to skip that function when it does nothing..
19:49:24raptorok, be back in about 3.5 hours
19:49:31raptor Quit (Remote host closed the connection)
19:51:23Watusimoto has joined
19:51:38Watusimotosqrt is a very slow operation
19:51:54Watusimotoso whenever you are just comparing distances, distsquared is better
19:52:05Watusimotosquaring someting is very fast
20:15:51LordDVG Quit (Ping timeout: 252 seconds)
21:49:44Watusimoto_ has joined
21:51:21karamazovapysweet jesus, cleverbot is posting again
21:52:49Watusimoto Quit (Ping timeout: 245 seconds)
22:12:35Zoomber Quit (Read error: Connection reset by peer)
22:17:25Watusimoto_ Quit (Ping timeout: 248 seconds)
22:20:04Watusimoto has joined
22:20:24Zoomber has joined
22:20:25ChanServ sets mode +v Zoomber
23:19:11raptor has joined
23:19:11ChanServ sets mode +o raptor
23:19:17raptorhello
23:19:48raptorare we releasing today? :)
23:23:52raptorit's probably too late there...
23:24:38raptori feel like we should do more playtesting..
23:27:14Watusimotohi
23:27:18raptorhi
23:27:23Watusimotobeen working on a ski trip
23:27:33Watusimotoas always... should have booked earlier
23:27:54Watusimotoso... are we ready?
23:27:58raptorcoming to utah? :)
23:28:15Watusimotosankt anton am arlberg
23:28:25Watusimotoin austria
23:30:16Watusimotoah, found the .htaccess rule related to our updater
23:30:21raptori feel like we need to do a little more playtesting...
23:30:36raptori'm a bit skiddish because we really shook up the code with this release
23:30:43WatusimotoI had added a rule to block users with blank useragents in their browsers
23:30:55Watusimotobut my note says that also blocks the updater
23:31:02Watusimotothere will be bugs
23:31:08Watusimotowon't be the first time
23:31:25Watusimotowe'll just have to do a quick series of releases
23:31:31Watusimotowith luck, we can get to 020
23:31:36raptorha!
23:32:14sam686 Quit (Ping timeout: 245 seconds)
23:32:18raptorwell - i guess - it's more stable than it has ever been since 015a...
23:34:03sam686 has joined
23:34:04ChanServ sets mode +v sam686
23:36:37raptorwell, want to do the database imports now?
23:37:23sam686i just had to do a small bug fix to bitfighter.
23:38:19raptorwhat bug?
23:38:32sam686oops, my commit have a compile error..
23:38:53sam686the one i have just pushed..
23:39:40BFLogBot - Commit dec485ee56ad | Author: sam8641 | Log: Fix sending too many s2cSetPlayerScore to all clients, fix a possible Null getClientInfo
23:41:30raptorare you pushing a compile fix,too?
23:42:28sam686yes
23:46:58sam686there, fixed (if you pull)
23:47:34Watusimotowell... this is a big one, with the change of server and all...
23:49:42BFLogBot - Commit 01758e083b38 | Author: sam8641 | Log: Fix compile error from my previous commit, i guess this will do for now, even though it is not the fastest way.
23:52:16sam686http://code.google.com/p/bitfighter/source/detail?r=01758e083b38f2 i thought there was a way to get some index number from ClientInfo, but i guess not..
23:52:35raptorgot it
23:52:37raptorcompiles
23:52:58sam686getId() returns Nonce, not index...
23:55:35raptorforgot i had another commitment to attend to - i'll be back in an hour or so
23:55:54sam686ok

Index Search ←Prev date Next date→

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