#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-06-13

Timestamps are in GMT/BST.

00:31:38raptor has joined
00:31:41ChanServ sets mode +o raptor
01:07:52raptor Quit ()
01:12:14sam686 Quit (Ping timeout: 245 seconds)
02:44:00sam686 has joined
02:44:00ChanServ sets mode +v sam686
03:05:08[sam686 PING]
03:05:20[sam686 PING]
03:05:41[sam686 VERSION]
03:05:48[sam686 VERSION]
03:06:02[sam686 TIME]
03:40:37raptor has joined
03:40:38ChanServ sets mode +o raptor
04:50:18raptor Quit ()
05:41:49sam686 Quit (Read error: Connection reset by peer)
05:45:33sam686 has joined
05:45:33ChanServ sets mode +v sam686
06:20:18koda has joined
06:36:16koda Quit (Quit: koda)
07:40:09sam686 Quit (Ping timeout: 245 seconds)
07:44:03watusimoto has joined
07:44:03ChanServ sets mode +o watusimoto
08:24:38kodaws has joined
12:55:19-mrmist- [Global Notice] - A reminder that this coming weekend sees our long awaited services upgrade and database prune. All nicks unused for 150 days or more will be dropped from the database. Please make sure you have identified to your accounts, and used your grouped nicks. use /msg nickserv info when identified to see yours and thanks for flying freenode!
13:13:08LordDVG has joined
13:13:38watusimoto Quit (Ping timeout: 240 seconds)
13:32:05LordDVG Quit (Ping timeout: 248 seconds)
13:37:43watusimoto has joined
13:37:44ChanServ sets mode +o watusimoto
13:52:21IAmBeard has joined
14:53:32BFLogBot - Commit b2079724568f | Author: buckyballreaction | Log: Add 5 second spawn delay timer to prevent abuse
15:01:10IAmBeard Quit (Quit: Leaving)
15:06:23watusimoto Quit (Ping timeout: 252 seconds)
15:38:36Watusimoto has joined
15:57:40raptor has joined
15:57:40ChanServ sets mode +o raptor
15:57:44raptorgood day!
16:10:26LordDVG has joined
16:22:53raptorso i implemented a timer for the /idle command
16:23:02raptortell me what you think when you get the chance
16:31:43LordDVG Quit (Ping timeout: 265 seconds)
16:44:03kodaws Quit (Quit: k thx bai)
16:45:42zoomber_mbp has joined
17:07:46BlackBird_ has joined
17:08:45BlackBird_ Quit (Client Quit)
17:15:42Opti_ has joined
17:15:52Opti_darn
17:16:19raptorhi
17:20:01Opti_ Quit (Ping timeout: 245 seconds)
17:41:28zoomber_mbp_ has joined
17:42:13zoomber_mbp_hi raptor
17:42:32zoomber_mbp_I'm being un orthodox right now
17:42:40zoomber_mbp_using two internets to one server
17:43:32zoomber_mbp_ Quit (Client Quit)
17:43:38zoomber_mbp Quit (Ping timeout: 240 seconds)
17:57:26raptorhi
18:54:06LordDVG has joined
19:41:04LordDVG Quit (Remote host closed the connection)
20:14:43koda has joined
20:21:25Watusimotohi
20:21:36raptorhello
20:30:00sam686 has joined
20:30:00ChanServ sets mode +v sam686
20:32:25raptorso i'm thinking about moving the bot action of orbitPoint() to c++
20:33:42raptorbut should I make it: goToAndOrbitPoint() ? i.e. use the waypoint system as well
20:36:43Watusimotodo you recall our conversation about navigational objectives (which I called by a different name)?
20:36:53WatusimotoflightPlans perhaps?
20:37:18raptorvaguely, yes.. (too much has happened since then)
20:37:20Watusimotoso a basic flight plan would be to go to x,y
20:37:39Watusimotowe'd call that... what? a FlightPlan
20:37:44raptorright now in the code a flightPlan is the route along the navmesh zones
20:37:59raptorObjectiveQueue?
20:38:05Watusimotomaybe
20:38:09raptorFlightPlan fits bettter
20:38:24WatusimotoI was thinking a LinearFlightPlan(dest1, dest2, dest3)
20:38:32raptorSequential
20:38:47Watusimotoa RingFlightPlan(dest1, dest2, dest3) that repeats
20:38:55raptorooohhhh
20:39:13Watusimotomaybe a FollowObjectFlightPlan
20:39:23Watusimotoan OrbitObjectFlightPlan
20:39:58Watusimotoso you could "file" your flight plan
20:40:03Watusimotoand the bot would just go
20:40:15Watusimotothere could be an event fired FligthPlanCompletedEvent
20:40:36Watusimotobut if you only wanted to go, you need not subscribe to ontick
20:40:53Watusimotoyou just subscribe to FligthPlanComplete
20:41:00Watusimotoand that fn gets called when you arrive
20:41:13Watusimotoof course other events might also be called
20:41:29raptorso will there be a way to queue plans?
20:41:30Watusimotothat might cause you to suspend your flight plan (could be resumed later)
20:41:40Watusimotothis might make nav easier
20:42:18WatusimotoFlightPlan fp = FlightPlan.new(enemnyCore:getLoc())
20:42:39Watusimotosubscribe(onFlightPlanCompleted)
20:42:52WatusimotofileFlightPlan(fp)
20:43:19Watusimotoand that would be your nav system
20:43:49raptorthat would definitely be a step up from determining object points all the time and having to handle the waypoint system
20:44:14Watusimotofp = FollowFlightPlan.new(enemyShip)
20:44:20Watusimotosubscribe
20:44:28WatusimotofileFlightPlan(fp)
20:44:41Watusimotoand you'd always head towards your objective
20:45:11Watusimotoif there's incoming fire, you could:
20:45:20WatusimotosuspendFlightPlan()
20:45:25Watusimotododge around a little
20:45:27Watusimotothen
20:45:32WatusimotoresumeFlightPlan()
20:46:26raptorhow would you handle multiple things at once, like shooting at enemies while on a flight plan? would that be where you'd use onTick?
20:46:34Watusimotomaybe
20:46:37Watusimotoor maybe via new events
20:46:43WatusimotoonIncomingfire()
20:46:49WatusimotoonEnemyNear()
20:47:07WatusimotoonEnemyFlagSpotted()
20:47:18WatusimotoonMineDetected()
20:47:18Watusimotoetc
20:47:51Watusimotomaybe we could make ontick unnecessary
20:47:55Watusimotousetimers
20:48:10Watusimotoso every 5 seconds you might reasses the mission
20:48:15Watusimotorather than every tick
20:48:26raptori put in a tick timer already
20:48:37Watusimotoa tick timer
20:48:38Watusimoto?
20:48:39raptoronTick is only fired every (50?) ms
20:48:54Watusimotodepends on framerate
20:49:09raptoryes - before it was fired every server tick
20:49:10Watusimoto100fps ticks will be 10ms
20:49:18Watusimotooh, I see
20:49:26raptornow it makes sure at least 50? ms have passed before firing
20:49:45raptorit reduced s_bot CPU resources considerably :)
20:49:52WatusimotoI'll bet
20:52:23Watusimotoone thing to try would be to recode some bots using whatever events would make it easiest and see what we need
20:52:45Watusimotoand make sure we like the way the bots look, and see if this approach is feasible
20:53:14raptorso if we take orbitbot as an example
20:53:27raptorit's basically:
20:53:29raptor1. find item
20:53:56raptor2. can see? if yes go towards; if no, get waypoint and go towards
20:54:11raptor3. if close enough, start orbiting
20:55:05raptoractually, maybe that's closer to SentinelBot that I wrote... orbitbot doesn't do the waypoint part
21:00:09Watusimotoso we could do
21:00:12Watusimoto1. findItem
21:00:44Watusimoto2. fp = FollowFlightPlan(item) <--- could pass any item that has a getLoc method)
21:01:31Watusimoto3. subscribe(FlightPlanArrive)
21:02:13Watusimotothe flight plan would be smart enough to approach an item when it has LOS
21:02:26Watusimotoor maybe
21:02:46Watusimoto4. fileFlightPlan(fp)
21:02:57Watusimoto2. fp = OrbitFlightPlan(item)
21:03:42raptorso orbiting requires continual evaluation
21:03:55Watusimotoyes, but not necessarily by lua
21:04:12Watusimotoif we know the ship should be orbiting, it could be done in robot's idle
21:04:13raptori agree (which is why i've been trying to move it to c++)
21:04:58Watusimotoso we need a way to let the script specify it wants to orbit an object
21:05:33raptorwell, orbitbot uses a global isInOrbit boolean
21:06:05Watusimotothat should be in the c code
21:09:22Watusimotoyou might be able to do this: getFlightPlan():isInOrbit()
21:09:27Watusimotoif you needed that info
21:10:29raptorthe question of being in orbit would come up again if the object has moved and the OrbitFlightPlan as fired teh FlightPlanArrived event
21:12:57Watusimotomaybe we have a LeaveOrbit() event???
21:13:54Watusimotomaybe an enterOrbit() event as well
21:14:14raptori'm worried that our events will balloon out of control (but maybe that's not bad?)
21:14:31WatusimotoI hear you
21:14:48Watusimotobut that may have to be the price to pay for abstracting away all the nav details
21:15:04Watusimotoif we are going to support orbiting
21:15:33Watusimotoand you need ot know if you are in or out of orbit, there are only two choices that I see: constant polling in onTick() or enter/exit orbit events
21:16:15raptorso which is the lesser evil? :)
21:16:29Watusimotoevents, I think
21:16:48Watusimotothey're cheap, espeically if no one is listenting
21:18:25raptorhaha, sounds like blogging...
21:19:44raptorhttp://despair.com/blogging.html
21:28:52raptorwell, i guess it's time to start fattening the event system
22:03:42Watusimotowhat's the 5 sec spawn timer display
22:04:06raptorwhen you go idle, it waits 5 seconds before you can un-idle
22:05:07Watusimotowhy is that?
22:05:29raptorthis is to prevent abuse by using the /idle command to quickly teleport back to base or use it when on low life - it provides a penalty of sorts
22:06:05raptormaybe 5 seconds is too much?
22:06:10raptormaybe 3?
22:06:17Watusimotoah, so only when you use the idle command, not when you are away
22:06:22Watusimoto?
22:06:38raptorwell... right now it is a client-side timer that triggers whenever you go idle
22:06:51raptorbut i should probably move that to when you use /idle only
22:07:08WatusimotoI think it should be command only, as it's hard to abuse the regular timer
22:07:20Watusimotoand it's already frustrating enough :-)
22:07:26raptori don't understand
22:07:29raptoroh
22:07:48raptoryou're talking about the forced idle timer
22:07:58Watusimotowhen the idle timer goes off and you get spawn delayed
22:07:58Watusimotoyes
22:08:13Watusimotowhen the user types /idle, the timer makes sense
22:08:16raptori will change that to command only...
22:08:31Watusimotogood; I think that makes sense
22:08:49Watusimotodoes the user know that they can't unidle for 5 secs?
22:09:02WatusimotoI suppose I can just try it!
22:09:07raptortry it!
22:09:22BFLogBot - Commit 2711780ffe42 | Author: watusim...@bitfighter.org | Log: Nexuses are now ported to luaW
22:09:24BFLogBot - Commit eeec25757094 | Author: watusim...@bitfighter.org | Log: Merge
22:09:29raptorthe countdown could use work... :)
22:18:05raptornexii?
22:18:58Watusimotoyeah, well, it's a bit excessive, but probably never displayed
22:19:03Watusimotoradius
22:19:04Watusimotonexus
22:19:06Watusimotoradii
22:19:07Watusimotonexii
22:19:14raptornexi
22:19:28Watusimotothat's just lame
22:19:34raptorhaha
22:19:50Watusimotothat's a trampy girls name
22:29:27BFLogBot - Commit 87df0b5fcf5d | Author: buckyballreaction | Log: Only use spawn undelay timer for the /idle command. Also rename timer to make more sense
22:31:18Watusimotoplease check my latest checkin to make sure I didn't undo your latest work
22:31:26raptorok
22:34:29BFLogBot - Commit e323faf64437 | Author: watusim...@bitfighter.org | Log: Compact code, whitespace
22:34:31BFLogBot - Commit 18f34bc04880 | Author: watusim...@bitfighter.org | Log: Merge
22:34:35raptorstill looks good
23:00:48raptorgoing home...
23:21:38koda Quit (Quit: koda)
23:39:00raptor Quit ()
23:39:44raptor has joined
23:39:45ChanServ sets mode +o raptor

Index Search ←Prev date Next date→

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